aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
AgeCommit message (Collapse)Author
2018-01-10Refs #5535 @2H; Automatically fill VJs tilmes when possibleZog
2018-01-10Merge pull request #194 from af83/5156-handle-long-distance-routesAlban Peignier
Handle long distance routes. Refs #5156
2018-01-10Merge pull request #206 from ↵Alban Peignier
af83/5445-add-name-filter-on-referentialjourneys-index Add name filter on referential vehicle journeys index. Refs #5445
2018-01-10Define and display Merge#creator. Refs #5299Alban Peignier
2018-01-10Refs #5437 @0.5h; Propagate behaviour to the JourneyPatterns editorZog
2018-01-10Refs #5437 @0.5h; Show country name instead of city in the journeys editorZog
When the organisation has the "long_distance_routes" features. Mind the `StopArea#country_name` method which is pending until we merge the branch which adds the countries support.
2018-01-09Refs #5502 @4h; Don't use Ajax in JP selector in VJs editor5502-remove-search-from-selectsZog
When the number of possible values is low (<10), display the values right away, don't use an Ajax query
2018-01-08Merge pull request #207 from ↵Luc Donnet
af83/5444-add-company-filter-on-referentialjourneys-index 5444 Filter VJs on company in ReferentialVJs#index
2018-01-08Refs #5445 @0.5h; Filter VJs based on their name in ReferentialVJs#index5445-add-name-filter-on-referentialjourneys-indexZog
2018-01-08Refs #5444 @0.5h; Filter VJs on company in ReferentialVJs#index5444-add-company-filter-on-referentialjourneys-indexZog
2018-01-08Refs #5455; Optimize controllers for the Journey Patterns editorZog
2018-01-08Refs #5455 @6h; Add time and distance between stops in Journey PatternsZog
- Adds a `JSON` attribute in the model - Adds the fields in the editor
2018-01-05Refs #5468 Change redirect after Referential#validatecedricnjanga
2018-01-05Disable PolicyChecker in MergesController. Refs #5299Alban Peignier
2018-01-05Sort merge operations by created_at. Refs #5299Alban Peignier
2018-01-05Ignore referential in referential suite for mergeable referentials. Refs #5299Alban Peignier
2018-01-05Create first merge interface. Refs #5299Alban Peignier
2018-01-05Create WorkbenchOutputsController. Refs #5299Alban Peignier
2018-01-03Merge branch 'master' into ↵Luc Donnet
5024-prevent-duplicate-referentials-from-being-created-during-parallel-db-transactions--rb201711271659
2018-01-02Fixes redirect on Referential creation (without cloning). Refs #5452. Refs #5297Alban Peignier
2018-01-02Merge pull request #193 from af83/fix-routes-editorAlban Peignier
Prevent a n+1 query in VehicleJourney#index
2018-01-02Merge pull request #186 from af83/5102-begin_of_association_chainLuc Donnet
5102 Use current_organisation as begin_of_association_chain
2018-01-02Merge pull request #187 from af83/5111-begin_of_association_chainLuc Donnet
5111 Use current_organisation as begin_of_association_chain
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-28Prevent a n+1 query in VehicleJourney#indexZog
2017-12-28Add log messages when Referential can't be created. Remove useless ↵Alban Peignier
build_referenial invocation in ReferentialsController#create. Refs #5297
2017-12-28Fix referential create redirect when invalidXinhui
Refs #5297
2017-12-28New route autocomplete_stop_area_referential_stop_areasXinhui
Refs #5313
2017-12-28Use current_organisation as begin_of_association_chain in ↵Alban Peignier
StoAreasController. Refs #5111
2017-12-28Use current_organisation as begin_of_association_chain in ↵Alban Peignier
Lines/Companies/Networks/GroupOfLinesController. Refs #5102
2017-12-28Prepare @vehicle_journeys with a local variable in VehicleJourneysControllerAlban Peignier
2017-12-28Fixes JS features list in journey_patterns_collections#show. Refs #5407Alban Peignier
2017-12-27Merge pull request #183 from af83/5407-add-purchase-windows-to-vehicle-journeysAlban Peignier
Add purchase windows to vehicle journeys. Refs #5407
2017-12-27Merge pull request #176 from af83/fix-routes-editorAlban Peignier
Fix l'editeur de route
2017-12-27Refs #5407; Fix CIZog
2017-12-27Refs #5407 @2h; Model implementationZog
- Link PurchaseWindows to VehicleJourneys in the model - Add an autocompletion endpoint
2017-12-27Refs #5407 @4h; First UI implementationZog
- Add most of the react code - And the specs where possible Still remains: - Link PurchaseWindows to VehicleJourneys in the model - Add an autocompletion endpoint
2017-12-26Refs #5382 @1h; Enable all area types for Stopareas in RoutesZog
Given that the organisation has the matching feature.
2017-12-22Speed VehicleJourneys#index view upZog
2017-12-22Optimize VehicleJourneysControllerZog
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 #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-21Refs #5301 Add ransackable scope to PurchaseWindow for date_rangescedricnjanga
2017-12-21Disable color and date filters for purchase windows. Refs #5301Alban Peignier
2017-12-21Merge pull request #150 from af83/5301-add_business_calendarsLuc Donnet
Refs #5301 First draft for Business Calendars
2017-12-21Fix purchase window date filtercedricnjanga
2017-12-21BusinessCalendar => PurchaseWindowcedricnjanga
belongs_to referential
2017-12-21Fix business calendar views, decorator, filters and policy Refs #5301Luc Donnet
2017-12-21Fix migrations, locales, view and exclude calendar timetable in concern Refs ↵Luc Donnet
#5301