| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-16 | Refs #6476 Add merge permissions6476-merge-permissions | cedricnjanga | |
| 2018-04-16 | Merge pull request #486 from af83/6179-update-acts_as_list | Alban Peignier | |
| Update acts_as_list. Refs #6179 | |||
| 2018-04-16 | Refs #6458; Fix Timetables autocompletion | Zog | |
| 2018-04-16 | Refs #6179; Update acts_as_list6179-update-acts_as_list | Zog | |
| And (hopefully) fix bugs on routes having duplicated positions | |||
| 2018-04-16 | Route: Change `#calculate_costs!` to `after_commit` callback | Teddy Wing | |
| Use an `after_commit` instead of an `after_save`. The `after_save` could cause intermittent problems due to Sidekiq starting before the record/transaction actually gets committed to the database. In those cases, the record wouldn't be found and cause an error. With an `after_commit` callback, the record is sure to be committed before Sidekiq takes over. Additionally, limit the callback to `:create` and `:update` because otherwise it will be active on `:destroy` by default also. This work isn't relevant on destroy, so don't do it then. Update the tests: * Update labels * Use `build` instead of `create` because we're saving the record at the end anyway so we don't need an object that starts out persisted * Use `truncation: true` for these tests because otherwise the `commit` callback doesn't get called due to transactional teardown Refs #6407 | |||
| 2018-04-13 | Refs #6536; Cleanup value passed for secondary_company_ids by the lines form6536-fix-lines-form | Zog | |
| 2018-04-11 | Specs cleanup | Zog | |
| 2018-04-11 | Fix specs (WIP) | Zog | |
| 2018-04-10 | Refs #6461; Don't initilialize CustomFields when they are not loaded by the ↵ | Zog | |
| model | |||
| 2018-04-10 | Refs #6481; Add a spec to ensure we d'ont alter the original route when ↵ | Zog | |
| duplicating it | |||
| 2018-04-10 | Merge pull request #460 from af83/6360-workbenchimport-display | Luc Donnet | |
| 6360 Add checks on calendars during WorkbenchImport | |||
| 2018-04-10 | Merge pull request #438 from af83/6368-gtfs-import | Luc Donnet | |
| GTFS import (first step) | |||
| 2018-04-10 | Merge pull request #450 from ↵ | Luc Donnet | |
| af83/6404-way-costs--snap-distance-and-time-to-1-when-between-0-a 6404: RouteWayCostUnitConverter: Snap values between 0–1 to 1 | |||
| 2018-04-09 | Refs #6367; Add a merge mechanism | Zog | |
| And use it in the Referential merge operation | |||
| 2018-04-09 | Refs #6367; Add metadata to other versioned models | Zog | |
| 2018-04-09 | Refs #6367; Add metadata to routes | Zog | |
| 2018-04-09 | Refs #6360; Add checks on calendars during WorkbenchImport | Zog | |
| 2018-04-05 | RouteWayCostUnitConverter: Snap values between 0–1 to 16404-way-costs--snap-distance-and-time-to-1-when-between-0-a | Teddy Wing | |
| We use integer values for distance (kilometres) and time (minutes). If the values aren't very big, like bus stops inside a city for example, the integer conversion will put distance and time at `0`, which isn't correct. To continue to use our chosen measurement units while still displaying something that makes sense to users, snap any values >0 and <=1 to `1`. Refs #6404 | |||
| 2018-04-05 | Merge pull request #412 from af83/6217-extrapolate-border-passing-times | Luc Donnet | |
| 6217 Add a method to fill blanks in journeys passing times | |||
| 2018-04-04 | Delete unused spec because we add a parameter to the function duplicate Refs ↵ | Luc Donnet | |
| #6226 | |||
| 2018-04-04 | Merge pull request #390 from af83/6226-create-opposite-route | Luc Donnet | |
| 6226 Add a button to automatically create opposite routes | |||
| 2018-04-04 | Refs #6226; Add spec6226-create-opposite-route | Zog | |
| 2018-04-04 | Refs 6226; Add a button to create opposite routes | Zog | |
| 2018-04-04 | Fix ExportsController specs | Zog | |
| We no longer return a redirect, but a JSON message instead | |||
| 2018-04-04 | Fix more specs | Zog | |
| 2018-04-04 | Fix specs | Zog | |
| 2018-04-04 | :fire: logs | Zog | |
| 2018-04-04 | Fix specs | Zog | |
| 2018-04-04 | Fix specs | Zog | |
| 2018-04-04 | Refs #6089; Adds `attachment` Custom Fields | Zog | |
| As well as an helper to render them in a partial | |||
| 2018-04-04 | Merge pull request #413 from ↵ | Alban Peignier | |
| af83/6222-route-way-costs--use-TomTom-matrix-API-instead-of-batch Route way costs use tom tom matrix api instead of batch. Refs #6222 | |||
| 2018-04-03 | Use match_array to test expected_attributes. Refs #63686368-gtfs-import | Alban Peignier | |
| 2018-04-03 | Add GTFS::Time and use it to compute day offset for VehicleJourneys. Refs #6368 | Alban Peignier | |
| 2018-04-02 | Import TimeTableDates from calendar dates. Refs #6368 | Alban Peignier | |
| 2018-04-01 | Create Referential in Import::Gtfs. Test file with ↵ | Alban Peignier | |
| Import::Gtfs.accept_file?. Refs #6368 | |||
| 2018-03-31 | Import calendars before testing trips import. Refs #6368 | Alban Peignier | |
| 2018-03-31 | Download imported file on a local file. Refs #6368 | Alban Peignier | |
| 2018-03-31 | Add calendar imports to Import::Gtfs. Refs #6368 | Alban Peignier | |
| 2018-03-30 | Merge pull request #360 from af83/new-uniqueness-validation-for-ccblocks | Luc Donnet | |
| New uniqueness validation for ccblocks | |||
| 2018-03-30 | Merge pull request #428 from af83/4658-remove-current_functional_scope | Alban Peignier | |
| Remove `current_functional_scope`. Refs #4658 | |||
| 2018-03-30 | Fix spec/features/calendars_permissions_spec.rb to use correct Workgroup ↵ | Luc Donnet | |
| Refs #6258 @1 | |||
| 2018-03-30 | Initial import for agencies, stops, routes, trips and stop_times. Refs #6368 | Alban Peignier | |
| 2018-03-30 | Merge pull request #397 from af83/6258-calendar-workgroup | Luc Donnet | |
| Refs #6258 associate calendars with current organisation | |||
| 2018-03-29 | Refs #6258 Add speac feature for calendars and fix ↵6258-calendar-workgroup | cedricnjanga | |
| begin_of_association_chain in controller | |||
| 2018-03-29 | Refs #4658; Remove `current_functional_scope` | Zog | |
| 2018-03-29 | Refs #6075 Replace after_commit callback to after_create for the ↵ | cedricnjanga | |
| set_defaults method | |||
| 2018-03-29 | Refs #6075 Change default attributes for stop areas | cedricnjanga | |
| 2018-03-29 | Refs #6075 Set defaults attributes for stop point depending on stop area kind | cedricnjanga | |
| 2018-03-29 | Fix MinMax Validation | Zog | |
| 2018-03-28 | Merge pull request #398 from af83/6259-calendar-mailer | Luc Donnet | |
| Refs #6259 Only send mails to users from same workgroup after create/… | |||
