feature/fedisuite-2.0 #24

Merged
christin merged 40 commits from feature/fedisuite-2.0 into christin 2026-10-03 20:39:23 +02:00
Owner
No description provided.
Drafts are stored without a time, for one or several accounts (one draft per
account sharing a group id), with a stage and their real files. The scheduler
never publishes them; planning or posting a draft turns it into a normal post.
Routes withdraw a plan into a draft and copy any post into a new draft.

The calendar route returns the posts of a range with filters, the chosen view
of the posts page is stored per user, and ENABLE_DRAFTS and
ENABLE_CONTENT_CALENDAR switch the features. Attachment files now stay on disk
after a post is published and go when the post is deleted.

The posts list, the light edit, the deletion, the publishing service, the edit
test environment and the format and hashtag insight queries were split into
small files with tests.
A scheduled post can be published at once and a failed post tried again. The post is claimed with one status-checked statement so the scheduler cannot publish it a second time; thread segments stay with the edit flow.
Types, parsers and calls for drafts, the calendar, the stored posts view and the feature switches, a focus trap and a confirmation dialog. The posts page does not use them yet.
The posts page gets a Drafts tab, a menu per draft, and a List | Calendar
switch that is stored per user. The calendar shows scheduled, published and
failed posts by month or week in the time zone of the user, with filters, a
drawer with the actions that fit each status, and moving a scheduled post by
drag and drop or in the drawer after a confirmation.

