mobilizon/CHANGELOG.md
Thomas Citharel 3eddd5fc8f
chore(release): release 3.1.0-beta.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-23 18:35:28 +02:00

87 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

3.1.0-beta.2 (2023-05-23)

Bug Fixes

  • include user role in moderator role (c4d6019)

3.1.0-beta.1 (2023-05-17)

Features

  • API: Allow to create apps, with permissions and both Authorization Code Flow and Device Flow
  • addresses: Allow to enter manual addresses (85d643d)
  • docker: Specify the folder where tzdata downloads data so that it can be used in a volume (4bb0625), closes #1280
  • spam: Introduce checking new accounts, events & comments for spam with the help of Akismet (317a343)
  • rate-limiting: Introduce rate-limiting on some endpoints (c07ba3a5)

Bug Fixes

  • global-search: Add option values in debug log before calling global search service (8141bb0)
  • apps: Fix cleaning application data background job (aa20f69)
  • apps: Show message when the user doesn't have approved apps yet (e0ee9c1)
  • auth: Handle logging-in with disabled auth provider (a22a5e3)
  • backend: Fix Mobilizon.Events.list_participations_for_user_query/1 (bcf6fd8)
  • backend: Handle CLDR data having no standard property for a language (dbe2da7)
  • backend: Ignore group mentions for now (b5f106b)
  • back: Improve error message when requesting reset passwords and new instructions (1c1d0d4)
  • back: Replace NaiveDateTime uses with DateTime for consistency (8ea00e7)
  • back: Various small fixes in backend (2a57340)
  • bind pagination current prop (4bcf572)
  • federation: Account suspension should use actor in question as author and not relay actor (79b48da)
  • feeds: Only provide future events in ICS/Atom feeds (f3a4431), closes #1246
  • Fix type of variable in navbar (50ab531)
  • follow-instances: Show correct error message when trying to follow already following actor (d969c66)
  • front: Fix about sections titles (487f406)
  • front: Fix autocomplete attribute in o-inputitems after Oruga new version BC (d2ba732)
  • front: Fix behaviour when deleting an event from event list (cfd10ea)
  • front: Fix event list month order (63c9ed6), closes #1244
  • front: Fix instances list pagination (8543204), closes #1277
  • front: Fix pagination display on dark mode (4375438)
  • front: Fix style of My Events participations (35b07dc)
  • front: Focus report comment input in report modal (2c28312), closes #1236
  • front: Handle "Failed to fetch dynamically imported module" errors by refreshing the page (3d21a06)
  • front: Improve Delete account modal UI (c420bbc)
  • front: Improve resend inscription instructions view and show error when appropriate (5563052)
  • front: No cache-only for config (8dcb76c)
  • front: Small UI fixes on identity pickers (6faafd6)
  • i18n: Update translations (3b7dbcd)
  • map: Fix style of the map marker (c7b90cd)
  • map: Only show map details when needed (23b5e59)
  • map: Only show marker if we have it's position (f0cc5ff)
  • password-reset: Lower time before being available to reset password or resend instructions (73eb460)
  • search: Fix event search order (a4e7ee3)
  • typespec: Fix missing return type in typespec (2043c98)
  • Change the way preferredUsername is synced (a73e5a08)
  • datetimepicker: change colors for day & time selectors on dark mode (b18e8fd3)
  • Save IP and login date from directly registered accounts (1db5c4ae)
  • Make sure every cache is properly cleared when managing an event (f531c39b)
  • Add page title for Categories view (0775814e)
  • Fix notifications settings not working (31fd99bd)

3.0.3 - 2022-12-22

Fixed

  • Add missing OpenSSL 1.1 in Docker image

3.0.2 - 2022-12-22

Fixed

  • Fix unfollowing group
  • Limit the size of the IP(v6) field in the user admin view
  • Fix terms and privacy view
  • Use the correct value of current locale
  • Fix editing group events as a group moderator
  • Consider timezone for start time also when end date is hidden
  • Fix loading group members in organizer picker
  • Fix changing email & password
  • Add missing icon
  • Fix instances filter
  • Fix logging from 3rd-party auth provider

3.0.1 - 2022-11-22

