osem-fcy/app/controllers
Asish Kumar c5e84221c2 Make iCalendar feed routes return calendar data
Both iCalendar routes were unusable:

* `/conferences/.../schedule.ics` raised
  `NoMethodError: undefined method 'icalendar_proposals'` because the
  `ConferenceHelper#icalendar_proposals` helper isn't auto-included in
  controllers; the action crashed before rendering.

* `/calendar.ics` silently redirected to `/`. The controller goes
  through `load_and_authorize_resource`, which authorises `:calendar`
  on `Conference` and is rejected for anonymous visitors because no
  ability grants it — CanCan's `AccessDenied` rescue redirects to
  root.

The helper is invoked through the controller `helpers` proxy so it
works in both contexts, and the calendar action is opted out of
resource loading and explicitly marked as not requiring authorization
since it serves a public feed across conferences. The helper is also
hardened so that proposals missing a room, difficulty level, track,
event type or scheduled time produce a valid event instead of
crashing the whole feed.
2026-05-14 11:02:49 +05:30
..
admin Fix parameter generation for activating a schedule 2026-03-18 13:11:17 +01:00
api Required changes for consistent controller & feature results 2018-11-20 17:30:56 -08:00
users fixes redirect loop 2019-12-20 08:26:22 -05:00
application_controller.rb Autocorrect new rubocop offenses 2025-08-12 16:44:20 +02:00
booths_controller.rb Fix too loose strong Booth parameters 2026-03-18 12:18:10 +01:00
commercials_controller.rb Skip CSRF authenticity 2019-05-24 14:08:23 +02:00
conference_registrations_controller.rb Fix too loose registration strong parameters 2026-03-18 12:20:20 +01:00
conferences_controller.rb Make iCalendar feed routes return calendar data 2026-05-14 11:02:49 +05:30
confirmations_controller.rb Add frozen_string_literal magic comment 2018-05-09 06:54:26 -07:00
openids_controller.rb s/redirect_to :back/redirect_back/ 2019-05-05 09:40:50 +02:00
payments_controller.rb Rubocop autocorrections 2018-11-16 09:06:05 -08:00
physical_tickets_controller.rb Rubocop autocorrections 2018-11-16 09:06:05 -08:00
proposals_controller.rb Do not require programs languages in controller 2024-07-01 14:23:08 +02:00
registrations_controller.rb Fix registration form 2022-03-02 17:59:30 +01:00
schedules_controller.rb Make iCalendar feed routes return calendar data 2026-05-14 11:02:49 +05:30
subscriptions_controller.rb Add frozen_string_literal magic comment 2018-05-09 06:54:26 -07:00
surveys_controller.rb Show feedback upon survey response 2022-03-16 14:12:01 -07:00
ticket_purchases_controller.rb Remove unused ticket_purchase_params 2026-03-17 15:59:02 +01:00
tickets_controller.rb Add frozen_string_literal magic comment 2018-05-09 06:54:26 -07:00
tracks_controller.rb 👋 update_attributes 2022-02-23 14:36:05 +01:00
users_controller.rb Fix selectized users on booth/proposal forms 2022-03-03 16:48:49 +01:00