The composer saves a draft by itself and by hand, keeps its real files, posts
or plans a stored draft instead of creating a second post, and can save a
draft for several accounts. A guard asks before the user leaves a form with
unsaved changes (sidebar, edit dialog, page reload). The edit dialog closes with
Escape and keeps the keyboard focus inside.
The badge was cut to one or two letters in a month cell; the platform stays in the label and the drawer. The draft text button had a stray inner padding.
ci: run the checks for the feature branch and check out the pushed branch
Some checks failed
CI / check (push) Failing after 4m41s
CI / image (push) Has been skipped
48e044654f
feat(labels): add labels and campaigns with their routes and the operator switch
Some checks failed
CI / check (push) Failing after 5m22s
CI / image (push) Has been skipped
e835c1cdb9
Stores labels (unique per user, case-insensitive) and campaigns with an optional
period and labels, adds CRUD routes behind ENABLE_CONTENT_LABELS and covers them
with tests against PostgreSQL.
feat(labels): attach labels and campaigns to posts and filter by them
Some checks failed
CI / check (push) Failing after 5m10s
CI / image (push) Has been skipped
4ee6a967dd
Posts, drafts, copies and edits store the labels and the campaign of the form
in the same transaction as the post; the list, the calendar, the edit source and
the archive search report and filter by them. Splits the creation of posts and
the archive search into services with tests.
feat(labels): add labels and campaigns to the web app
Some checks failed
CI / image (push) Has been cancelled
CI / check (push) Has been cancelled
def655e59a
Adds the label picker and the campaign choice to the composer, the chips and
filters on the posts page, the calendar and the archive, and the section
Content in the settings. Splits the archive page into small files with
characterization tests.
fix(labels): place the label panel below the chips and name the campaign chip for screen readers
All checks were successful
CI / check (push) Successful in 9m57s
CI / image (push) Successful in 52s
6620a11f0f
feat(settings): split the settings into the pages Account, Preferences and Posts
All checks were successful
CI / check (push) Successful in 11m21s
CI / image (push) Successful in 56s
4d341e8456
The settings get a submenu in the sidebar like the admin area. The sidebar is
split into small modules with characterization tests; the old address
?tab=settings leads to the account page.
feat(navigation): restructure the sidebar around the workflow of a post
All checks were successful
CI / check (push) Successful in 9m58s
CI / image (push) Successful in 51s
442fd186cd
Dashboard, Analytics (formerly Overview), Planner, Archive, Notifications,
Settings and the admin area. The Planner has a submenu with Calendar (opens
first), Posts, Composer, Campaigns and Labels; Connected accounts moved into
the settings. The calendar is a page of its own instead of a switch on the
posts page, labels and campaigns moved from the settings to the planner, and
the dashboard button below the best posts now opens the archive. Old addresses
(?tab=overview, postings, composer, accounts) still lead to the new pages.
A post edited from the calendar drawer now shows its change in the calendar.
feat(labels): make campaign and labels visible in the composer and lay out their pages
All checks were successful
CI / check (push) Successful in 9m49s
CI / image (push) Successful in 51s
00de9f0fc5
The labels and the campaign of a post move from the bottom of the composer into
a card of their own in the right column. The pages Labels and Campaigns show
the list as a grid next to a form that stays in view, can filter a long list,
show the phase of a campaign and use the same form for editing.
feat(recycling): reuse archive posts, mark evergreen drafts and warn about similar posts
All checks were successful
CI / check (push) Successful in 10m17s
CI / image (push) Successful in 52s
f0a8f98380
A post of the archive can become a new draft that carries the text and, as far
as the platform still reports them, the content warning, the language and the
attachments; the composer notes where it came from. Old archive posts that
reached clearly more than the median of their account get the badge
"interesting again" with the numbers behind it. Drafts can be marked as
evergreen and the draft tab can be narrowed to them. The composer warns, without
blocking, when a text resembles a post of the last 60 days. Switchable with
ENABLE_CONTENT_RECYCLING. Also reposts of old posts take the attachments from
the platform when the stored files are gone, and the archive accepts an account
without a profile picture.
feat(insights): add content insights with central thresholds, composer hints and calendar time windows
All checks were successful
CI / check (push) Successful in 10m43s
CI / image (push) Successful in 52s
980a9bcd7f
Compare posts by media, link, length, visibility, language and content warning, evaluate labels with a trend, find combinations that beat each of their features, and mark good time windows in the week view. All results pass one rule set (server/lib/insight-rules.js): minimum group size, minimum difference, Welch t value and an outlier check. Every result names its data basis; the switch ENABLE_CONTENT_INTELLIGENCE turns the feature off.
fix(composer): edit posts on the page of the composer instead of in a dialog
All checks were successful
CI / check (push) Successful in 10m56s
CI / image (push) Successful in 53s
2c06815c65
Edit and Plan in the posts list, Edit in the calendar drawer and Use as new draft in the archive now lead to the page of the composer, which loads the post and fills every field. After saving the user goes back to the page they came from without the question about unsaved changes. The edit dialog is removed, so the composer exists once. The posts list reopens on the tab that was open last.
feat(drafts): choose and delete several drafts, and show the draft actions as buttons
All checks were successful
CI / check (push) Successful in 10m55s
CI / image (push) Successful in 53s
df9afea962
Every draft on the draft tab has a checkbox, a bar chooses all drafts of the page and deletes the chosen ones after a question with one request (POST /api/posts/delete-drafts). Only drafts are deleted, a draft group goes as a whole, and drafts of other users are left alone. The actions of a draft are now buttons with text instead of a menu behind three small dots.
fix(posts): refuse to move a scheduled post to a time that is not in the future
All checks were successful
CI / check (push) Successful in 11m12s
CI / image (push) Successful in 1m2s
4c6c400b96
The light edit only checked that the time is a date, so a client other than the web calendar could make a post due at once. A time the post already has is still accepted, so overdue posts stay editable.
Favourites, boosts and replies are read from the notifications of Mastodon-compatible accounts during the refresh and stored per account, so unique, new and returning engagers, retention, a time series and the interactions by kind can be computed. The load lab fediverse now lists the account of each notification.
feat(community): add the community tab to the analytics
All checks were successful
CI / check (push) Successful in 11m11s
CI / image (push) Successful in 52s
ca0a2fb1c1
Key figures with their comparison against the period before, the unique engagers over time, new and returning engagers, the interactions by kind and the accounts that come back often. The handles are only loaded when the user opens the list, and every chart has a summary and a table.
fix(community): read the notification history faster and stop counting everybody as new
Some checks failed
CI / image (push) Has been cancelled
CI / check (push) Has been cancelled
a342449277
Reading 25 pages of 80 notifications per refresh instead of 5 of 40 fills the history in hours instead of days. New and returning accounts and the comparison with the period before are only reported when the recording reaches back before the period, and the answer says why a figure is missing. The texts say accounts instead of engagers.
Merge branch 'christin' into feature/fedisuite-2.0
All checks were successful
CI / check (push) Successful in 12m6s
CI / image (push) Successful in 53s
a3d7f91dd5
chore(i18n): add and correct the translations, update the changelog and type-check the new server tests
Some checks failed
CI / check (push) Failing after 6m15s
CI / image (push) Has been skipped
51c3c824c1
fix(analytics): label rate series and align posting weekdays
Some checks failed
CI / check (push) Failing after 6m21s
CI / image (push) Has been skipped
176c3c05e3
chore(deps): update jscpd to 5.4.0 to fix the braces advisory in the dependency audit
Some checks failed
CI / check (push) Failing after 6m2s
CI / image (push) Has been skipped
293d2e73dd
test(calendar): wait for the focus after a deleted post instead of reading it too early
All checks were successful
CI / check (push) Successful in 12m38s
CI / image (push) Successful in 1m3s
2abd50923e
fix(calendar): put the filters in a panel, restore the week grid and remove the stray background of post rows
All checks were successful
CI / check (push) Successful in 12m41s
CI / image (push) Successful in 55s
4f986f2381
feat(notice): show the operator notice as a card that every user can hide until it changes
All checks were successful
CI / check (push) Successful in 12m37s
CI / image (push) Successful in 52s
1c2dae85ff
fix: route app bug reports to support site
All checks were successful
CI / check (push) Successful in 12m55s
CI / image (push) Successful in 52s
3ed7474fda
docs: record the security and limits fixes in the changelog
All checks were successful
CI / check (push) Successful in 15m3s
CI / image (push) Successful in 53s
8c90823605
fix: protect credentials and close remaining auth gaps
Some checks failed
CI / image (push) Has been cancelled
CI / check (push) Has been cancelled
49d4e9271d
fix: provide encryption key to CI database smoke test
All checks were successful
CI / check (push) Successful in 15m9s
CI / image (push) Successful in 53s
a58dc37502
christin merged commit e7684b598f into christin 2026-10-03 20:39:23 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
FediSuite/FediSuite-Docker-Image!24
No description provided.