| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-03-16 | Refs #6218; UI for exports | Zog | |
| 2018-03-15 | Merge pull request #377 from af83/6107-bind-stop_area_referential-and-workgroups | Alban Peignier | |
| Refs 6106 & 6107. Binds LineReferentials and StopAreaReferentials to Workgroups | |||
| 2018-03-15 | Merge pull request #376 from af83/6006-fix-stops-filter | Alban Peignier | |
| Fix VehicleJourney#with_ordered_stop_area_ids scope. Refs #6006 | |||
| 2018-03-15 | Merge pull request #375 from af83/6040-fix-stop-points-poitions-in-merged-routes | Alban Peignier | |
| Enforce stop points positions in merged Referential. Refs #6040 | |||
| 2018-03-15 | Add StopArea#status in stop_areas#_form. Refs #60336033-stop-area-states | Alban Peignier | |
| 2018-03-15 | Refs #6033 Update activate and deactivate methods | cedricnjanga | |
| 2018-03-15 | Fix netex import key message in csv export Refs #5873 @1 | Luc Donnet | |
| 2018-03-14 | Fix access for import ressources Refs #6133 @3 | Luc Donnet | |
| 2018-03-14 | Merge pull request #367 from af83/6042-detailed_purchase_windows | Alban Peignier | |
| Add detailed view for purchase windows. Refs #6042 | |||
| 2018-03-14 | Refs #6021: Make DAY_OFFSET_MAX configurable | Zog | |
| 2018-03-14 | Refs #6021 @1h; Allow journeys to span over 3 days | Zog | |
| And fix the way offsets are computed to use the timezones | |||
| 2018-03-14 | Replace hardcoded AAA by expression sized by registration_number_format. ↵ | Alban Peignier | |
| Refs #5972 | |||
| 2018-03-14 | Refs #5972 @1h; Automatic registration_number generation | Zog | |
| 2018-03-14 | Small fixes/improvements in SimpleInterfaces | Zog | |
| 2018-03-14 | Refs #61066107-bind-stop_area_referential-and-workgroups | Zog | |
| Refs #6107 Binds LineReferentials and StopAreaReferentials to Workgroups, and enforce uniqueness | |||
| 2018-03-13 | Refs #6006; Fix VehicleJourney#with_ordered_stop_area_ids scope6006-fix-stops-filter | Zog | |
| 2018-03-13 | Refs #6040; Enforce stop points positions in merged Referential6040-fix-stop-points-poitions-in-merged-routes | Zog | |
| 2018-03-12 | Merge pull request #361 from af83/6068-simple-exporter | Luc Donnet | |
| 6068 simple exporter | |||
| 2018-03-12 | Regs #6133; Define file's extensions whitelist on a per-class basis6133-new-exports | Zog | |
| 2018-03-12 | Refs #6133; Fix specs | Zog | |
| 2018-03-12 | Refs #6133; Full UX for exports | Zog | |
| Also added a *dumb* `WorkgroupExport` for testing purposes. | |||
| 2018-03-12 | Refs #6133: Async exports | Zog | |
| 2018-03-12 | Refs #6133; Sample SimpeImporter Implementation | Zog | |
| Still needs to be made asynchronous | |||
| 2018-03-12 | Refs #6133; Add options on the Exports, and forward them tu the UX | Zog | |
| 2018-03-12 | refs #6133; Add some basic specs | Zog | |
| 2018-03-12 | Refs #6133; First Crud for exports | Zog | |
| 2018-03-12 | Refs #6133; Exports naive implementation | Zog | |
| 2018-03-12 | Refs #6133; Remove NeptuneImport | Zog | |
| 2018-03-12 | Refs #6133; Fix specs | Zog | |
| 2018-03-12 | Refs #6133; Remove former implementation | Zog | |
| 2018-03-09 | Refs #6042; Add detailed view for purchazse windows6042-detailed_purchase_windows | Zog | |
| 2018-03-09 | Merge pull request #366 from af83/5989-fix_compliance_check_resource_status | Luc Donnet | |
| Fix compliance_check_resource and compliance_check_set status Refs #5… | |||
| 2018-03-08 | Fix compliance_check_resource and compliance_check_set status Refs #5989 @15989-fix_compliance_check_resource_status | Luc Donnet | |
| 2018-03-07 | Chouette::Line#by_name: Use `LEFT OUTER JOIN` on "companies" | Teddy Wing | |
| Thanks to Johan for helping me with this. He correctly remarked that what I had before will do an `INNER JOIN`, which ends up excluding lines that don't have an associated company. I didn't really think about the data, and didn't realise we had lines without a company. Big thanks to Johan for seeing that I needed to add `public.` to qualify the `companies` table in order for the join to work. Otherwise it doesn't work correctly and we can't filter by company name. Refs #5889 | |||
| 2018-03-07 | AutocompleteLines: Sanitize `:q` param in `LIKE` operator | Teddy Wing | |
| Johan made a number of good points here: > * I think this belongs in the model > * I would rather use a named parameter here > `.where('lines.number LIKE :q OR lines.names LIKE :q ...', q: > "%#{params[:q]}%")` > * You should defiitely escape the params before passing it to your db. > `sanitize_sql_like` seems like the best choice here I wasn't thinking about sanitisation at all and just assumed the `?`s in the prepared statement would take care of it for me. But obviously, we're passing `%`s in the param, so users can of course do the same thing. Protect against this using the `ActiveRecord::Sanitization#sanitize_sql_like` method. This is a private class method, so in order to use it we have to call it from inside the `Chouette::Line` model. And of course the named parameters are a no-brainer. At the time, I had seen that `Array` splat somewhere else in the codebase and just blindly copied the format, forgetting that named parameters even existed. Refs #5889 | |||
| 2018-03-07 | VehicleJourney: Remove `.lines` method | Teddy Wing | |
| This is no longer needed thanks to the `AutocompleteLinesController` and the AJAX filter in `app/views/referential_vehicle_journeys/_filters.html.slim`. Refs #5889 | |||
| 2018-03-07 | ReferentialVehicleJourneys#index: Make lines filter asynchronous | Teddy Wing | |
| Instead of doing a complex query to get the lines available to filter on, just get all the lines in the current referential. We then filter those by what was typed into the select2 box and asynchronously respond with line options in a new JSON autocomplete controller. Here we're only providing the option to filter by `number` and `name` field on the line. I'd like to filter by everything in the `#display_name`. I don't think the objectid is going to be easy to integrate into the SQL query but I'd like to add the company part. It's possible we could do the objectid filter in Ruby instead of the database query. Refs #5889 | |||
| 2018-03-06 | Refs #6068; Fix specs6068-simple-exporter | Zog | |
| 2018-03-06 | Update gtfs_import to test java part | Luc Donnet | |
| 2018-03-06 | Refs #6068; Better output | Zog | |
| 2018-03-06 | Refs #6068; Remove useless transactions | Zog | |
| 2018-03-06 | Refs #6068; Add aggregated output for multiple interfaces | Zog | |
| 2018-03-06 | Fixes logs_output_dir in imports tasks and into ↵ | Alban Peignier | |
| SimpleImporter#dump_csv_from_context. Refs #5924 | |||
| 2018-03-05 | Merge pull request #359 from af83/6068-simple-exporter | Alban Peignier | |
| Simple exporter. Refs #6068 | |||
| 2018-03-05 | Returns nil value into SimpleExporter#resolve_value when one of the ↵ | Alban Peignier | |
| attributes in the chain is nil. Refs #6068 | |||
| 2018-03-05 | Use Workbench#calendars in dashboard. Refs #6064 | Alban Peignier | |
| 2018-03-05 | Remove primary_key overriding in models. Refs #6112 | Alban Peignier | |
| 2018-03-05 | Refs #6068; Remove warning for controlled empty fields | Zog | |
| 2018-03-05 | Refs #6068; Fix specs | Zog | |
| 2018-03-05 | Refs #6068; :fire: useless method | Zog | |
| and fix specs | |||
