aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-01-07disable sqlite and tune install taskFlorent Peyraud
2018-01-07docker first commitFlorent Peyraud
2018-01-05Create LinePeriods to associate line ids with period array. Refs #5299Alban Peignier
2018-01-05Add Range#intersect?. Refs #5299Alban Peignier
2018-01-05Create first merge interface. Refs #5299Alban Peignier
2018-01-05Move (clean) period split logic into Range#remove. Refs #5299Alban Peignier
2018-01-05embed packs dir into release packageFlorent Peyraud
2017-12-21Refs #5361 @1H; Make company optional in Lines formZog
And handle the case when it is nil in the views
2017-12-21Refs #5430 @2h; Deactivate lines instead of destroying themZog
- Add `activate` and `deactivate` actions in `LinesController`, as well as corresponding routes - Add `activate!` and `deactivate!` methods in `Chouette::Line`, as well as `activated?` - Add `activate?` and `deactivate?` permissions in `LinePolicy` - Add corresponding `action_links`in the Decorator - Create helper for these actions - Add an optional `'extra_class` to the Links - Update styles for ".delete-action" to handle the case where there are several - Add I18n keys accordingly
2017-12-20Merge pull request #151 from ↵Luc Donnet
af83/5281-workbench-import-structural-bug-reading-zip 5281 workbench import structural bug reading zip
2017-12-20Merge pull request #124 from af83/5006-wb_import_filter_refs_with_foreign_linesLuc Donnet
5006 wb import filter refs with foreign lines
2017-12-20Merge branch 'master' into 5333-add-policies-for-referentials-sharing5333-add-policies-for-referentials-sharingAlban Peignier
2017-12-19Refs #5325@0.5h; Use policies for calendar sharingZog
Use policies to determine if a user is allowed to share a calendar, instead of a hardcoded string
2017-12-19Refs #5333@1.5h; Use permissions to sync StopAreas and LinesZog
- add missing policies - update permissions translator - update views to check for the permission - update views helper to check for the permission - uipdate controllers to check for the permission
2017-12-19disable sqlite and tune install taskFlorent Peyraud
2017-12-17docker first commitFlorent Peyraud
2017-12-15Refs: #5006@0.7h; CR changes from #5006 & staring error_messages in imports/showRobert
- Renaming as requested STIF::NetexFile::Frame.get_line_object_id -> get_sgort_id - working on error_messages for imports#show
2017-12-14Refs #5006@0.5h; CR pass IVRobert
- simple simplification (as opposed to complicated simplifications ^^)
2017-12-14Refs #5006@0.5h; CR pass III / (ii)Robert
- refact of NetexFile#frames finished, got rid of mystery global $1
2017-12-14Refs #5006@0.5h; CR pass III / (i)Robert
- refact of NetexFile#frames
2017-12-14Refs #5006@0.5h; CR pass IIRobert
2017-12-14Refs #5006; CR pass IRobert
2017-12-14Fixes: #5006@10h;Robert
Implementation of Filtering Out Referentials with foreign lines in `app/workers/workbench_import_worker.rb` - Using ZipService with the set of allowed lines of the organisation - Fixing Integration Specs of the worker - Refactoring, Debugging and Rebasing
2017-12-14Refs: #5006@12h;Robert
Implementing allowed vs foreign line lookup for the zip service - Adapting `lib/stif/netex_file.rb` to expose the already implemented matching - `app/services/zip_service.rb` augmented to check for allowed lines and returning forbidden lines - Specs with fixtures and using the beforementioned new zip support in the specs - Fixture directories for the new specs
2017-12-14Refs: #5006@3h;Robert
Working out how to check for allowed lines vs. foreign lines - Implement allowed_lines as `Organisation#lines_set` - Pushed line_id related stuff into `lib/stif/codif_line_id.rb` - Related Specs
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-22Merge branch 'master' into 4941-refactoring_object_idcedricnjanga
2017-11-22Fix the delation of the hacking of Chouette::ActiveRecord#model_name to ↵cedricnjanga
remove the Chouette namespace off of the construction of link in the app and in other places. Added a small change in the reflex sync to set the stop_area_referential in the initialization of the object to be in sync with the work on the objectids (need a objectid_formatter)
2017-11-17Refs: #4461@1.5h; Repaired netex_import factory, adapted spec/models/import_specRobert
2017-11-13Refs #4952 Fix bug related to compliance control set action links displaycedricnjanga
2017-11-09Remove model route_sectionsXinhui
2017-11-06Refs #4849 Change compliance control name setting during compliance control ↵cedricnjanga
set cloning
2017-10-30ComplianceControlSetCopyWorker: Pass ComplianceCheckSet ID to JavaTeddy Wing
Previously I had been passing the `ComplianceControlSet` ID to the Java API. The API actually expects the ID of the `ComplianceCheckSet`. In order to get this ID, have the `ComplianceControlSetCopier` return the `ComplianceCheckSet` that it creates, and use that to pass the the ID to the Java API. Refs #4782
2017-10-30Merge pull request #104 from af83/4726-breadcrumbLuc Donnet
4726 breadcrumb
2017-10-26Remove bootstrap breadcrumbs libXinhui
2017-10-25Refs #4759cedricnjanga
Fix bug on dashboard to show the 5 first referentials of the current_organisation's first workbench. Added a small changes dashboard.rb to avoid '@workbench is not defined error' With the same logic we list only the first 5 calendars
2017-10-24Make erd patch for multi relationships and add merge png in outputLuc Donnet
2017-10-23Hotfix ComplianceControlSet.cloneRobert
2017-10-17Fixes: #4727@0.1h; Added organisation to clone for and rebased master4727-clone-compliance-control-setRobert
2017-10-17Refs: #4727@2h; Debugged test setup to comply to new validationRobert
2017-10-17Refs: #4727@3h; Specing and implementing lib function to clone ↵Robert
ComplianceControlSet
2017-10-17add ci jest task Refs #4737Guillaume
2017-10-17fix ci spec task Refs #4737Guillaume
2017-10-14Fix translations for compliance_control type translation, compliance_control ↵Luc Donnet
validation, compliance_control module
2017-10-12Refs: #4709@0.75h;Robert
DONE: - Copied all node atts for ComplianceChecks - Migration of CompliancCheck#criticity int -> string TODO: - Check what to do with attribute ComplianceCheck#type
2017-10-12Refs: #4709@1h; Preparing tests for correctly copy of data and migrationRobert
2017-10-12Use yarn and not npm anymoreLuc Donnet
2017-10-11Merge pull request #89 from af83/4707-simplify-compliance-control-copyLuc Donnet
Fixes: #4707@1.5h;
2017-10-11add dev and staging file for wepack config, modify spec taskGuillaume
2017-10-11delete bundle exec for spec taskGuillaume