osem-fcy/app
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
..
assets Fix bug in initial scheduling of events 2025-01-30 14:37:55 +01:00
controllers Make iCalendar feed routes return calendar data 2026-05-14 11:02:49 +05:30
datatables Use CSS-compatible row IDs in datatables 2022-09-13 11:06:22 -07:00
helpers Make iCalendar feed routes return calendar data 2026-05-14 11:02:49 +05:30
jobs Add frozen_string_literal magic comment 2018-05-09 06:54:26 -07:00
mailers Rubocop autocorrections 2018-11-16 09:06:05 -08:00
models Fix: allow all users to view conference code of conduct (#3708) 2026-03-03 15:52:07 +01:00
pdfs Drop Organization Feature 2024-06-07 17:42:08 +02:00
serializers Merge pull request #3090 from AndrewKvalheim/api-time-zone 2023-04-19 13:36:12 +02:00
uploaders Rename deprecated CarrierWave methods 2021-08-18 14:10:31 +02:00
views Fix parameter generation for activating a schedule 2026-03-18 13:11:17 +01:00