aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-07-17Vehicle journey state update display full messageXinhui
Refs #4109
2017-07-17Refs #4108: adding workbenches#indexjpl
2017-07-17Delete unused sidekiq queues wipLuc Donnet
2017-07-17Add sidekiq configuration to use new queues like mailLuc Donnet
2017-07-17Merge branch '3506_1726_api_create_netex_imports' of ↵Robert
github.com:af83/stif-boiv into 3506_1726_api_create_netex_imports
2017-07-17Refs: #3506@1.5h sketching out specs [amend me]Robert
2017-07-17Fixes: #3555@1hRobert
- Import#parent_id & #parent_type migration generated - Import#belongs_to :parent, class_name: to_s specified - Import#belongs_to :parent, class_name: to_s implemented
2017-07-17Merge branch '1726-WorkbenchImport-for-multi-Netex-import' of ↵Robert
github.com:af83/stif-boiv into 1726-WorkbenchImport-for-multi-Netex-import
2017-07-17Add `WorkbenchImport` modelTeddy Wing
A new model that represents a batched import. The zip archive attached to this record will contain one or more datasets. A `Referential` will be created for each dataset in the zip, and that sub-dataset will be scheduled for a Netex import (only handling Netex imports at the moment). The model is currently empty but I'm committing it now so it can be used by others on the team. Refs #3507
2017-07-17Refs: #3506@1.5h sketching out specs [amend me]Robert
2017-07-17Fixes: #3555@1hRobert
- Import#parent_id & #parent_type migration generated - Import#belongs_to :parent, class_name: to_s specified - Import#belongs_to :parent, class_name: to_s implemented
2017-07-17Merge branch '1726-WorkbenchImport-for-multi-Netex-import' of ↵Robert
github.com:af83/stif-boiv into 1726-WorkbenchImport-for-multi-Netex-import
2017-07-17Route implementation of checksum concernsXinhui
2017-07-17Fix errors tranlations for clean upcedricnjanga
2017-07-14Merge pull request #31 from af83/3507-create-WorkbenchImportRobert Dober
Add `WorkbenchImport` model
2017-07-13Add `WorkbenchImport` modelTeddy Wing
A new model that represents a batched import. The zip archive attached to this record will contain one or more datasets. A `Referential` will be created for each dataset in the zip, and that sub-dataset will be scheduled for a Netex import (only handling Netex imports at the moment). The model is currently empty but I'm committing it now so it can be used by others on the team. Refs #3507
2017-07-13VehicleJourney implementation of checksum concernsXinhui
2017-07-13TimeTable implementation of checksum concernsXinhui
2017-07-13TimeTablePeriod implementation of checksum concernsXinhui
2017-07-13Move factory of time_table_date & time_table_period into single fileXinhui
2017-07-13JourneyPattern implementation of checksum concernsXinhui
2017-07-13RoutingConstraintZone implementation of checksum concernsXinhui
2017-07-13VehicleJourneyAtStop implementation of checksum concernsXinhui
2017-07-13Add model concerns ChecksumSupport & specXinhui
Refs #3845
2017-07-13Merge branch 'master' into stagingLuc Donnet
2017-07-13Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-07-13Update policies to make a custom behaviour on footnotes Refs #4094 @1Luc Donnet
2017-07-13Resolve conflict in index.js filecedricnjanga
2017-07-13Add ternary to avoid error in replace methodscedricnjanga
2017-07-13Merge branch 'master' of github.com:AF83/stif-boivLuc Donnet
2017-07-13Fix footnotes policy Refs #4094 @2Luc Donnet
2017-07-13Add ternary to avoid error in replace methodscedricnjanga
2017-07-13#3367Update Timetable filter to include start and end date of ↵cedricnjanga
TimeTable::Periods + Dates
2017-07-12Remove wild option in timetable tag filtercedricnjanga
2017-07-12Add month? method in timetable policycedricnjanga
2017-07-12Add checksum and checksum_source columnsXinhui
Refs #3845
2017-07-12Updating table actions btn-group stylesjpl
2017-07-12Merge pull request #30 from ↵soykje
af83/3479-migrate-all-remaining-table-builder-helper-calls-to-new-version 3479 migrate all remaining table builder helper calls to new version
2017-07-12stop_areas/show.html.erb_spec.rb: Decorate stop areaTeddy Wing
In order to get the `#action_links` method to be found by the new table builder, decorate the stop area. Refs #3479
2017-07-12routes/show.html.erb_spec.rb: Update for new table builder helperTeddy Wing
Need to decorate the stop points collection in order to be able to call `#action_links` on the objects therein. Added a stub for `pundit_user` to get around `TableBuilderHelper#table_builder_2` having a dependency on `ApplicationController#pundit_user`. Don't like this stub at all. Should be doing this in a better way. Refs #3479
2017-07-12networks/show.html.erb_spec.rb: Decorate test networkTeddy Wing
In order to get the view to render correctly and not fail on the `network.action_links` call, decorate the network used in these tests. Refs #3479
2017-07-12routes_spec.rb: Remove reference to `ReferentialLines#index`Teddy Wing
That route has been removed. Fix the test to ensure it doesn't get accessed, but still performs what was previously tested. Refs #3479
2017-07-12referential_lines_spec.rb: Remove `#index` specsTeddy Wing
Now that I removed the `ReferentialLinesController#index` method and template (c7ceb38801b853154cdae31672ff2c105c8b191f), it no longer makes sense to keep these tests around. Refs #3479
2017-07-12StopPointDecorator#action_links: Remove code duplicationTeddy Wing
Remove the duplication between this method and `StopAreaDecorator#action_links`. For now used inheritance, but this will not be a good idea if the two need separate decorator functionality. In that case, `#action_links` should probably be split out into a separate module for both of them to use. Refs #3479
2017-07-12Routes#show: Use new table builder helperTeddy Wing
Update the table builder helper for the table of `Chouette::StopPoints` on this page. Created a new `StopPointDecorator` which unfortunately has the same code as `StopAreaDecorator`, the only difference being that instead of using `object`, it uses `object.stop_area`. Need to work out how to eliminate that code duplication. Refs #3479
2017-07-12ReferentialStopAreas#show: Render header buttons from decoratorTeddy Wing
Since we already have the decorator available, get the links from there for better code reuse. Refs #3479
2017-07-12StopAreaReferentials#index: Use new table builder helperTeddy Wing
Change "_filters.html.slim" to call `#human_attribute_name` on the model instead of the collection, because the collection decorator doesn't delegate that method, and it's better to call it on the class. Refs #3479
2017-07-12StopAreaReferentials#show: Move header links to decoratorTeddy Wing
On the http://stif-boiv.dev:3000/stop_area_referentials/1/stop_areas/139416 page, move the header links into a decorator to allow us to use them in the table of stop areas on StopAreaReferentials#index. Refs #3479
2017-07-12Networks#index: Use new table builder helper on both networks tablesTeddy Wing
Refs #3479
2017-07-12Networks#show: Move header links into a decoratorTeddy Wing
In order to allow us to use these links in tables of networks via the new table builder, move the link definitions into decorator `#action_links`. This changes both of these types of pages: * http://stif-boiv.dev:3000/referentials/4/networks/118 * http://stif-boiv.dev:3000/line_referentials/1/networks/118 Refs #3479