Commit graph

1146 commits

Author SHA1 Message Date
Henry Jameson c3e6e7c61d improvements to backcompat + fixes to topbar 2024-02-20 01:18:21 +02:00
Henry Jameson 2172529dd0 backwards compat WORKING 2024-02-20 01:05:17 +02:00
Henry Jameson 0285efadbb independence from themes3, converter/backwards compat WIP 2024-02-19 20:47:27 +02:00
Henry Jameson 23dc2d1a5b refactor ISS stuff into separate file 2024-02-19 20:05:49 +02:00
Henry Jameson 4a10417ed4 initial work on dynamic slots + move remaining css stuff into separate file 2024-02-19 19:59:38 +02:00
Henry Jameson 34aa9136db refactored most of the CSS stuff into separate file, refactored color
functions and added shadow functions, replaced JS functions in button
with PISS functions
2024-02-19 18:48:49 +02:00
Henry Jameson 11fd220734 chat styles + related improvements 2024-02-19 15:11:59 +02:00
Henry Jameson ab63ec1471 make dynamic directives have a type 2024-02-19 00:25:28 +02:00
Henry Jameson f4bf374509 cleanup and warn if there are collisions in .style.js files 2024-02-19 00:12:07 +02:00
Henry Jameson 6811191147 i'm stupid 2024-02-19 00:10:10 +02:00
Henry Jameson f0bbb75df5 properly sort, properly do icon colors, some initial attachment buttons work 2024-02-19 00:00:43 +02:00
Henry Jameson 13a289ac74 fixed oot selectors not working, added support for (webkit) scrollbars 2024-02-18 20:11:06 +02:00
Henry Jameson 3e198526e6 dynamically load .style.js files; move the files closer to related components 2024-02-18 18:40:14 +02:00
Henry Jameson 7c77809ff9 badge, alert(dot) improvements 2024-02-16 00:29:16 +02:00
Henry Jameson 96e3a1593a more optimizations, execution is now split into eager (for main UI) and
lazy (for modals, popovers etc) parts
2024-02-15 20:20:27 +02:00
Henry Jameson bcc5084409 add roundness, fix inputs 2024-02-13 02:09:43 +02:00
Henry Jameson 17b25ef0e0 avatar shadows 2024-02-12 19:58:42 +02:00
Henry Jameson 48f106b438 separate greentext into "fun text" and make Post/Notification related components 2024-02-12 19:17:17 +02:00
Henry Jameson ae345d2c45 buttons look great now, including unstyled ones menu items work too 2024-02-12 17:26:08 +02:00
Henry Jameson 98f972e557 menu-item improvements 2024-02-11 23:11:28 +02:00
Henry Jameson 9ec61d0f0a comments and cleanup 2024-02-09 19:37:22 +02:00
Henry Jameson 1af8ca29f3 optimize combinatorics and defaults, now it's twice as fast! 2024-02-09 16:04:45 +02:00
Henry Jameson 1cfdde819b don't use lodash (-~300ms speed) 2024-02-09 15:52:11 +02:00
Henry Jameson 79d2184afa more performance testing 2024-02-08 18:36:59 +02:00
Henry Jameson 6df28cde9d improvements & performance testing 2024-02-08 18:18:01 +02:00
Henry Jameson a7d771e8c8 more dynamic vars, PROPER ICON COLORS 2024-02-07 18:54:00 +02:00
Henry Jameson 85d55c55e7 add directive to completely disable automatic text color creation 2024-02-07 16:15:25 +02:00
Henry Jameson a9efbd2553 add directive to preserve or not the text color 2024-02-07 16:09:29 +02:00
Henry Jameson c34590c439 update, should inherit stuff properly now. 2024-02-07 15:53:34 +02:00
Henry Jameson d4795d2e3c moved default rules to component style.js files, added some basic text inheritance 2024-02-01 01:27:30 +02:00
Henry Jameson 53a4b1f9a6 better virtual components and stuff 2024-01-31 17:39:51 +02:00
tusooa 9042792133 Merge branch 'tusooa/group-actor' into 'develop'
Support group actors

