diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index df2d47160..000000000 --- a/.browserslistrc +++ /dev/null @@ -1,7 +0,0 @@ ->0.2% -not op_mini all -Safari > 15 -Firefox >= 115 -Firefox ESR -Android > 4 -not dead diff --git a/.gitignore b/.gitignore index 0d5befd28..4df5ec838 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,3 @@ selenium-debug.log .idea/ config/local.json static/emoji.json -logs/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4c5cf43a..2b4452d53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,9 +43,6 @@ lint: test: stage: test - tags: - - amd64 - - himem variables: APT_CACHE_DIR: apt-cache script: @@ -57,9 +54,6 @@ test: build: stage: build - tags: - - amd64 - - himem script: - yarn - npm run build diff --git a/CHANGELOG.md b/CHANGELOG.md index 9844319e3..444a863c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,74 +3,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## 2.7.1 -Bugfix release. Added small optimizations to emoji picker that should make it a bit more responsive, however it needs rather large change to make it more performant which might come in a major release. - -### Fixed -- Instance default theme not respected -- Nested panel header having wrong sticky position if navbar height != panel header height -- Toggled buttons having bad contrast (when using v2 theme) - -### Changed -- Simplify the OAuth client_name to 'PleromaFE' -- Small optimizations to emoji picker - - -## 2.7.0 - -### Known issues -We got some reports related to emoji picker performance, this hopefully will be fixed in 2.7.1. - -### Notes -This release overhauls how themes work, themes now need to be "compiled", which can cause some delay when loading for the first time and temporarily look "wrong" in some places (popups, menus, dialogs). Please do report any issues, especially if your theme looks wrong or breaks interface when loading. Also report issues if you're experiencing constant performance issues. - -To admins: remember that you can update PleromaFE to recent `master` or `develop` in admin dashboard in "Front-ends" tab, scroll down to find PleromaFE box and click "Reinstall `master`" or dropdown and then "Reinstall `develop`". Currently there is no mechanism to check if there is an update or not. - -### Changed -- Overhauled the way themes work, migrating to new Pleroma Interface Style Sheets system aka "Themes 3". -- Notifications are no longer sorted by "seen" status since interacting with them can change their read status and makes UI jumpy. Old behavior can be restored in settings. -- Notifications are now shown through a ServiceWorker (since mobile chrome does not allow them otherwise), it's always enabled, even if previously we only enabled it for WebPush notifications only. If you don't like websites "running" while closed, check how to disable them in your browser. Old way to show notifications will be used as a fallback but might not have all the new features. -- Reorganized Settings modal to move out visual stuff into Appearance tab - -### Added -- Emoji pack management to the admin panel -- Support `status` notification type (subscriptions/bell, fixes PleromaFE on newer PleromaBE versions) -- Poll end notifications. -- Added option to not mark all notifications when closing notifications drawer on mobile, this creates a new button to mark all as seen. -- Option to always "show" notifications when using web push for better compatibility with some browsers (chrome, edge, safari) -- Option to toggle what notification types appear in native notifications, by default less important ones (likes, repeats, etc) will no longer show up in native notifications. -- Option to treat non-interactive notifications (likes, repeats et all) as seen for visual purposes (no read mark, ignored in counters, still can show in native notifications) -- Ability to resize UI (and certain components) scale independent of browser/text scale -- Ability to override certain aspects of UI style independent of theme used (UI roundness, fonts, underlay) -- Theme selector with visual previews of the theme -- Display loading and error indicator for conversation page -- Option to only show scrobbles that are recent enough -- Interacting (opening reply box etc) or simply clicking on non-interactive notifications now marks them as read. Clicking on native notifications for non-interactive ones also marks them as seen. -- Support group actors -- Focusing into a tab clears all current desktop notifications -- Ability to change size of emoji -- Ability to view APNG (Animated PNG) attachments. -- Support showing extra notifications in the notifications column -- Create a link to the URL of the scrobble when it's present -- Allow hiding custom emojis in picker. -- Ability to mute sensitive posts (ported from eintei). -- Native notifications now also have "badge" property that matches instance's favicon (visible in Android Chromium at least) -- Display public favorites on user profiles -- Display quotes count on posts and add quotes list page -- Show a dedicated registration notice page when further action is required after registering - -### Fixed -- Synchronized requested notification types with backend, hopefully should fix missing notifications for polls and follow requests -- Error that appeared on mobile Chromium (and derivatives) when native notifications are allowed -- Being unable to set notification visibility for reports and follow requests -- Native notifications appearing as many times as there are open tabs. Clicking on notification will focus last focused tab. -- The expiry date indication won't be shown if the poll never expires -- Profile mentions causing a 422 error on newer PleromaBE versions. -- Color inputs are less ugly now -- Unread notifications should now properly catch up between sessions (eventually) in polling mode -- Video posters on Safari - - ## 2.6.1 ### Fixed - fix admin dashboard not having any feedback on frontend installation diff --git a/changelog.d/add-apng.add b/changelog.d/add-apng.add new file mode 100644 index 000000000..cdec58afc --- /dev/null +++ b/changelog.d/add-apng.add @@ -0,0 +1 @@ +Make Pleroma FE to also view apng (Animated PNG) attachment. diff --git a/changelog.d/better-shadow-control.fix b/changelog.d/better-shadow-control.fix deleted file mode 100644 index 585ef6d26..000000000 --- a/changelog.d/better-shadow-control.fix +++ /dev/null @@ -1 +0,0 @@ -Updated shadow editor, hopefully fixed long-standing bugs, added ability to specify shadow's name. diff --git a/changelog.d/bookmark-folders.add b/changelog.d/bookmark-folders.add deleted file mode 100644 index f22966602..000000000 --- a/changelog.d/bookmark-folders.add +++ /dev/null @@ -1 +0,0 @@ -Support bookmark folders diff --git a/changelog.d/browsers-support.change b/changelog.d/browsers-support.change deleted file mode 100644 index a62e50240..000000000 --- a/changelog.d/browsers-support.change +++ /dev/null @@ -1,9 +0,0 @@ -Updated our build system to support browsers: - Safari >= 15 - Firefox >= 115 - Android > 4 - no Opera Mini support - no IE support - no "dead" (unmaintained) browsers support - -This does not guarantee that browsers will or will not work. diff --git a/changelog.d/create-link-when-url-present.add b/changelog.d/create-link-when-url-present.add new file mode 100644 index 000000000..11aa37583 --- /dev/null +++ b/changelog.d/create-link-when-url-present.add @@ -0,0 +1 @@ +Create a link to the URL of the scrobble when it's present diff --git a/changelog.d/date-absolute.add b/changelog.d/date-absolute.add deleted file mode 100644 index d9365f464..000000000 --- a/changelog.d/date-absolute.add +++ /dev/null @@ -1 +0,0 @@ -Support displaying time in absolute format diff --git a/changelog.d/double-notifications.fix b/changelog.d/double-notifications.fix new file mode 100644 index 000000000..24e08c0ff --- /dev/null +++ b/changelog.d/double-notifications.fix @@ -0,0 +1 @@ +Fix native notifications appearing as many times as there are open tabs. Clicking on notification will focus last focused tab. diff --git a/changelog.d/extra-notifications.add b/changelog.d/extra-notifications.add new file mode 100644 index 000000000..90f21f540 --- /dev/null +++ b/changelog.d/extra-notifications.add @@ -0,0 +1 @@ +Support showing extra notifications in the notifications column diff --git a/changelog.d/focus-clear.add b/changelog.d/focus-clear.add new file mode 100644 index 000000000..70f54ab69 --- /dev/null +++ b/changelog.d/focus-clear.add @@ -0,0 +1 @@ +Focusing into a tab clears all current desktop notifications diff --git a/changelog.d/mobile-chrome-notifs.fix b/changelog.d/mobile-chrome-notifs.fix new file mode 100644 index 000000000..7db10c56a --- /dev/null +++ b/changelog.d/mobile-chrome-notifs.fix @@ -0,0 +1 @@ +Fixed error that appeared on mobile Chrome(ium) (and derivatives) when native notifications are allowed diff --git a/changelog.d/mobile-drawer-notifications.change b/changelog.d/mobile-drawer-notifications.change new file mode 100644 index 000000000..9353c709d --- /dev/null +++ b/changelog.d/mobile-drawer-notifications.change @@ -0,0 +1 @@ +Added option to not mark all notifications when closing notifications drawer on mobile, this creates a new button to mark all as seen. diff --git a/changelog.d/more-notification-types-setting.fix b/changelog.d/more-notification-types-setting.fix new file mode 100644 index 000000000..2d71b5993 --- /dev/null +++ b/changelog.d/more-notification-types-setting.fix @@ -0,0 +1 @@ +Fixed being unable to set notification visibility for reports and follow requests diff --git a/changelog.d/multiple-status-mute-reasons.fix b/changelog.d/multiple-status-mute-reasons.fix deleted file mode 100644 index 952ccea82..000000000 --- a/changelog.d/multiple-status-mute-reasons.fix +++ /dev/null @@ -1 +0,0 @@ -Fix whitespaces for multiple status mute reasons, display bot status reason diff --git a/changelog.d/native-filtering.add b/changelog.d/native-filtering.add new file mode 100644 index 000000000..82ab9a23a --- /dev/null +++ b/changelog.d/native-filtering.add @@ -0,0 +1 @@ +Added option to toggle what notification types appear in native notifications, by default less important ones (likes, repeats, etc) will no longer show up in native notifications. diff --git a/changelog.d/native-notifications.add b/changelog.d/native-notifications.add new file mode 100644 index 000000000..d896e7c04 --- /dev/null +++ b/changelog.d/native-notifications.add @@ -0,0 +1 @@ +Native notifications now also have "badge" property that matches instance's favicon (visible in Android Chromium at least) diff --git a/changelog.d/non-anonymous-polls.add b/changelog.d/non-anonymous-polls.add deleted file mode 100644 index 9ff7f3adc..000000000 --- a/changelog.d/non-anonymous-polls.add +++ /dev/null @@ -1 +0,0 @@ -Inform users that Smithereen public polls are public \ No newline at end of file diff --git a/changelog.d/noninteractive-ignore-read.add b/changelog.d/noninteractive-ignore-read.add new file mode 100644 index 000000000..5e8710cf0 --- /dev/null +++ b/changelog.d/noninteractive-ignore-read.add @@ -0,0 +1 @@ +Added option to treat non-interactive notifications (likes, repeats et all) as seen for visual purposes (no read mark, ignored in counters, still can show in native notifications) diff --git a/changelog.d/notification-read.add b/changelog.d/notification-read.add new file mode 100644 index 000000000..e5027a954 --- /dev/null +++ b/changelog.d/notification-read.add @@ -0,0 +1 @@ +Interacting (opening reply box etc) or simply clicking on non-interactive notifications now marks them as read. Clicking on native notifications for non-interactive ones also marks them as seen. diff --git a/changelog.d/notifications-sorting.change b/changelog.d/notifications-sorting.change new file mode 100644 index 000000000..3a6162441 --- /dev/null +++ b/changelog.d/notifications-sorting.change @@ -0,0 +1 @@ +Notifications are no longer sorted by "seen" status since interacting with them can change their read status and makes UI jumpy. Old behavior can be restored in settings. diff --git a/changelog.d/oauth-app-name.change b/changelog.d/oauth-app-name.change deleted file mode 100644 index 15d6f87ee..000000000 --- a/changelog.d/oauth-app-name.change +++ /dev/null @@ -1 +0,0 @@ -Simplify the OAuth client_name to 'PleromaFE' diff --git a/changelog.d/piss-fix.skip b/changelog.d/piss-fix.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/changelog.d/piss-serialization.skip b/changelog.d/piss-serialization.skip deleted file mode 100644 index e69de29bb..000000000 diff --git a/changelog.d/serviceworkers.change b/changelog.d/serviceworkers.change new file mode 100644 index 000000000..b3b64f6d8 --- /dev/null +++ b/changelog.d/serviceworkers.change @@ -0,0 +1 @@ +Notifications are now shown through a serviceworker (since mobile chrome does not allow them otherwise), it's always enabled, even if previously we only enabled it for WebPush notifications only. If you don't like websites "running" while closed, check how to disable them in your browser. Old way to show notifications will be used as a fallback but might not have all the new features. diff --git a/changelog.d/show-recent-scrobble.skip b/changelog.d/show-recent-scrobble.skip new file mode 100644 index 000000000..9227de069 --- /dev/null +++ b/changelog.d/show-recent-scrobble.skip @@ -0,0 +1 @@ +Shows the most recent scrobble under each post when available diff --git a/changelog.d/splashscreen.add b/changelog.d/splashscreen.add deleted file mode 100644 index f1f56551a..000000000 --- a/changelog.d/splashscreen.add +++ /dev/null @@ -1 +0,0 @@ -Splash screen + loading indicator to make process of identifying initialization issues and load performance diff --git a/changelog.d/unreads-sync.fix b/changelog.d/unreads-sync.fix new file mode 100644 index 000000000..1eac33649 --- /dev/null +++ b/changelog.d/unreads-sync.fix @@ -0,0 +1 @@ +unread notifications should now properly catch up (eventually) in polling mode diff --git a/changelog.d/video-poster.fix b/changelog.d/video-poster.fix new file mode 100644 index 000000000..43e95f6e1 --- /dev/null +++ b/changelog.d/video-poster.fix @@ -0,0 +1 @@ +Video posters on Safari diff --git a/changelog.d/web-push-always.add b/changelog.d/web-push-always.add new file mode 100644 index 000000000..f8b8888a2 --- /dev/null +++ b/changelog.d/web-push-always.add @@ -0,0 +1 @@ +Added option to always "show" notifications when using web push for better compatibility with some browsers (chrome, edge, safari) diff --git a/index.html b/index.html index 461f5acc1..e790fb57a 100644 --- a/index.html +++ b/index.html @@ -4,138 +4,11 @@ - - - - -
+ -