| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-04-17 | Refs #6549; Fix timetables specs6549-fix-tiletables-specs | Zog | |
| 2018-04-10 | Refs #6448; Make timetables sortable on bouding_dates and journeys count | Zog | |
| 2018-02-02 | Refs #5835; Timetables inherit application days from calendars5835-fix-timetable-creation | Zog | |
| 2018-01-25 | Refs #5586 @1h; Migrate TimeTableDecorator | Zog | |
| 2017-11-28 | Refactoring move referentialSupport from chouetteController into childrens | Xinhui | |
| 2017-10-18 | Remove legacy breadcrumb method in controllers | Xinhui | |
| Refs #4741 | |||
| 2017-10-17 | Fix time_tables#index tags form should display searched tags on submit | Xinhui | |
| Refs #4711 | |||
| 2017-10-03 | Refs #4665 | cedricnjanga | |
| Adapt date filters helpers according to this new concern Try to correct build error : "ransack period range undefined" All tests pass on my machine Refs #4661 Remove string column from ComplianceCheckSet | |||
| 2017-10-02 | Refs #4665 | cedricnjanga | |
| Add a controller concern to deal with date filters | |||
| 2017-08-02 | Fix date filters for Timetable and workbenches | cedricnjanga | |
| 2017-07-31 | Refs #4005 Period filters for time_table and referentials | cedricnjanga | |
| 2017-07-25 | Hot fix Timetable#create - from Calendar | cedricnjanga | |
| 2017-07-24 | Update Tietable#merge! to manage more edge cases | cedricnjanga | |
| 2017-07-24 | Check tt_params[:calendar_id] in Timetable#create | cedricnjanga | |
| 2017-07-21 | Refs #4134: fix autocomplete on TT edit tags | jpl | |
| 2017-07-19 | Fix errors from JS-formatted templates using the table_builder | Teddy Wing | |
| We were getting errors like these: Started GET "/referentials/4/networks?_=1500482065840" for 127.0.0.1 at 2017-07-19 18:34:27 +0200 Processing by ReferentialNetworksController#index as JS Parameters: {"_"=>"1500482065840", "referential_id"=>"4"} User Load (3.6ms) SELECT "public"."users".* FROM "public"."users" WHERE "public"."users"."id" = $1 ORDER BY "public"."users"."id" ASC LIMIT 1 [["id", 1]] locale set to :fr Organisation Load (5.6ms) SELECT "public"."organisations".* FROM "public"."organisations" WHERE "public"."organisations"."id" = $1 LIMIT 1 [["id", 1]] Referential Load (1.0ms) SELECT "public"."referentials".* FROM "public"."referentials" WHERE "public"."referentials"."organisation_id" = $1 AND "public"."referentials"."id" = $2 LIMIT 1 [["organisation_id", 1], ["id", 4]] Workbench Load (0.7ms) SELECT "public"."workbenches".* FROM "public"."workbenches" WHERE "public"."workbenches"."id" = $1 LIMIT 1 [["id", 1]] (1.3ms) SELECT DISTINCT COUNT(DISTINCT "public"."networks"."id") FROM "public"."networks" INNER JOIN "public"."line_referentials" ON "public"."networks"."line_referential_id" = "public"."line_referentials"."id" WHERE "public"."line_referentials"."id" = $1 [["id", 1]] CACHE (0.0ms) SELECT DISTINCT COUNT(DISTINCT "public"."networks"."id") FROM "public"."networks" INNER JOIN "public"."line_referentials" ON "public"."networks"."line_referential_id" = "public"."line_referentials"."id" WHERE "public"."line_referentials"."id" = $1 [["id", 1]] Chouette::Network Load (2.3ms) SELECT DISTINCT "public"."networks".* FROM "public"."networks" INNER JOIN "public"."line_referentials" ON "public"."networks"."line_referential_id" = "public"."line_referentials"."id" WHERE "public"."line_referentials"."id" = $1 ORDER BY name asc LIMIT 12 OFFSET 0 [["id", 1]] CACHE (0.0ms) SELECT DISTINCT COUNT(DISTINCT "public"."networks"."id") FROM "public"."networks" INNER JOIN "public"."line_referentials" ON "public"."networks"."line_referential_id" = "public"."line_referentials"."id" WHERE "public"."line_referentials"."id" = $1 [["id", 1]] Chouette::Network Exists (1.2ms) SELECT 1 AS one FROM "public"."networks" WHERE "public"."networks"."id" = $1 LIMIT 1 [["id", 118]] Rendered referential_networks/index.html.slim (48.9ms) Completed 500 Internal Server Error in 184ms (ActiveRecord: 17.4ms) ActionView::Template::Error (undefined method `action_links' for #<Chouette::Network:0x007ffea2148b08>): 22: - if @networks.any? 23: .row 24: .col-lg-12 25: = table_builder_2 @networks, 26: [ \ 27: TableBuilderHelper::Column.new( \ 28: name: 'ID Codifligne', \ app/helpers/table_builder_helper.rb:161:in `block in build_links' app/helpers/table_builder_helper.rb:158:in `build_links' app/helpers/table_builder_helper.rb:138:in `block (3 levels) in tbody' app/helpers/table_builder_helper.rb:110:in `block (2 levels) in tbody' app/helpers/table_builder_helper.rb:108:in `block in tbody' app/helpers/table_builder_helper.rb:107:in `tbody' app/helpers/table_builder_helper.rb:72:in `table_builder_2' app/views/referential_networks/index.html.slim:25:in `_app_views_referential_networks_index_html_slim___1557411244315414919_70366016986820' app/controllers/referential_networks_controller.rb:27:in `index' Rendered .../lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.8ms) Rendered .../lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (2.5ms) Rendered .../lib/ruby/gems/2.3.0/gems/actionpack-4.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.text.erb (76.0ms) on the following pages: - http://stif-boiv.dev:3000/referentials/4/time_tables - http://stif-boiv.dev:3000/line_referentials/1/companies - http://stif-boiv.dev:3000/line_referentials/1/networks - http://stif-boiv.dev:3000/referentials/4/companies - http://stif-boiv.dev:3000/referentials/4/networks This was caused by the request of a JS-formatted view that rendered the HTML template, since the collection decoration only happened in the HTML format section. Do the decoration in both the HTML format and JS format for the relevant controllers in order to eliminate this error. Maybe there's a cleaner way to do this than just duplicating the decoration in both `format.X` blocks, but I don't know of it. Wanted to make sure not to decorate when it wasn't necessary, like when rendering other formats (XML, etc.). Refs #4105 | |||
| 2017-07-19 | Refs 4131 Change Timetable#create to fetch all Calendars (new_from) | cedricnjanga | |
| 2017-07-12 | Remove wild option in timetable tag filter | cedricnjanga | |
| 2017-07-12 | #4015 adjust Tag filter to be strict | cedricnjanga | |
| 2017-07-07 | TimeTables#index: Use new table builder helper | Teddy Wing | |
| Additionally convert the `#human_attribute_name` calls to call it on the class because this is more correct and because that method doesn't exist on the decorated collection of `@time_tables`. TODO: There's a bug here where the #show and #edit links don't link correctly, they go to `/referentials/:id` instead of `/referentials/:id/time_tables/:id`. Refs #3479 | |||
| 2017-07-06 | Refs:#3478@10h; | Robert | |
| Policy Refactoring and Policy Test Completion - All policies (and all permissions) under test. - Common patterns and potential problems identified... - ... and documented in DEVNOTES.md - some simply refactorings | |||
| 2017-07-03 | Adapt test & controller according to convert_to_timetable fix | af83 | |
| 2017-06-19 | TimeTables#show: Render header buttons from #action_links | Teddy Wing | |
| This enables us to reuse these links in other parts of the application. Get the links from `TimeTableDecorator#action_links`. Refs #3479 | |||
| 2017-05-23 | Fix create time_table with calendar association | Xinhui | |
| Refs #2347 | |||
| 2017-05-22 | TimeTables#actualize retrieve dates & periods from calendar | Xinhui | |
| Refs #3445 | |||
| 2017-05-16 | Filter TimeTable by overlapping period | Xinhui | |
| Refs #3384 | |||
| 2017-05-02 | Duplicate TimeTable | Xinhui | |
| Refs #3188 | |||
| 2017-04-27 | Refs #3185: refacto/upd tt#create | jpl | |
| 2017-04-27 | Wip TimeTables#update save TimeTableDate | Xinhui | |
| Refs #2899 | |||
| 2017-04-26 | Wip TimeTables#update save day_types | Xinhui | |
| Refs #2899 | |||
| 2017-04-26 | Wip timetables#update state | Xinhui | |
| Refs #2899 | |||
| 2017-04-25 | Refs #3172: fix bouding_dates filter on tt#index | jpl | |
| 2017-04-11 | TimeTables#index fix filter by periode | Xinhui | |
| Refs #2909 | |||
| 2017-04-11 | TimeTable#index fix search by comment_cont | Xinhui | |
| Refs #2909 | |||
| 2017-04-11 | Refs #2909: working on tt#index filters/search | jpl | |
| 2017-04-10 | Refs #3092 #2909: adding color attribute, adding colorSelector component | jpl | |
| 2017-04-10 | Refs #2909: Fix tests, updating table builder | jpl | |
| 2017-04-07 | New route timetables#month return days in a month | Xinhui | |
| 2017-04-04 | Refs #2892: adding simpleform builder for acts-as-taggable (for timetable#edit) | jpl | |
| 2017-02-13 | Refs #2596 : Replace creation_time with timestamps | Vlatka Pavisic | |
| 2017-02-07 | Refs #2476 : Disable modification and deletion of resources from another ↵ | Vlatka Pavisic | |
| referential; in progress | |||
| 2017-01-23 | Refs #2428 #2427 : User permissions | Vlatka Pavisic | |
| 2017-01-06 | Refs #2347 : TimeTable with Calendar | Vlatka Pavisic | |
| 2015-06-04 | Fix permitted parameters for time tables | Luc Donnet | |
| 2015-01-15 | Fix tests and merge master | Luc Donnet | |
| 2015-01-07 | Fix spec and update devise usage | Luc Donnet | |
| 2015-01-06 | Fix features and views spec | Luc Donnet | |
| 2014-10-03 | duplicate calendar will open new form and not edit form , Mantis 29110 | Michel Etienne | |
| 2014-09-22 | Merge branch 'sismo' of github.com:afimb/chouette2 into sismo | Marc Florisson | |
| 2014-09-22 | extend tag selection | Marc Florisson | |