See merge request pleroma/pleroma-fe!1882
2024-01-24 01:50:45 +00:00
Henry Jameson ff2db7a247 fix states 2024-01-23 20:39:52 +02:00
Henry Jameson 22b32f149d shit more or less works for the very basic stuff 2024-01-23 19:18:55 +02:00
Henry Jameson 0729b529d7 some more stuff, generating CSS selectors from rules 2024-01-23 00:43:46 +02:00
Henry Jameson 521d308a6c themes 3 initial work 2024-01-18 14:35:25 +02:00
marcin mikołajczak dbe9da0f09 Merge branch 'develop' into 'quotes-count'
# Conflicts:
#   src/services/api/api.service.js
2024-01-14 06:23:30 +00:00
Ekaterina Vaartis 872dffe51b Implement pack pagination, more localization fixes 2024-01-07 16:41:17 +03:00
Ekaterina Vaartis f8e1d5e3e0 Remote pack download, localization 2024-01-07 14:28:34 +03:00
Ekaterina Vaartis 4451cccb3c Error handling, uploading/deleting new emojis, sorting 2024-01-07 12:26:40 +03:00
Ekaterina Vaartis 091532d577 Editing emojis in popover, pack creation/deletion
Also fixed some API calls since they weren't working apparently
2024-01-07 02:45:49 +03:00
marcin mikołajczak 6c4c8fe51f Display quotes count on posts and add quotes list page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-04 22:47:41 +01:00
marcin mikołajczak 6f452d672f Display public favorites on user profiles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-28 10:43:06 +01:00
tusooa 0110fd86c2
Allow user to mark account as group 2023-12-27 22:30:19 -05:00
Ekaterina Vaartis f9c85c0c49 Initial incomplete admin emoji settings implementation 2023-12-21 00:18:02 +03:00
HJ 2b41c1cfe8 Merge branch 'notifications-thru-sw' into 'develop'
Notifications improvements.

See merge request pleroma/pleroma-fe!1873
2023-12-13 22:20:59 +00:00
Henry Jameson ff10834f1a cleanup stray console logs 2023-12-14 00:14:06 +02:00
Henry Jameson 99d04bed2b attempt at fixing the extra notification again 2023-12-13 22:04:00 +02:00
Yonle fb4d43ced2 file_type.service: allow apng images to be rendered
Signed-off-by: Yonle <yonle@lecturify.net>
2023-12-04 21:52:28 +07:00
Henry Jameson 51f1f05b2d use last favicon instead of first for consistency with browsers 2023-11-22 22:06:56 +02:00
Henry Jameson c25170d7d9 fix tests and make utils consistent in where they pull configuration from 2023-11-22 21:56:48 +02:00
Henry Jameson a5f09b7263 don't communicate with serviceworker if there's no support for it 2023-11-22 21:38:54 +02:00
Henry Jameson 33564d8ccc handle no sw registration gracefully 2023-11-22 13:17:55 +02:00
Henry Jameson 92685e37b6 fix infinity case 2023-11-21 15:29:49 +02:00
Henry Jameson e36548579f fix notifications not catching up with "read" status as intended 2023-11-21 15:26:31 +02:00
Henry Jameson 37e3a23f2a fix badge 2023-11-20 00:20:05 +02:00
Henry Jameson 1931e7c3ba temp console log for mobile debug 2023-11-20 00:17:09 +02:00
Henry Jameson 38b6f0a013 fix notification dot in favicon and mobile nav, minor refactor 2023-11-20 00:14:56 +02:00
Henry Jameson 072a06fc89 reports visibility setting + actual filtering for desktop notifs 2023-11-19 16:40:30 +02:00
Henry Jameson 2f90c629b8 fix messages from sw not really being acted upon on mainland 2023-11-19 13:57:47 +02:00
Henry Jameson a564fc1a1f consistentcy and bugfix 2023-11-19 13:54:26 +02:00
Henry Jameson c216340001 use dispatch instead of commmit, fix bad copypasta 2023-11-16 22:08:51 +02:00
Henry Jameson ce17ebd3d0 use URL for original favicon instead of canvas 2023-11-16 20:45:07 +02:00
Henry Jameson a17defc5ab handle desktop notifications clicks 2023-11-16 20:41:41 +02:00
Henry Jameson aad3225d25 refactored notifications into their own module separate from statuses (WIP) 2023-11-16 19:26:18 +02:00
Henry Jameson e508ca6a1f fix 2023-11-13 17:32:14 +02:00
Henry Jameson ec2937ec1f add options for marking single notification as read 2023-11-13 17:29:25 +02:00
Henry Jameson c059f4a7ee Merge remote-tracking branch 'origin/develop' into notifications-thru-sw 2023-11-13 17:26:53 +02:00
tusooa 82063f34b2
Add aria-controls to extra-buttons trigger 2023-11-12 15:13:28 -05:00
NEETzsche 2c9930bd5b Display the latest scrobble under a user's name 2023-11-10 06:11:55 -07:00
Henry Jameson e0b8ad9f14 add initial structure for notification settings 2023-11-09 01:58:33 +02:00
Henry Jameson 77e270ef58 Don't use notification-badge'd favicon for badges in notifications 2023-11-09 01:53:48 +02:00
Henry Jameson f449bfe2f1 SW-to-window communication 2023-11-09 01:52:39 +02:00
HJ 954d03150f Merge branch 'tusooa/extra-notifications' into 'develop'
Extra notifications

