| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-24 | Refs #6431 small changes on line & stop area status | cedricnjanga | |
| 2018-04-10 | Merge pull request #438 from af83/6368-gtfs-import | Luc Donnet | |
| GTFS import (first step) | |||
| 2018-04-09 | Refs #6367; Add metadata to other versioned models | Zog | |
| 2018-04-03 | Remove hardcoded format on line/stop_area/company registration_numbers ↵ | Alban Peignier | |
| (blocks GTFS imports). Refs #6368 | |||
| 2018-03-29 | Refs #4658; Remove `current_functional_scope` | Zog | |
| 2018-03-23 | Fix i18n enhancements on titles @3 | 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-05 | Remove primary_key overriding in models. Refs #6112 | Alban Peignier | |
| 2018-02-20 | Refs #5924; Remove `local_id` methods | Zog | |
| 2018-02-20 | Refs #5924 @14h; Extend importers | Zog | |
| Mostly add a way to override the default behaviour and process each row its own way | |||
| 2018-02-20 | Refs #5924 @2h; Update specs | Zog | |
| 2018-01-16 | Fix access to public.versions table for Line, StopArea, Network and company ↵ | Luc Donnet | |
| models Refs #5605 @2 | |||
| 2018-01-05 | Add Line#time_tables. Refs #5299 | Alban Peignier | |
| 2017-12-21 | Refs #5430 @2h; Deactivate lines instead of destroying them | Zog | |
| - Add `activate` and `deactivate` actions in `LinesController`, as well as corresponding routes - Add `activate!` and `deactivate!` methods in `Chouette::Line`, as well as `activated?` - Add `activate?` and `deactivate?` permissions in `LinePolicy` - Add corresponding `action_links`in the Decorator - Create helper for these actions - Add an optional `'extra_class` to the Links - Update styles for ".delete-action" to handle the case where there are several - Add I18n keys accordingly | |||
| 2017-12-13 | Refs #5112 : Referential#create | cedricnjanga | |
| => Only display the short_id of lines objetids for better UI | |||
| 2017-11-30 | Merge branch 'master' into 4981_last_editor | Xinhui Xu | |
| 2017-11-28 | Add paper_trail to models | Xinhui | |
| 2017-11-23 | Merge branch 'master' into 4824-create_line_referentials | Guillaume | |
| 2017-11-22 | Fix transport modes and submodes modules | cedricnjanga | |
| Fix Compliance Control Set flotted links to display on show page | |||
| 2017-11-22 | Refs #4941 remove object_id_format_to_line_referential module, include just ↵ | Guillaume | |
| a object_id_format_to_referential module | |||
| 2017-11-22 | add object_id_format to migrations, create module for call Referential, Line ↵ | Guillaume | |
| Referential, StopAreaReferential in models, add Enumerize in models Refs #4941 | |||
| 2017-11-21 | Change the way we name classes | cedricnjanga | |
| We now always use modules for namespaces => same structure for models, decorators, policies... | |||
| 2017-11-17 | Add some changes to the objectid construction | cedricnjanga | |
| 2017-11-16 | Add Cédric new objectid concerns | cedricnjanga | |
| objectid_support handles reading and writing object_ids objectid_formater_support gets the right formater class include these concerns in chouette models Remove StifNetexAttributSupport modules because these are handled by the new objectid concerns Add a objectid and formater classes for each format type Add objectid formats to the factories Modify somes specs for object_ids but there are still a number of failling tests | |||
| 2017-11-16 | Refs #4941 remove object_id_format_to_line_referential module, include just ↵ | Guillaume | |
| a object_id_format_to_referential module | |||
| 2017-11-09 | split modules objectid_format, remove alias referential | Guillaume | |
| 2017-11-09 | add object_id_format to migrations, create module for call Referential, Line ↵ | Guillaume | |
| Referential, StopAreaReferential in models, add Enumerize in models Refs #4941 | |||
| 2017-10-02 | Fix transport mode and submode modules | cedricnjanga | |
| 2017-09-29 | Refs Adapt transport mode & submode translations | cedricnjanga | |
| 2017-07-25 | StifCodifligneAttributesSupport for Line objectid | Xinhui | |
| 2017-05-11 | Fix Line display_name should display short name aka number.. | Xinhui | |
| Refs #3353 | |||
| 2017-04-28 | Fix Line full_name should display objectid.local_id | Xinhui | |
| Refs #3081 | |||
| 2017-04-11 | Refs #3094: Fix select2 in edit display primary and secondary operators | Thomas Haddad | |
| Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com> | |||
| 2017-04-05 | Refs #3036 : Associate RoutingConstraintZone with Route and not Line | Vlatka Pavisic | |
| 2017-02-03 | Lines has_array_of secondary_companies | Xinhui | |
| Refs #2490 | |||
| 2016-12-12 | Refs #1955 : RoutingConstraintZone | vlatka pavisic | |
| 2016-11-20 | Sort lines and use display name (with company name when available). Refs #1997 | Alban Peignier | |
| 2016-11-19 | Fix transport mode display in both views referential_lines and lines Refs #1974 | Luc Donnet | |
| 2016-11-18 | Refs #1974 : Refactor Line transport mode | vlatka pavisic | |
| 2016-11-18 | Refs #1977: Add transport_submode enum. on lines#show | jpl | |
| 2016-11-17 | Refs #1939 : Create Line by_text scope | vlatka pavisic | |
| 2016-10-20 | Set referential_metadata periodes as array + templating form | Xinhui | |
| Refs #1782 | |||
| 2016-10-19 | Model ReferentialMetadata | Xinhui | |
| Refs #1782 | |||
| 2016-10-14 | Remove validate presence of company for Line model | Xinhui | |
| Refs #1814 | |||
| 2016-09-28 | disable network presence validation for liens. Refs #1736. | Edouard Maffert | |
| 2016-09-21 | validate presence of network and companies for lines | Edouard Maffert | |
| 2016-07-28 | Add netex_object_id and default_netex_object_id for codifligne objectid format | Edouard Maffert | |
| 2016-05-13 | Disable mandatory Network and Company by waiting associated referential ↵ | Alban Peignier | |
| refactoring. Refs #825 | |||
| 2016-05-13 | Refactor models and controllers to manage Lines in LineReferential. Refs #825 | Alban Peignier | |
