| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-07-27 | Fix input build with react #4161 @1 | Luc Donnet | |
| 2017-07-27 | Fix warning in calendar mailer spec | Xinhui | |
| 2017-07-27 | Merge branch 'master' of github.com:AF83/stif-boiv | Luc Donnet | |
| 2017-07-27 | Fix js call for routing_constraint_zone refs #4029 @1 | Luc Donnet | |
| 2017-07-27 | Refs: #3507@0.25h; Added information to retry callbacks in RetryService (for ↵ | Robert | |
| logging) | |||
| 2017-07-26 | Refs: #3507@1.5h; RetryService speced and implmented | Robert | |
| 2017-07-26 | RoutingConstraintZones#index: Fix sort in table | Teddy Wing | |
| Sorting by stop point count and route name wasn't working. Only sorting by name worked. This was because these HTML table columns get their data from methods on the `RoutingConstraintZone` model (`#stop_points_count` and `#route_name`). Those methods can't be sorted on in the database. Furthermore, when setting up the order ActiveRecord call, only database column names on `routing_constraint_zones` were taken into account. When a `sort` parameter specified an identifier that wasn't a column name, the `name` column would be used to sort the list. In this change, we enable sorting by stop point count and by route name. The SQL work for ordering comes from a couple of new scope methods defined on the model. Xin explained that he had previously used scope methods to enable exotic sorting of Referentials on the Workbenches#show page. I couldn't think of a better way to deal with these, and it seems like a reasonable thing to do here, so I went with the same setup. In `#sort_column`, tack on our custom sorting keys to the list of accepted keys. This borrows the pattern used in other `#sort_column` methods in other controllers. Ended up using "route" as the route name sorting key because that's what gets passed from the frontend. Eliminated the `if` condition in `#collection` that defaults to `name` sorting because it was redundant. The `#sort_column` method already defaults to sorting by name if no `params[:sort]` is passed in. This makes the method a lot cleaner, nice. Add a new private method `#sort_collection` that determines what method to call to sort the query. When using real table column names, it calls `#order` like before. But now, if the user asked to sort by stop point count or route name, we delegate instead to our scope methods, `#order_by_stop_points_count` and `#order_by_route_name`. Refs #4130 | |||
| 2017-07-26 | Refs #4115: updating calendar_mailer layouts | jpl | |
| 2017-07-26 | Fix objectid in vehicle journey import & export spec | Xinhui | |
| 2017-07-26 | Fix provider_id & default_values on empty string objectid | Xinhui | |
| 2017-07-26 | Edit access point to use new StifReflexAttributesSupport | Xinhui | |
| 2017-07-26 | Comment RCZ and JP validations on stop points | cedricnjanga | |
| 2017-07-26 | Fix workbench I18n specs | jpl | |
| 2017-07-26 | Refs #4161: Temp. comment test for delete sp on itineraries | jpl | |
| 2017-07-26 | Refs: #3507@4h; Finished Basic WorkbenchImportWorker | Robert | |
| - speced but missing error treatment | |||
| 2017-07-26 | Add some translations | cedricnjanga | |
| 2017-07-26 | Merge pull request #39 from af83/4161_StopPoints_RouteEdit | Luc Donnet | |
| 4161 stop points route edit | |||
| 2017-07-26 | Merge branch 'master' into 4161_StopPoints_RouteEdit | Luc Donnet | |
| 2017-07-26 | Fix deleted stop_points use Refs #4161 @1 | Luc Donnet | |
| 2017-07-25 | Merge branch 'master' into staging | Luc Donnet | |
| 2017-07-25 | Fix breadcrumb for Homepage | Luc Donnet | |
| 2017-07-25 | Refs: #3507;20h Specing and Implementing the ZipService | Robert | |
| 2017-07-25 | Edit factories objectid in accordance with new stif netex format | Xinhui | |
| 2017-07-25 | Hot fix Timetable#create - from Calendar | cedricnjanga | |
| 2017-07-25 | Hide import button depending on Referential#create? policy | cedricnjanga | |
| 2017-07-25 | Replace DefaultNetexAttributesSupport by StifNetexAttributesSupport | Xinhui | |
| 2017-07-25 | Add Concern StifNetexAttributesSupport | Xinhui | |
| 2017-07-25 | Add tests for Timetable#merge | cedricnjanga | |
| 2017-07-25 | Timetable#merge! remove excluded dates if other tt doesn't have them | cedricnjanga | |
| 2017-07-25 | Refactoring stop_area model_name into concerns | Xinhui | |
| 2017-07-25 | Merge branch 'reflex_objectid' | Xinhui | |
| 2017-07-25 | Merge pull request #42 from af83/codifligne_objectid | Xinhui Xu | |
| StifCodifligneAttributesSupport for Line objectid | |||
| 2017-07-25 | StifCodifligneAttributesSupport for Line objectid | Xinhui | |
| 2017-07-25 | Merge pull request #41 from af83/revert-40-codifligne_objectid | Xinhui Xu | |
| Revert "StifCodifligneAttributesSupport for Line objectid" | |||
| 2017-07-25 | Revert "StifCodifligneAttributesSupport for Line objectid" | Xinhui Xu | |
| 2017-07-25 | StifReflexAttributesSupport for StopArea objectid | Xinhui | |
| 2017-07-25 | Merge pull request #40 from af83/codifligne_objectid | Xinhui Xu | |
| StifCodifligneAttributesSupport for Line objectid | |||
| 2017-07-25 | StifCodifligneAttributesSupport for Line objectid | Xinhui | |
| 2017-07-25 | Refs #4126: Clean up hardcore strings from clean_up | jpl | |
| 2017-07-24 | Update Tietable#merge! to manage more edge cases | cedricnjanga | |
| 2017-07-24 | Add methods to manage continuous dates and periods | cedricnjanga | |
| 2017-07-24 | Check tt_params[:calendar_id] in Timetable#create | cedricnjanga | |
| 2017-07-24 | Fixes: #4019@1h; Plugged new permission translation into user model | Robert | |
| 2017-07-24 | Refs: #4019@1h; Adds spec for Permission Translation and implements it in ↵ | Robert | |
| lib/stif/permission_translator | |||
| 2017-07-24 | Refs: #4019@0.5h; Fixes devise/cas_controller spec | Robert | |
| 2017-07-24 | Updating onUpdate behav. according to new specs | jpl | |
| 2017-07-24 | Keep sp_id attached to array index | jpl | |
| 2017-07-21 | Sketching out the unzip/zip process, need to change Tempfile to ↵ | Robert | |
| File.open(..., r) in a configurable directory [amend me] | |||
| 2017-07-21 | Refs #4134: fix autocomplete on TT edit tags | jpl | |
| 2017-07-21 | Refs: #3507@4.5h spec setup and refactoring, using Faraday in worker | Robert | |
| - Setting up correct headers for the Webmock request (Oh Boy) - Refactoring all Faraday requests into `lib/af83/http_fetcher.rb` - Implementing the Download | |||