See merge request pleroma/pleroma-fe!1853
2023-10-31 11:29:04 +00:00
Henry Jameson e3bf9a5185 wrong key 2023-10-26 15:47:58 +03:00
Henry Jameson 0628aac664 fallback to old notification method, don't spam if old way of creating
notification fails, try to use favicon
2023-10-26 15:42:21 +03:00
Henry Jameson 73fbe89a4b initial work on showing notifications through serviceworkers 2023-10-25 18:58:33 +03:00
tusooa 1d679b59a0 Merge branch 'strip-unbalanced-attributes' into 'develop'
Fix HTML attribute parsing, discard attributes not strating with a letter

See merge request pleroma/pleroma-fe!1834
2023-09-04 17:26:42 +00:00
HJ cc0a63736a Merge branch 'tusooa/1274-nonascii-tags' into 'develop'
Fix parsing non-ascii tags

Closes #1274

See merge request pleroma/pleroma-fe!1848
2023-08-22 20:37:29 +00:00
tusooa 50bad0fc68
Display unread visuals when there are unread extra notifications 2023-08-18 22:25:32 -04:00
Alexander Tumin 9baffbfbde Fix HTML attribute parsing, discard attributes not strating with a letter 2023-08-12 22:35:42 +03:00
tusooa 0b0b1dabdf
Fix parsing non-ascii tags 2023-07-21 14:03:49 -04:00
tusooa d22079cf73
Handle recursive quotes 2023-07-17 11:27:32 -04:00
tusooa d72486f3e4
Implement sending quote posts 2023-07-17 11:27:07 -04:00
tusooa 1c20487494
Implement showing quotes 2023-07-13 00:44:30 -04:00
Kian-ting Tan e1fff8e064 Update file locale.service.js 2023-06-21 17:51:06 +00:00
Kian-ting Tan b4cf20e7bc fix the error of unquoting 2023-06-21 17:45:05 +00:00
Kian-ting Tan ee01393b5f Update 2 files
- /src/i18n/languages.js
- /src/services/locale/locale.service.js
2023-06-21 17:06:01 +00:00
Kian-ting Tan cf0d8c9257 according to https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1841#note_101513 by tusooa 2023-06-21 17:02:26 +00:00
Kian-ting Tan 8897ac5c9b Update locale.service.js 2023-06-21 14:20:37 +00:00
Kian-ting Tan d722dc165e unify the indention 2023-06-20 14:52:41 +00:00
Kian-ting Tan 21093e573c Main 2023-06-20 14:10:51 +00:00
Henry Jameson 5e656cc0b4 Merge remote-tracking branch 'origin/develop' into harden-parser 2023-06-05 21:53:14 +03:00
Henry Jameson 00b47e1673 fix regex misinterpreting tag name in badly formed HTML, prevent rich
content from ever using dangerous tags
2023-06-05 21:49:47 +03:00
Henry Jameson 9aaa8a86f5 initial implementation of attachmentsetting 2023-04-13 01:11:20 +03:00
Henry Jameson 3e1aeb6d2c Merge remote-tracking branch 'origin/develop' into improve_settings_reusability 2023-04-12 23:31:11 +03:00
HJ 9c376b3511 Merge branch 'tusooa/1244-report-delete-fail' into 'develop'
Display delete status errors

Closes #1244

See merge request pleroma/pleroma-fe!1769
2023-04-11 21:26:16 +00:00
HJ ad5bd09204 Merge branch 'tusooa/blocklist-loadmore' into 'develop'
Make block & mute lists able to load more

Closes #1150, #1071, #1226, and #1041

