aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-11-28Fix import policy to not authorize destroy and not be linked with ↵Luc Donnet
referential state (archived) Refs #5093
2017-11-28Referential spec: Add spec that two similar Referentials being persistedTeddy Wing
Here we formalise a bug whereby two "identical" `Referential`s are able to be saved even though Rails validation would normally prevent this. It can happen when two `Referential`s are functionally identical (but have different `slug`s, as this would trigger a Postgres error). In practise, this happens when multiple imports of the same data are launched at similar times. We'll want to make this test pass by not allowing the identical `Referential` to be created. This will be accomplished as agreed with the team by a database table lock. The threads and sleeps (in particular) are unfortunate necessities needed to get the two `Referential`s to be saved at the same time. TODO: Need to check this again with the threads & sleeps turned off to confirm that this passes in that case (actually it doesn't), so this test needs some modification in order to be correct. Refs #5024
2017-11-27ReferentialsController: Fix typo in `build_referenial` nameTeddy Wing
Rename the method to `build_referential`. Saw it because my project grep didn't work. Refs #5024
2017-11-27referential_spec: Remove obsolete commented testTeddy Wing
This test was commented in October 2016, over a year ago (6acac72115b2e575fb1698d74958356fe4d542f8). Seems like a good time to get rid of it. Refs #5024
2017-11-27Merge branch 'master' into 4824-create_line_referentialsGuillaume
2017-11-27Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-11-27Refs #4941 Fix objectid short version Display on viewscedricnjanga
2017-11-27Merge branch '4941-refactoring_object_id'cedricnjanga
2017-11-27Refs #5087 Take ImportResource metrics changes into account in viewscedricnjanga
2017-11-27Run yarn install after bundle install. Refs #5085Alban Peignier
2017-11-27Refs #4961 Fix typos on Import#show and ImportResource#indexcedricnjanga
2017-11-27Refs #5030 Fix missing translation for UnactivatedStopPoint ComplianceControlcedricnjanga
2017-11-27Refs 5029 Fix locale typocedricnjanga
2017-11-27Refs #5071 #5070 Adapt view to TransportModeHelper refacto to avoid errorscedricnjanga
2017-11-27Skip API key features test when STIF::Dashboard isn't used. Refs #4655Alban Peignier
2017-11-27Test Devise::CasSessionsController flash message with more specific messageAlban Peignier
2017-11-26Use t('id_codif') and t('id_reflex') to prevent hardcoded strings. Refs #5081Alban Peignier
2017-11-26Provide a default Dashboard view. Refs #4655Alban Peignier
2017-11-26Provide empty main_nav_left_content custom view. Refs #4735Alban Peignier
2017-11-26Remove base part of the nav menu in STIF main_nav_left_content. Refs #4735Alban Peignier
2017-11-26Ignore indefined current_organisation in render_custom_view. Refs #4735Alban Peignier
2017-11-26Use debug message for render_custom_view. Refs #4735Alban Peignier
2017-11-26Use an helper to invoke render method safely. Refs #4735Alban Peignier
2017-11-26Update STIF navigation left menu. Refs #4735Alban Peignier
2017-11-26Create custom view for STIF main nav left. Refs #4735Alban Peignier
2017-11-26Create STIF organisations with custom_view 'stif'. Refs #4735Alban Peignier
2017-11-26Add Organisation#custom_view and associated helper render_custom_view. Refs ↵Alban Peignier
#4735
2017-11-26Move STIF seed in db/seeds/stif.rb. Refs #5074Alban Peignier
2017-11-26Uses (sorted) .rb files found in db/seeds (instead of db/seeds.rb content). ↵Alban Peignier
Refs #5074
2017-11-24Add specs for Objectid modelscedricnjanga
2017-11-24Remove specs we dont need anymorecedricnjanga
2017-11-24class instance variables in Direction and ConnectionLinkType modelscedricnjanga
2017-11-24Take into account code reviewcedricnjanga
2017-11-23Stay up to date with master branchcedricnjanga
2017-11-23Add spec for stif_netex objectid_formatcedricnjanga
2017-11-23Refs #4824, #4825 update old form views to new layout with simple_form, add ↵Guillaume
permissions for create an edit in line and network controller
2017-11-23Remove get_objectid duplicate methodcedricnjanga
2017-11-23Add migration to update all referentials and workbenches objectid format to ↵cedricnjanga
stif_netex
2017-11-23Change the call of local id on several views to avoid bugscedricnjanga
2017-11-23Fix typos on class naming for objectid formatterscedricnjanga
2017-11-23Merge branch 'master' into 4824-create_line_referentialsGuillaume
2017-11-23Merge branch 'master' into stagingLuc Donnet
2017-11-22Merge pull request #123 from af83/transport_modes_fixesteddywing
Fix transport modes and submodes modules
2017-11-22Change inclusion of StifTransportModeEnumeration in VJ modelcedricnjanga
2017-11-22Fix transport modes and submodes modulescedricnjanga
Fix Compliance Control Set flotted links to display on show page
2017-11-22Refs #4987 create compliance_check_sets#showGuillaume
2017-11-22Add webpack binstubscedricnjanga
2017-11-22Rebase master and resolve conflictscedricnjanga
2017-11-22Fix last spec and add short_id method to Netex Objectidcedricnjanga
2017-11-22Change the way we name classescedricnjanga
We now always use modules for namespaces => same structure for models, decorators, policies...