aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-06Refs #6068; Fix specs6068-simple-exporterZog
2018-03-06Refs #6068; Better outputZog
2018-03-06Refs #6068; Remove useless transactionsZog
2018-03-06Refs #6068; Add aggregated output for multiple interfacesZog
2018-03-05Returns nil value into SimpleExporter#resolve_value when one of the ↵Alban Peignier
attributes in the chain is nil. Refs #6068
2018-03-05Create output_dir if needed. Refs #6068Alban Peignier
2018-03-05Refs #6068; Remove warning for controlled empty fieldsZog
2018-03-05Refs #6068; Fix specsZog
2018-03-05Refs #6068; :fire: useless methodZog
and fix specs
2018-03-05Refs #6068; Fully functional JSON exporterZog
2018-03-05Refs #6068; First steps toward JSON exporterZog
2018-03-05Refs #6068; Add some helpers in the modelsZog
2018-03-05Refs #6068; Export VehicleJourneysZog
Add a mechanism to allow for several rows in the csv per single object in the collection.
2018-03-02Refs #6068; Refactor import/export tasksZog
2018-03-02Refs #6068; Ignore files produced during exportsZog
2018-03-02Refs #6068; Create a SimpleExporter modelZog
This is an STI model, inheriting from SimpleInterface SimpleImporter has been updated to work likewise
2018-02-28Upgrade rack-protection to 1.5.4. Refs #6057Alban Peignier
2018-02-27Merge pull request #339 from af83/5878-fix-ComplianceChecksController-showLuc Donnet
5878 Add ComplianceCheck#show
2018-02-27Delete unused sinatra gem in Gemfile5878-fix-ComplianceChecksController-showLuc Donnet
2018-02-27Fix prerequisite access for compliance_check and compliance_control Refs ↵Luc Donnet
#5878 @1
2018-02-27Refs #5878; Refactor ComplianceChecksControllerZog
Use InheritedResources helpers
2018-02-27refs #5878; Remove hard link between a ComplianceCheck and the associated ↵Zog
ComplianceControl
2018-02-27Merge pull request #321 from af83/5979_change_export_csv_filenamesLuc Donnet
Refs #5979 Change export CSV filenames to have a readable date in it
2018-02-27Merge pull request #320 from af83/5882_ccset_code_filterLuc Donnet
Refs #5882 Fix CC name and code filter
2018-02-27Merge pull request #340 from ↵Luc Donnet
af83/5950_allow_user_to_see_ccset_from_other_organisation Refs #5950 Fix 404 error when user wants to see CCSet from other orga…
2018-02-27Merge pull request #345 from af83/6026-dedicated-env-for-seedsLuc Donnet
6026 Use SEED_ENV in seedbank, fallback on Rails.env
2018-02-27Don't use all compliance_control_set from stif organisation. We will use ↵5950_allow_user_to_see_ccset_from_other_organisationLuc Donnet
later compliance_control_set selected by stif organisatoon Refs #5950 @2
2018-02-27Refs #6026; Fix duplicated seeds tasks6026-dedicated-env-for-seedsZog
2018-02-27Small css fix on referential overviewsZog
2018-02-27Fix breadcrumb on merges controllerZog
2018-02-27Reorder route_stop_points when creating Chouette::StopPoint in route merge. ↵Alban Peignier
Refs #6040
2018-02-26Refs #6026; Use SEED_ENV in seedbank, fallback on Rails.envZog
2018-02-23Refs #5950 Fix 404 error when user wants to see CCSet from other organisation :cedricnjanga
- remove begin_association_chain in controller - Change collecyion to only see user organisayion CCSet and STIF CCSet - add policy for show action
2018-02-23Refs 5878; Add ComplianceCheck#showZog
2018-02-23Fix small bug on referential overviewZog
2018-02-22Don't load activerecord-nulldb-adapter if RAILS_DB_ADAPTER isn't nulldb. ↵Alban Peignier
Refs #6010
2018-02-22Add a spec to verify to Referential migration count after creation. Refs #6010Alban Peignier
2018-02-22Merge pull request #333 from ↵Alban Peignier
af83/5943-referential-vehicle_journeys-index--query-error-when-fi VehicleJourney#in_purchase_window: Use table namespace in query. Refs #5943
2018-02-22VehicleJourney#in_purchase_window: Use table namespace in queryTeddy Wing
We were getting this errorwhen filtering by purchase window on the `ReferentialVehicleJourneys#index` page. An example of a filter query that triggered the error: http://stif-boiv.dev:3000/referentials/4/vehicle_journeys?utf8=✓&q[published_journey_name_or_objectid_cont]=&q[company_id_eq_any][]=&q[route_line_id_eq]=&q[published_journey_name_gteq]=&q[published_journey_name_lteq]=&q[stop_area_ids][]=&q[purchase_window][start_date(3i)]=12&q[purchase_window][start_date(2i)]=1&q[purchase_window][start_date(1i)]=2018&q[purchase_window][end_date(3i)]=15&q[purchase_window][end_date(2i)]=1&q[purchase_window][end_date(1i)]=2019&q[time_table][start_date(3i)]=&q[time_table][start_date(2i)]=&q[time_table][start_date(1i)]=&q[time_table][end_date(3i)]=&q[time_table][end_date(2i)]=&q[time_table][end_date(1i)]=&commit=Filtrer ActiveRecord::StatementInvalid in ReferentialVehicleJourneys#index Showing stif-boiv/app/views/referential_vehicle_journeys/_filters.html.slim where line #24 raised: PG::AmbiguousColumn: ERROR: column reference "id" is ambiguous LINE 1: ...RE "vehicle_journeys"."journey_category" = 0 AND (id IN (SEL... ^ : SELECT "public"."lines".* FROM "public"."lines" WHERE (id IN (SELECT routes.line_id FROM "vehicle_journeys" INNER JOIN "routes" ON "routes"."id" = "vehicle_journeys"."route_id" WHERE "vehicle_journeys"."journey_category" = 0 AND (id IN (SELECT DISTINCT vehicle_journeys.id FROM "purchase_windows" INNER JOIN "purchase_windows_vehicle_journeys" ON "purchase_windows_vehicle_journeys"."purchase_window_id" = "purchase_windows"."id" INNER JOIN "vehicle_journeys" ON "vehicle_journeys"."id" = "purchase_windows_vehicle_journeys"."vehicle_journey_id" AND "vehicle_journeys"."journey_category" = 0 WHERE (daterange('2018-01-12', '2019-01-16') && any (date_ranges)))) ORDER BY "vehicle_journeys"."published_journey_name" ASC LIMIT 10 OFFSET 0)) Extracted source (around line #24): class: 'control-label' .form-inline.filter_menu = f.input :route_line_id_eq, as: :select, include_blank: t(".all"), collection: @vehicle_journeys.lines, Trace of template inclusion: app/views/referential_vehicle_journeys/index.html.slim We're trying to match `VehicleJourney`s here, so qualify the `id` column with the table name to fix the error. Refs #5943
2018-02-22Return false in has_feature? when no organisation is defined. Refs #6007Alban Peignier
2018-02-22TypoZog
2018-02-22Merge pull request #330 from af83/5993-enhance-detailed-calendarAlban Peignier
Homogenize calendars display. Refs #5993
2018-02-22Ignore not ready Referentials in apartment tenant names. Refs #6004Alban Peignier
2018-02-22Merge pull request #331 from af83/5938-locale-selectorAlban Peignier
Add a locale selector menu item. Refs #5398
2018-02-22Prevent error when PunditViewPolicy try to find undefined features5938-locale-selectorAlban Peignier
2018-02-22Test feature :change_locale to display language switch. Refs #5938Alban Peignier
2018-02-22Refs #5398; Add a locale selector menu itemZog
2018-02-22Merge pull request #329 from af83/5995-update-display-on-vjs-indexAlban Peignier
Change ReferentialVJs#index when filtered by stops. Refs #5995. Refs #5996. Refs #5852
2018-02-22Remove phantom objectid extension5995-update-display-on-vjs-indexAlban Peignier
2018-02-22Use local time in ReferentialVJs#index. Enable sort on times in ↵Alban Peignier
ReferentialVehicleJourneys#index. Refs #5996. Refs #5852