See merge request pleroma/pleroma-fe!1790
2023-04-11 21:25:39 +00:00
Henry Jameson 7bb28bb23c frontends tab initial implementation, now you can (re)install frontends! yay! 2023-03-29 00:58:07 +03:00
jonossa c9072ddb0b add parseInt in poll expires_in to make sure FE sends integers in all cases 2023-03-21 16:43:16 +02:00
Henry Jameson 819cd41cf0 Merge remote-tracking branch 'origin/develop' into improve_settings_reusability
* origin/develop:
  Translated using Weblate (Chinese (Simplified))
  Generalize IntegerSetting into NumberSetting, add Integer/Float wrappers
  Allow custom emoji reactions: add option to scale reaction buttons
  Fix user-profile route crash on pinned favorites route
  Hide custom emoji in reaction picker when BE does not advertise pleroma_custom_emoji_reactions
  Allow custom emoji reactions
2023-03-20 22:48:38 +02:00
Henry Jameson 332ad77e35 limits tab, backend descriptions 2023-03-19 21:27:07 +02:00
Alexander Tumin 3403f6a1ed Allow custom emoji reactions: add option to scale reaction buttons 2023-03-17 23:55:34 +03:00
Alexander Tumin 998aa8f732 Allow custom emoji reactions 2023-03-17 20:28:16 +03:00
Henry Jameson bfd802ad04 setting admin settings works now. also now we have draftable settings 2023-03-16 23:18:55 +02:00
Henry Jameson 9632b77786 initial implementation of an admin settings module 2023-03-13 00:09:47 +02:00
tusooa e516eee479
Make block & mute lists able to load more 2023-02-21 00:39:16 -05:00
HJ f229c4a106 Merge branch 'from/develop/tusooa/autocomplete-accessibility' into 'develop'
Autocomplete accessibility

Closes #1219

See merge request pleroma/pleroma-fe!1771
2023-01-28 23:04:59 +00:00
HJ 22c3012e1c Merge branch 'birthdays' into 'develop'
Birthdays

See merge request pleroma/pleroma-fe!1432
2023-01-25 23:50:54 +00:00
HJ 65e10f07de Merge branch 'from/develop/tusooa/confirm-dialogs' into 'develop'
Confirmation dialogs

See merge request pleroma/pleroma-fe!1431
2023-01-25 23:49:16 +00:00
HJ a9716701be Merge branch 'from/develop/tusooa/multi-iface-lang' into 'develop'
Multiple interface languages support

See merge request pleroma/pleroma-fe!1568
2023-01-25 23:47:29 +00:00
tusooa b1e75c25bd
Merge remote-tracking branch 'upstream/develop' into birthdays 2023-01-22 09:34:01 -05:00
tusooa 72cb9e8bdb
Make all emoji inputs screen-reader-friendly 2023-01-21 01:28:43 -05:00
Tusooa Zhu 5359633c74
Fix timed mute lint 2023-01-20 23:40:12 -05:00
Tusooa Zhu 228a9afdf5
Add timed-mute functionality 2023-01-20 23:40:11 -05:00
tusooa d1876503bc
Display delete status errors 2023-01-20 12:34:15 -05:00
tusooa c69878cee7
Display better error message for unauthenticated timelines 2023-01-14 22:17:21 -05:00
tusooa 01807446a8
Make notification settings work 2022-12-27 13:46:50 -05:00
Tusooa Zhu b7e9373965
Add support for multiple interface languages 2022-12-23 22:45:55 -05:00
Tusooa Zhu 9f51517ecd
Make API requests to edit note 2022-12-21 23:17:39 -05:00
HJ 00f4e20492 Merge branch 'from/develop/tusooa/announcements' into 'develop'
Announcements

See merge request pleroma/pleroma-fe!1466
2022-12-05 15:34:59 +00:00
Henry Jameson 74813864fc fix tests 2022-11-27 00:11:54 +02:00
Henry Jameson 7fed35a627 fun restrained 2022-11-26 23:38:06 +02:00
Tusooa Zhu 1fc0a8b332
Fix announcements lint 2022-11-24 18:39:46 -05:00
Tusooa Zhu 89c49b6fb4
Allow editing announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu 04fbb6d93d
Show announcement dates 2022-11-24 18:27:14 -05:00
Tusooa Zhu 56e6d86f88
Allow posting announcements with other metadata 2022-11-24 18:27:14 -05:00
Tusooa Zhu e877fedb0e
Implement deleting announcement 2022-11-24 18:27:14 -05:00
Tusooa Zhu e494e74643
Implement posting announcements 2022-11-24 18:27:13 -05:00
Tusooa Zhu 95750509b1
Fetch real data from backend 2022-11-24 18:27:13 -05:00
HJ d1885d45e7 Merge branch 'search-pagination' into 'develop'
Implement loading more statuses when searching

