Skip to content

Flus v3.0.0

Latest

Choose a tag to compare

@marienfressinaud marienfressinaud released this 12 Oct 05:07
· 3 commits to main since this release
v3.0.0
2c2c733

Migration notes

The file to import default "read later" links has been renamed: data/default-bookmarks.atom.xml becomes data/default-read-later.atom.xml.

The /bookmarks page is now served at /read/later. The /news page is now served at /journal. The old URLs redirect permanently.

In the archives exported by the users, bookmarks.atom.xml is renamed to read-later.atom.xml and news.atom.xml is renamed to journal.atom.xml.

A new DB_CLEANER_WORK_MEM environment variable allows you to increase the memory used by PostgreSQL when deleting the old links. With a lot of links, it avoids writing big temporary files on disk every night. See env.sample for more information.

Reminder: a migration must have been applied manually when you upgraded to Flus 2.5.0. If you didn't yet, please run before upgrading to Flus 3.0.0:

flus# sudo -u www-data php cli migrations setup-url-statuses

This command takes two optional parameters:

  • --batch-size=INT to change the size of the batches (1000 by default)
  • --dry-run to not apply the migration immediately, but to get how many data will be migrated.

Features

Streams:

Improvements

  • Rename "News" into "Journal" (20ef24c0)
  • Rename "feed" to "source" in the Journal (2b0b4e2c)
  • Improve the onboarding and mention the streams (1f8dacd9)
  • Remove URL share from the "Access" modals (7aa822d6)
  • Decrease link, collection and profile illustration sizes (63f0325f)
  • Decrease margin around "Select" buttons in sources (cd5c5d30)

Bug fixes

  • Don't delete users if subscription is ongoing (cd27e8c0)
  • Fix the outline visibility in the popups (c7dc0124)
  • Don't change scroll position when writing in editor (58be1e8d)
  • Don't animate chevron on state restoration in details (4926b1e1)
  • Fix the format of displayed datetimes (c7613902)
  • Display the "empty news" popup above the button (b35dd6ee)
  • Redirect to links if link is deleted from its own page (9b6714ff)
  • Handle revoked Mastodon access (4a4bbf21)
  • Track users last activity on API calls (7e8be489)

Maintenance

  • Improve performance when fetching links (0ff010d2)
  • Make possible to set work_mem when cleaning links (d9f383b7)
  • Add indexes to list read and read later links (6c4c2176)
  • Count rows without fetching entire rows (e0f200f0)
  • Log fetch errors by URL instead of by links (15d90447, cf8bab76)
  • Fix active users statistics (ea1e789a)
  • Update the dependencies (aa8db4a3, 05d2f3c8)

Documentation

  • Set up contribution instructions (b6fe93d6)
  • Split the changelog (39852166)
  • Update README description and screenshots (853af21d)

Developers

  • Set up the streams for all the users (e6f84016)
  • Allow to open modal from a DOM template (7b868ea3)
  • Improve the validation of tags (0c94dd42)
  • Normalize View parameters (1f4d1181)
  • Extract a partial to generate hidden inputs (7835b28c)
  • Refactor User::refreshLastActivity() (b19c6e45)
  • Extract the Markdown fields in a dedicated template (9ca1b49c)
  • Don't display time filter in profile OPML (c6796c42)
  • Refactor getting collection feed URL (e9f4b158)
  • Refactor User follow-related methods (19e20202)
  • Extract traits from Share/Unshare collection forms (11877cc7)
  • Cleanup groups on followed collections (630d43e3)
  • Remove deprecated code (f5b347f8)

Preloading:

  • Display number of notes in all lists with preloading (5df73671)
  • Preload the notes in the feeds (bd14d498)
  • Preload follows in User instead of Collection (435c85bd)

URL statuses: