Skip to content

v1.2.13

Choose a tag to compare

@hiroshiyui hiroshiyui released this 06 Mar 12:21
· 1250 commits to main since this release
0fe90cf

What's Changed

Security

  • Add ownership check to remove_image in ArticleNewLive — prevents unauthorized cross-article image deletion
  • Replace :code.priv_dir with Application.app_dir in avatar.ex for correct OTP release paths

Improvements

  • Delay reconnect error flash by 2 seconds so brief disconnects (phone sleep/wake in PWA mode) don't flash a red error
  • Extract duplicated format_relative_time/1 to shared BaudrateWeb.Helpers

Accessibility

  • Add aria-label to search submit button
  • Use semantic <section> with aria-labelledby on notifications, bookmarks, conversations, following, and search pages

Documentation

  • Update README with missing features (notifications, DMs, search, polls, bookmarks, emoji autocomplete, markdown toolbar, blocking/muting, push notifications) and Rust toolchain prerequisite

Tests

  • Add 15 unit tests for Content.Filters (hidden_filters, allowed_view_roles, sanitize_like, contains_cjk?)
  • Add 4 tests for format_relative_time helper
  • Add unauthenticated access guard tests for article_new, article_edit, and bookmarks LiveViews