| Age | Commit message (Collapse) | Author |
|
Refs #4109
|
|
|
|
|
|
|
|
github.com:af83/stif-boiv into 3506_1726_api_create_netex_imports
|
|
|
|
- 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
|
|
github.com:af83/stif-boiv into 1726-WorkbenchImport-for-multi-Netex-import
|
|
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
|
|
|
|
- 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
|
|
github.com:af83/stif-boiv into 1726-WorkbenchImport-for-multi-Netex-import
|
|
|
|
|
|
Add `WorkbenchImport` model
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Refs #3845
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TimeTable::Periods + Dates
|
|
|
|
|
|
Refs #3845
|
|
|
|
af83/3479-migrate-all-remaining-table-builder-helper-calls-to-new-version
3479 migrate all remaining table builder helper calls to new version
|
|
In order to get the `#action_links` method to be found by the new table
builder, decorate the stop area.
Refs #3479
|
|
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
|
|
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
|
|
That route has been removed. Fix the test to ensure it doesn't get
accessed, but still performs what was previously tested.
Refs #3479
|
|
Now that I removed the `ReferentialLinesController#index` method and
template (c7ceb38801b853154cdae31672ff2c105c8b191f), it no longer makes
sense to keep these tests around.
Refs #3479
|
|
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
|
|
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
|
|
Since we already have the decorator available, get the links from there
for better code reuse.
Refs #3479
|
|
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
|
|
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
|
|
Refs #3479
|
|
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
|