discourse-calendar/db/migrate
Sam bdf8869a01
FEATURE: Add event location/description and "My Events" filter (#746)
This pull request introduces two major new features to the calendar plugin: the ability to add a location/description to an event, and a new "My Events" view on the upcoming events page.

### Event Location

You can now add a `location` to an event. This is a free-text field that can be used for a physical address, a URL, or any other location details.

*   A `location` field has been added to the event builder modal.
*   The location is displayed in the event details in the post, complete with a new "location-pin" icon. URLs within the location field are automatically linked.
*   This is supported by a database migration to add the `location` column, and updates to the event model, serializer, and parser.

### Event description 

You can now add a `description ` to an event. This is a free-text field that can be used to describe your event.

*   A `description` field has been added to the event builder modal.
*   The description  is displayed in the event details in the post, complete with a new "circle-info" icon. URLs within the location field are automatically linked. It supports linebreaks.
*   This is supported by a database migration to add the `description` column, and updates to the event model, serializer, and parser.

### "My Events" Filter

The `/upcoming-events` page now includes tabs to switch between "All events" and "My events".

*   The "My events" tab shows all upcoming events that the current user is "Going" to.
*   This creates a personalized calendar for users to easily see their own upcoming schedule.
*   A new `/upcoming-events/mine` route has been added, and the backend event finder now supports filtering by an `attending_user`.


### Other Improvements

*   The calendar view on the `/upcoming-events` page now defaults to a "list" view on mobile for a better experience.
*   The "Open Event" and "Close Event" actions now have a disabled/saving state to provide better feedback during the operation.
*   System tests have been added to cover the new functionality.
2025-06-25 10:20:38 +02:00
..
20190724181542_add_on_holiday_index.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200226183018_create_calendar_events.rb FIX: amend resetting of cache 2020-04-30 12:45:02 +10:00
20200310200000_remove_timezone_custom_field.rb DEV: Migrate from custom fields to tables (#23) 2020-03-20 15:45:24 +02:00
20200327195549_add_topic_custom_field_post_event_date_index.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200409102639_drop_incorrect_future_schema_migrations.rb DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#636) 2024-10-25 14:57:08 +08:00
20200409102640_create_post_events_table.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200409102641_create_invitees_table.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200409102642_rename_setting_to_discourse_post_event.rb REFACTOR: ensures consistent naming with discourse-post-event (#26) 2020-04-09 18:10:45 +02:00
20200409102643_rename_tables_to_discourse_post_event.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200409120815_rename_topic_custom_field_topic_post_event_starts_at_index.rb DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#636) 2024-10-25 14:57:08 +08:00
20200409181607_remove_display_invitees.rb DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#636) 2024-10-25 14:57:08 +08:00
20200729094848_add_url_column_to_event.rb FEATURE: allows to add a url to an event (#52) 2020-08-03 08:58:52 +02:00
20200805073343_drop_old_discourse_calendar_tables.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200805133257_add_custom_fields_to_event.rb FEATURE: adds support for custom fields on event 2020-08-07 17:50:15 +02:00
20200809154642_create_reminders_table.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20200810185432_refactor_reminders.rb REFACTOR: makes reminders to be in raw 2020-08-10 23:38:04 +02:00
20200810190429_drop_reminders_table.rb DEV: Promote historic post-deploy migrations (#146) 2021-06-23 17:54:27 +01:00
20200812193122_add_recurrence_to_events.rb FEATURE: intoduces recurrence support 2020-08-13 10:19:13 +02:00
20200926144256_add_unique_index_to_topic_event_ends_at_custom_field.rb DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#636) 2024-10-25 14:57:08 +08:00
20201110225115_create_post_event_dates_table.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20201111005205_move_data_to_event_dates.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20211216124303_add_timezone_to_calendar_events.rb FEATURE: fullDay calendar option (#207) 2022-01-06 09:51:11 +01:00
20220228163400_adds_timezone_to_discourse_post_event_event.rb FEATURE: adds support for timezone (recurring and non recurring) (#237) 2022-03-03 12:03:21 +01:00
20220604200919_create_disabled_holidays.rb DEV: Introduce syntax_tree for ruby formatting (#363) 2022-12-29 13:30:41 +01:00
20220613073844_unescape_event_name.rb DEV: Promote historical post-deploy migrations 2023-07-26 10:37:10 +02:00
20220724130519_fix_post_event_timezones.rb DEV: resolve Rails/ReversibleMigrationMethodDefinition errors (#636) 2024-10-25 14:57:08 +08:00
20221121165352_add_type_field_to_events_reminders.rb DEV: Promote historical post-deploy migrations 2023-07-26 10:37:10 +02:00
20221223210225_add_minimal_option_to_calendar_event.rb FEATURE: Add minimal option to events (#362) 2023-01-13 12:12:02 -03:00
20231123233308_delete_duplicated_holidays.rb FIX: prevent holiday duplicates when username is changed (#488) 2023-11-23 16:38:03 -08:00
20231124021939_delete_similar_holidays.rb FIX: remove duplicated holidays because of timezone change (#489) 2023-11-24 14:48:47 +11:00
20240513140542_add_closed_to_discourse_post_event.rb FEATURE: closed events (#564) 2024-05-14 10:12:47 +02:00
20250520042223_add_chat_fields_to_events.rb FEATURE: optional attached chat channel for event (#728) 2025-05-28 16:13:33 +10:00
20250526154632_add_recurrence_until.rb FEATURE: support for recurrence_until (#730) 2025-06-02 13:41:52 +02:00
20250602114410_add_show_local_time.rb FEATURE: show local timezone (#735) 2025-06-02 22:52:27 +02:00
20250616101944_add_location_to_event.rb FEATURE: Add event location/description and "My Events" filter (#746) 2025-06-25 10:20:38 +02:00
20250616101945_add_description_to_event.rb FEATURE: Add event location/description and "My Events" filter (#746) 2025-06-25 10:20:38 +02:00