Fixed

  • Compatibility with Python 3.11 for exports that reply on Python code.
  • Formatting of fallback locales
  • Allow to specify database port for Docker configuration
  • Assets in production environment
  • Changing event uuid didn't change event data
  • Make sure maximumAttendeeCapacity is a number, not a string
  • Prevent AP collection page number being < 1
  • Fix approving/rejecting group members and followers
  • Fix 3rd-party auth links
  • Test Intl.ListFormat availability and add fallback
  • Set correct Content-Type on all AP endpoints
  • Don't notify group members & followers from new draft event
  • Register missing ExitToApp icon
  • Fix comment display

3.0.0 - 2022-11-08

Added

  • Add global search support, allowing to use https://search.joinmobilizon.org as a centralized event and group database
  • Add ability to filter search by categories and language
  • Add ability to explore search results on a map view
  • Add dark theme support and setting to toggle light/dark mode
  • Add categories view
  • Allow to disable non-SSO login
  • Support CSP report_uri, report_to and the Report-To and Reporting-Endpoints headers
  • Support for Elixir 1.14 and Erlang OTP 25.

Changed

  • Homepage has been redesigned
  • Search view has been redesigned
  • Internal illustration pictures are now only served using WebP.
  • Improved the pertinence of related events
  • Light front-end performance improvements
  • Various UI and A11Y fixes on the event page
  • Handle categories page being empty
  • UI improvements of comments
  • UI improvements of reports
  • Various UI improvement in event and group view
  • Add breadcrumb trail on Post view
  • Always lowercase the emails before trying to reset password
  • Make text editor heading level start at h3, h4, h5
  • Remove obscure reference to Douglas Adams
  • Don't inline phoenix manifest
  • Show a proper error message when failure to register to an event
  • Order categories by translated label
  • Show registration button also if registration allow list is used
  • Add logging for when cached iCalendar feed data can't be found
  • Add an error log when we try to update the relay actor
  • Lower loglevel of error when creating a new person
  • Add unique constraint on event URL
  • Allow to view more than 10 drafts events on my events view
  • Add CSP Policy for pictures
  • Don't treat notification for a deleted event as an error
  • Truncate resource description preview after 350 characters
  • Lower loglevel of resource insertion error
  • Resources and discussions views improvements
  • Add context to error when removing an upload file following actor suspension
  • Allow for resource providers to register a csp policy
  • Add loading="lazy" to some images, except categories in viewport
  • Add GraphQL operation name, user ID and actor name in logs
  • Add empty alt attribute to uploaded pictures (for now)
  • Allow release build failures in CI for all non-amd64 architectures
  • Increase timeout needed to build page
  • Handle nothing found by unsplash for location

Fixed

  • Fixed deleting actor when participations association is not preloaded
  • Fixed rendering JSON-LD for an event with a single address (no online location)
  • Address selector
  • Group location edition
  • Reconfigure plug at runtime with env
  • Fix global search term
  • Fix custom icons in metadata list
  • Handle unknown icon
  • Only preload svg pictures on homepage
  • Don't add empty search parameters to global search engine
  • Fix getting categories from global search engine
  • Remove unused deps
  • Only show one pagination bar when searching in both events & groups
  • Run build multiarch release on tags too
  • Don't start mobilizon server when running migrations
  • Run phx.digest before mix release
  • Fix event card background color behind picture
  • Fix position of the « no events found » message
  • Add distinct clause to search events
  • Fix showing past events on group page
  • Fix display of group invitations
  • Fix leaving a group
  • Fix group events order
  • Prevent loading group membership status before we get person information
  • Prefix setInterval with window
  • Fix fetching events with addresses that's not objects
  • Fix dashboard view
  • Fix anonymous & remote participation pages
  • Fix anonymous/remote participation button
  • Do not list drafts in upcoming / old events event if instance moderator
  • Make sure group is refreshed after action
  • Fix deleting person detached from user
  • Fix pagination number text color in dark theme
  • Fix post sharing URL
  • Fix current format status of text not displayed in text editor
  • Fix moving resources
  • Fix multiselect of resources
  • Properly handle un-needed background jobs
  • Properly handle replying to an event that has been deleted
  • Propertly handle other errors when receiving a comment
  • Fix event integrations
  • Prevent loading authorized groups when current actor isn't loading in OrganizerPickerWrapper
  • Fix building CSP policy
  • Fix event map view
  • Various front-end fixes
  • Handle error when fetching object from tombstone
  • Fixed upcoming event groups display on homepage view
  • Fixed Ecto Dev warning on compilation
  • Adapt white parts in Mobilizon logo to current color
  • Register missing BellOutline and BellOffOutline icons
  • Don't load group status when unlogged
  • Fix order of useHead registration on JoinGroupWithAccount view
  • Fix profile@instance translation
  • Handle :http_not_found as an error when deleting an object
  • Handle suspending actors with special type
  • Add fallback handler for can_send_activity?
  • Properly log if we can't notify group follower