See merge request pleroma/pleroma-fe!1410
2022-11-21 19:48:24 +00:00
HJ 8a87d82b7b Merge branch 'fine_grained_moderation_privileges' into 'develop'
Add privileges

Closes #1177

See merge request pleroma/pleroma-fe!1583
2022-11-21 19:23:41 +00:00
Henry Jameson 373fb077a8 use new color slot for badges 2022-10-17 21:50:49 +03:00
Ilja 5541d0ec29 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into fine_grained_moderation_privileges 2022-09-24 15:56:27 +02:00
Sean King 12d8d1711b
Added support for removing users from followers 2022-09-15 22:02:58 -06:00
tusooa 2bea5d8128 Merge branch 'add/edit-status' into 'develop'
Add edit status functionality

See merge request pleroma/pleroma-fe!1537
2022-09-11 18:08:00 +00:00
tusooa 8b25febe36 Merge branch 'navigation-update' into 'develop'
Navigation update + preferences storage (and some minor fixes)

See merge request pleroma/pleroma-fe!1592
2022-08-30 00:14:30 +00:00
Tusooa Zhu 0a79a74773
Use dedicated indicator for non-ascii domain names 2022-08-29 18:46:41 -04:00
Henry Jameson cd7380efe7 Merge remote-tracking branch 'origin/develop' into navigation-update
* origin/develop:
  Update dependency opn to v5
  fix notices being under the navbar, also change offset to use variable
  fix modals not having proper z index
  reduce indexes to be below 9999 so that develop error messages appear above
  Do not allow to find by name in findUser()
  Use lookup endpoint to obtain users by nickname
  Use $ for id UserProfile routes
  Allow opening profile: multiChoiceProprties record, anonymous access
  Allow opening profile when clicking an avatar inside of user popover
2022-08-23 21:52:17 +03:00
Sean King ee58e3868c
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into add/edit-status 2022-08-22 19:08:58 -06:00
HJ 88a3cf8705 Merge branch 'from/develop/tusooa/user-profile-routes' into 'develop'
Stop generating /:nickname user profile routes

See merge request pleroma/pleroma-fe!1589
2022-08-22 21:56:55 +00:00
Henry Jameson 7b6745bb84 Merge remote-tracking branch 'origin/develop' into navigation-update
* origin/develop: (49 commits)
  Fix react & extra buttons not styled on tab-focus
  Fix popover not popping up
  Fix styling on Safari
  Use :focus-visible instead of :focus for focus markers
  Optimize Reply badge position
  Add badges to status interacting buttons
  Update dependency nightwatch to v2
  Update dependency eslint-plugin-n to v15.2.5
  Update dependency mocha to v10
  Update dependency karma-coverage to v2
  Update dependency sass to v1.54.5
  Update dependency karma-firefox-launcher to v2
  Update dependency vue-template-compiler to v2.7.9
  Pin dependencies
  Refresh yarn.lock
  Allow column width configuration: allow stretching navbar with columns
  Remove legacy code for chunksSortMode
  Add FIXME comment about html-webpack-plugin-after-emit
  Use exact webpack version in package.json
  Reintroduce css minimizer
  ...
2022-08-23 00:35:25 +03:00
HJ 8e97a40c70 Merge branch 'allow-application-width-configuration' into 'develop'
Allow application width configuration

See merge request pleroma/pleroma-fe!1533
2022-08-22 21:32:31 +00:00
Tusooa Zhu aa97335b20
Make webpack 5 work 2022-08-15 18:01:33 -04:00
Henry Jameson 50f5afbce1 add and remove users to/from lists from their profile 2022-08-15 23:19:33 +03:00
Henry Jameson 8d3d8fffab fixes, clear cache on logout 2022-08-12 01:19:19 +03:00
Alexander Tumin 3e7e31d4a9 Allow column width configuration
Group column configuration in settings
Column width configuration: do not act on defaults
2022-08-11 16:38:24 +03:00
Tusooa Zhu 09f9640be1
Use lookup endpoint to obtain users by nickname 2022-08-09 22:11:55 -04:00
HJ 750696643f Merge branch 'feat/report-notification' into 'develop'
#949 Feat/report notification

See merge request pleroma/pleroma-fe!1322
2022-08-09 21:56:15 +00:00
HJ 7773e7de64 Merge branch 'lists-implementation' into 'develop'
Add lists support

See merge request pleroma/pleroma-fe!1584
2022-08-09 21:46:55 +00:00