aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
AgeCommit message (Collapse)Author
2018-05-07Rework imports to use Resources and make the a little more verboseZog
2018-03-27Refs #5871; Add a dedicated permission "sidekiq.monitor"Zog
2018-03-27Refs #5871; Limit access to Sidekiq dashboard to authenticated usersZog
2018-03-15Routes: Add `/costs` routeTeddy Wing
Render the `costs` field of a `Chouette::Route` as JSON. This lives at: http://stif-boiv.dev:3000/referentials/4/lines/1857/routes/7/costs.json I want this in order to get the distance & time costs of a route so that I can merge them with `JourneyPattern#costs` on the frontend on `JourneyPatternsCollection#show`. Refs #6203
2018-03-12Refs #6133; First Crud for exportsZog
2018-03-07Change route to AutocompleteLinesControllerTeddy Wing
Johan recommended not putting it in a separate `/autocomplete...` route, but instead to use `/referentials/4/lines/autocomplete` to be more RESTful. Makes perfect sense. Refs #5889
2018-03-07ReferentialVehicleJourneys#index: Make lines filter asynchronousTeddy Wing
Instead of doing a complex query to get the lines available to filter on, just get all the lines in the current referential. We then filter those by what was typed into the select2 box and asynchronously respond with line options in a new JSON autocomplete controller. Here we're only providing the option to filter by `number` and `name` field on the line. I'd like to filter by everything in the `#display_name`. I don't think the objectid is going to be easy to integrate into the SQL query but I'd like to add the company part. It's possible we could do the objectid filter in Ruby instead of the database query. Refs #5889
2018-03-02Refs Refs #3562 Add workbench CCSET affectationcedricnjanga
2018-03-02Refs #3562 add workbench edit button on workbench#showcedricnjanga
2018-02-20Refs #5863 @6h; Remove workbench id from the querystringZog
Infer it when possible, and use a nested otherwise
2018-02-13Refs #5707 Add status to the application to track 'blocked objects'cedricnjanga
2018-02-09Refs #5669; Add a preview for snapshots for easier debuggingZog
2018-02-06Refs #5682 @3h; Use same UI as for timetablesZog
2018-01-31Add a toolbar for devs to easily manage permissions and featuresZog
2018-01-23First draft for including calendars into workgroup for having appropriate ↵cedricnjanga
scoping
2018-01-12First draft for ComplianceCheckMessage & ImportMessage CSV exportscedricnjanga
2018-01-05Create first merge interface. Refs #5299Alban Peignier
2018-01-05Create WorkbenchOutputsController. Refs #5299Alban Peignier
2017-12-28Merge pull request #184 from af83/5313_stop_areas_parentAlban Peignier
Manage stop area parent in form and show. Refs #5313
2017-12-28New route autocomplete_stop_area_referential_stop_areasXinhui
Refs #5313
2017-12-27Refs #5407 @2h; Model implementationZog
- Link PurchaseWindows to VehicleJourneys in the model - Add an autocompletion endpoint
2017-12-21Refs #5349 @1h; Deactivate StopAreas instead of destroying them5349-deactivate-stop-areasZog
- Update decorators (had to split `action_links` because of `StopPointDecorator` inheriting from `StopAreaDecorator`) - Add methods on model - Add routes - Add actions on controller (`Activatable` concern, shared with `LinesController`) - Add I18n keys
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-21Merge pull request #150 from af83/5301-add_business_calendarsLuc Donnet
Refs #5301 First draft for Business Calendars
2017-12-21BusinessCalendar => PurchaseWindowcedricnjanga
belongs_to referential
2017-12-21Refs #5301 First draft for Business Calendarscedricnjanga
2017-12-20Restrict /referentials/../vehicle_journeys to index. Refs #5341Alban Peignier
2017-12-20Create ReferentialVehicleJourneysController and ↵Alban Peignier
/referentials/:id/vehicle_journeys. Refs #5341
2017-12-05- Comment parent.child_change call in ComplianceCheckSet#notify_parent to ↵cedricnjanga
avoid errors - Clean new routes (we dont need aliases)
2017-12-05Small refacto to handle no_parent error for ComplianceCheckSetcedricnjanga
2017-12-05Refs #5127 Add two new endpoints to the APIcedricnjanga
ComplianceCheckSet#notify_parent NetexImport#notify_parent
2017-11-17Refs: #4823@1.7h; CodeReview #show -> #executedRobert
2017-11-17Merge branch '4516_cleanup_rule_parameter_set'Xinhui
2017-11-14Remove rule parameter set routeXinhui
Refs #4516 Removel rule parameter set from migration
2017-11-13config/routes.rb: Remove "validated" from compliance check set API URLTeddy Wing
After a discussion with Luc yesterday, the URL we settled on was: /api/v1/compliance_check_sets/:id This matches the format of the import API route a little better. Refs #4757
2017-11-13Add route stub for validation finalisationTeddy Wing
This route will be called by the Java application when ComplianceCheck validation is completed. It will perform post-validation work, primarily updating statuses. Refs #4757
2017-11-09Remove route_sections & route_sections related routesXinhui
2017-11-06add validate method in referentials_controller for call ↵Guillaume
ComplianceControlSetCopyWorker, and change routes/views for select compliance_control_set
2017-11-03Merge branch 'master' into 4755-page_for_validate_referentialGuillaume
2017-10-31Refs: #4774@3h;Robert
Ransack filter view implemented
2017-10-31Refs: #4774@1.5h;Robert
Table Builder Helper table_builder2 with explicit model: parameter integrated into the view TODO: - Feature specs - Add Ransack Filters
2017-10-31Refs: #4774;Robert
DB Setup for specs
2017-10-23page select compliance_control_set for validate referential Refs #4755Guillaume
2017-10-18add clone method in compliance_control_sets_controller, add duplicate button ↵Guillaume
to IHM and flash message Refs #4741
2017-09-30Create DashboardController with STIF implementation. Refs #4655Alban Peignier
2017-09-28Refs #4634 Create ComplianceControlBlocksController and adapt modelscedricnjanga
2017-09-28ComplianceControls#select_type actionXinhui
2017-09-28Merge branch 'master' into 4466-compliance_check_setsGuillaume
2017-09-28fix review for pull requestGuillaume
2017-09-27Move ComplianceControl#index into ComplianceControlSet#showXinhui
Refs #4579