Security

  • Correctly escape user-defined names in emails

Internal

  • Build on Elixir 1.14.1 and Erlang OTP 25.
  • Migrate from Vue 2 and Vue Class Component to Vue 3 and the Composition API
  • Migrate from Bulma and Buefy to TailwindCSS and Oruga

Tests

Unit Tests

  • Rewrote tests using Vitest

E2E Tests

  • Renabled E2E tests
  • Rewrote tests from Cypress to Playwright

3.0.0-rc.6 - 2022-11-07

Fixed

  • Fixed upcoming event groups display on homepage view
  • Fixed Ecto Dev warning on compilation

3.0.0-rc.5 - 2022-11-06

Changed

  • Allow release build failures in CI for all non-amd64 architectures

3.0.0-rc.4 - 2022-11-06

Changed

  • Add loading="lazy" to some images, except categories in viewport
  • Add GraphQL operation name, user ID and actor name in logs
  • Add empty alt attribute to uploaded pictures (for now)

Fixed

  • Fix building CSP policy
  • Fix event map view
  • Various front-end fixes
  • Handle error when fetching object from tombstone

3.0.0-rc.3 - 2022-11-04

Added

  • Support CSP report_uri, report_to and the Report-To and Reporting-Endpoints headers

Changed

  • Add CSP Policy for pictures
  • Don't treat notification for a deleted event as an error
  • Truncate resource description preview after 350 characters
  • Lower loglevel of resource insertion error
  • Resources and discussions views improvements
  • Add context to error when removing an upload file following actor suspension
  • Allow for resource providers to register a csp policy

Fixed

  • Fix moving resources
  • Fix multiselect of resources
  • Properly handle un-needed background jobs
  • Properly handle replying to an event that has been deleted
  • Propertly handle other errors when receiving a comment
  • Fix event integrations
  • Prevent loading authorized groups when current actor isn't loading in OrganizerPickerWrapper

3.0.0-rc.2 - 2022-11-02

Added

  • Add setting to toggle light/dark mode
  • Allow to disable non-SSO login

Changed

  • UI improvements of comments
  • UI improvements of reports
  • Various UI improvement in event and group view
  • Add breadcrumb trail on Post view
  • Always lowercase the emails before trying to reset password
  • Make text editor heading level start at h3, h4, h5
  • Remove obscure reference to Douglas Adams
  • Don't inline phoenix manifest
  • Show a proper error message when failure to register to an event
  • Order categories by translated label
  • Show registration button also if registration allow list is used
  • Add logging for when cached iCalendar feed data can't be found
  • Add an error log when we try to update the relay actor
  • Lower loglevel of error when creating a new person
  • Add unique constraint on event URL
  • Allow to view more than 10 drafts events on my events view

Fixed

  • Fix event card background color behind picture
  • Fix position of the « no events found » message
  • Add distinct clause to search events
  • Fix showing past events on group page
  • Fix display of group invitations
  • Fix leaving a group
  • Fix group events order
  • Prevent loading group membership status before we get person information
  • Prefix setInterval with window
  • Fix fetching events with addresses that's not objects
  • Fix dashboard view
  • Fix anonymous & remote participation pages
  • Fix anonymous/remote participation button
  • Do not list drafts in upcoming / old events event if instance moderator
  • Make sure group is refreshed after action
  • Fix deleting person detached from user
  • Fix pagination number text color in dark theme
  • Fix post sharing URL
  • Fix current format status of text not displayed in text editor

