| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-05-30 | Refs #7227; Performance-oriented cleanup implementation | Zog | |
| 2018-05-15 | CleanUp: Add `#destroy_empty`6854-clean-up--destroy-routes-outside-referential | Teddy Wing | |
| Gives us a single call site to trigger the destruction of vehicle journeys, journey patterns, and routes without content. This was previously done directly in the `#clean` method, but since it's not needed during referential duplication (only during merges), we don't want to enable it by default. Thus now to activate the same old functionality, you would create a `CleanUp` like this: CleanUp.new(methods: [:destroy_empty]) Refs #6854 | |||
| 2018-05-15 | CleanUp#clean: Replace `#destroy_*` calls with `#run_methods` | Teddy Wing | |
| It turns out that we don't care about destroying orphaned data. From Alban: > Quand on duplique un JDD, on lance un CleanUp, sauf que la partie > "suppression des données orphelines" n'intéresse personne au final. Replace the calls to `#destory_{vehicle_journeys,journey_patterns,routes}` with one to `#run_methods`. This change allows callers to run any cleanup methods defined in `CleanUp`. For example: CleanUp.new(methods: [:destory_routes]) But now by default, none of these destroy methods are run, saving us from doing extra work that it turns out we don't need to bother doing. Refs #6854 | |||
| 2018-05-14 | CleanUp: Add `#run_methods` | Teddy Wing | |
| This method is coupled with a new virtual attribute that can be used in the initializer like: CleanUp.new(methods: [:destroy_routes]) The method will run all methods specified in the `:methods` list. The plan is to replace the calls to `destroy_routes` etc. with a call to this method. The result will be a more configurable clean-up process, allowing users to selectively choose what to clean up by declaring what methods in the `CleanUp` model to call. Refs #6854 | |||
| 2018-05-14 | CleanUp: Remove `#destroy_vehicle_journeys_outside_referential` | Teddy Wing | |
| This method is superseded by `#destroy_routes_outside_referential`, which will cascade deletion to include vehicle journeys. Refs #6854 | |||
| 2018-05-14 | CleanUp: Add `#destroy_routes_outside_referential` | Teddy Wing | |
| This builds on `#destroy_vehicle_journeys_outside_referential` (which will soon be removed in favour of this new method). It destroys orphaned routes in a referential. Refs #6854 | |||
| 2018-04-27 | Refs #6572; New Referential#Show for noredy referentials | Zog | |
| 2018-04-27 | Refs #6572; Use new states | Zog | |
| 2018-04-24 | Restore 'data' clean (vehicle_journey/journey_pattern/route). Use ↵5372-clean-with-metadata-2 | Alban Peignier | |
| referential metadata to clean routes. Make date_type/begin_date/end_date optionnal for internal usage. Refs #5372 | |||
| 2018-04-09 | Refs #6367; Add metadata to other versioned models | Zog | |
| 2017-08-02 | Refs: #4216@0.3h; Brute force change of `message_attributs` to ↵ | Robert | |
| `message_attributes` in code (not migration or schema!!!) | |||
| 2017-07-17 | Fix errors tranlations for clean up | cedricnjanga | |
| 2017-07-12 | #4028 Clean Up end date must be greater than begin date | cedricnjanga | |
| 2017-07-06 | Fix test according changes in model : boundaries are exclusive for between ↵ | cedricnjanga | |
| clean up | |||
| 2017-07-06 | Change format of error message format + some typos | cedricnjanga | |
| 2017-07-06 | Change wording for clean up + add exclusive dates for between clean up | af83 | |
| 2017-06-30 | Fix cleanup#destroy_time_tables should only destroy vehicle_journey of ↵ | Xinhui | |
| deleted time_tables Refs #3917 | |||
| 2017-06-28 | Fix cleanup should only destroy vj without any time_table | Xinhui | |
| Refs #3917 | |||
| 2017-06-15 | Fix wrong method name on cleanup | Xinhui | |
| Refs #3644 | |||
| 2017-06-13 | Clean edit condition on date included or not | Xinhui | |
| 2017-06-09 | Cleanup add TimeTableDate in_out:false to overlapping periods | Xinhui | |
| 2017-06-08 | Wip Cleanup time_tables time_table_dates time_table_periods | Xinhui | |
| 2017-06-05 | Referential Cleanup add date_type | Xinhui | |
| Refs #3662 | |||
| 2016-11-16 | Model CleanUp add end_date | Xinhui | |
| Refs #1934 | |||
| 2016-11-15 | Refactoring CleanUpResult as ActiveRecord model | Xinhui | |
| Refs #1933 | |||
| 2016-11-15 | Remove line and stop_area from cleanup | Xinhui | |
| Refs #1933 | |||
| 2016-11-14 | Wip refactoring cleanup model | Xinhui | |
| Refs #1933 | |||
| 2016-11-10 | Wip refactoring CleanUp clean method | Xinhui | |
| Refs #1933 | |||
| 2015-05-21 | Refactor find_each with conditions option in CleanUp | Alban Peignier | |
| 2013-02-07 | import foreign keys from ninoxe | Michel Etienne | |
| 2012-10-16 | add group_of_line filter and summary on lines and add clean on empty groups ↵ | Michel Etienne | |
| of lines | |||
| 2012-08-30 | refactor clean_up | Michel Etienne | |
| 2012-07-11 | correct notice method | Michel Etienne | |
| 2012-07-10 | reprise clean_up and test_sheet | Michel Etienne | |
| 2012-07-09 | add clean up process | Michel Etienne | |