Security

  • Correctly escape user-defined names in emails

3.0.0-rc.1 - 2022-10-18

No changes since beta.3

3.0.0-beta.3 - 2022-10-17

Fixed

  • Don't add empty search parameters to global search engine
  • Fix getting categories from global search engine
  • Remove unused deps
  • Only show one pagination bar when searching in both events & groups
  • Run build multiarch release on tags too
  • Don't start mobilizon server when running migrations
  • Run phx.digest before mix release

3.0.0-beta.2 - 2022-10-11

Changed

  • Improved the pertinence of related events
  • Light front-end performance improvements
  • Various UI and A11Y fixes on the event page
  • Handle categories page being empty

Fixed

  • Address selector
  • Group location edition
  • Reconfigure plug at runtime with env
  • Fix global search term
  • Fix custom icons in metadata list
  • Handle unknown icon
  • Only preload svg pictures on homepage

3.0.0-beta.1 - 2022-09-27

Added

  • Add global search support, allowing to use https://search.joinmobilizon.org as a centralized event and group database
  • Add ability to filter search by categories and language
  • Add ability to explore search results on a map view
  • Add dark theme support
  • Add categories view
  • Support for Elixir 1.14 and Erlang OTP 25.

Changed

  • Homepage has been redesigned
  • Search view has been redesigned
  • Internal illustration pictures are now only served using WebP.

Fixed

  • Fixed deleting actor when participations association is not preloaded
  • Fixed rendering JSON-LD for an event with a single address (no online location)

Internal

  • Build on Elixir 1.14 and Erlang OTP 25.
  • Migrate from Vue 2 and Vue Class Component to Vue 3 and the Composition API
  • Migrate from Bulma and Buefy to TailwindCSS and Oruga

Tests

Unit Tests

  • Rewrote tests using Vitest

E2E Tests

  • Renabled E2E tests
  • Rewrote tests from Cypress to Playwright

2.1.0 - 2022-05-16

Added

  • Added an event category field. Administrators can extend the pre-configured list of categories through configuration.
  • Added possibility for administrators to have analytics (Matomo, Plausible supported) and error handling (Sentry supported) on front-end.
  • Redesigned federation admin section with dedicated instance pages
  • Allow to filter moderation reports by domain
  • Added a button to go to past events of a group if it has no upcoming events
  • Add Überauth CAS Strategy
  • Add a CLI command to delete actors

Changed

  • Changed mailer library from Bamboo to Swoosh, should fix emails being considered spam. Some configuration changes are required, see UPGRADE.md.
  • Expose some fields to ActivityStreams event representation: isOnline, remainingAttendeeCapacity and participantCount
  • Expose a new field to ActivityStreams group representation: memberCount
  • Improve group creation errors feedback
  • Only display locality in event card
  • Stale groups are now excluded from group search
  • Event default visibility is now set according to group privacy setting
  • Remove Koena Connect button
  • Hide the whole metadata block if group has no description
  • Increase task timeout in Refresher to 60 seconds
  • Allow webfinger to be fetched over http (not https) in dev mode
  • Improve reactions when approving/rejecting an instance follow
  • Improve instance admin view for mobile
  • Allow to reject instance following
  • Allow instance to have non-standard ports
  • Add pagination to the instances list
  • Eventually fetch actors in mentions
  • Improve IdentityPicker, JoinGroupWithAccount and ActorInline components
  • Various group and posts improvements
  • Update schema.graphql file
  • Add "Accept-Language" header to sentry request metadata
  • Hide address blocks when address has no real data
  • Remove obsolete attribute type="text/css" from <style> tags
  • Improve actor cards integration
  • Use upstream dependencies for Ueberauth providers
  • Include ongoing events in search
  • Send push notification into own task
  • Add appropriate timeouts for Repo.transactions
  • Add a proper error message when adding an instance follow that doesn't respond
  • Allow the instance to be followed from Mastodon (through relays)
  • Remove unused fragment from FETCH_PERSON GraphQL query

Fixed

  • Fixed actor refreshment being impossible
  • Fixed ical export for undefined datetimes
  • Fixed parsing links with hashtag characters
  • Fixed fetching link details from Twitter
  • Fixed Thunderbird accessing ICS feed endpoint with special Accept HTTP header
  • Make sure every ICS/Feed caches are emptied when modifying entities
  • Fixed time issues with DST changes
  • Fixed group preview card not truncating description
  • Fixed redirection after login
  • Fixed user admin section showing button to confirm user when the user is already confirmed
  • Fixed creating event from group view not always setting the group as organizer
  • Fixed invalid addresses blocking event metadata preview rendering
  • Fixed group deletion with comments that caused foreign key issues
  • Fixed incoming Accept activities from participations we don't already have
  • Fixed resources that didn't have metadata size limits
  • Properly fallback to UTC when sending notifications and the user doesn't have a timezone setting set
  • Fix posts creation
  • Fix rejecting instance follow
  • Fix pagination of group events
  • Add proper fallback for when a TZ isn't registered
  • Hide side of report modal on low width screens
  • Fix Telegram Logo being replaced with Mastodon logo in ShareGroupModal
  • Change URL for Mastodon Share Manager
  • Fix receiving Flag activities on federated events
  • Fix activity notifications by preloading user.activity_settings
  • Fix text overflow on group card description
  • Exclude tags with more than 40 characters from being extracted
  • Avoid duplicate tags with different casing
  • Fix invalid HTML (<div> inside <label>)
  • Fix latest group not refreshing in admin section
  • Add missing "relay@" part of federated address to follow
  • Fix Ueberauth use of CSRF with session
  • Fix being an administrator when using 3rd-party auth provider
  • Make sure activity recipient can't be nil
  • Make sure users can't create profiles or groups with non-valid patterns
  • Add description field to address representation
  • Make sure prompt show the correct message and not just "Continue?" in mix mode
  • Make sure activity notification recaps can't be sent multiple times
  • Fix group notification of new event being sent multiple times
  • Fix links to group page in group membership emails and participation
  • Fix clicking on map crashing the app

Translations

  • Arabic
  • Basque
  • Belarusian
  • Bengali
  • Catalan
  • Chinese (Traditional)
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Finnish
  • French
  • Gaelic
  • Galician
  • German
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Kabyle
  • Kannada
  • Norwegian Nynorsk
  • Occitan
  • Persian
  • Polish
  • Portuguese
  • Portuguese (Brazil)
  • Russian
  • Slovenian
  • Spanish
  • Swedish
  • Welsh

2.1.0-rc.6 - 2022-05-11

Changes since rc.5:

  • Allow the instance to be followed from Mastodon (through relays)
  • Make sure activity recipient can't be nil
  • Make sure users can't create profiles or groups with non-valid patterns
  • Add description field to address representation
  • Make sure prompt show the correct message and not just "Continue?" in mix mode
  • Add a CLI command to delete actors
  • Make sure activity notification recaps can't be sent multiple times
  • Fix group notification of new event being sent multiple times
  • Fix links to group page in group membership emails and participation
  • Fix clicking on map crashing the app
  • Remove unused fragment from FETCH_PERSON GraphQL query

2.1.0-rc.5 - 2022-05-06

Changes since rc.4:

  • Add appropriate timeouts for Repo.transactions
  • Remove OS-specific packages
  • Remove refresh instance triggers
  • Add a proper error message when adding an instance follow that doesn't respond

2.1.0-rc.4 - 2022-05-03

Changes since rc.3:

  • Use upstream dependencies for Ueberauth providers
  • Fix Ueberauth use of CSRF with session
  • Fix being an administrator when using 3rd-party auth provider
  • Include ongoing events in search
  • Send push notification into own task
  • Add Überauth CAS Strategy

2.1.0-rc.3 - 2022-04-24

Changes since rc.2:

  • Fix activity notifications by preloading user.activity_settings
  • Add "Accept-Language" header to sentry request metadata
  • Hide address blocks when address has no real data
  • Fix text overflow on group card description
  • Exclude tags with more than 40 characters from being extracted
  • Avoid duplicate tags with different casing
  • Fix invalid HTML (
    inside )
  • Remove attribute type="text/css" from