Compare commits

...

2530 Commits

Author SHA1 Message Date
HJ 82db31f7ac Merge branch 'ci-update' into 'develop'
Update gitlab CI file to avoid arm runner that keeps failing certain resource-intensive tasks

See merge request pleroma/pleroma-fe!1914
2024-05-23 16:45:17 +00:00
HJ 5810f6f431 changelog 2024-05-23 08:38:17 +00:00
HJ 8b07d0201e Update gitlab CI file to avoid arm runner that keeps failing certain resource-intensive tasks 2024-05-23 08:36:15 +00:00
HJ fd1011f622 Merge branch 'scrobbles-age' into 'develop'
Add setting to only show scrobbles newer than certain age.

See merge request pleroma/pleroma-fe!1904
2024-05-22 12:25:24 +00:00
Henry Jameson eb27f1205b Merge branch 'scrobbles-age' of ssh://git.pleroma.social:2222/pleroma/pleroma-fe into scrobbles-age 2024-05-22 15:20:42 +03:00
Henry Jameson daa39b6e8f changelog 2024-05-22 15:19:00 +03:00
HJ 3e99006e2a Merge branch 'quotes-count' into 'develop'
Display quotes count on posts and add quotes list page

See merge request pleroma/pleroma-fe!1885
2024-05-22 12:15:57 +00:00
HJ e232ba0ec5 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1910
2024-05-22 12:15:32 +00:00
HJ 3128ea57e1 Merge branch 'themes3-cache' into 'develop'
implement a simple caching system for themes 3

See merge request pleroma/pleroma-fe!1911
2024-05-22 12:15:21 +00:00
Phantasm 564cc73d31 Translated using Weblate (Czech)
Currently translated at 84.2% (960 of 1140 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-04-30 20:02:13 +00:00
HJ 9d2572ffdb Update status.scss 2024-04-29 08:09:05 +00:00
HJ a4264b9cd2 Apply 1 suggestion(s) to 1 file(s) 2024-04-29 07:39:00 +00:00
HJ 51709ad318 Merge branch 'develop' into 'scrobbles-age'
# Conflicts:
#   src/i18n/en.json
2024-04-28 19:05:18 +00:00
marcin mikołajczak 4de9daa114 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: marcin mikołajczak <me@mkljczk.pl>
2024-04-28 18:56:10 +00:00
Phantasm b19749c320 Translated using Weblate (Czech)
Currently translated at 84.5% (960 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-04-28 17:29:25 +00:00
HJ 3056017f8e Merge branch 'eintei-port-mute-nsfw' into 'develop'
Ability to mute nsfw posts

Closes #1288

See merge request pleroma/pleroma-fe!1913
2024-04-28 17:29:17 +00:00
HJ 36f2fef55a Merge branch 'notif_types' into 'develop'
Add more notification types

See merge request pleroma/pleroma-fe!1912
2024-04-28 17:29:07 +00:00
Henry Jameson 6ff0a7f021 refactor sizesetting into unitsetting allowing more unit types with i18n support 2024-04-24 15:58:26 +03:00
Henry Jameson 6473260487 changelog 2024-04-24 15:25:21 +03:00
Henry Jameson 046678086f add explanation to why post is muted for sensitive muting 2024-04-24 15:22:19 +03:00
Alexander Tumin 59656af44c Allow muting sensitive posts in public timelines 2024-04-24 15:18:11 +03:00
Henry Jameson 6ea69eb51a checksum -> engineChecksum for clarity 2024-04-24 15:09:52 +03:00
Henry Jameson c40b02ac2f changelog 2024-04-22 23:46:12 +03:00
Henry Jameson af236d71f0 changelog 2024-04-22 23:42:08 +03:00
Henry Jameson 5505a89e8a implement a simple caching system for themes 3 2024-04-22 23:40:39 +03:00
Henry Jameson b2e10ac8c1 add more notification types to ask backend about 2024-04-22 22:37:37 +03:00
HJ 15dde2d372 Merge branch 'fix-poll-notifs' into 'develop'
Add poll end notifications to fetched types

Closes pleroma#3230

See merge request pleroma/pleroma-fe!1905
2024-04-22 19:30:29 +00:00
HJ 2cbfcb6a6d Merge branch 'tusooa/status-loading-indicator' into 'develop'
Display loading and error indicator for conversation page

See merge request pleroma/pleroma-fe!1907
2024-04-22 19:23:52 +00:00
HJ e853d746b0 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1909
2024-04-18 08:25:22 +00:00
SyoBoN 2ede1f669a Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 96.0% (1091 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2024-04-17 23:37:32 +00:00
HJ 09313a9fcd Merge branch 'public-favorites' into 'develop'
Fix fetching favorites for own profile

See merge request pleroma/pleroma-fe!1908
2024-04-16 08:16:33 +00:00
marcin mikołajczak 1ceffb4e71 Fix fetching favorites for own profile
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-15 23:54:46 +02:00
tusooa b173741f87
Display loading and error indicator for conversation page 2024-04-14 11:46:29 -04:00
tusooa 39269c4829 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1893
2024-04-14 15:21:46 +00:00
Gllm R 3d025eb7bf Translated using Weblate (French)
Currently translated at 99.2% (1128 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2024-04-07 18:02:12 +00:00
Gllm R d6ef47f1c3 Translated using Weblate (French)
Currently translated at 83.9% (954 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2024-04-06 14:54:05 +00:00
jammer lammer 82af61f5b4 Translated using Weblate (Portuguese)
Currently translated at 69.8% (793 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/pt/
2024-04-06 14:54:05 +00:00
Phantasm eb03844387 Translated using Weblate (Czech)
Currently translated at 84.5% (960 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-04-06 14:54:05 +00:00
Phantasm b610caeca8 Translated using Weblate (English)
Currently translated at 100.0% (1136 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/en/
2024-04-06 14:54:05 +00:00
Phantasm 9b65c30c12 Translated using Weblate (Czech)
Currently translated at 74.8% (850 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-04-06 14:54:05 +00:00
Phantasm 1b667fbb01 Translated using Weblate (English)
Currently translated at 100.0% (1136 of 1136 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/en/
2024-04-06 14:54:05 +00:00
HJ 0635a6c131 Merge branch 'themes3-fixes' into 'develop'
Themes 3 fixes

Closes #1301 and #1303

See merge request pleroma/pleroma-fe!1906
2024-04-06 14:53:53 +00:00
Henry Jameson 3eabdf9ded lint 2024-04-04 22:58:50 +03:00
Henry Jameson ece159822c force user profile links in summary to be text colored... for now. 2024-04-04 22:50:04 +03:00
Henry Jameson c0010d0f48 fix transparent popovers 2024-04-04 22:45:13 +03:00
Henry Jameson 8ead084421 fix #1301 2024-04-04 22:40:50 +03:00
Henry Jameson 19ab07af96 changelog 2024-04-03 23:08:13 +03:00
Henry Jameson 1c23a16bac try to apply lazy part in one go while still having chunked processing 2024-04-03 22:57:44 +03:00
Henry Jameson 9806eea12e only show interface after theme has been applied 2024-04-03 22:52:12 +03:00
Henry Jameson e8159164e3 color input improvements 2024-04-03 22:43:36 +03:00
Henry Jameson dd4867d8de refactor style setter to separate theme generation from theme application 2024-04-03 22:42:34 +03:00
Henry Jameson 2382810823 fix repeater links 2024-04-03 21:27:25 +03:00
Henry Jameson fbea4f9986 fix shout 2024-04-03 21:27:19 +03:00
Henry Jameson 940df1efa7 add fallbacks for lazy stuff loading 2024-04-03 21:10:27 +03:00
Henry Jameson 9bdc8d9b9c fix transparency blur in statuses on firefox 2024-03-29 13:36:43 +02:00
Phantasm d5575f9c13
Add poll end notifications to fetched types 2024-03-26 19:17:55 +01:00
HJ d7f744d281 Merge branch 'themes3' into 'develop'
Themes 3.0 / Pleroma ISS (Interface Style Sheets) [Side A]

See merge request pleroma/pleroma-fe!1892
2024-03-26 17:13:41 +00:00
Henry Jameson c298611af2 fix tests and make them pass on shit hardware 2024-03-26 18:49:29 +02:00
Henry Jameson 300b3a2517 fix emoji react buttons in notifications sidebar 2024-03-26 17:20:53 +02:00
Henry Jameson def68e9cda scrobbles age setting 2024-03-25 23:35:28 +02:00
Henry Jameson 4c10cf21a0 please the stylint 2024-03-25 19:13:04 +02:00
Henry Jameson f3d3901a92 more tests 2024-03-25 19:07:28 +02:00
Henry Jameson c1568ad2ba fix massive issue in getAllPossibleCombinations 2024-03-25 18:18:48 +02:00
Henry Jameson 1050fed558 fix non-round panel headers 2024-03-25 17:02:36 +02:00
Henry Jameson e51278cdf1 Merge remote-tracking branch 'origin/develop' into themes3 2024-03-25 16:54:40 +02:00
Henry Jameson b925c32e67 Make unloaded statuses follow panel styling 2024-03-25 16:38:03 +02:00
Henry Jameson 46562d5318 fix unnecessary backdrop filter in timelines 2024-03-25 16:30:21 +02:00
Henry Jameson 4852f5b833 unify tabs fixes for panels 2024-03-25 16:29:24 +02:00
Henry Jameson d02a15043e fix two most annoying remaining bugs (incorrect hover in chats and
overflowing avatars in interactors section)
2024-03-25 13:08:30 +02:00
HJ 23edfe7b91 Merge branch 'non-expiring-polls' into 'develop'
Hide the expiry date indication if the poll never expires

Closes #961

See merge request pleroma/pleroma-fe!1889
2024-03-22 08:17:33 +00:00
HJ 698d608591 Merge branch 'renovate/autoprefixer-10.x' into 'develop'
Update dependency autoprefixer to v10.4.19

See merge request pleroma/pleroma-fe!1898
2024-03-21 09:30:02 +00:00
Pleroma Renovate Bot fa7f6955a1 Update dependency autoprefixer to v10.4.19 2024-03-21 09:06:07 +00:00
HJ 6147f71977 Merge branch 'renovate/babel-loader-9.x' into 'develop'
Update dependency babel-loader to v9.1.3

See merge request pleroma/pleroma-fe!1895
2024-03-19 14:11:30 +00:00
Pleroma Renovate Bot 69a8ab7a03 Update dependency babel-loader to v9.1.3 2024-03-19 08:52:42 +00:00
HJ 90082a0d04 Merge branch 'renovate/autoprefixer-10.x' into 'develop'
Update dependency autoprefixer to v10.4.18

See merge request pleroma/pleroma-fe!1878
2024-03-18 13:36:18 +00:00
HJ c0961a4420 Merge branch 'renovate/vue-babel-plugin-jsx-1.x' into 'develop'
Update dependency @vue/babel-plugin-jsx to v1.2.1

See merge request pleroma/pleroma-fe!1856
2024-03-18 13:35:56 +00:00
HJ b252af872f Merge branch 'renovate/js-cookie-3.x' into 'develop'
Update dependency js-cookie to v3.0.5

See merge request pleroma/pleroma-fe!1818
2024-03-18 13:35:14 +00:00
HJ 539deb607f Merge branch 'renovate/ungap-event-target-0.x' into 'develop'
Update dependency @ungap/event-target to v0.2.4

See merge request pleroma/pleroma-fe!1813
2024-03-18 09:53:17 +00:00
HJ 7e05be9251 Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.25

See merge request pleroma/pleroma-fe!1831
2024-03-18 09:52:05 +00:00
HJ 255512938c Merge branch 'renovate/ruffle-rs-ruffle-0.x' into 'develop'
Update dependency @ruffle-rs/ruffle to v0.1.0-nightly.2024.3.17

See merge request pleroma/pleroma-fe!1662
2024-03-18 09:51:42 +00:00
HJ 09da683d28 Merge branch 'renovate/css-loader-6.x' into 'develop'
Update dependency css-loader to v6.10.0

See merge request pleroma/pleroma-fe!1829
2024-03-18 09:51:24 +00:00
HJ d8c50854b7 Merge branch 'renovate/vuelidate-validators-2.x' into 'develop'
Update dependency @vuelidate/validators to v2.0.4

See merge request pleroma/pleroma-fe!1805
2024-03-18 09:51:00 +00:00
Pleroma Renovate Bot 0daa824ec1 Update dependency @ruffle-rs/ruffle to v0.1.0-nightly.2024.3.17 2024-03-17 09:06:04 +00:00
Henry Jameson 472aad52e1 Use constructed stylesheet to prevent chrome from shitting itself when
you open element picker
2024-03-12 23:33:24 +02:00
tusooa 7ee55da4a3 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1888
2024-03-07 01:59:09 +00:00
Henry Jameson 1e467ac6e1 update tests 2024-03-07 01:08:04 +02:00
Henry Jameson afc94c6801 lint 2024-03-07 00:38:19 +02:00
Henry Jameson 34f23b992e fix conversations panels shadows 2024-03-07 00:37:21 +02:00
Henry Jameson 6d77bc2bd5 more transparent panels fixes 2024-03-07 00:28:16 +02:00
Henry Jameson ce5552ae3c fix more transparent panels 2024-03-06 20:35:03 +02:00
Henry Jameson 1b391b6a69 fix dialogs not having styles at all 2024-03-06 20:27:05 +02:00
Henry Jameson 7d1e787f55 fix unstyled buttons focus+active+hover styles 2024-03-06 17:42:09 +02:00
Henry Jameson 7df207c9d4 emoji management fixes for themes3 2024-03-06 10:34:56 +02:00
Henry Jameson 962bce5ee3 Merge remote-tracking branch 'origin/develop' into themes3 2024-03-06 09:35:46 +02:00
Kian-ting Tan e96487ffd5 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 97.9% (1070 of 1092 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2024-03-05 16:29:29 +00:00
SyoBoN 016c69e466 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 98.0% (1071 of 1092 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2024-03-05 16:29:29 +00:00
Phantasm 9c2046e6a7 Translated using Weblate (Czech)
Currently translated at 74.6% (815 of 1092 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-03-05 16:29:29 +00:00
Phantasm e22f571874 Translated using Weblate (Czech)
Currently translated at 71.2% (778 of 1092 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-03-05 16:29:29 +00:00
SyoBoN a104098467 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 98.0% (1071 of 1092 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2024-03-05 16:29:29 +00:00
SyoBoN c29c524033 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 96.4% (1053 of 1092 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2024-03-05 16:29:29 +00:00
Phantasm 40fa9b6ae4 Translated using Weblate (Czech)
Currently translated at 67.3% (732 of 1087 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/cs/
2024-03-05 16:29:29 +00:00
HJ 943fee9fbc Merge branch 'admin-emoji-settings' into 'develop'
Admin emoji pack settings

See merge request pleroma/pleroma-fe!1886
2024-03-05 16:29:21 +00:00
Henry Jameson 3239bd34df fix poll options 2024-03-04 23:02:21 +02:00
Henry Jameson 7f38d7d474 fix popovers 2024-03-04 22:52:54 +02:00
Henry Jameson e4f2741989 fix 2024-03-04 22:40:44 +02:00
Henry Jameson dc631c68fd fix some mistakes 2024-03-04 22:31:40 +02:00
Henry Jameson b10458e3a3 lint 2024-03-04 21:40:35 +02:00
Henry Jameson 8d99e2138a fix mentionsline buttons 2024-03-04 20:20:32 +02:00
Henry Jameson 7b1f70468b fix link preview text 2024-03-04 20:10:35 +02:00
Henry Jameson 5637e29d9c fix smol utf emoji in suggestor 2024-03-04 20:06:30 +02:00
Henry Jameson f7cd801e69 fix mentions selection 2024-03-04 19:56:06 +02:00
Henry Jameson 7e01d2083d proper selection colors 2024-03-04 19:53:45 +02:00
Henry Jameson 075f2cb903 remove all "fallback variables" 2024-03-04 19:45:42 +02:00
Henry Jameson 50a9c077fb fix new chat window 2024-03-04 19:24:18 +02:00
Henry Jameson 7238b218f9 fix badgeNotification for themes2 2024-03-04 19:10:23 +02:00
Henry Jameson 545c875a85 process chunks strictly sequentially to avoid overloading the event
queue
2024-03-04 19:03:29 +02:00
Henry Jameson a190389f3c panels/statuses are looking really good now even with transparency 2024-03-04 18:24:29 +02:00
Pleroma Renovate Bot e91e12b4b6 Update dependency autoprefixer to v10.4.18 2024-03-02 09:06:02 +00:00
HJ db33d58ba7 Merge branch 'revert-6391a6a4' into 'develop'
Reduce the timestamp pf videos so that they start at beginning

See merge request pleroma/pleroma-fe!1890
2024-02-29 20:08:03 +00:00
Henry Jameson 45a4b204c8 changelog 2024-02-29 22:04:10 +02:00
HJ 0f2c5fd972 Apply 1 suggestion(s) to 1 file(s) 2024-02-29 19:57:27 +00:00
Henry Jameson a2f2a0e409 fix autocomplete 2024-02-29 20:15:41 +02:00
Henry Jameson 01f6f89c7d interactive lists & non-interactive lists 2024-02-29 19:54:25 +02:00
Henry Jameson 23a8bee053 fix more attachments issues 2024-02-29 19:30:54 +02:00
Henry Jameson fb55c98483 fix polls options 2024-02-29 19:06:50 +02:00
Henry Jameson e7c64e47c4 undo the removal of toggled state for unstyled button since it is used 2024-02-29 18:52:27 +02:00
Henry Jameson 54e3a99bc7 Merge remote-tracking branch 'origin/develop' into themes3 2024-02-29 18:49:23 +02:00
Henry Jameson 73f6ecb21e clean up some variables, fixing search footer 2024-02-29 18:07:15 +02:00
Henry Jameson 78dcc0423e improve popover shadows (to not overlap with border) 2024-02-29 17:50:11 +02:00
Henry Jameson 28c7fac9f0 implement list item styles 2024-02-29 17:49:56 +02:00
Henry Jameson 3f6b9fbf9c user cards looking nicer now 2024-02-28 22:56:15 +02:00
Henry Jameson 7575079da9 fix badge-notificaiton color in favicon and notifications 2024-02-28 22:28:15 +02:00
Henry Jameson cf1345caca more scrollbars work 2024-02-28 15:04:01 +02:00
Henry Jameson 8e3637c059 improve scrollbars, add avatar to menu-item since it appears in
autocomplete, add wallpaper color
2024-02-28 14:57:19 +02:00
Henry Jameson 39eee4412f fix alerts in panels 2024-02-28 14:25:22 +02:00
Henry Jameson 528e7e4496 fix more annoying themes2->3 button states 2024-02-28 13:10:42 +02:00
Henry Jameson 15d8daa7ec somehow i missed this one 2024-02-28 12:51:22 +02:00
Henry Jameson e2a675e3ae oops 2024-02-28 01:26:22 +02:00
Henry Jameson fe93717d47 consistent menu-items 2024-02-28 01:23:43 +02:00
Henry Jameson f4d48e401a fix reply link being faint (didn't work before, no reason to keep it
"faint" imo)
2024-02-27 22:20:41 +02:00
Henry Jameson ec2afce97e improve performance a bit and use better "worst case" color 2024-02-27 22:02:44 +02:00
Henry Jameson e2af986323 fix global notices 2024-02-27 22:02:25 +02:00
Henry Jameson eab3bfaf0d remove fallbacks from shadow control 2024-02-27 21:43:25 +02:00
Henry Jameson d134b691cc remove button-unstyled from video attachments 2024-02-27 17:04:56 +02:00
Henry Jameson c83ddb0b2b better v1 detection, better menu-item consistency 2024-02-27 17:03:39 +02:00
Henry Jameson d3b5f76486 fix mobile drawer menu items not being fullwidth 2024-02-27 01:09:27 +02:00
Henry Jameson d8827932bc fix collapsed notifications incorrect styles 2024-02-27 01:08:04 +02:00
Henry Jameson adc47ad38a no more side effects, virtual components have their own css rules
instead of updating lower level
2024-02-27 00:55:19 +02:00
Henry Jameson 9a24d21bbd fix mobile badge in timeline 2024-02-27 00:16:22 +02:00
Henry Jameson ef2c8f077d refactor and optimize: now lazy rules are processed in chunks 2024-02-27 00:07:45 +02:00
Henry Jameson dc22386599 optimization and refactoring, rules are first flattened and then
processed, letting us to set individual rules as "lazy"
2024-02-26 21:37:40 +02:00
Henry Jameson ac85cdac68 fix themes v1 not working 2024-02-22 19:24:26 +02:00
Henry Jameson c4d218cb3e fix anon view 2024-02-22 19:15:55 +02:00
Henry Jameson 9bbf2e70c2 lint 2024-02-22 18:39:52 +02:00
Henry Jameson 1640bb61e3 last remaining core tasks done 2024-02-22 18:38:45 +02:00
Henry Jameson 339ae3e95e disable debug stuff i left on by accident in last commit 2024-02-22 18:20:09 +02:00
Henry Jameson abd1407a0b fix emoji inputs having odd paddings and line-height 2024-02-22 18:19:28 +02:00
Henry Jameson 6536fe229b fix change not being recognized 2024-02-22 18:10:30 +02:00
Henry Jameson 623a961141 changelog to make pipelines happy 2024-02-22 18:07:56 +02:00
Henry Jameson 7d2faccd4f fonts support, cleanup 2024-02-22 18:04:28 +02:00
Henry Jameson 779b3dc122 blur support, fix toggled buttons not working right 2024-02-22 15:15:08 +02:00
Henry Jameson 09e0e53ad6 opacity stuff, better debug mode 2024-02-22 14:36:56 +02:00
Henry Jameson 9e66c1184f fix notifications links 2024-02-22 01:32:52 +02:00
Henry Jameson 7f465cfdb1 fix mobile notifications 2024-02-22 01:11:47 +02:00
Henry Jameson 5e0ba2bcd9 initial work on mobile stuff 2024-02-22 01:10:24 +02:00
Henry Jameson 099a2eb27f proper polls support 2024-02-22 00:31:20 +02:00
Henry Jameson 4785c553ef small tabs improvements 2024-02-22 00:06:51 +02:00
Henry Jameson 879f520b75 tabs support + cleanup 2024-02-22 00:02:24 +02:00
Henry Jameson 8a21594dbc shadow slots work + minor fixes 2024-02-21 22:18:56 +02:00
Henry Jameson 7041d29ede add attachment to panel for post form compat 2024-02-21 14:15:25 +02:00
Henry Jameson d2f4ce442a fix attachment inputs 2024-02-21 14:05:26 +02:00
Henry Jameson f609aaba0c improve checkbox styles 2024-02-21 13:10:11 +02:00
Henry Jameson 8a47069cee improve default button styles 2024-02-21 12:33:43 +02:00
Henry Jameson 900eb34186 improve backwards compat for avatar shadows 2024-02-21 12:33:33 +02:00
Henry Jameson da0db933d9 moved themes2 stuff into theme_data.service.js 2024-02-21 12:23:10 +02:00
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 3b520a98ad fix panel borders 2024-02-19 00:22:31 +02:00
Henry Jameson 1bc1a83a1f fix borders in statuses and linear view 2024-02-19 00:21:44 +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
Pleroma Renovate Bot 1be1bdfa41 Update dependency nightwatch to v2.6.25 2024-02-17 09:06:38 +00: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 34e4dd0a79 fix last border of menu-item 2024-02-13 02:31:33 +02:00
Henry Jameson c531391e87 fix post status form input 2024-02-13 02:31:11 +02:00
Henry Jameson c16f1d4e35 more fixes 2024-02-13 02:27:53 +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 709ce1611a remove panel from popover since it's never used anywhere 2024-02-12 19:27:51 +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 1c5f156af0 better button styles, include popovers in root 2024-02-12 03:46:40 +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 1229bbd855 don't use no-auto for icons for now 2024-02-07 16:17:53 +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 d2a74ea1a2 add .input class to all inputs 2024-02-07 15:53:49 +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
Pleroma Renovate Bot 7c8b9610b9 Update dependency css-loader to v6.10.0 2024-01-31 08:55:58 +00:00
HJ 303bfa6e39 Revert "Merge branch 'video-poster' into 'develop'"
This reverts merge request !1879
2024-01-29 22:54:10 +00:00
Ekaterina Vaartis 70258a2176 Address the save and delete button bugs 2024-01-28 00:03:22 +03:00
SyoBoN 8562fd2da6
Add changelog
Signed-off-by: SyoBoN <syobon@syobon.net>
2024-01-26 17:57:00 +09:00
SyoBoN 062323c0d5
Hide the expiry date indication if the poll never expires
Signed-off-by: SyoBoN <syobon@syobon.net>
2024-01-26 17:57:00 +09: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
Pleroma Renovate Bot d8c22a9e42 Update dependency @vue/babel-plugin-jsx to v1.2.1 2024-01-23 08:56:34 +00:00
Henry Jameson 0729b529d7 some more stuff, generating CSS selectors from rules 2024-01-23 00:43:46 +02:00
Ekaterina Vaartis d5a5b8e254 Fix typo, add warning on replacing local pack 2024-01-22 23:43:20 +03:00
Ekaterina Vaartis 4d7a915154 displayError event, 'emits', "Edit pack" label 2024-01-22 23:14:49 +03:00
Ekaterina Vaartis 8a030d935b Separate emoji editing and upload into a separate component
Handle all state in that component
2024-01-19 23:16:21 +03:00
marcin mikołajczak d28e48e9dc Merge remote-tracking branch 'mkljczk/quotes-count' into quotes-count 2024-01-19 19:01:38 +01:00
marcin mikołajczak f6d3a66a5b shouldDisplayFavsAndRepeats
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-01-19 19:01:11 +01:00
Ekaterina Vaartis aa49838355 Adjust h-element levels to be smaller 2024-01-19 19:24:36 +03:00
Ekaterina Vaartis a2133f5283 Rearrange stuff in accordance with comments on the MR, mostly
Also, add support for a custom message to the modified indicator
2024-01-18 16:24:55 +03:00
Henry Jameson 521d308a6c themes 3 initial work 2024-01-18 14:35:25 +02:00
HJ b0d0a3faf6 Merge branch 'upstream-hide-custom-emoji' into 'develop'
Add ability to hide custom emojis in picker

See merge request pleroma/pleroma-fe!1887
2024-01-17 13:23:33 +00:00
Phantasm 88a006eb1a Add ability to hide custom emojis in picker 2024-01-17 13:23:33 +00: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
HJ ae4e360157 Merge branch 'tusooa/registration-notice' into 'develop'
Show a dedicated registration notice page when further action is required after registering

See merge request pleroma/pleroma-fe!1851
2024-01-13 23:44:06 +00:00
tusooa 9277a0cc0c Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1884
2024-01-13 23:07:20 +00:00
tusooa 209c0a8332
Remove empty else branch and detail the comments 2024-01-13 17:44:13 -05:00
tusooa 82c0044963
Show a dedicated registration notice page when further action is required after registering 2024-01-13 17:41:57 -05:00
tusooa 9ec61c07ef Translated using Weblate (Chinese (Simplified))
Currently translated at 98.3% (1068 of 1086 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2024-01-13 22:37:29 +00:00
tusooa f5b4b5f777 Merge branch 'public-favorites' into 'develop'
Display public favorites on user profiles if enabled

See merge request pleroma/pleroma-fe!1883
2024-01-13 22:37:22 +00:00
Ekaterina Vaartis 872dffe51b Implement pack pagination, more localization fixes 2024-01-07 16:41:17 +03:00
Ekaterina Vaartis 4eeb3e5f78 Update localization 2024-01-07 14:58:41 +03:00
Ekaterina Vaartis c218f32f6b Add a changelog entry 2024-01-07 14:50: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
tusooa bdf46eca5a Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1881
2023-12-31 21:19:38 +00:00
SyoBoN f3cdcaa172 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 96.5% (1049 of 1086 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2023-12-31 13:01:33 +00:00
Xnuk Shuman 3c4eaaab2c Translated using Weblate (Korean)
Currently translated at 97.6% (1061 of 1086 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2023-12-30 05:01:33 +00:00
nixe neko f177e0fe24 Translated using Weblate (Japanese (ja_EASY))
Currently translated at 91.8% (997 of 1086 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_EASY/
2023-12-28 15:01:33 +00: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 16f326216a
Add changelog for group actors 2023-12-27 22:56:47 -05:00
tusooa a709127a3c
Use actor type to determine whether a user is a bot 2023-12-27 22:55:58 -05:00
tusooa cc4aaccf38
Implement indicator for groups 2023-12-27 22:54:44 -05:00
tusooa fd77270564
Make user card group-aware 2023-12-27 22:40:07 -05:00
tusooa 4777bec85f
Add a description on what groups do 2023-12-27 22:36:13 -05:00
tusooa 0110fd86c2
Allow user to mark account as group 2023-12-27 22:30:19 -05:00
SyoBoN b8a036ee64 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 96.5% (1048 of 1086 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2023-12-24 06:01:31 +00:00
SyoBoN 9b0fb0f798 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 95.3% (1036 of 1086 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2023-12-21 15:01:42 +00:00
Ekaterina Vaartis bfdad56b0d Make the frontend config work somewhat even without DB config 2023-12-21 00:48:14 +03:00
Ekaterina Vaartis f9c85c0c49 Initial incomplete admin emoji settings implementation 2023-12-21 00:18:02 +03:00
HJ 6391a6a4ea Merge branch 'video-poster' into 'develop'
Fix video posters for Safari

See merge request pleroma/pleroma-fe!1879
2023-12-17 15:09:08 +00:00
Mark Felder 5bd8a78a7a Fix video posters on Safari 2023-12-17 00:51:56 -05: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 55ed65331f changelog 2023-12-14 00:16:25 +02:00
Henry Jameson ff10834f1a cleanup stray console logs 2023-12-14 00:14:06 +02:00
Henry Jameson 5ad8f2cd5c clarify some bit 2023-12-13 23:55:18 +02:00
Henry Jameson 5ee8fc0aea add setting to always show push notifications 2023-12-13 23:54:12 +02:00
Henry Jameson 99d04bed2b attempt at fixing the extra notification again 2023-12-13 22:04:00 +02:00
Henry Jameson b394392d0d fix incorrect path for follow request notifications settings 2023-12-13 21:07:23 +02:00
Henry Jameson febc2aa569 lint 2023-12-13 20:56:27 +02:00
Henry Jameson 0fd1b26fb6 don't include extra notifications 2023-12-13 20:38:39 +02:00
Henry Jameson 4e8bb80dbd fix incorrect title + add counter 2023-12-13 20:37:40 +02:00
Henry Jameson bcdf336242 try to fix the "website updated in background" notification 2023-12-13 18:36:16 +02:00
Pleroma Renovate Bot 89c94f97f6 Update dependency @vuelidate/validators to v2.0.4 2023-12-12 09:06:18 +00:00
HJ a98e241a81 Merge branch 'allow-apng' into 'develop'
file_type.service: allow apng images to be rendered

See merge request pleroma/pleroma-fe!1877
2023-12-11 12:44:28 +00:00
Yonle 5eed197c3e changelog.d: add add-apng.add for commit fb4d43ce
Signed-off-by: Yonle <yonle@lecturify.net>
2023-12-11 19:08:49 +07:00
HJ 4a7b49181a Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.3

See merge request pleroma/pleroma-fe!1857
2023-12-11 11:50:40 +00: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
HJ 02fff5ddd5 Merge branch 'neetzsche/accommodate-scrobble-urls' into 'develop'
Accommodate scrobble URLs when present

See merge request pleroma/pleroma-fe!1872
2023-11-30 17:51:32 +00:00
HJ ce46b97c59 Remove <img> for favicon 2023-11-30 17:47:32 +00:00
NEETzsche 730351dcd1 Accommodate scrobble URLs when present 2023-11-30 09:00:47 -07:00
HJ 358f92adff Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1870
2023-11-27 23:17:09 +00:00
Kian-ting Tan 846f9204f2 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 100.0% (1072 of 1072 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-27 14:23:45 +00:00
tusooa 7b9e3b5c24 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (1069 of 1071 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-11-27 14:23:45 +00:00
HJ e84e814c20 Merge branch 'post-mergeback-fixes' into 'develop'
remove duplicate changelog entries

See merge request pleroma/pleroma-fe!1876
2023-11-27 14:23:39 +00:00
Henry Jameson d580433988 remove duplicate changelog entries 2023-11-27 16:22:45 +02:00
HJ 9cbcd5b5e3 Merge branch 'master' into 'develop'
mergeback master into develop

See merge request pleroma/pleroma-fe!1875
2023-11-27 14:20:48 +00:00
HJ 83acbf953a Merge branch 'release/2.6.x' into 'master'
merge 2.6.x to master since 2.6.1 release

See merge request pleroma/pleroma-fe!1874
2023-11-27 13:48:43 +00:00
Henry Jameson 6c78b59c99 version bunp 2023-11-27 15:38:16 +02:00
Henry Jameson 2cddc138e5 2.6.1 changelog 2023-11-27 15:37:48 +02:00
HJ 55ecb5239a Merge branch 'admin-dashboard-fixes' into 'develop'
Fixes and minor improvements for admin dashboard

See merge request pleroma/pleroma-fe!1863

(cherry picked from commit d21e3d5de2)

f354cef0 fix no feedback and no dropdown close for actions in frontends tab,
c99390e8 make notices appear above admin dash modal
b6a4b620 add better indication that stuff is happening
ce109c38 add favicon setting and add compact layout for AttachmentSetting
bf49aeb7 changelog
d9ea160a account for if there's no primary frontend setup
75eea5f2 Merge remote-tracking branch 'origin/develop' into admin-dashboard-fixes
a190ef2c fix crash added in this MR
1037a3bb remove the WIP tip since pleroma!3862 is in stable
b707a14b make sure generated meta goes below FE-provided favicon so that BE's one
2023-11-27 13:26:19 +00:00
HJ d21e3d5de2 Merge branch 'admin-dashboard-fixes' into 'develop'
Fixes and minor improvements for admin dashboard

See merge request pleroma/pleroma-fe!1863
2023-11-27 13:26:01 +00:00
Henry Jameson 51f1f05b2d use last favicon instead of first for consistency with browsers 2023-11-22 22:06:56 +02:00
Henry Jameson b707a14b10 make sure generated meta goes below FE-provided favicon so that BE's one
get prioritized
2023-11-22 22:05:16 +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 cdc0959135 fix tests 2023-11-19 17:27:51 +02:00
Henry Jameson c0e2ba37c8 changelog, small fix 2023-11-19 17:02:46 +02:00
Henry Jameson 072a06fc89 reports visibility setting + actual filtering for desktop notifs 2023-11-19 16:40:30 +02:00
Henry Jameson d178a56924 improve visual for the description bit 2023-11-19 16:14:24 +02:00
Henry Jameson fd3ad106be rearrange notification visibility page a bit. 2023-11-19 16:12:43 +02:00
Henry Jameson e3ee3eacca added some settings for notifications 2023-11-19 15:24:34 +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 1037a3bb72 remove the WIP tip since pleroma!3862 is in stable 2023-11-19 10:06:06 +02:00
Henry Jameson a190ef2c56 fix crash added in this MR 2023-11-19 10:02:42 +02:00
Henry Jameson 75eea5f2b2 Merge remote-tracking branch 'origin/develop' into admin-dashboard-fixes 2023-11-19 09:58:29 +02:00
Henry Jameson c216340001 use dispatch instead of commmit, fix bad copypasta 2023-11-16 22:08:51 +02:00
Henry Jameson af27e2ca7b fix typo 2023-11-16 21:55:01 +02:00
Henry Jameson 388a7ac175 remove a test 2023-11-16 21:28:02 +02:00
Henry Jameson f3a859ff9e remove deletion (sic) stuff since we do the .deleted stuff nowadays 2023-11-16 21:24:33 +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 6ed2cb8f43 continue refactor 2023-11-16 20:09:16 +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 fffa7a4f4a fix sw thing 2023-11-13 17:40:55 +02:00
Henry Jameson e508ca6a1f fix 2023-11-13 17:32:14 +02:00
Henry Jameson d9ea160a67 account for if there's no primary frontend setup 2023-11-13 17:31:12 +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
HJ 84e2fa1a5e Merge branch 'tusooa/react-more-actions-fix' into 'develop'
Accessibility for react & extra buttons

See merge request pleroma/pleroma-fe!1869

(cherry picked from commit 18c0cf1845)

0026b35f Add alt text for react and extra-buttons popup
82063f34 Add aria-controls to extra-buttons trigger
5ff14837 Add changelog
2023-11-12 23:06:26 +00:00
HJ 18c0cf1845 Merge branch 'tusooa/react-more-actions-fix' into 'develop'
Accessibility for react & extra buttons

See merge request pleroma/pleroma-fe!1869
2023-11-12 23:06:14 +00:00
tusooa 5ff14837a7
Add changelog 2023-11-12 16:47:59 -05:00
Henry Jameson bf49aeb756 changelog 2023-11-12 22:18:54 +02:00
tusooa 82063f34b2
Add aria-controls to extra-buttons trigger 2023-11-12 15:13:28 -05:00
tusooa 0026b35f66
Add alt text for react and extra-buttons popup 2023-11-12 14:51:39 -05:00
HJ 3781f0e3bf Merge branch 'cherry-pick-faef2767' into 'release/2.6.x'
Fix admin dashboard crashing for 2.6.1

See merge request pleroma/pleroma-fe!1868
2023-11-12 10:48:06 +00:00
HJ 9ccd013522 Merge branch 'tusooa/fix-admin-crash-when-no-primary-fe-set' into 'develop'
fix admin crash when no primary fe set

See merge request pleroma/pleroma-fe!1867

(cherry picked from commit faef2767cd)

661d5b6d Fix frontend admin tab crashing when no primary frontend is set
b2c5520d Add changelog for frontend tab crash fix
2023-11-12 10:38:38 +00:00
HJ faef2767cd Merge branch 'tusooa/fix-admin-crash-when-no-primary-fe-set' into 'develop'
fix admin crash when no primary fe set

See merge request pleroma/pleroma-fe!1867
2023-11-12 10:38:13 +00:00
tusooa b2c5520d33
Add changelog for frontend tab crash fix 2023-11-11 19:27:38 -05:00
tusooa 661d5b6d25
Fix frontend admin tab crashing when no primary frontend is set 2023-11-11 19:27:38 -05:00
tusooa c3c233c6fe Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1866
2023-11-12 00:11:05 +00:00
Dmytro Poltavchenko 7c1c4237b4 Translated using Weblate (Ukrainian)
Currently translated at 90.0% (964 of 1070 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2023-11-10 13:31:52 +00:00
Tirifto f49f8dba6f Translated using Weblate (Esperanto)
Currently translated at 91.9% (974 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 698a91d345 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 100.0% (1059 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 77b68c9c3f Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 79.8% (846 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 06bd834a81 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 77.6% (822 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan cf483f62fd Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 76.2% (808 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 1aa506e0cb Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 74.2% (786 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 267f25f4f6 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 73.2% (776 of 1059 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 910fdb39e4 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 72.3% (763 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 24a70bb231 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 70.4% (743 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan dec13e3624 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 69.5% (733 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 17b04a45ea Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 67.9% (716 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 7e55fb5579 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 65.1% (687 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Tirifto 08321c2aac Translated using Weblate (Esperanto)
Currently translated at 92.1% (971 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 6f590a311a Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 64.0% (675 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 780dd4e135 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 63.0% (665 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 943e0ac3f5 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 61.0% (643 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Xnuk Shuman 975a240b88 Translated using Weblate (Korean)
Currently translated at 99.9% (1053 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2023-11-10 13:31:52 +00:00
Kian-ting Tan 6690d9fab6 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 60.0% (633 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-11-10 13:31:52 +00:00
Xnuk Shuman a4f0c6fc86 Translated using Weblate (Korean)
Currently translated at 99.9% (1053 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2023-11-10 13:31:52 +00:00
HJ 60cb173b61 Merge branch 'neetzsche/display-latest-scrobble' into 'develop'
Display the latest scrobble under a user's name

See merge request pleroma/pleroma-fe!1865
2023-11-10 13:31:45 +00:00
Henry Jameson 55d4ea3643 fix layout 2023-11-10 15:24:13 +02: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
Henry Jameson ce109c38f3 add favicon setting and add compact layout for AttachmentSetting 2023-11-01 22:10:46 +02:00
Henry Jameson b6a4b62058 add better indication that stuff is happening 2023-11-01 21:53:50 +02:00
Henry Jameson c99390e864 make notices appear above admin dash modal 2023-11-01 21:48:05 +02:00
Henry Jameson f354cef010 fix no feedback and no dropdown close for actions in frontends tab,
better default suggest
2023-11-01 21:44:14 +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
HJ 42d5d8e433 Merge branch 'release/2.6.x' into 'develop'
Mergeback 2.6.0 to develop

See merge request pleroma/pleroma-fe!1862
2023-10-29 16:32:54 +00:00
Henry Jameson dbf14eee40 Version 2.6.0 2023-10-29 18:30:08 +02:00
Henry Jameson c8b5b7845d Changelog 2.6.0 2023-10-29 18:29:37 +02:00
HJ b6accf9e7f Merge branch 'develop' into 'master'
Update master branch

See merge request pleroma/pleroma-fe!1861
2023-10-29 16:26:05 +00:00
HJ f685f9021b Merge branch 'fix-reports' into 'develop'
fix reports now showing reason

See merge request pleroma/pleroma-fe!1860
2023-10-26 23:48:45 +00:00
Henry Jameson c9fd9ceb75 changelog 2023-10-27 02:48:30 +03:00
Henry Jameson c622b77ddd fix reports now showing reason 2023-10-27 02:44:22 +03: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 1b7e930b2e oops 2023-10-25 19:35:44 +03:00
Henry Jameson 73fbe89a4b initial work on showing notifications through serviceworkers 2023-10-25 18:58:33 +03:00
HJ 4c11ac9a27 Merge branch 'quotes-hide-card' into 'develop'
oops

See merge request pleroma/pleroma-fe!1859
2023-10-13 13:10:57 +00:00
Henry Jameson 8f87a15069 oops 2023-10-13 12:37:50 +03:00
tusooa 3c38a79526 Merge branch 'quotes-hide-card' into 'develop'
Don't display link preview card if it's the same as quoted status

See merge request pleroma/pleroma-fe!1858
2023-10-11 21:03:19 +00:00
Henry Jameson 765fdbe8ab changelog 2023-10-11 22:49:35 +03:00
Henry Jameson ece79f84a8 don't display link preview card if it's the same as quoted status 2023-10-11 22:43:51 +03:00
Pleroma Renovate Bot 4beb29918a Update dependency @vuelidate/core to v2.0.3 2023-10-06 09:10:07 +00:00
tusooa 45470e3355 Merge branch 'renovate/qrcode-1.x' into 'develop'
Update dependency qrcode to v1.5.3

See merge request pleroma/pleroma-fe!1821
2023-10-04 09:42:26 +00:00
tusooa 8801f63720 Merge branch 'renovate/phoenix-1.x' into 'develop'
Update dependency phoenix to v1.7.7

See merge request pleroma/pleroma-fe!1663
2023-10-04 09:40:31 +00:00
tusooa e66b2b18af Merge branch 'renovate/mini-css-extract-plugin-2.x' into 'develop'
Update dependency mini-css-extract-plugin to v2.7.6

See merge request pleroma/pleroma-fe!1830
2023-10-04 09:38:11 +00:00
tusooa d356841441 Merge branch 'export-subst-hash' into 'develop'
Use export-subst gitattribute to allow tarball builds

See merge request pleroma/pleroma-fe!1854
2023-10-04 09:31:14 +00:00
tusooa c05b1b9072 Apply 1 suggestion(s) to 1 file(s) 2023-09-15 06:45:02 +00:00
Haelwenn (lanodan) Monnier 6e5c7bf308 Use export-subst gitattribute to allow tarball builds
For example it would do the following:

    let subst = "d3bf557c";
2023-09-10 09:01:10 +02: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
tusooa b167025554 Merge branch 'fix-oauth2-token-linger' into 'develop'
Fix OAuth2 token lingering after revocation

See merge request pleroma/pleroma-fe!1852
2023-08-26 16:57:28 +00:00
HJ 3c041b2ba1 Merge branch 'tusooa/emoji-picker-button-accessible' into 'develop'
Make emoji picker buttons accessible

See merge request pleroma/pleroma-fe!1840
2023-08-22 20:38:02 +00:00
HJ d8d2507303 Merge branch 'tusooa/1266-reload-user-pinned' into 'develop'
Fix pinned statuses gone when reloading user timeline

Closes #1266

See merge request pleroma/pleroma-fe!1847
2023-08-22 20:37:48 +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
Alexander Tumin ac78f80194 Fix OAuth2 token lingering after revocation 2023-08-20 15:51:19 +03:00
tusooa f059c1f314 Merge branch 'tusooa/quote' into 'develop'
Quote

See merge request pleroma/pleroma-fe!1846
2023-08-19 02:33:26 +00:00
tusooa f153c688f6
Add changelog 2023-08-18 22:26:29 -04:00
tusooa e4ab012f21
Move v-if condition to the right place 2023-08-18 22:25:32 -04:00
tusooa ff25838479
Make lint happy 2023-08-18 22:25:32 -04:00
tusooa ebee2bda63
Add icons to extra notifications 2023-08-18 22:25:32 -04:00
tusooa a2c21e2742
Make clickable area the whole row 2023-08-18 22:25:32 -04:00
tusooa c6715b346b
Show unread marker for extra notifications 2023-08-18 22:25:32 -04:00
tusooa 50bad0fc68
Display unread visuals when there are unread extra notifications 2023-08-18 22:25:32 -04:00
tusooa bd60238f01
Do not show extra notifications in interactions page 2023-08-18 22:25:32 -04:00
tusooa 1c180ace0b
Fix router links to use route objects 2023-08-18 22:25:32 -04:00
tusooa 7f51ea369e
Make extra notification display customizable 2023-08-18 22:25:32 -04:00
tusooa c4549f0993
Display follow requests in extra notifications 2023-08-18 22:25:32 -04:00
tusooa 0d6a9e8a64
Display extra notifications on notifications column 2023-08-18 22:25:11 -04:00
Alexander Tumin 9baffbfbde Fix HTML attribute parsing, discard attributes not strating with a letter 2023-08-12 22:35:42 +03:00
HJ a1641193b5 Merge branch 'tusooa/983-mention-twice' into 'develop'
Fix a bug where mentioning a user twice will not fill the mention into the textarea

Closes #983

See merge request pleroma/pleroma-fe!1850
2023-07-25 08:29:59 +00:00
tusooa 0dc2afb826
Fix a bug where mentioning a user twice will not fill the mention into the textarea 2023-07-24 19:13:37 -04:00
HJ e31bf6646b Merge branch 'tusooa/1276-mentionsline-shouldbreak' into 'develop'
Make MentionsLine aware of line breaking by non-br elements

Closes #1276

See merge request pleroma/pleroma-fe!1849
2023-07-24 22:58:54 +00:00
tusooa 56a74aa392
Make MentionsLine aware of line breaking by non-br elements 2023-07-24 18:28:34 -04:00
tusooa 0b0b1dabdf
Fix parsing non-ascii tags 2023-07-21 14:03:49 -04:00
tusooa 1b081a9272
Make reply-or-quote selection display as horizontal button group 2023-07-19 17:00:46 -04:00
tusooa 35d3b8f27d
Fix pinned statuses gone when reloading user timeline 2023-07-18 19:06:00 -04:00
tusooa 510392e4ca Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1842
2023-07-18 22:02:35 +00:00
Kian-ting Tan 7aac8cd2ee Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 58.7% (619 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-07-18 18:23:25 +00:00
tusooa a314ad7ccc
Add fallback return false for quotable judgements 2023-07-17 17:29:18 -04:00
tusooa 441eea3683
Do not show quote options for servers without quote support 2023-07-17 17:28:36 -04:00
tusooa 99cff7e28b
Add changelog for quote 2023-07-17 11:29:36 -04:00
tusooa 63f56cfb27
Add aria-labels for reply/quote selector 2023-07-17 11:27:32 -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
Kian-ting Tan 80ceff95e9 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 56.9% (600 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-07-17 10:00:37 +00:00
Kian-ting Tan 1ec9487714 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 55.8% (589 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-07-14 11:00:36 +00:00
baloo toumi 4bdc4bc5a9 Translated using Weblate (Arabic)
Currently translated at 75.5% (796 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-07-13 08:00:35 +00:00
tusooa 1c20487494
Implement showing quotes 2023-07-13 00:44:30 -04:00
Kian-ting Tan d234000fdf Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 54.8% (578 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-07-11 13:00:42 +00:00
Kian-ting Tan 837dd81d21 Translated using Weblate (Chinese (Traditional))
Currently translated at 68.0% (717 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2023-07-11 13:00:40 +00:00
baloo toumi 6413aef1b4 Translated using Weblate (Arabic)
Currently translated at 75.5% (796 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-07-11 13:00:40 +00:00
Pleroma Renovate Bot 067eefdb44 Update dependency phoenix to v1.7.7 2023-07-11 09:08:35 +00:00
baloo toumi fc2aca4ddc Translated using Weblate (Arabic)
Currently translated at 65.5% (691 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-07-07 19:00:33 +00:00
@t12 a417867ec7 Translated using Weblate (Indonesian)
Currently translated at 49.4% (521 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2023-07-06 12:00:36 +00:00
baloo toumi 8173a46030 Translated using Weblate (Arabic)
Currently translated at 63.7% (672 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-07-06 12:00:33 +00:00
Kian-ting Tan 6e93fbb96a Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 52.1% (550 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-07-04 16:00:40 +00:00
Poesty Li 273aeea05e Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (1052 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-07-04 16:00:36 +00:00
baloo toumi d6734a1942 Translated using Weblate (Arabic)
Currently translated at 61.8% (652 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-07-04 16:00:33 +00:00
Kian-ting Tan e47328f170 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 45.4% (479 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-06-29 16:09:57 +00:00
Kian-ting Tan 75fcf486dc Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 43.4% (458 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-06-29 16:09:57 +00:00
Kian-ting Tan 927729f128 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 42.5% (448 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-06-29 16:09:57 +00:00
Kian-ting Tan 91bddb7218 Translated using Weblate (Chinese (Min Nan) (nan_TW))
Currently translated at 33.0% (348 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nan_TW/
2023-06-29 16:09:57 +00:00
tusooa e57a186b23 Translated using Weblate (Chinese (Simplified))
Currently translated at 93.3% (984 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-06-29 16:09:57 +00:00
HJ c9d07c6202 Merge branch 'tusooa/scroll-emoji-selector-safari' into 'develop'
Fix scrolling emoji selector in modal in safari ios

Closes #1264

See merge request pleroma/pleroma-fe!1844
2023-06-29 16:09:51 +00:00
HJ 586705ec02 Merge branch 'tusooa/react-button-safari' into 'develop'
Fix react button misalignment on safari ios

See merge request pleroma/pleroma-fe!1843
2023-06-29 16:09:31 +00:00
tusooa 9fa0c05b35
Fix lint 2023-06-29 11:43:49 -04:00
tusooa bf5bd4235d
Comment the v-body-scroll-lock usage in code 2023-06-29 11:40:33 -04:00
tusooa 09402e2537
Fix scrolling emoji selector in modal in safari ios 2023-06-29 11:31:25 -04:00
tusooa 8cc6b213fb
Fix react button misalignment on safari ios 2023-06-29 10:28:05 -04:00
tusooa d5e9a28c84 Merge branch 'develop' into 'develop'
Add nan support

See merge request pleroma/pleroma-fe!1841
2023-06-22 17:32:05 +00:00
Kian-ting Tan 7ce71d8f82 Update nan-TW.json 2023-06-22 15:35:04 +00: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 d98650e21d add changelog 2023-06-20 14:47:51 +00:00
Kian-ting Tan a7aafd0775 Merge branch 'main' into 'develop'
Main

See merge request yoxem/pleroma-fe!1
2023-06-20 14:10:51 +00:00
Kian-ting Tan 21093e573c Main 2023-06-20 14:10:51 +00:00
tusooa 018f83b997 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1833
2023-06-18 23:31:42 +00:00
tusooa 16140c278b
Add changelog 2023-06-18 15:46:05 -04:00
tusooa 96ef76f1d7
Make emoji picker buttons accessible 2023-06-18 15:45:30 -04:00
baloo toumi a7705ade88 Translated using Weblate (Arabic)
Currently translated at 58.3% (615 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-06-13 19:12:24 +00:00
baloo toumi 148e8a7170 Translated using Weblate (Arabic)
Currently translated at 57.8% (610 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-06-13 19:12:24 +00:00
baloo toumi 6ff477e124 Translated using Weblate (Arabic)
Currently translated at 55.3% (583 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-06-13 19:12:24 +00:00
baloo toumi 20621c71dc Translated using Weblate (Arabic)
Currently translated at 46.0% (485 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-06-13 19:12:24 +00:00
baloo toumi 5d63833c99 Translated using Weblate (Arabic)
Currently translated at 45.9% (484 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-06-13 19:12:24 +00:00
baloo toumi 66a881db4f Translated using Weblate (Arabic)
Currently translated at 41.8% (441 of 1054 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-06-13 19:12:24 +00:00
HJ 336a966a52 Merge branch 'tusooa/custom-emoji-notif-width' into 'develop'
Keep aspect ratio of custom emoji reaction in notification

See merge request pleroma/pleroma-fe!1839
2023-06-13 19:12:19 +00:00
tusooa db1643b94e
Keep aspect ratio of custom emoji reaction in notification 2023-06-13 15:06:46 -04:00
HJ 7ab5ee9cba Merge branch 'tusooa/1262-edit-profile-button' into 'develop'
Fix openSettingsModalTab

Closes #1262

See merge request pleroma/pleroma-fe!1838
2023-06-13 18:47:51 +00:00
tusooa 4e6af5bd23
Fix openSettingsModalTab 2023-06-13 14:01:26 -04:00
HJ 5b93e4a0de Merge branch 'tusooa/react-button-fix' into 'develop'
Fix react button not working if reaction accounts are not loaded

See merge request pleroma/pleroma-fe!1837
2023-06-10 23:19:14 +00:00
tusooa 8ba22a2481
Fix react button not working if reaction accounts are not loaded 2023-06-09 16:13:43 -04:00
HJ 321a131c20 Merge branch 'cherry-pick-624af7ed' into 'master'
cherrypick parser fix into stable

See merge request pleroma/pleroma-fe!1836
2023-06-06 16:32:22 +00:00
HJ 4bc7873e03 Merge branch 'harden-parser' into 'develop'
fix regex misinterpreting tag name in badly formed HTML

See merge request pleroma/pleroma-fe!1835

(cherry picked from commit 624af7ed00)

00b47e16 fix regex misinterpreting tag name in badly formed HTML, prevent rich
5e656cc0 Merge remote-tracking branch 'origin/develop' into harden-parser
10e28f6c changelog
0109724a case insensititvy
2023-06-06 16:28:13 +00:00
HJ 624af7ed00 Merge branch 'harden-parser' into 'develop'
fix regex misinterpreting tag name in badly formed HTML

See merge request pleroma/pleroma-fe!1835
2023-06-05 19:04:30 +00:00
Henry Jameson 0109724a5f case insensititvy 2023-06-05 21:57:36 +03:00
Henry Jameson 10e28f6c1d changelog 2023-06-05 21:54:17 +03: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
tusooa ae5181d21e Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1832
2023-05-26 03:54:43 +00:00
baloo toumi 8e9f0aabba Translated using Weblate (Arabic)
Currently translated at 39.7% (394 of 990 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-05-24 18:55:30 +00:00
HJ c730c9b6d0 Merge branch 'improve_settings_reusability' into 'develop'
AdminFE functionality in PleromaFE

See merge request pleroma/pleroma-fe!1800
2023-05-24 18:55:20 +00:00
Henry Jameson cbd22d52b8 make admin settings modal available on mobile 2023-05-24 12:00:16 +03:00
Henry Jameson b3d0360699 fix and cleanup reset button 2023-05-24 11:44:41 +03:00
Henry Jameson ed34b07b3f fix transition when resetting to indeterminate state 2023-05-24 11:44:26 +03:00
Henry Jameson d223683b2e make detailed access restriction an expert section 2023-05-24 11:32:16 +03:00
Henry Jameson 9f77f910b8 fix animation when ideterminate is the initial state 2023-05-24 11:29:59 +03:00
Henry Jameson 3ead21bcc6 changelog 2023-05-23 22:30:24 +03:00
Henry Jameson b72af7d6ae Merge remote-tracking branch 'origin/develop' into improve_settings_reusability 2023-05-23 22:24:04 +03:00
Henry Jameson 99f85069b8 fix indeterminate state animation 2023-05-23 22:23:58 +03:00
Pleroma Renovate Bot 064ff35822 Update dependency mini-css-extract-plugin to v2.7.6 2023-05-23 09:07:59 +00:00
HJ 4bf085b8fe Merge branch 'renovate/vue-virtual-scroller-2.x-lockfile' into 'develop'
Update dependency vue-virtual-scroller to v2.0.0-beta.8

See merge request pleroma/pleroma-fe!1824
2023-05-23 08:36:56 +00:00
HJ 8692453ffd Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.2

See merge request pleroma/pleroma-fe!1804
2023-05-23 08:34:10 +00:00
HJ 8d32f305fd Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome to v6.4.0

See merge request pleroma/pleroma-fe!1825
2023-05-23 08:33:00 +00:00
HJ 0101f67639 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1828
2023-05-23 08:31:58 +00:00
baloo toumi f4d3575804 Translated using Weblate (Arabic)
Currently translated at 37.4% (370 of 989 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-05-23 08:27:34 +00:00
HJ 63ee9088b6 Merge branch 'tusooa/changelog' into 'develop'
Add changelog checker

See merge request pleroma/pleroma-fe!1816
2023-05-23 08:27:29 +00:00
HJ b6cef856f9 Merge branch 'tusooa/reaction-accessibility' into 'develop'
Reaction accessibility

See merge request pleroma/pleroma-fe!1827
2023-05-23 08:24:56 +00:00
tusooa b82f2a3543
Use button text in reaction counter 2023-05-22 23:09:28 -04:00
tusooa dc2ff9b2d2
Add text label for custom emoji reactions 2023-05-22 22:37:18 -04:00
tusooa c675130024
Make reaction counter accessible 2023-05-22 22:30:54 -04:00
tusooa d3e251665f
Lint 2023-05-22 22:20:09 -04:00
tusooa 48ee11fea3
Add aria for react button 2023-05-22 22:18:42 -04:00
tusooa 0b2f676e50
Fix focus (unvisible) style 2023-05-22 22:14:44 -04:00
tusooa 8a1074336c
Make emoji reactions clickable when not logged in 2023-05-22 22:09:04 -04:00
tusooa ed23f51838
Make reaction button accessible 2023-05-22 22:02:22 -04:00
tusooa 6b0d72937e Apply 1 suggestion(s) to 1 file(s) 2023-05-21 18:31:25 +00:00
tusooa 1e597d8b1a Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1826
2023-05-20 19:19:53 +00:00
baloo toumi b171d831f2 Translated using Weblate (Arabic)
Currently translated at 14.2% (141 of 989 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2023-05-18 12:22:20 +00:00
Pleroma Renovate Bot b275c9afa6 Update Font Awesome to v6.4.0 2023-05-16 09:06:29 +00:00
tusooa fc1fda50df Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1812
2023-05-16 02:05:33 +00:00
Tirifto 762cdc738f Translated using Weblate (Esperanto)
Currently translated at 98.1% (971 of 989 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2023-05-16 02:01:29 +00:00
Xnuk Shuman 811adc5b1f Translated using Weblate (Korean)
Currently translated at 96.6% (955 of 988 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2023-05-16 02:01:29 +00:00
Tirifto 1dd5fa8bb7 Translated using Weblate (Esperanto)
Currently translated at 98.2% (971 of 988 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2023-05-16 02:01:29 +00:00
Tirifto 2e5412fbd8 Translated using Weblate (Esperanto)
Currently translated at 98.0% (969 of 988 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2023-05-16 02:01:29 +00:00
tusooa d4ea180a39 Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.20

See merge request pleroma/pleroma-fe!1820
2023-05-16 02:01:23 +00:00
Pleroma Renovate Bot ac21bba90c Update dependency vue-virtual-scroller to v2.0.0-beta.8 2023-05-13 09:06:36 +00:00
HJ fca1e0abae Merge branch 'tusooa/custom-emoji-selective' into 'develop'
Fix custom emojis shown in selector if backend does not support it

See merge request pleroma/pleroma-fe!1823
2023-05-12 14:07:33 +00:00
tusooa f5891e950e Merge branch 'renovate/sinon-15.x' into 'develop'
Update dependency sinon to v15.0.4

See merge request pleroma/pleroma-fe!1822
2023-05-12 13:58:48 +00:00
tusooa 4b38fc5ffc
Fix custom emojis shown in selector if backend does not support it 2023-05-12 09:57:22 -04:00
Henry Jameson 4664d99af2 lint 2023-05-09 23:29:30 +03:00
Henry Jameson ad3916027a lint 2023-05-08 22:14:49 +03:00
Henry Jameson b79f297692 fix double pushbuttons in the draft buttons 2023-05-08 22:04:05 +03:00
Henry Jameson 039b6c61a2 lint 2023-05-08 21:37:29 +03:00
Henry Jameson 09e3735e37 semantics + description for instance access section 2023-05-08 21:36:18 +03:00
Henry Jameson 2322646442 reintroduce width limit on number input but only for sizesetting 2023-05-08 21:13:07 +03:00
Henry Jameson 0f81239451 remove restriction on number input's width 2023-05-08 21:11:48 +03:00
Henry Jameson 05a7e612aa show warning for developer for missing labels 2023-05-08 21:10:06 +03:00
Henry Jameson b9c69a2272 improve the semantics 2023-05-08 21:01:29 +03:00
Henry Jameson 1935bf6bd4 fix media upload bug 2023-05-08 21:01:20 +03:00
Pleroma Renovate Bot 586cdadcec Update dependency sinon to v15.0.4 2023-05-05 09:04:48 +00:00
Pleroma Renovate Bot 73430beb5c Update dependency qrcode to v1.5.3 2023-05-05 09:04:29 +00:00
Henry Jameson 6816bc8bad remove unused stuff 2023-05-05 01:50:41 +03:00
tusooa 0f730a8524 Merge branch 'renovate/karma-6.x' into 'develop'
Update dependency karma to v6.4.2

See merge request pleroma/pleroma-fe!1819
2023-05-04 12:24:37 +00:00
Pleroma Renovate Bot 4d75a58bb9 Update dependency nightwatch to v2.6.20 2023-05-04 09:05:44 +00:00
Pleroma Renovate Bot 8531149f43 Update dependency karma to v6.4.2 2023-05-04 09:05:33 +00:00
tusooa 2504929da2 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo

See merge request pleroma/pleroma-fe!1817
2023-05-04 01:19:30 +00:00
Pleroma Renovate Bot e1ef381162 Update dependency js-cookie to v3.0.5 2023-05-03 09:07:55 +00:00
Pleroma Renovate Bot 2f632b95cc Update babel monorepo 2023-05-03 09:06:26 +00:00
tusooa 7c7385b1de
Do not count renames when checking changelog 2023-05-02 22:17:02 -04:00
tusooa 670ff6e940 Merge branch 'renovate/postcss-8.x' into 'develop'
Update dependency postcss to v8.4.23

See merge request pleroma/pleroma-fe!1750
2023-05-02 12:22:05 +00:00
tusooa 1364e56437 Merge branch 'renovate/sass-loader-13.x' into 'develop'
Update dependency sass-loader to v13.2.2

See merge request pleroma/pleroma-fe!1811
2023-05-02 12:19:50 +00:00
tusooa ebad6a17d2 Merge branch 'renovate/mini-css-extract-plugin-2.x' into 'develop'
Update dependency mini-css-extract-plugin to v2.7.5

See merge request pleroma/pleroma-fe!1810
2023-05-02 12:18:32 +00:00
tusooa 2d9ee02c12 Merge branch 'renovate/html-webpack-plugin-5.x' into 'develop'
Update dependency html-webpack-plugin to v5.5.1

See merge request pleroma/pleroma-fe!1815
2023-05-02 12:17:18 +00:00
tusooa 5f8a34c51d
Run merge request pipelines instead of two different ones 2023-04-28 18:20:44 -04:00
tusooa cd5d0a8b64
Skip changelog 2023-04-28 18:15:44 -04:00
tusooa ca7b5b7deb
Add changelog checker 2023-04-28 18:14:23 -04:00
Henry Jameson 1492937a7e lint 2023-04-24 23:01:29 +03:00
Henry Jameson e0fbeee88e finish up attachment setting (right now only for admin section only) 2023-04-24 21:57:31 +03:00
Pleroma Renovate Bot 17e7df9da3 Update dependency html-webpack-plugin to v5.5.1 2023-04-21 09:05:46 +00:00
Pleroma Renovate Bot e1d5add046 Update dependency postcss to v8.4.23 2023-04-20 09:07:46 +00:00
Henry Jameson 9aaa8a86f5 initial implementation of attachmentsetting 2023-04-13 01:11:20 +03:00
Henry Jameson d8ed541d12 reordered registrations section to be above access since it's more
likely to be used more often
2023-04-13 00:02:35 +03:00
Henry Jameson 4c158e636b more i18n stuff, added missing labels and such 2023-04-13 00:02:31 +03:00
Henry Jameson 3e1aeb6d2c Merge remote-tracking branch 'origin/develop' into improve_settings_reusability 2023-04-12 23:31:11 +03:00
HJ 80eddb1099 Merge branch 'develop' into 'develop'
Fix i18n

See merge request pleroma/pleroma-fe!1814
2023-04-12 20:04:46 +00:00
XYenon 01758a28ea Fix i18n 2023-04-13 00:06:32 +08:00
Pleroma Renovate Bot 829ab46fdc Update dependency @ungap/event-target to v0.2.4 2023-04-12 09:11:09 +00:00
HJ bc830cd033 Merge branch 'renovate/autoprefixer-10.x' into 'develop'
Update dependency autoprefixer to v10.4.14

See merge request pleroma/pleroma-fe!1808
2023-04-11 21:29:57 +00:00
HJ a814520709 Merge branch 'tusooa/pin-announcement' into 'develop'
Fix bug where announcements cannot be pinned

See merge request pleroma/pleroma-fe!1809
2023-04-11 21:28:02 +00:00
HJ 9a8f52a38d Merge branch 'tusooa/chat-user' into 'develop'
Populate user card on receiving chats

See merge request pleroma/pleroma-fe!1766
2023-04-11 21:26:39 +00: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
Pleroma Renovate Bot 034ed86312 Update dependency sass-loader to v13.2.2 2023-04-07 09:08:33 +00:00
Pleroma Renovate Bot 0bcfde4c2e Update dependency mini-css-extract-plugin to v2.7.5 2023-04-07 09:08:13 +00:00
tusooa 1f7ec86b80 Merge branch 'renovate/cropperjs-1.x' into 'develop'
Update dependency cropperjs to v1.5.13

See merge request pleroma/pleroma-fe!1694
2023-04-06 22:23:22 +00:00
tusooa b0d1d65063 Merge branch 'renovate/qrcode-1.x' into 'develop'
Update dependency qrcode to v1.5.1

See merge request pleroma/pleroma-fe!1665
2023-04-06 22:22:18 +00:00
tusooa 5c0deb1e6f
Fix bug where announcements cannot be pinned 2023-04-06 18:14:49 -04:00
Pleroma Renovate Bot 6deb6d45c6 Update dependency autoprefixer to v10.4.14 2023-04-06 09:10:40 +00:00
tusooa 33c2195064 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo

See merge request pleroma/pleroma-fe!1803
2023-04-06 02:47:17 +00:00
Pleroma Renovate Bot d6cd3e9385 Update babel monorepo 2023-03-31 09:05:50 +00:00
Pleroma Renovate Bot 251787ed07 Update dependency @vuelidate/core to v2.0.2 2023-03-30 09:08:23 +00:00
Henry Jameson 9e5c7313c6 use draft state instead of live state in that one place 2023-03-29 23:34:30 +03:00
Henry Jameson ac75d051b7 better frontends tab, now you can set default frontend 2023-03-29 23:26:57 +03:00
Henry Jameson 7bb28bb23c frontends tab initial implementation, now you can (re)install frontends! yay! 2023-03-29 00:58:07 +03:00
Henry Jameson 3ac67ab727 fix 2023-03-27 23:00:52 +03:00
Henry Jameson 4c3af5c362 handle db config disabled case 2023-03-27 22:57:50 +03:00
tusooa cfb390ee8b Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.19

See merge request pleroma/pleroma-fe!1796
2023-03-25 21:08:17 +00:00
tusooa e64011ecf4 Merge branch 'renovate/intlify-vue-i18n-loader-5.x' into 'develop'
Update dependency @intlify/vue-i18n-loader to v5.0.1

See merge request pleroma/pleroma-fe!1795
2023-03-25 21:07:58 +00:00
tusooa 06b41eaf1c Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.60.0

See merge request pleroma/pleroma-fe!1784
2023-03-25 20:57:53 +00:00
Pleroma Renovate Bot bd7f437df4 Update dependency sass to v1.60.0 2023-03-24 09:09:09 +00:00
Pleroma Renovate Bot cd0ee7e332 Update dependency nightwatch to v2.6.19 2023-03-24 09:08:46 +00:00
Henry Jameson df9fe6d261 localization strings 2023-03-22 19:23:36 +02:00
Henry Jameson ece69f01b7 added mass-draft-push and mass-draft-reset, small stylistic fixes 2023-03-22 18:57:23 +02:00
Henry Jameson 9153417202 localization strings 2023-03-22 12:48:21 +02:00
Henry Jameson c7a16bdfe2 grouped settings/managed drafts support added 2023-03-22 12:43:53 +02:00
Henry Jameson 6992439c92 fixes for diabled state, tri-state boolean and access control 2023-03-22 00:00:52 +02:00
Henry Jameson 2bf224e214 made draft-mode and source inject-able 2023-03-21 22:46:40 +02:00
Henry Jameson 6b40fc9895 fixes 2023-03-21 22:26:11 +02:00
HJ 021fbd9b58 Merge branch 'poll-expiration-parseInt-before-posting-#1251' into 'develop'
add parseInt in poll expires_in to make sure FE sends integers in all cases

Closes #1251

See merge request pleroma/pleroma-fe!1802
2023-03-21 15:05:25 +00: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 9a97e0d196 modal update, initial localization 2023-03-21 10:26:25 +02:00
Henry Jameson 0b5e536b4c ChoiceSetting support added, added captcha settings 2023-03-20 23:36:47 +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
HJ fa532b1f00 Merge branch 'pleroma-akkoma-emoji-port' into 'develop'
Custom emoji reaction support

See merge request pleroma/pleroma-fe!1792
2023-03-20 20:31:20 +00:00
HJ 19618db192 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1798
2023-03-20 20:26:20 +00:00
Poesty Li 624da7240e Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (984 of 987 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-03-20 20:19:07 +00:00
HJ 716b648014 Merge branch 'fix-user-profile-route-crash' into 'develop'
Fix user-profile route crash on pinned favorites timeline

See merge request pleroma/pleroma-fe!1801
2023-03-20 20:19:01 +00:00
Henry Jameson 332ad77e35 limits tab, backend descriptions 2023-03-19 21:27:07 +02:00
Alexander Tumin 493120b545 Generalize IntegerSetting into NumberSetting, add Integer/Float wrappers 2023-03-18 21:00:50 +03:00
Alexander Tumin 3403f6a1ed Allow custom emoji reactions: add option to scale reaction buttons 2023-03-17 23:55:34 +03:00
Alexander Tumin 306e254c15 Fix user-profile route crash on pinned favorites route 2023-03-17 23:31:53 +03:00
Alexander Tumin 832019b2c2 Hide custom emoji in reaction picker when BE does not advertise pleroma_custom_emoji_reactions 2023-03-17 20:28:16 +03:00
Alexander Tumin 998aa8f732 Allow custom emoji reactions 2023-03-17 20:28:16 +03:00
Henry Jameson ab5408d36e remove obsolete files 2023-03-17 00:10:37 +02:00
Henry Jameson 27f63d5e50 lint 2023-03-17 00:06:31 +02: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 4d23d31fec initial admin settings prototype (WIP) 2023-03-14 21:50:43 +02:00
Henry Jameson 9632b77786 initial implementation of an admin settings module 2023-03-13 00:09:47 +02:00
Henry Jameson 55ea6df40b lint 2023-03-12 17:28:14 +02:00
Henry Jameson 6a7b182af1 fixes for stuff i missed 2023-03-12 17:11:20 +02:00
Henry Jameson 947b73f870 minimize the rest of the sharedcomputedobject 2023-03-12 16:55:39 +02:00
Henry Jameson ac32997f8b move websocket connection logic into module 2023-03-12 16:51:50 +02:00
Henry Jameson af0cd54223 serverSideConfig renamed into profileSettingConfig to avoid confusion
with serverSideStorage, reduced overall need for SharedComputedObject in
settings tabs, moved copypaste code of "setting" type of helpers into a
separate file.
2023-03-12 14:36:49 +02:00
HJ 8abaf8fa37 Merge branch 'tusooa/theme-checkbox' into 'develop'
Fix display of theme checkboxes

See merge request pleroma/pleroma-fe!1797
2023-03-04 13:14:01 +00:00
tusooa da46c30893
Fix display of theme checkboxes 2023-03-03 23:38:56 -05:00
HJ 0842193957 Merge branch 'tusooa/1249-suggestor' into 'develop'
Make suggestor ignore users without valid names

Closes #1249

See merge request pleroma/pleroma-fe!1794
2023-03-03 10:10:06 +00:00
HJ 2e20c2c46a Merge branch 'tusooa/tab-aria' into 'develop'
Give tab switcher a role

See merge request pleroma/pleroma-fe!1793
2023-03-03 10:09:42 +00:00
Pleroma Renovate Bot d4ce0a3a52 Update dependency @intlify/vue-i18n-loader to v5.0.1 2023-03-03 09:05:49 +00:00
tusooa 88db557141
Make suggestor ignore users without valid names
Otherwise it might have undefined issues.
Resolves https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1249
2023-03-02 23:47:55 -05:00
tusooa 1a852b96ef
Give tab switcher a role 2023-03-02 21:15:43 -05:00
tusooa 830085b3e4 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo to v7.21.0

See merge request pleroma/pleroma-fe!1743
2023-03-03 01:41:14 +00:00
tusooa a7ad7f9f17 Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome

See merge request pleroma/pleroma-fe!1780
2023-03-03 01:29:37 +00:00
HJ 0d9054d165 Merge branch 'tusooa/1240-nomore-touchsend' into 'develop'
Remove @touchstart in post status button

Closes #1240

See merge request pleroma/pleroma-fe!1791
2023-03-01 10:28:59 +00:00
tusooa 763ae182b8
Remove @touchstart in post status button 2023-02-28 22:39:53 -05:00
HJ 602c48d1fb Merge branch 'tusooa/1250-autocomplete-select' into 'develop'
Make it possible to auto-select the first candidate in autocomplete

Closes #1250

See merge request pleroma/pleroma-fe!1789
2023-02-27 14:09:28 +00:00
Pleroma Renovate Bot 355f0fd35c Update babel monorepo to v7.21.0 2023-02-21 09:07:47 +00:00
tusooa e516eee479
Make block & mute lists able to load more 2023-02-21 00:39:16 -05:00
tusooa 5468309f6a
Make it possible to auto-select the first candidate in autocomplete 2023-02-20 23:49:34 -05:00
HJ eec27700f0 Merge branch 'tusooa/fix-poll-reg' into 'develop'
Fix poll interaction

See merge request pleroma/pleroma-fe!1788
2023-02-19 17:19:15 +00:00
tusooa 2316bcc842
Fix poll interaction 2023-02-18 13:41:21 -05:00
HJ e45dff0b26 Merge branch 'tusooa/locale-reg' into 'develop'
Fix registration error with email language selected

Closes #1248

See merge request pleroma/pleroma-fe!1787
2023-02-13 02:17:45 +00:00
tusooa 65d78ced93
Fix registration error with email language selected 2023-02-12 15:38:36 -05:00
HJ 7ae61f6bd5 Merge branch 'release/2.5.1' into 'develop'
Add changelog for 2.5.1

See merge request pleroma/pleroma-fe!1786
2023-02-12 19:17:14 +00:00
tusooa 7ccbe902a2 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1776
2023-02-11 05:03:44 +00:00
tusooa 423d1e0433
Add changelog for 2.5.1 2023-02-10 23:58:38 -05:00
Pacific Coast Highway 597c069e36 Translated using Weblate (Chinese (Traditional))
Currently translated at 72.4% (714 of 986 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2023-02-10 09:49:02 +00:00
Dmytro Poltavchenko 30f1502df6 Translated using Weblate (Ukrainian)
Currently translated at 84.9% (838 of 986 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2023-02-10 09:49:02 +00:00
nixe neko 2e9014abd7 Translated using Weblate (Japanese (ja_EASY))
Currently translated at 99.6% (983 of 986 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_EASY/
2023-02-10 09:49:02 +00:00
Poesty Li cb18497902 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (983 of 986 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-02-10 09:49:02 +00:00
Poesty Li 6dc683f602 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (979 of 982 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-02-10 09:49:02 +00:00
Ryan Chiang 79f1d79c4e Translated using Weblate (Chinese (Simplified))
Currently translated at 89.0% (824 of 925 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-02-10 09:49:02 +00:00
HJ 06551d447c Merge branch 'tusooa/checkbox-accessibility' into 'develop'
Make checkbox settings accessible

See merge request pleroma/pleroma-fe!1778
2023-02-10 09:48:55 +00:00
tusooa 902954b298
Use class to style screenreader-only text 2023-02-09 21:35:56 -05:00
Pleroma Renovate Bot 621242f5a1 Update Font Awesome 2023-02-08 09:07:57 +00:00
tusooa 5f8988de92 Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.11

See merge request pleroma/pleroma-fe!1783
2023-02-01 02:27:29 +00:00
Pleroma Renovate Bot c1249ffaf3 Update dependency nightwatch to v2.6.11 2023-01-31 09:09:59 +00:00
tusooa ceebf6ac2e Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.33.0

See merge request pleroma/pleroma-fe!1782
2023-01-30 19:51:31 +00:00
Pleroma Renovate Bot 8351e73bd7 Update dependency eslint to v8.33.0 2023-01-30 09:11:40 +00:00
tusooa 04f5a448e4 Merge branch 'renovate/vue-test-utils-2.x' into 'develop'
Update dependency @vue/test-utils to v2.2.8

See merge request pleroma/pleroma-fe!1781
2023-01-29 13:58:26 +00:00
Pleroma Renovate Bot 796a006a99 Update dependency qrcode to v1.5.1 2023-01-29 09:08:07 +00:00
Pleroma Renovate Bot d2716341cb Update dependency @vue/test-utils to v2.2.8 2023-01-29 09:07:16 +00:00
tusooa 6158b8667e
Make checkbox settings accessible 2023-01-28 22:10:06 -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 af22092472 Merge branch 'tusooa/anon-xact-acc' into 'develop'
Make interact buttons accessible for anonymous users

See merge request pleroma/pleroma-fe!1773
2023-01-28 23:00:07 +00:00
HJ a08378253f Merge branch 'tusooa/topbar-alttext' into 'develop'
Accessibility fixes for panel headers/top bar

See merge request pleroma/pleroma-fe!1772
2023-01-28 22:59:40 +00:00
tusooa 2635e24679 Merge branch 'renovate/babel-loader-9.x' into 'develop'
Update dependency babel-loader to v9.1.2

See merge request pleroma/pleroma-fe!1745
2023-01-28 15:01:26 +00:00
tusooa 93e01aefad Merge branch 'renovate/punycode.js-2.x' into 'develop'
Update dependency punycode.js to v2.3.0

See merge request pleroma/pleroma-fe!1775
2023-01-28 14:57:10 +00:00
Pleroma Renovate Bot ec0b239496 Update dependency punycode.js to v2.3.0 2023-01-27 09:09:34 +00:00
Pleroma Renovate Bot ebf3a2de30 Update dependency cropperjs to v1.5.13 2023-01-27 09:08:52 +00:00
Pleroma Renovate Bot 31c9b6885b Update dependency babel-loader to v9.1.2 2023-01-27 09:08:38 +00:00
tusooa bb1c60fa93 Merge branch 'tusooa/fix-stylelint' into 'develop'
Fix stylelint

See merge request pleroma/pleroma-fe!1777
2023-01-26 00:13:06 +00:00
tusooa 817432bd62
Fix stylelint 2023-01-25 19:01:29 -05: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 03d5c2e140
Make date picker aware of the birthday max value 2023-01-22 11:22:24 -05:00
tusooa dd97a23ce7
Add birthday to registration form 2023-01-22 11:15:52 -05:00
tusooa b1e75c25bd
Merge remote-tracking branch 'upstream/develop' into birthdays 2023-01-22 09:34:01 -05:00
tusooa c7c68340f1
Fix mobile nav stylelint 2023-01-22 09:25:55 -05:00
Tusooa Zhu ce8101e60a
Add remove follower confirmation 2023-01-22 09:25:24 -05:00
tusooa a3c971526a Merge branch 'renovate/eslint-plugin-vue-9.x' into 'develop'
Update dependency eslint-plugin-vue to v9.9.0

See merge request pleroma/pleroma-fe!1774
2023-01-22 14:23:58 +00:00
tusooa 10e119f010 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1765
2023-01-22 14:23:52 +00:00
Pleroma Renovate Bot c5dcaa765e Update dependency eslint-plugin-vue to v9.9.0 2023-01-22 09:08:32 +00:00
tusooa 5f12c3ae76
Fix unit tests 2023-01-21 22:42:53 -05:00
tusooa d159031121
Add some aria to post status form 2023-01-21 16:28:33 -05:00
Tusooa Zhu 68110ce825
Make interact buttons accessible for anonymous users 2023-01-21 15:41:12 -05:00
tusooa 1ab958ba6b
Make quick settings menus more accessible 2023-01-21 15:30:23 -05:00
tusooa 5243632678
Label buttons in top bar 2023-01-21 15:08:17 -05:00
tusooa 5478192e20
Make keys work as intended when there is no suggestions 2023-01-21 14:50:57 -05:00
tusooa 883a8004f2 Translated using Weblate (Chinese (Simplified))
Currently translated at 86.8% (803 of 925 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2023-01-21 15:47:05 +00:00
Tirifto 280ff3520d Translated using Weblate (Esperanto)
Currently translated at 97.7% (904 of 925 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2023-01-21 15:47:05 +00:00
tusooa 3571e264a1 Merge branch 'renovate/eslint-plugin-import-2.x' into 'develop'
Update dependency eslint-plugin-import to v2.27.5

See merge request pleroma/pleroma-fe!1770
2023-01-21 15:46:58 +00:00
Pleroma Renovate Bot 612cfc3d74 Update dependency eslint-plugin-import to v2.27.5 2023-01-21 09:10:42 +00:00
tusooa 246593970b
Make autocomplete prompt more user-friendly 2023-01-21 01:30:44 -05:00
tusooa 72cb9e8bdb
Make all emoji inputs screen-reader-friendly 2023-01-21 01:28:43 -05:00
tusooa 6235af4592
Make screenreaders read out autocomplete results 2023-01-21 01:07:07 -05:00
tusooa 4db7f07421
Make autocomplete items buttons 2023-01-20 23:43:09 -05:00
Tusooa Zhu 5359633c74
Fix timed mute lint 2023-01-20 23:40:12 -05:00
Tusooa Zhu 8a99d129dc
Fix confirm modal lint 2023-01-20 23:40:12 -05:00
Tusooa Zhu 1856eeda40
Auto close confirm dialog after approve/deny 2023-01-20 23:40:12 -05:00
Tusooa Zhu 041bbb1622
Add English translation for accept & deny follow requests 2023-01-20 23:40:12 -05:00
Tusooa Zhu 547e85c7c6
Add confirm dialogs for accept & deny follow requests 2023-01-20 23:40:12 -05:00
Tusooa Zhu b7af37fce8
Add English translation for mute duration 2023-01-20 23:40:12 -05:00
Tusooa Zhu 228a9afdf5
Add timed-mute functionality 2023-01-20 23:40:11 -05:00
Tusooa Zhu 95c15fca22
Use correct html syntax for modal <div> 2023-01-20 23:40:11 -05:00
Tusooa Zhu ec957d4162
Make confirm dialogs work with vue-i18n 9 2023-01-20 23:40:11 -05:00
Tusooa Zhu 91c4a57fe5
Make page unscrollable when confirm modal is shown
Or we could scroll until the component is ... hidden
due to virtual-scrolling, and the modal disappears!
2023-01-20 23:40:11 -05:00
Tusooa Zhu 0b914d7815
Make modal display over the top bar 2023-01-20 23:40:09 -05:00
Tusooa Zhu 76d99c08d6
Move modal out of vue tree 2023-01-20 23:39:45 -05:00
Tusooa Zhu dc04c8cbd4
Use vue3 teleport instead of portal 2023-01-20 23:39:45 -05:00
Tusooa Zhu 39e4746f61
Use portal for modals 2023-01-20 23:39:42 -05:00
Tusooa Zhu 51ade26066
Fix logout confirm dialog title 2023-01-20 23:39:09 -05:00
Tusooa Zhu 8c8a8232c8
Lint 2023-01-20 23:39:09 -05:00
Tusooa Zhu 5c048321e7
Add English translation for logout confirmation 2023-01-20 23:39:09 -05:00
Tusooa Zhu c202c89ca0
Add confirmation for logout 2023-01-20 23:39:08 -05:00
Tusooa Zhu 0bfe100ef7
Add English translation for block confirmation 2023-01-20 23:39:08 -05:00
Tusooa Zhu 3b7aaae2b3
Add confirmation for blocking 2023-01-20 23:39:08 -05:00
Tusooa Zhu c032b48219
Add English translation for mute confirmation 2023-01-20 23:39:08 -05:00
Tusooa Zhu e7e35ead09
Add confirmation for muting 2023-01-20 23:39:08 -05:00
Tusooa Zhu a0c6d642af
Add English translations for repeat and unfollow confirmation 2023-01-20 23:39:08 -05:00
Tusooa Zhu 0684f19d1b
Add ConfirmModal comp 2023-01-20 23:39:08 -05:00
Tusooa Zhu a0b886459b
Add confirmation for following 2023-01-20 23:39:07 -05:00
Tusooa Zhu 4d175235f1
Add confirmation for repeating 2023-01-20 23:39:07 -05:00
Tusooa Zhu f8b522e36d
Add English translations for setting entries 2023-01-20 23:39:07 -05:00
Tusooa Zhu 1ff2948aeb
Add setting entries for whether to show confirmation dialogs 2023-01-20 23:39:07 -05:00
Tusooa Zhu 1e352fbfac
Add English translations for delete status confirm modal 2023-01-20 23:39:07 -05:00
Tusooa Zhu 3ad5df805e
Add delete status confirm modal 2023-01-20 23:39:01 -05:00
tusooa d1876503bc
Display delete status errors 2023-01-20 12:34:15 -05:00
tusooa 0d6435261e Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.32.0

See merge request pleroma/pleroma-fe!1768
2023-01-20 13:27:43 +00:00
tusooa 180e234446 Merge branch 'update-custom-build-doc' into 'develop'
Update doc on making and using custom builds.

See merge request pleroma/pleroma-fe!1767
2023-01-20 13:27:25 +00:00
Pleroma Renovate Bot f6ca593157 Update dependency eslint to v8.32.0 2023-01-19 09:07:41 +00:00
tusooa cf68f2a0be Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.10

See merge request pleroma/pleroma-fe!1764
2023-01-18 22:48:31 +00:00
Henry Jameson ea6254e848 Update doc on making and using custom builds. 2023-01-19 00:26:24 +02:00
tusooa 5b56b6b9fd
Populate user card on receiving chats 2023-01-17 19:55:16 -05:00
Pleroma Renovate Bot 99314e2eaf Update dependency nightwatch to v2.6.10 2023-01-17 09:07:51 +00:00
HJ d22b5bec57 Merge branch 'tusooa/mobile-margin' into 'develop'
Fix mobile layout margin

See merge request pleroma/pleroma-fe!1763
2023-01-16 15:52:44 +00:00
tusooa 52e46fb3eb Merge branch 'renovate/eslint-plugin-n-15.x' into 'develop'
Update dependency eslint-plugin-n to v15.6.1

See merge request pleroma/pleroma-fe!1762
2023-01-16 14:36:31 +00:00
tusooa bd58ccd3b6
Fix mobile layout margin 2023-01-16 09:34:24 -05:00
Pleroma Renovate Bot 73bc93bb46 Update dependency eslint-plugin-n to v15.6.1 2023-01-16 09:12:36 +00:00
tusooa dc897a5fef Merge branch 'tusooa/stylelint' into 'develop'
Use stylelint

Closes #1173 and #857

See merge request pleroma/pleroma-fe!1752
2023-01-15 17:02:24 +00:00
tusooa d2ba67d565
Merge remote-tracking branch 'upstream/develop' into tusooa/stylelint 2023-01-15 10:00:44 -05:00
HJ 4d2056d8aa Merge branch 'tusooa/1175-user-card' into 'develop'
Add status authors from search results to store

Closes #1175

See merge request pleroma/pleroma-fe!1760
2023-01-15 12:37:55 +00:00
HJ 4a5134af02 Merge branch 'tusooa/1195-notif-overflow' into 'develop'
Fix notification attachment icon overflow

Closes #1195

See merge request pleroma/pleroma-fe!1759
2023-01-15 12:37:36 +00:00
HJ f956b0ca37 Merge branch 'tusooa/1159-debounce-wordfilter' into 'develop'
Debounce mute word setting

Closes #1159

See merge request pleroma/pleroma-fe!1758
2023-01-15 12:37:12 +00:00
HJ df632652fa Merge branch 'tusooa/1079-bdi' into 'develop'
Use bdi to isolate repeater name

Closes #1079

See merge request pleroma/pleroma-fe!1757
2023-01-15 12:36:57 +00:00
HJ e7fb5e81c3 Merge branch 'tusooa/nomore-mapundef' into 'develop'
Display better error message for unauthenticated timelines

Closes #1235 and #1044

See merge request pleroma/pleroma-fe!1756
2023-01-15 12:36:44 +00:00
tusooa 10af092800
Add status authors from search results to store 2023-01-15 00:08:59 -05:00
tusooa a58a6d3c35
Fix notification attachment icon overflow 2023-01-14 23:20:28 -05:00
tusooa fa3b07352b
Debounce mute word setting 2023-01-14 22:43:18 -05:00
tusooa 8acbc31a20
Use bdi to isolate repeater name 2023-01-14 22:36:21 -05:00
tusooa c69878cee7
Display better error message for unauthenticated timelines 2023-01-14 22:17:21 -05:00
HJ b4cbbefbd2 Merge branch 'tusooa/noswipe-1img' into 'develop'
Make media modal easier to close if there is only one image

Closes #1237

See merge request pleroma/pleroma-fe!1755
2023-01-14 22:21:59 +00:00
tusooa 274d384572
Make modal easier to close if there is only one image 2023-01-14 10:19:08 -05:00
tusooa a28032fa58
Disable no-shorthand for certain props for better readability 2023-01-13 00:37:42 -05:00
HJ e74482d84b Merge branch '1236-fix-profile-field-delete' into 'develop'
Fix profile field delete

Closes #1236

See merge request pleroma/pleroma-fe!1754
2023-01-12 09:56:25 +00:00
flxy d21ce77670 Use splice instead of delete 2023-01-12 09:45:10 +01:00
HJ 4e02005dd9 Merge branch 'fix-react-popover-input-focus' into 'develop'
Fix react popover input focus

Closes #1233

See merge request pleroma/pleroma-fe!1753
2023-01-11 17:07:47 +00:00
flxy d81fdafacb Pick a better query selector 2023-01-11 14:12:29 +01:00
flxy aea9f92d39 Adjust query selector to actually get the popover now 2023-01-11 13:52:49 +01:00
HJ 5dc6cbd487 Merge branch 'tusooa/1234-emoji-regression' into 'develop'
Fix emoji picker off-by-1 error

Closes #1234

See merge request pleroma/pleroma-fe!1747
2023-01-09 21:11:39 +00:00
HJ 06068afe91 Merge branch 'tusooa/1232-scroll-to-top' into 'develop'
Stop propogation for all top-bar buttons

Closes #1232

See merge request pleroma/pleroma-fe!1748
2023-01-09 21:11:09 +00:00
tusooa 7dc2277453
Use stylelint 2023-01-09 13:02:16 -05:00
tusooa 38961bc167
Update stylelint and support vue/scss 2023-01-09 11:11:37 -05:00
Pleroma Renovate Bot f22d2411b1 Update dependency stylelint to v14 2023-01-07 09:08:31 +00:00
tusooa 9b762a1c69 Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.6

See merge request pleroma/pleroma-fe!1746
2023-01-06 18:57:03 +00:00
tusooa 4cb3523f5d Merge branch 'renovate/vue-test-utils-2.x' into 'develop'
Update dependency @vue/test-utils to v2.2.7

See merge request pleroma/pleroma-fe!1744
2023-01-06 18:56:45 +00:00
tusooa 6d0b3d4d0a
Stop propogation for all top-bar buttons 2023-01-06 13:35:39 -05:00
tusooa 76019d1e03
Fix emoji picker off-by-1 error 2023-01-06 13:14:38 -05:00
Pleroma Renovate Bot c25542d374 Update dependency nightwatch to v2.6.6 2023-01-06 09:07:32 +00:00
Pleroma Renovate Bot 8d79a6b906 Update dependency @vue/test-utils to v2.2.7 2023-01-05 09:08:27 +00:00
tusooa 23d82e06f7 Merge branch 'renovate/babel-loader-9.x' into 'develop'
Update dependency babel-loader to v9

See merge request pleroma/pleroma-fe!1735
2023-01-04 17:23:26 +00:00
tusooa 111d4fb84c Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.4

See merge request pleroma/pleroma-fe!1741
2023-01-04 17:18:45 +00:00
tusooa 7c3e0a1150 Merge branch 'renovate/sinon-15.x' into 'develop'
Update dependency sinon to v15

See merge request pleroma/pleroma-fe!1742
2023-01-04 17:17:16 +00:00
HJ a7387332ed Merge branch 'from/develop/tusooa/emoji-picker-lazy' into 'develop'
Remove lozad, use virtual scrolling

See merge request pleroma/pleroma-fe!1717
2023-01-03 18:57:26 +00:00
Pleroma Renovate Bot 1d4b642bd8 Update dependency sinon to v15 2023-01-03 09:07:52 +00:00
Pleroma Renovate Bot 709eef31c5 Update dependency nightwatch to v2.6.4 2023-01-03 09:07:04 +00:00
tusooa 47af5419b1
Clean up code 2023-01-02 14:01:56 -05:00
tusooa 081a416103
Calculate display count from width 2023-01-02 13:42:09 -05:00
tusooa 6cc3b239f6
Load emoji row by row 2023-01-02 13:25:59 -05:00
tusooa 314a4474f6
Fix header indicator 2023-01-02 12:40:03 -05:00
tusooa afd7f5fabe
Use virtual scrolling for emoji picker 2023-01-02 11:49:48 -05:00
tusooa d0c7ceb584
Remove lozad 2023-01-02 11:48:39 -05:00
tusooa 78081836df
Remove lozad code 2023-01-02 11:48:34 -05:00
tusooa 3e8aa0a398 Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.31.0

See merge request pleroma/pleroma-fe!1734
2023-01-02 16:43:54 +00:00
tusooa bb9e0ddc5b Merge branch 'renovate/chromedriver-108.x' into 'develop'
Update dependency chromedriver to v108

See merge request pleroma/pleroma-fe!1738
2023-01-02 16:43:30 +00:00
HJ 924ae1698b Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1737
2023-01-02 16:36:23 +00:00
Ihor Andreew cf2b44acfd Translated using Weblate (Ukrainian)
Currently translated at 90.4% (834 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2023-01-02 16:28:12 +00:00
Dmytro Poltavchenko 1120eb3694 Translated using Weblate (Ukrainian)
Currently translated at 87.9% (811 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2023-01-02 16:28:12 +00:00
HJ b9b4181f17 Merge branch 'from/develop/tusooa/1221-quote-style' into 'develop'
Improve quote style

Closes #1221

See merge request pleroma/pleroma-fe!1697
2023-01-02 16:28:05 +00:00
HJ b5d4c43bc2 Merge branch 'tusooa/announcements-priv' into 'develop'
Make announcements available to all with privileges

See merge request pleroma/pleroma-fe!1716
2023-01-02 16:27:32 +00:00
HJ 4361e15377 Merge branch 'tusooa/backup-state' into 'develop'
Display detailed backup state

See merge request pleroma/pleroma-fe!1715
2023-01-02 16:27:01 +00:00
HJ 3e4a8186a8 Merge branch 'tusooa/list-add' into 'develop'
Fix list membership actions

See merge request pleroma/pleroma-fe!1733
2023-01-02 16:25:09 +00:00
HJ 1ffa6e2f0b Merge branch 'tusooa/unpacked-emoji' into 'develop'
Include unpacked emojis in emoji picker

Closes #1230

See merge request pleroma/pleroma-fe!1736
2023-01-02 16:24:43 +00:00
Pleroma Renovate Bot 86557b2387 Update dependency chromedriver to v108 2023-01-01 09:07:29 +00:00
tusooa 876e51603a
Include unpacked emojis in emoji picker 2022-12-31 12:29:33 -05:00
Pleroma Renovate Bot 9f4b9e634d Update dependency babel-loader to v9 2022-12-31 09:08:51 +00:00
Pleroma Renovate Bot 7c9a86274a Update dependency eslint to v8.31.0 2022-12-31 09:08:29 +00:00
tusooa da7d24b5c2 Merge branch 'renovate/mini-css-extract-plugin-2.x' into 'develop'
Update dependency mini-css-extract-plugin to v2.7.2

See merge request pleroma/pleroma-fe!1724
2022-12-31 05:54:01 +00:00
tusooa d83c5c1fe1 Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2.6.3

See merge request pleroma/pleroma-fe!1728
2022-12-30 21:48:37 +00:00
tusooa bb44fcb435 Merge branch 'renovate/sass-loader-13.x' into 'develop'
Update dependency sass-loader to v13.2.0

See merge request pleroma/pleroma-fe!1730
2022-12-30 21:47:54 +00:00
tusooa b8741e8d70 Merge branch 'renovate/webpack-5.x' into 'develop'
Update dependency webpack to v5.75.0

See merge request pleroma/pleroma-fe!1731
2022-12-30 21:42:28 +00:00
tusooa 5e98ee05e4
Fix list membership actions 2022-12-30 16:26:50 -05:00
tusooa 6d66c3a717 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1725
2022-12-30 21:12:02 +00:00
Pleroma Renovate Bot 8e8a47950b Update dependency webpack to v5.75.0 2022-12-30 09:09:20 +00:00
Pleroma Renovate Bot 0c16605485 Update dependency sass-loader to v13.2.0 2022-12-30 09:09:07 +00:00
Pleroma Renovate Bot 527d7fbd02 Update dependency nightwatch to v2.6.3 2022-12-30 09:08:48 +00:00
Pleroma Renovate Bot 8b79caf2d1 Update dependency mini-css-extract-plugin to v2.7.2 2022-12-30 09:08:30 +00:00
Tirifto a1520b172a Translated using Weblate (Esperanto)
Currently translated at 98.0% (904 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2022-12-29 20:07:13 +00:00
Dmytro Poltavchenko 010fdd8c24 Translated using Weblate (Ukrainian)
Currently translated at 87.8% (810 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2022-12-29 20:07:13 +00:00
Dmytro Poltavchenko de8c97f3a0 Translated using Weblate (Ukrainian)
Currently translated at 87.8% (810 of 922 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2022-12-29 20:07:12 +00:00
tusooa 09a9afbe0f Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.57.1

See merge request pleroma/pleroma-fe!1729
2022-12-29 20:07:07 +00:00
tusooa dcd4630913 Merge branch 'renovate/mocha-10.x' into 'develop'
Update dependency mocha to v10.2.0

See merge request pleroma/pleroma-fe!1727
2022-12-29 20:00:28 +00:00
Pleroma Renovate Bot 51f070798c Update dependency sass to v1.57.1 2022-12-29 09:07:33 +00:00
Pleroma Renovate Bot 7ffa5c9199 Update dependency mocha to v10.2.0 2022-12-28 09:07:14 +00:00
HJ 76585b9251 Merge branch 'tusooa/notif-settings' into 'develop'
Make notification settings work

See merge request pleroma/pleroma-fe!1726
2022-12-27 20:22:05 +00:00
tusooa 3d28de2d9a Merge branch 'renovate/eslint-plugin-vue-9.x' into 'develop'
Update dependency eslint-plugin-vue to v9.8.0

See merge request pleroma/pleroma-fe!1723
2022-12-27 18:52:02 +00:00
tusooa 01807446a8
Make notification settings work 2022-12-27 13:46:50 -05:00
Pleroma Renovate Bot 028d6c8982 Update dependency eslint-plugin-vue to v9.8.0 2022-12-27 09:07:11 +00:00
tusooa 798b51a07c Merge branch 'renovate/babel-loader-8.x' into 'develop'
Update dependency babel-loader to v8.3.0

See merge request pleroma/pleroma-fe!1720
2022-12-26 17:06:06 +00:00
tusooa 581564f4fc Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.30.0

See merge request pleroma/pleroma-fe!1721
2022-12-26 17:03:07 +00:00
tusooa 33eb3f69f0 Merge branch 'renovate/vue-monorepo' into 'develop'
Update vue monorepo

See merge request pleroma/pleroma-fe!1718
2022-12-26 17:02:46 +00:00
Pleroma Renovate Bot d6fbec9797 Update dependency eslint to v8.30.0 2022-12-26 09:07:18 +00:00
Pleroma Renovate Bot bf591bf97f Update dependency babel-loader to v8.3.0 2022-12-26 09:07:00 +00:00
Pleroma Renovate Bot 6104324fd3 Update vue monorepo 2022-12-25 09:08:26 +00:00
tusooa e7f41fdca9 Merge branch 'renovate/webpack-hot-middleware-2.x' into 'develop'
Update dependency webpack-hot-middleware to v2.25.3

See merge request pleroma/pleroma-fe!1714
2022-12-24 19:23:35 +00:00
tusooa 28477d6628 Merge branch 'renovate/postcss-loader-7.x' into 'develop'
Update dependency postcss-loader to v7.0.2

See merge request pleroma/pleroma-fe!1713
2022-12-24 19:20:06 +00:00
tusooa e2113cc4c4 Merge branch 'renovate/css-loader-6.x' into 'develop'
Update dependency css-loader to v6.7.3

See merge request pleroma/pleroma-fe!1698
2022-12-24 19:17:40 +00:00
tusooa b65a89c822
Make announcements available to all with privileges 2022-12-24 12:17:09 -05:00
tusooa 78690cdf51
Display detailed backup state 2022-12-24 11:58:33 -05:00
Pleroma Renovate Bot 6e6ee702b3 Update dependency webpack-hot-middleware to v2.25.3 2022-12-24 09:08:49 +00:00
Pleroma Renovate Bot 627ae44afa Update dependency postcss-loader to v7.0.2 2022-12-24 09:08:33 +00:00
Pleroma Renovate Bot 2d3b0e322f Update dependency css-loader to v6.7.3 2022-12-24 09:08:18 +00:00
tusooa c685fd4004 Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome

See merge request pleroma/pleroma-fe!1680
2022-12-24 05:44:01 +00:00
tusooa 7bda596744 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo

See merge request pleroma/pleroma-fe!1676
2022-12-24 05:41:35 +00:00
tusooa 9be6b4f02a Merge branch 'renovate/karma-spec-reporter-0.x' into 'develop'
Update dependency karma-spec-reporter to v0.0.36

See merge request pleroma/pleroma-fe!1704
2022-12-24 05:39:48 +00:00
tusooa 6bb54f34d0 Merge branch 'renovate/autoprefixer-10.x' into 'develop'
Update dependency autoprefixer to v10.4.13

See merge request pleroma/pleroma-fe!1666
2022-12-24 05:39:26 +00:00
tusooa c624a5b645 Merge branch 'renovate/postcss-8.x' into 'develop'
Update dependency postcss to v8.4.20

See merge request pleroma/pleroma-fe!1664
2022-12-24 05:37:27 +00:00
tusooa 7e2ae2ba95
Optimize UI 2022-12-23 23:02:21 -05:00
Tusooa Zhu 52eef2eed1
Add English translations for multiple interface languages 2022-12-23 22:46:17 -05:00
Tusooa Zhu b7e9373965
Add support for multiple interface languages 2022-12-23 22:45:55 -05:00
HJ 3a507ba9b2 Merge branch 'develop' into 'master'
Update stable - 2.5.0 release

See merge request pleroma/pleroma-fe!1711
2022-12-23 13:31:18 +00:00
HJ 25e628efe2 Merge branch 'fix-master-conflicts' into 'develop'
fix master/develop merge conflicts

See merge request pleroma/pleroma-fe!1712
2022-12-23 13:25:02 +00:00
Henry Jameson 045459c75c Merge branch 'master' into develop
* master:
  fix changelog entries in wrong places
  changelog date
  set changelog version
  rc 2.2.3
  mark unreleased as 2.2.2 in changelog
  set patch date to correct
  update changelog for 2.2.0
  update changelog for 2.1.2
  update changelog with 2.1.1
  fix boomarks mistake in changelog
  add missing release to changelog to fix conflicts
  add back unreleased/patch
  set 2.1.0 date and remove rc from changelog
  change changelog
  update changelog for 2.0.5
  Revert "remove with_move param"
2022-12-23 15:18:00 +02:00
HJ 75754168b2 Merge branch 'hj-develop-patch-80463' into 'develop'
Update CHANGELOG.md

See merge request pleroma/pleroma-fe!1710
2022-12-23 13:09:59 +00:00
HJ 6269859c48 Update CHANGELOG.md 2022-12-23 13:09:45 +00:00
HJ 85c4a65b07 Merge branch 'preparing-for-2.5.0' into 'develop'
Preparing for 2.5.0 release

See merge request pleroma/pleroma-fe!1709
2022-12-23 13:08:37 +00:00
Pleroma Renovate Bot d4d3e7be53 Update babel monorepo 2022-12-23 09:08:49 +00:00
HJ 2fa5dfc279 less John Paul "Scatman" Larkin content in the screenshot 2022-12-22 14:41:36 +00:00
HJ 10c6860846 Update README.md, image.png 2022-12-22 14:27:05 +00:00
Henry Jameson 2f98c70829 Update to package json file 2022-12-22 15:52:41 +02:00
Henry Jameson f662bdc6fd Clean up changelog, reordered so that more important to user stuff is
higher up in list and less important is at the bottom, changed
unreleased to 2.5.0
2022-12-22 15:51:45 +02:00
HJ eae62e2eb8 Merge branch 'fix-excessive-reregistrations' into 'develop'
Fix rogue nested watcher triggering notifications registering too often

Closes #1159

See merge request pleroma/pleroma-fe!1708
2022-12-22 13:15:46 +00:00
HJ e009510c52 Merge branch 'from/develop/tusooa/user-note' into 'develop'
User note

See merge request pleroma/pleroma-fe!1612
2022-12-22 13:14:30 +00:00
HJ 515dcfd339 Merge branch 'expand-notifications' into 'develop'
add icon to allow expand collapsed (status-related) notifications

Closes #1224

See merge request pleroma/pleroma-fe!1701
2022-12-22 10:48:01 +00:00
Henry Jameson 8a594e2f98 more aria 2022-12-22 12:31:49 +02:00
tusooa 9f30ccc26b Apply 1 suggestion(s) to 1 file(s) 2022-12-22 10:28:24 +00:00
Tusooa Zhu 2e25120192
Make notes editable only on user profile 2022-12-21 23:18:40 -05:00
Tusooa Zhu a35fa29a6b
Use textarea for note input 2022-12-21 23:18:14 -05:00
Tusooa Zhu 9ab3f27f72
Test if server supports note 2022-12-21 23:18:12 -05:00
Tusooa Zhu 9f51517ecd
Make API requests to edit note 2022-12-21 23:17:39 -05:00
Tusooa Zhu 1101305ffb
Add ui for note editing 2022-12-21 23:16:00 -05:00
Henry Jameson 3cba358743 fix nested properties watcher being triggered far too often 2022-12-21 23:45:35 +02:00
HJ cb175d3f65 Merge branch 'fix-interactions-null-deref' into 'develop'
Fix interactions tab null dereference

See merge request pleroma/pleroma-fe!1707
2022-12-21 21:08:21 +00:00
Alexander Tumin 48be4e9cb6 Fix notifications/interactions null dereference 2022-12-21 23:59:38 +03:00
Henry Jameson 5bde89297c a11y 2022-12-21 22:58:41 +02:00
HJ 830b0008a2 Merge branch 'fix-passwords-same' into 'develop'
fix passwords not being detected as same

Closes #1228

See merge request pleroma/pleroma-fe!1706
2022-12-21 20:46:40 +00:00
Henry Jameson a1e7e7782f fix passwords not being detected as same 2022-12-21 22:41:17 +02:00
Pleroma Renovate Bot 48c8aebbe3 Update dependency karma-spec-reporter to v0.0.36 2022-12-20 23:33:20 +00:00
HJ 15eed4d8d2 Merge branch 'less-null-color-error' into 'develop'
more resistant code for color parsing error

See merge request pleroma/pleroma-fe!1702
2022-12-20 12:52:14 +00:00
Xnuk Shuman 2fc0927b7a
more resistant code for color parsing error 2022-12-20 21:38:08 +09:00
Henry Jameson efdcfedfbe add icon to allow expand collapsed (status-related) notifications 2022-12-19 22:20:15 +02:00
HJ 10fb8efddf Merge branch 'name-normalize' into 'develop'
Normalize tusooa's name

See merge request pleroma/pleroma-fe!1700
2022-12-19 16:47:57 +00:00
tusooa a5fae86bff Merge branch 'renovate/eslint-plugin-n-15.x' into 'develop'
Update dependency eslint-plugin-n to v15.6.0

See merge request pleroma/pleroma-fe!1682
2022-12-19 16:06:11 +00:00
tusooa 922fdfaf17 Normalize tusooa's name
I don't have a last name and that part is solely to pass some arbitrary
name filter on some badly-implemented forge.
2022-12-19 14:50:42 +00:00
tusooa 3745084eca Merge branch 'fix-private-nav' into 'develop'
fix private mode & timelines dropdown

Closes #1220

See merge request pleroma/pleroma-fe!1696
2022-12-15 15:28:57 +00:00
Pleroma Renovate Bot 2c34b43f59 Update dependency autoprefixer to v10.4.13 2022-12-15 09:07:09 +00:00
tusooa d2f97bf833
Improve quote style 2022-12-14 19:26:34 -05:00
Henry Jameson d6c8821d37 fix private mode & timelines dropdown 2022-12-15 00:53:32 +02:00
tusooa bcb24938aa Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1684
2022-12-14 16:01:46 +00:00
Tirifto 50a02a603d Translated using Weblate (Esperanto)
Currently translated at 96.7% (885 of 915 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Xnuk Shuman 3c00bf1b46 Translated using Weblate (Korean)
Currently translated at 99.5% (911 of 915 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Xnuk Shuman 160a7e4b01 Translated using Weblate (French)
Currently translated at 97.3% (891 of 915 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2022-12-14 13:35:04 +00:00
Xnuk Shuman 65b87d9ae7 Translated using Weblate (Korean)
Currently translated at 98.6% (883 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Haelwenn 4f99ff4b98 Translated using Weblate (French)
Currently translated at 99.5% (891 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2022-12-14 13:35:04 +00:00
Ahmad Dakhlallah 78ac44eed8 Translated using Weblate (Arabic)
Currently translated at 15.0% (135 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ar/
2022-12-14 13:35:04 +00:00
Xnuk Shuman 2a219bdb36 Translated using Weblate (Korean)
Currently translated at 98.3% (880 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Xnuk Shuman fb87f46f31 Translated using Weblate (Korean)
Currently translated at 97.7% (875 of 895 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2022-12-14 13:35:04 +00:00
Tirifto a756108ddb Translated using Weblate (Esperanto)
Currently translated at 97.6% (866 of 887 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Tirifto ccc01f7358 Translated using Weblate (Esperanto)
Currently translated at 93.9% (833 of 887 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Tirifto b106ca15ce Translated using Weblate (Esperanto)
Currently translated at 91.3% (800 of 876 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/eo/
2022-12-14 13:35:04 +00:00
Dmytro Poltavchenko 4fd00c9256 Translated using Weblate (Ukrainian)
Currently translated at 87.0% (732 of 841 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/uk/
2022-12-14 13:35:04 +00:00
Fristi 065112e985 Translated using Weblate (Dutch)
Currently translated at 100.0% (805 of 805 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/nl/
2022-12-14 13:35:04 +00:00
tusooa 4cb18cac1a Merge branch 'renovate/vue-test-utils-2.x' into 'develop'
Update dependency @vue/test-utils to v2.2.6

See merge request pleroma/pleroma-fe!1693
2022-12-14 13:34:55 +00:00
tusooa bc6b5d94c6 Merge branch 'handle-webpack-build-error' into 'develop'
Throw non-zero exit code if webpack build fails

See merge request pleroma/pleroma-fe!1695
2022-12-13 13:13:46 +00:00
Pleroma Renovate Bot 943f66a8a0 Update dependency postcss to v8.4.20 2022-12-12 11:39:15 +00:00
Xnuk Shuman 6d6629eb50
Throw non-zero exit code if webpack build fails
Not only `err`, `stats.hasErrors` also should be handled.
I found this bug in [Pipeline 42881 build] - some errors exist,
but build result was successful.

See also: https://webpack.js.org/api/node/#error-handling

[Pipeline 42881 build]: https://git.pleroma.social/pleroma/pleroma-fe/-/jobs/225066
2022-12-10 14:55:04 +09:00
Pleroma Renovate Bot 7739ecb47b Update dependency @vue/test-utils to v2.2.6 2022-12-09 09:07:38 +00:00
tusooa d9dbd7064b Merge branch 'xnuk-develop-patch-08175' into 'develop'
Untranslated text "Users" in mute settings

See merge request pleroma/pleroma-fe!1691
2022-12-09 02:43:54 +00:00
tusooa 1a14a76bec Merge branch 'xnuk-develop-patch-36343' into 'develop'
Fix not to show "Save changes" button in "Delete account" section

See merge request pleroma/pleroma-fe!1690
2022-12-09 02:43:23 +00:00
tusooa 74297663ec Merge branch 'renovate/sinon-14.x' into 'develop'
Update dependency sinon to v14.0.2

See merge request pleroma/pleroma-fe!1683
2022-12-09 02:42:05 +00:00
tusooa 46ff9f16d9 Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.29.0

See merge request pleroma/pleroma-fe!1677
2022-12-09 02:41:43 +00:00
Xnuk Shuman 4f66220812
Fix not to show "Save changes" button in "Delete account" section 2022-12-08 06:25:21 +09:00
Xnuk Shuman b28565e2d6
Untranslated text "Users" in mute settings 2022-12-08 06:20:57 +09:00
HJ b6fe063820 Merge branch 'change/sean-king-contributor-attribute' into 'develop'
Changing my fediverse address in CONTRIBUTORS.md

See merge request pleroma/pleroma-fe!1692
2022-12-05 19:54:39 +00:00
Sean King 4d05cec7b1
I stand with the chad tusooa 2022-12-05 11:50:08 -07: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
Pleroma Renovate Bot 8368596dd7 Update dependency eslint-plugin-n to v15.6.0 2022-12-05 09:08:07 +00:00
Pleroma Renovate Bot 3fa0715a62 Update dependency eslint to v8.29.0 2022-12-03 09:08:24 +00:00
HJ e41edd1bbf Merge branch 'from/develop/tusooa/fix-fetchTimeline' into 'develop'
Fix fetchTimeline error

See merge request pleroma/pleroma-fe!1688
2022-11-29 14:56:11 +00:00
HJ 6175a153ed Merge branch 'shout-float-fix' into 'develop'
Fix HTML exploit of the day (shout-float in rich media)

See merge request pleroma/pleroma-fe!1689
2022-11-26 22:17:18 +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 4b252ea8d3
Fix fetchTimeline error 2022-11-24 23:12:08 -05:00
tusooa f3a245f899
Fix announcements not showing on nav panel 2022-11-24 18:48:22 -05:00
Tusooa Zhu a3aabf0d2a
Lint 2022-11-24 18:40:04 -05:00
Tusooa Zhu 1fc0a8b332
Fix announcements lint 2022-11-24 18:39:46 -05:00
tusooa d74d5a8ce2
Detect backend support for announcements 2022-11-24 18:39:42 -05:00
Tusooa Zhu fa69034020
Prevent announcement buttons from being too wide 2022-11-24 18:30:07 -05:00
Tusooa Zhu 54318d31fe
Fix announcement buttons style on narrow screens 2022-11-24 18:30:00 -05:00
Tusooa Zhu f3d97cf917
Improve readability in fetchAnnouncements() 2022-11-24 18:29:52 -05:00
Tusooa Zhu 23a9a46580
Add English translation for announcement published time 2022-11-24 18:29:40 -05:00
Tusooa Zhu 68ef7e4e65
Add published time for announcements 2022-11-24 18:29:31 -05:00
Tusooa Zhu 7a73f2fcd2
Fix announcement content not showing properly 2022-11-24 18:27:58 -05:00
Tusooa Zhu dd5cc08a3e
Port away from Vue2 Vue.set() 2022-11-24 18:27:44 -05:00
Tusooa Zhu 5f633bbfa3
Change name for the announcement being edited to editedAnnouncement 2022-11-24 18:27:15 -05:00
Tusooa Zhu eac0008002
Readablify unreadAnnouncementCount 2022-11-24 18:27:15 -05:00
Tusooa Zhu d6dd394cd9
Do not count unread announcements for guests 2022-11-24 18:27:14 -05:00
Tusooa Zhu 8cb7f7d6d2
Start fetching announcements on page load 2022-11-24 18:27:14 -05:00
Tusooa Zhu b4a7e58bec
Show badges for unread announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu fe1d01ec9a
Add English translation for inactive announcement message 2022-11-24 18:27:14 -05:00
Tusooa Zhu 458ce54143
Mark inactive and active announcements for admin 2022-11-24 18:27:14 -05:00
Tusooa Zhu 1972e57ceb
Add English translations for editing announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu 89c49b6fb4
Allow editing announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu 0e51e824a2
Add English translation for announcement dates 2022-11-24 18:27:14 -05:00
Tusooa Zhu 04fbb6d93d
Show announcement dates 2022-11-24 18:27:14 -05:00
Tusooa Zhu ce84557190
Add English translation for posting announcement metadata 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 db5c0c3502
Add English translation for deleting announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu e877fedb0e
Implement deleting announcement 2022-11-24 18:27:14 -05:00
Tusooa Zhu efb76dcb03
Add English translations for posting announcements 2022-11-24 18:27:14 -05:00
Tusooa Zhu e494e74643
Implement posting announcements 2022-11-24 18:27:13 -05:00
Tusooa Zhu e5b49ae34b
Add English translations for 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
Tusooa Zhu e067783a30
Add announcement display with placeholder messages 2022-11-24 18:26:46 -05:00
tusooa 045a222183 Merge branch 'better-defaults-user-popovers' into 'develop'
Better defaults for user popovers

See merge request pleroma/pleroma-fe!1685
2022-11-24 23:23:03 +00:00
tusooa 2e3d4d7728 Merge branch 'fix-leaky-journal' into 'develop'
fix leaky journal by running uniq on addToCollection entries

Closes #1214

See merge request pleroma/pleroma-fe!1687
2022-11-24 22:16:42 +00:00
Henry Jameson 1512431973 fix leaky journal by running uniq on addToCollection entries 2022-11-24 22:31:38 +02:00
HJ da94c94fbe Merge branch 'lint' into 'develop'
lint

See merge request pleroma/pleroma-fe!1686
2022-11-21 20:24:24 +00:00
Henry Jameson 3c0e7882b1 lint 2022-11-21 22:17:33 +02:00
HJ cf294f2d18 Merge branch 'gitlab-templates' into 'develop'
add gitlab templates

See merge request pleroma/pleroma-fe!1577
2022-11-21 19:56:27 +00: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
Henry Jameson 96d45617e2 make better defaults for user popovers, closer to OG behavior 2022-11-21 21:44:03 +02:00
HJ 72a5eaf40a Merge branch 'emoji-popovers' into 'develop'
use Popover for Emoji picker + suggestor

See merge request pleroma/pleroma-fe!1648
2022-11-21 19:36:15 +00:00
HJ 896cbf89f6 Merge branch 'minor-fixes-batch' into 'develop'
Minor fixes batch

Closes #1192, #1193, and #1196

See merge request pleroma/pleroma-fe!1651
2022-11-21 19:35:49 +00:00
HJ 513b81a23b Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part

See merge request pleroma/pleroma-fe!1419
2022-11-21 19:34:19 +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
Pleroma Renovate Bot 1c2690a07b Update Font Awesome 2022-11-16 09:04:33 +00:00
tusooa b28cdf2cbd Apply 1 suggestion(s) to 1 file(s) 2022-11-09 19:32:49 +00:00
Pleroma Renovate Bot 09a5870498 Update dependency sinon to v14.0.2 2022-11-09 09:05:42 +00:00
tusooa 6263ad7571 Merge branch 'from/develop/tusooa/accessibility-regression' into 'develop'
Fix accessibility regressions

Closes #1217

See merge request pleroma/pleroma-fe!1679
2022-11-08 23:53:59 +00:00
tusooa 23d30c8720 Merge branch 'renovate/eslint-plugin-n-15.x' into 'develop'
Update dependency eslint-plugin-n to v15.5.0

See merge request pleroma/pleroma-fe!1678
2022-11-08 15:40:33 +00:00
tusooa e3135d3bba Merge branch 'renovate/chai-4.x' into 'develop'
Update dependency chai to v4.3.7

See merge request pleroma/pleroma-fe!1681
2022-11-08 15:40:01 +00:00
tusooa b718c0c77d
Use feed role for notifs and timelines 2022-11-08 10:34:38 -05:00
Pleroma Renovate Bot d8135228bf Update dependency chai to v4.3.7 2022-11-08 09:06:02 +00:00
tusooa 17aa503106
Make notification panel a list of articles 2022-11-08 00:43:33 -05:00
tusooa a34bea75a8
Handle properly 2-col and 3-col desktop notifications 2022-11-08 00:37:22 -05:00
tusooa 771933183b
Make user panel and notification <aside> 2022-11-08 00:23:08 -05:00
tusooa 3b8429b4f8 Merge branch 'renovate/node-16.x' into 'develop'
Update Node.js to v16.18.1

See merge request pleroma/pleroma-fe!1675
2022-11-08 02:34:15 +00:00
tusooa d41e7a4c6d
Make timeline a list of articles 2022-11-07 13:53:56 -05:00
tusooa 038b45e64a
Add labels to mobile navs 2022-11-07 13:39:48 -05:00
tusooa f715de43f2
Add labels for timeline header 2022-11-07 13:22:40 -05:00
tusooa f0ba0e6855
Use <main> for main content 2022-11-07 12:49:41 -05:00
tusooa f8956a37b2
Add title to mobile post button 2022-11-07 12:43:45 -05:00
Pleroma Renovate Bot 829486ba67 Update dependency eslint-plugin-n to v15.5.0 2022-11-07 09:08:12 +00:00
tusooa 1a0d7f5421 Merge branch 'renovate/eslint-plugin-promise-6.x' into 'develop'
Update dependency eslint-plugin-promise to v6.1.1

See merge request pleroma/pleroma-fe!1673
2022-11-07 04:00:36 +00:00
Pleroma Renovate Bot 21d990a931 Update dependency eslint-plugin-promise to v6.1.1 2022-11-06 09:05:43 +00:00
Pleroma Renovate Bot 49a6488d72 Update Node.js to v16.18.1 2022-11-06 09:03:30 +00:00
tusooa 494e1c19c8 Merge branch 'renovate/eslint-plugin-vue-9.x' into 'develop'
Update dependency eslint-plugin-vue to v9.7.0

See merge request pleroma/pleroma-fe!1674
2022-11-05 19:34:17 +00:00
tusooa f3259e4363 Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.26.0

See merge request pleroma/pleroma-fe!1671
2022-11-05 19:31:03 +00:00
tusooa 4714f06dbf Merge branch 'renovate/eslint-plugin-n-15.x' into 'develop'
Update dependency eslint-plugin-n to v15.4.0

See merge request pleroma/pleroma-fe!1672
2022-11-05 19:30:43 +00:00
tusooa f22cc9116c Merge branch 'renovate/vue-monorepo' into 'develop'
Update vue monorepo

See merge request pleroma/pleroma-fe!1654
2022-11-05 19:30:16 +00:00
tusooa f000eea0bf Merge branch 'scrolltotop' into 'develop'
add "scroll to top" button to timelines and notifications

See merge request pleroma/pleroma-fe!1605
2022-11-05 19:20:54 +00:00
Henry Jameson c1be65332f always focus search when opening emoji picker 2022-11-01 23:25:34 +02:00
Henry Jameson a1e49ae999 fix theme tab color indicators 2022-11-01 23:21:50 +02:00
Henry Jameson e80bf50a36 lint 2022-11-01 23:05:17 +02:00
Henry Jameson 3aadad3013 show counter in show new button on mobile 2022-11-01 22:26:04 +02:00
Pleroma Renovate Bot 5c6b5f84d9 Update dependency eslint-plugin-vue to v9.7.0 2022-11-01 09:06:48 +00:00
Pleroma Renovate Bot c031e03f49 Update dependency eslint-plugin-n to v15.4.0 2022-10-31 09:12:03 +00:00
Pleroma Renovate Bot 51c05710a0 Update dependency eslint to v8.26.0 2022-10-31 09:11:20 +00:00
Pleroma Renovate Bot bbb3b956a1 Update vue monorepo 2022-10-31 09:10:35 +00:00
tusooa e256ac9d08 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo

See merge request pleroma/pleroma-fe!1655
2022-10-30 17:15:37 +00:00
tusooa fe09f45572 Merge branch 'renovate/vue-router-4.x' into 'develop'
Update dependency vue-router to v4.1.6

See merge request pleroma/pleroma-fe!1667
2022-10-30 17:12:52 +00:00
tusooa b3ee2d93c7 Merge branch 'renovate/vue-test-utils-2.x' into 'develop'
Update dependency @vue/test-utils to v2.2.1

See merge request pleroma/pleroma-fe!1669
2022-10-30 17:10:38 +00:00
tusooa 2bdc322d12 Merge branch 'renovate/css-minimizer-webpack-plugin-4.x' into 'develop'
Update dependency css-minimizer-webpack-plugin to v4.2.2

See merge request pleroma/pleroma-fe!1670
2022-10-30 17:09:59 +00:00
Pleroma Renovate Bot d477330b62 Update dependency css-minimizer-webpack-plugin to v4.2.2 2022-10-30 09:08:54 +00:00
tusooa b6d29e49ed Merge branch 'renovate/node-16.x' into 'develop'
Update Node.js to v16.18.0

See merge request pleroma/pleroma-fe!1668
2022-10-30 00:14:18 +00:00
Pleroma Renovate Bot 867a8e6055 Update dependency @vue/test-utils to v2.2.1 2022-10-29 09:07:05 +00:00
Pleroma Renovate Bot 00c236ce8e Update Node.js to v16.18.0 2022-10-29 09:06:37 +00:00
Pleroma Renovate Bot 96e815bc53 Update babel monorepo 2022-10-28 09:11:26 +00:00
Pleroma Renovate Bot 44e8a10148 Update dependency vue-router to v4.1.6 2022-10-28 09:09:47 +00:00
tusooa d256838f78 Merge branch 'renovate/karma-6.x' into 'develop'
Update dependency karma to v6.4.1

See merge request pleroma/pleroma-fe!1649
2022-10-20 21:34:49 +00:00
tusooa 92115f66ae Merge branch 'renovate/sinon-14.x' into 'develop'
Update dependency sinon to v14.0.1

See merge request pleroma/pleroma-fe!1653
2022-10-20 21:24:38 +00:00
Pleroma Renovate Bot 6347817e0a Update dependency sinon to v14.0.1 2022-10-19 09:09:18 +00:00
tusooa 8621d2a484 Merge branch 'renovate/semver-7.x' into 'develop'
Update dependency semver to v7.3.8

See merge request pleroma/pleroma-fe!1652
2022-10-19 01:08:42 +00:00
Pleroma Renovate Bot 4f33209aff Update dependency semver to v7.3.8 2022-10-18 09:06:23 +00:00
Henry Jameson 87a78aae57 add new search to reaction picker and make hardcoded set... better 2022-10-17 22:45:38 +03:00
Henry Jameson 3bdff6e6ee use better color slot for selected pins #1193 2022-10-17 22:13:49 +03:00
Henry Jameson 8f55cae515 fix picked emoji not being highlighted #1196 + updated its CSS structure 2022-10-17 22:11:07 +03:00
Henry Jameson eba5d3f4d7 fix staff panel #1192 2022-10-17 22:10:57 +03:00
Henry Jameson 373fb077a8 use new color slot for badges 2022-10-17 21:50:49 +03:00
Henry Jameson 1435b65e36 add titles to mobile buttons 2022-10-17 21:50:37 +03:00
Henry Jameson 11f9a7ba27 update popover styles when caret updates 2022-10-17 21:23:25 +03:00
Pleroma Renovate Bot 8d3703cb00 Update dependency karma to v6.4.1 2022-10-17 09:09:25 +00:00
tusooa 7e6812784b Merge branch 'renovate/autoprefixer-10.x' into 'develop'
Update dependency autoprefixer to v10.4.12

See merge request pleroma/pleroma-fe!1646
2022-10-17 00:46:25 +00:00
tusooa 67b6124828 Merge branch 'renovate/express-4.x' into 'develop'
Update dependency express to v4.18.2

See merge request pleroma/pleroma-fe!1647
2022-10-17 00:25:39 +00:00
tusooa 3aba1c4f85 Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.0

See merge request pleroma/pleroma-fe!1644
2022-10-17 00:21:25 +00:00
Pleroma Renovate Bot df1a57db04 Update dependency @vuelidate/core to v2.0.0 2022-10-16 09:08:13 +00:00
Henry Jameson 4a1ffced44 fix unit tests 2022-10-10 22:04:49 +03:00
Henry Jameson faca1b31e3 better autocomplete handling, fix leak 2022-10-10 20:26:32 +03:00
Henry Jameson 692342a77f focus search input when opening emoji picker 2022-10-10 20:11:04 +03:00
Henry Jameson d2fabe1a71 use anchor for picker 2022-10-10 00:37:59 +03:00
Henry Jameson 8fa1f0b50d move keepOpen to picker 2022-10-10 00:33:58 +03:00
Henry Jameson 296a6fa4e3 some shitty initial implementation of emoji picker with popover 2022-10-09 23:42:36 +03:00
Henry Jameson 518fcf856a fix blinking popup 2022-10-09 23:09:31 +03:00
Henry Jameson 2469415809 fix css 2022-10-09 23:02:42 +03:00
Henry Jameson 05640e4cc1 cleanup 2022-10-09 23:02:39 +03:00
Henry Jameson 3dd9f6f68c moved popovers space outside app because otherwise it causes weird
issues A LOT
2022-10-09 23:01:49 +03:00
Henry Jameson 4631b1b9f7 suggestor popover 2022-10-09 22:09:50 +03:00
Henry Jameson 8b957fb85e fix chevrons alignment 2022-10-09 19:04:45 +03:00
Henry Jameson cf9957c733 fix alert dot 2022-10-09 19:00:25 +03:00
Henry Jameson 5fa533fbb7 Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (89 commits)
  Update dependency @vuelidate/validators to v2.0.0
  Remove lolex package
  Remove diff package
  Pin dependencies
  Update dependency sass to v1.55.0
  Make suggestor suggest according to cldr annotations
  Make chunks named
  Use import() for emoji.json
  Add regional indicators
  Support filtering by keywords from cldr
  Display localized unicode emoji names
  Load unicode emoji annotations
  Extract language list to its own file
  using the half-shit approach since proper approach is full-shit
  Make unicode emoji phrases match with _
  Use console.info
  Fix non-square emojis being truncated
  Fix emoji picker lint
  Fix emoji picker lint
  Tweak efficiency when changing filter keywords in emoji picker
  ...
2022-10-09 18:51:42 +03:00
Henry Jameson 0331e42ee8 move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
2022-10-09 18:50:13 +03:00
Pleroma Renovate Bot 903301fd01 Update dependency express to v4.18.2 2022-10-09 09:06:08 +00:00
Pleroma Renovate Bot 34a39e10dd Update dependency autoprefixer to v10.4.12 2022-10-09 09:05:57 +00:00
tusooa c807254d3e Merge branch 'renovate/vuelidate-validators-2.x' into 'develop'
Update dependency @vuelidate/validators to v2.0.0

See merge request pleroma/pleroma-fe!1645
2022-10-08 12:46:17 +00:00
Pleroma Renovate Bot f2a3883cec Update dependency @vuelidate/validators to v2.0.0 2022-10-08 09:06:30 +00:00
tusooa ce2edfe49d Merge branch 'renovate/pin-dependencies' into 'develop'
Pin dependencies

See merge request pleroma/pleroma-fe!1642
2022-10-07 22:07:24 +00:00
HJ 8433784685 Merge branch 'remove/unused-packages' into 'develop'
Remove unused diff and lolex packages

See merge request pleroma/pleroma-fe!1643
2022-10-07 09:43:25 +00:00
Sean King 42e0926752
Remove lolex package 2022-10-06 22:10:16 -06:00
Sean King ec7a8d0766
Remove diff package 2022-10-06 22:05:50 -06:00
Pleroma Renovate Bot 6c71686d26 Pin dependencies 2022-10-02 09:06:29 +00:00
tusooa d0f6be5bb3 Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.55.0

See merge request pleroma/pleroma-fe!1639
2022-10-02 01:38:25 +00:00
Henry Jameson ce6ce4b6cd minor improvements 2022-09-29 11:52:48 +03:00
Henry Jameson a4e0eeea7a fix buttons overlapping 2022-09-29 11:49:19 +03:00
Henry Jameson 66014fcfcb port changes to notifications 2022-09-28 21:34:53 +03:00
Henry Jameson 7519c7f5d5 cleanup 2022-09-28 21:34:41 +03:00
Henry Jameson d3b5ba4864 added scrolltotop for mobile notifications 2022-09-28 21:34:33 +03:00
Henry Jameson 1c459028cc fix scrollerref not setting properly 2022-09-28 21:23:27 +03:00
Henry Jameson 8c4de692f4 apply same for scrolltop button 2022-09-28 21:17:44 +03:00
Henry Jameson c041d7aa9b refactor css for timeline buttons, make it a bit easier to tap them 2022-09-28 21:16:05 +03:00
Ilja 131d310703 Only show Reports tab in Interactions when privileged to see reports 2022-09-24 16:00:10 +02: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
Pleroma Renovate Bot afca31b118 Update dependency sass to v1.55.0 2022-09-22 09:05:38 +00:00
HJ 03b61f0a9c Merge branch 'from/develop/tusooa/grouped-emoji-picker' into 'develop'
Group emojis into packs in emoji picker

See merge request pleroma/pleroma-fe!1408
2022-09-22 08:11:25 +00:00
Tusooa Zhu a7f836a64e
Make suggestor suggest according to cldr annotations 2022-09-21 23:16:33 -04:00
Tusooa Zhu a758e18dce
Make chunks named 2022-09-20 23:13:07 -04:00
Tusooa Zhu 6fab7b9e3f
Use import() for emoji.json 2022-09-20 22:03:31 -04:00
Tusooa Zhu cc58b9b93d
Add regional indicators 2022-09-20 21:50:40 -04:00
Tusooa Zhu 980241c1ac
Support filtering by keywords from cldr 2022-09-20 21:06:57 -04:00
Tusooa Zhu a73f9731f5
Display localized unicode emoji names 2022-09-20 20:44:52 -04:00
Tusooa Zhu 1c3bdda14c
Load unicode emoji annotations 2022-09-20 20:15:32 -04:00
Tusooa Zhu d5411c9f88
Extract language list to its own file 2022-09-20 19:27:26 -04:00
tusooa aa9cae8c71 Merge branch 'add/remove-from-followers' into 'develop'
Added support for removing users from followers

See merge request pleroma/pleroma-fe!1640
2022-09-20 18:58:32 +00:00
HJ 74382595af Merge branch 'more-apology-fixes' into 'develop'
using the half-shit approach since proper approach is full-shit

Closes #1182

See merge request pleroma/pleroma-fe!1641
2022-09-20 17:34:02 +00:00
Henry Jameson fa1d9f3fb4 using the half-shit approach since proper approach is full-shit 2022-09-20 00:24:08 +03:00
Tusooa Zhu 0445d7c882
Make unicode emoji phrases match with _ 2022-09-18 13:19:55 -04:00
Tusooa Zhu de2c7b760f
Use console.info 2022-09-18 13:19:55 -04:00
HJ 8bd27165f3
Fix non-square emojis being truncated 2022-09-18 13:19:55 -04:00
Tusooa Zhu 6e2b87f5af
Fix emoji picker lint 2022-09-18 13:19:55 -04:00
Tusooa Zhu 58b01db9e1
Fix emoji picker lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu 5d6f3a5c8b
Tweak efficiency when changing filter keywords in emoji picker 2022-09-18 13:19:54 -04:00
Tusooa Zhu 09bcb6a5b1
Use trimmed keyword for filtering emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu 0fd0d6c4c2
Limit the width of unsupported multichar emojis 2022-09-18 13:19:54 -04:00
Tusooa Zhu e01c76c7e9
Make emoji picker work with vue3 2022-09-18 13:19:54 -04:00
Tusooa Zhu 96564609f8
Make StillImage react to src changes 2022-09-18 13:19:54 -04:00
Tusooa Zhu fbbeb33f48
Lint 2022-09-18 13:19:54 -04:00
Tusooa Zhu a29ac5b9a4
Add English translation for unicode emoji group names 2022-09-18 13:19:53 -04:00
Tusooa Zhu 02de0ed825
Add icons for unicode emoji groups 2022-09-18 13:19:53 -04:00
Tusooa Zhu 8f4f02683f
Make emoji picker use grouped unicode emojis 2022-09-18 13:19:53 -04:00
Tusooa Zhu d865f572aa
Generate grouped unicode emojis from unicode-emoji-json 2022-09-18 13:19:53 -04:00
Tusooa Zhu 38861fc6cc
Scroll active tab header into view in emoji picker 2022-09-18 13:19:53 -04:00
Tusooa Zhu d9e428ebab
Clean up emoji picker css 2022-09-18 13:19:53 -04:00
Tusooa Zhu b77259a9a0
Use StillImage to render emojis in emoji picker 2022-09-18 13:19:52 -04:00
Tusooa Zhu c93da0b865
Fix error on emoji picker first load
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu d648a6f8dc
Group emojis only by pack and remove pack: prefix
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 3156f046b4
Lint
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 06a636db37
Lazy-load emoji picker in post form
When clicking the reply button, we used to load the whole emoji picker.
This causes a considerable delay even if the user is not going to use
the emoji picker. Now the content of the emoji picker is loaded only
after the user has explicitly opened the emoji picker.

Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 9aeffd7634
Fix sticker picker heading tab
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu d00ebc14f1
Fix vertical scrollbar of emoji picker header
Ref: grouped-emoji-picker
2022-09-18 13:19:52 -04:00
Tusooa Zhu 5ab51613b7
Use StillImage for emoji group header
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 031a01be79
Remove useless class `disabled` in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu f1d6e6afce
Clean up unused variables
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 23edc4f7e2
Fix scrol->highlight behaviour
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 8777b6eadd
Clean up legacy code in emoji picker
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu c70cdbb873
Use lozad for lazy image loading
Ref: grouped-emoji-picker
2022-09-18 13:19:51 -04:00
Tusooa Zhu 90f757cc6d
Lint 2022-09-18 13:19:51 -04:00
Tusooa Zhu 123913f34f
Optimise emoji picker loading process 2022-09-18 13:19:50 -04:00
Tusooa Zhu 99a368dbb3
Load emoji properly on first showing 2022-09-18 13:19:50 -04:00
Tusooa Zhu ba1b006e05
Load visible emoji groups when scrolling 2022-09-18 13:19:50 -04:00
Tusooa Zhu 992d57ef69
Display all emoji groups on emoji picker header 2022-09-18 13:19:50 -04:00
Tusooa Zhu ff2242e85d
Fix load more emoji action 2022-09-18 13:19:50 -04:00
Tusooa Zhu 69b3102fb2
Group custom emojis by pack in emoji picker 2022-09-18 13:19:40 -04:00
Sean King 3c707608ce
Change "Remove this follower" to "Remove Follower" and add a button to remove a follower in the followers tab for the logged in user 2022-09-17 11:36:34 -06:00
Sean King 12d8d1711b
Added support for removing users from followers 2022-09-15 22:02:58 -06:00
HJ d8730cad60 Merge branch 'apology-fixes' into 'develop'
add a mask to load shape to flow text around quicker

Closes #1183

See merge request pleroma/pleroma-fe!1618
2022-09-14 15:11:18 +00: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
HJ de40ebd5ea Merge branch 'from/develop/tusooa/fix-follow-req' into 'develop'
Fix follow request count

See merge request pleroma/pleroma-fe!1638
2022-09-08 10:20:10 +00:00
Tusooa Zhu 12b0561992
Fix follow request count 2022-09-07 20:00:41 -04:00
tusooa 3fe498fa62 Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome to v6.2.0

See merge request pleroma/pleroma-fe!1637
2022-09-07 22:27:14 +00:00
Pleroma Renovate Bot 41295a3b97 Update Font Awesome to v6.2.0 2022-09-05 09:07:46 +00:00
tusooa b2f51b7c3a Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.54.8

See merge request pleroma/pleroma-fe!1633
2022-09-04 16:24:24 +00:00
tusooa 9dc070157d Merge branch 'renovate/vue-monorepo' into 'develop'
Update vue monorepo to v3.2.38

See merge request pleroma/pleroma-fe!1635
2022-09-04 16:20:49 +00:00
Pleroma Renovate Bot 0d217fe963 Update dependency sass to v1.54.8 2022-09-01 09:08:18 +00:00
tusooa 4beaea2fcc Merge branch 'naventry-unnest' into 'develop'
make custom router-link for nav-entry to un-nest the interactive elements

Closes #1191

See merge request pleroma/pleroma-fe!1634
2022-08-31 19:55:10 +00:00
Pleroma Renovate Bot 09a0339e1d Update vue monorepo to v3.2.38 2022-08-31 09:09:36 +00:00
tusooa 1614239a16 Merge branch 'renovate/sinon-14.x' into 'develop'
Update dependency sinon to v14

See merge request pleroma/pleroma-fe!1630
2022-08-30 23:55:55 +00:00
Henry Jameson 2ab51a4ccb fix veryfaint not applying 2022-08-31 01:19:18 +03:00
Henry Jameson 73abae1b3e lint 2022-08-31 00:58:03 +03:00
Henry Jameson 98f97ff9a9 lint 2022-08-31 00:57:02 +03:00
Henry Jameson 8ecb67230c make custom router-link for nav-entry to un-nest the interactive elements 2022-08-31 00:48:38 +03:00
Henry Jameson 3ffe62acdc make "up to date" icon even more faint to distinguish it from actual
interactive elements
2022-08-30 23:55:35 +03:00
Henry Jameson 887fac5add Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (59 commits)
  a11y
  Use dedicated indicator for non-ascii domain names
  add a favorites "timeline" shortcut
  refactor navigation-entry and use them in other nav items
  Update dependency sinon-chai to v3
  Update dependency semver to v7
  Update dependency vue-router to v4.1.5
  Update dependency eslint to v8.23.0
  Update dependency vue-template-compiler to v2.7.10
  Update dependency @vue/babel-helper-vue-jsx-merge-props to v1.4.0
  Update dependency eslint-plugin-promise to v6.0.1
  fix lists edit page
  change ugly checkbox to a list element that doesn't look too much out of place
  a11y
  squeeze/stretch pinned items as long as there's enough space for it, hide items that won't fitc
  Remove isparta
  lint
  fix being unable to edit timeline pins on mobile
  aria
  fix mobile side drawer causing issues
  ...
2022-08-30 23:54:16 +03:00
Pleroma Renovate Bot 21eeda3f04 Update dependency sinon to v14 2022-08-30 09:09:41 +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
Henry Jameson dbb6f22442 a11y 2022-08-30 02:36:41 +03:00
HJ 3b6c31f3b3 Merge branch 'from/develop/tusooa/1189-mention-uri' into 'develop'
Use dedicated indicator for non-ascii domain names

Closes #1189

See merge request pleroma/pleroma-fe!1632
2022-08-29 23:03:23 +00:00
Tusooa Zhu 0a79a74773
Use dedicated indicator for non-ascii domain names 2022-08-29 18:46:41 -04:00
Henry Jameson ec320e8fb6 add a favorites "timeline" shortcut 2022-08-30 00:53:20 +03:00
Henry Jameson 768b3ea14f refactor navigation-entry and use them in other nav items 2022-08-30 00:15:42 +03:00
tusooa e812d5ea3c Merge branch 'renovate/sinon-chai-3.x' into 'develop'
Update dependency sinon-chai to v3

See merge request pleroma/pleroma-fe!1631
2022-08-29 12:01:31 +00:00
Pleroma Renovate Bot c2e8348065 Update dependency sinon-chai to v3 2022-08-29 09:08:30 +00:00
tusooa dcc4027482 Merge branch 'renovate/vue-router-4.x' into 'develop'
Update dependency vue-router to v4.1.5

See merge request pleroma/pleroma-fe!1620
2022-08-28 23:46:12 +00:00
tusooa d2bcdc8d5b Merge branch 'renovate/semver-7.x' into 'develop'
Update dependency semver to v7

See merge request pleroma/pleroma-fe!1629
2022-08-28 23:41:14 +00:00
Pleroma Renovate Bot 2e8b3154b6 Update dependency semver to v7 2022-08-28 09:08:22 +00:00
Pleroma Renovate Bot 5241a2654c Update dependency vue-router to v4.1.5 2022-08-28 09:07:22 +00:00
tusooa 173759f84f Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.23.0

See merge request pleroma/pleroma-fe!1626
2022-08-27 14:54:53 +00:00
tusooa 0bbf16fe6b Merge branch 'renovate/vue-monorepo' into 'develop'
Update dependency vue-template-compiler to v2.7.10

See merge request pleroma/pleroma-fe!1622
2022-08-27 14:52:13 +00:00
Pleroma Renovate Bot ace06bd5d6 Update dependency eslint to v8.23.0 2022-08-27 09:07:16 +00:00
Pleroma Renovate Bot f10b4a0051 Update dependency vue-template-compiler to v2.7.10 2022-08-27 09:06:59 +00:00
tusooa 5dab55579a Merge branch 'renovate/babel-monorepo' into 'develop'
Update dependency @babel/core to v7.18.13

See merge request pleroma/pleroma-fe!1619
2022-08-26 15:40:23 +00:00
tusooa d07e8fd5d6 Merge branch 'renovate/vue-babel-helper-vue-jsx-merge-props-1.x' into 'develop'
Update dependency @vue/babel-helper-vue-jsx-merge-props to v1.4.0

See merge request pleroma/pleroma-fe!1625
2022-08-26 15:35:12 +00:00
Pleroma Renovate Bot f12307fe38 Update dependency @vue/babel-helper-vue-jsx-merge-props to v1.4.0 2022-08-26 09:06:47 +00:00
HJ 649ae09585 Merge branch 'from/develop/tusooa/remove-isparta' into 'develop'
Remove isparta

See merge request pleroma/pleroma-fe!1621
2022-08-25 16:37:13 +00:00
tusooa bbd25c8ae6 Merge branch 'renovate/eslint-plugin-promise-6.x' into 'develop'
Update dependency eslint-plugin-promise to v6.0.1

See merge request pleroma/pleroma-fe!1624
2022-08-25 12:22:10 +00:00
Pleroma Renovate Bot e9fcf9747f Update dependency eslint-plugin-promise to v6.0.1 2022-08-25 09:06:10 +00:00
Henry Jameson af734afe36 lint 2022-08-24 22:46:41 +03:00
Henry Jameson f31bec7ef8 only mark as read if closed intentionally 2022-08-24 22:42:58 +03:00
Henry Jameson 09a4d963d4 fix notifications 2022-08-24 22:37:07 +03:00
Henry Jameson 986c453702 use a bit more compact layout on mobile 2022-08-24 22:31:48 +03:00
Henry Jameson 4e339d9be3 Merge remote-tracking branch 'origin/develop' into scrolltotop
* origin/develop: (47 commits)
  Update dependency eslint-plugin-vue to v9.4.0
  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
  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
  ...
2022-08-24 22:01:00 +03:00
Henry Jameson ea3ce55929 fix lists edit page 2022-08-24 20:33:04 +03:00
Henry Jameson 8c48a56a89 change ugly checkbox to a list element that doesn't look too much out of place 2022-08-24 20:24:21 +03:00
Henry Jameson cf714c2756 a11y 2022-08-24 20:24:08 +03:00
Henry Jameson 8dceffa8d7 squeeze/stretch pinned items as long as there's enough space for it,
hide items that won't fitc
2022-08-24 19:57:57 +03:00
tusooa 86302128ba Merge branch 'renovate/eslint-plugin-vue-9.x' into 'develop'
Update dependency eslint-plugin-vue to v9.4.0

See merge request pleroma/pleroma-fe!1623
2022-08-24 12:11:38 +00:00
Pleroma Renovate Bot 8e0a988399 Update dependency eslint-plugin-vue to v9.4.0 2022-08-24 09:09:22 +00:00
Tusooa Zhu 40c10cbf4d
Remove isparta 2022-08-23 15:52:12 -04:00
Henry Jameson dc5992f990 lint 2022-08-23 22:18:33 +03:00
Henry Jameson d3454ca7de fix being unable to edit timeline pins on mobile 2022-08-23 22:16:51 +03:00
Henry Jameson f44ae0ce6b aria 2022-08-23 22:15:46 +03:00
Henry Jameson 666015c9fa fix mobile side drawer causing issues 2022-08-23 22:10:21 +03: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
tusooa 361aea1399 Merge branch 'renovate/opn-5.x' into 'develop'
Update dependency opn to v5

See merge request pleroma/pleroma-fe!1616
2022-08-23 15:46:38 +00:00
Henry Jameson bd7356376e fix links not being active by default 2022-08-23 15:36:54 +03:00
Henry Jameson 63f35509a7 improve submenu and improve icon buttons hover effects 2022-08-23 13:26:05 +03:00
Pleroma Renovate Bot defc622767 Update dependency opn to v5 2022-08-23 09:05:51 +00:00
Pleroma Renovate Bot 84247d51b3 Update dependency @babel/core to v7.18.13 2022-08-23 09:04:08 +00: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
Henry Jameson 6e1639cc1e fetch text height only after mask has been loaded 2022-08-23 02:06:54 +03:00
Henry Jameson 420f29b6a4 add a mask to load shape to flow text around quicker 2022-08-23 02:01:56 +03:00
HJ cb6b96b9ba Merge branch 'zindexes-fix' into 'develop'
Fix various issues related to z-indexes

See merge request pleroma/pleroma-fe!1617
2022-08-22 22:58:57 +00:00
Henry Jameson 1a24f8b4c1 fix notices being under the navbar, also change offset to use variable 2022-08-23 01:49:22 +03:00
Henry Jameson ef4ea49653 fix modals not having proper z index 2022-08-23 01:46:59 +03:00
HJ 91422367d3 Merge branch 'allow-opening-profile-in-user-popover' into 'develop'
Allow opening profile in user popover when clicking on avatar

See merge request pleroma/pleroma-fe!1586
2022-08-22 22:34:38 +00:00
Henry Jameson 0f51b00540 reduce indexes to be below 9999 so that develop error messages appear above 2022-08-23 01:30:17 +03:00
HJ 272b748f26 Merge branch 'develop' into 'allow-opening-profile-in-user-popover'
# Conflicts:
#   src/components/settings_modal/tabs/general_tab.vue
2022-08-22 22:29:13 +00: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 fa41f6cf96 add an underline to the selected pin to improve accesibility 2022-08-23 00:50:38 +03: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
HJ 4e2feae868 Merge branch 'from/develop/tusooa/1092-accessible-status-xact' into 'develop'
Make status interaction buttons accessible

Closes #1092

See merge request pleroma/pleroma-fe!1425
2022-08-22 21:21:43 +00:00
tusooa 966dc36954 Merge branch 'renovate/eslint-plugin-n-15.x' into 'develop'
Update dependency eslint-plugin-n to v15.2.5

See merge request pleroma/pleroma-fe!1615
2022-08-22 21:20:12 +00:00
tusooa 34c399f551 Merge branch 'renovate/nightwatch-2.x' into 'develop'
Update dependency nightwatch to v2

See merge request pleroma/pleroma-fe!1614
2022-08-22 21:19:39 +00:00
Tusooa Zhu cd536157ee Fix react & extra buttons not styled on tab-focus 2022-08-22 20:28:52 +00:00
Tusooa Zhu 5676b5cfc9 Fix popover not popping up
Sometimes the "focus-marker" gets clicked. In this situation,
it will trigger an open, and then a close, because the original
focus-marker was removed from the dom, so $el.contains() no
longer thinks the marker is part of the trigger! We replaced the
v-if with v-show to resolve this problem.
2022-08-22 20:28:52 +00:00
Tusooa Zhu 11672bc490 Fix styling on Safari 2022-08-22 20:28:52 +00:00
Tusooa Zhu 97951fccfd Use :focus-visible instead of :focus for focus markers
In this way, after the user clicked with a pointer and moved that
pointer away, the focus marker will no longer show a focused style.

As Safari remains the only major browser engine that does not support
:focus-visible, a fallback to :focus is used if there is no browser
support for :focus-visible.

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
2022-08-22 20:28:52 +00:00
Tusooa Zhu 378ed3682e Optimize Reply badge position 2022-08-22 20:28:52 +00:00
Tusooa Zhu b2e4827741 Add badges to status interacting buttons
Now, the following badges will be added:
0: (+) sign to reply, favourite, repeat, react and extra buttons
1: (-) sign to unfavourite and unrepeat
2: (x) sign to close reply form, close react popover, and close extra buttons popover
3: Check mark to favourited and repeated statuses

https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1092
2022-08-22 20:28:52 +00:00
Pleroma Renovate Bot b95c934bc4 Update dependency nightwatch to v2 2022-08-22 09:10:20 +00:00
Pleroma Renovate Bot 4ef28cac47 Update dependency eslint-plugin-n to v15.2.5 2022-08-22 09:08:45 +00:00
tusooa f01c3f60c8 Merge branch 'renovate/mocha-10.x' into 'develop'
Update dependency mocha to v10

See merge request pleroma/pleroma-fe!1613
2022-08-21 11:54:31 +00:00
Pleroma Renovate Bot 20b54c4b9d Update dependency mocha to v10 2022-08-21 09:04:58 +00:00
tusooa 5ace7055ce Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.54.5

See merge request pleroma/pleroma-fe!1610
2022-08-20 14:25:55 +00:00
tusooa 2b17e4d6dc Merge branch 'renovate/karma-coverage-2.x' into 'develop'
Update dependency karma-coverage to v2

See merge request pleroma/pleroma-fe!1607
2022-08-20 14:20:59 +00:00
Pleroma Renovate Bot 09f3fcf112 Update dependency karma-coverage to v2 2022-08-20 09:07:23 +00:00
Pleroma Renovate Bot de70d2efb8 Update dependency sass to v1.54.5 2022-08-20 09:06:57 +00:00
tusooa bbc562bf57 Merge branch 'renovate/vue-monorepo' into 'develop'
Update dependency vue-template-compiler to v2.7.9

See merge request pleroma/pleroma-fe!1608
2022-08-19 15:05:33 +00:00
tusooa b768fb2be1 Merge branch 'renovate/karma-firefox-launcher-2.x' into 'develop'
Update dependency karma-firefox-launcher to v2

See merge request pleroma/pleroma-fe!1609
2022-08-19 14:59:24 +00:00
Pleroma Renovate Bot 4cdba397e1 Update dependency karma-firefox-launcher to v2 2022-08-19 09:06:42 +00:00
Pleroma Renovate Bot 05c67c451b Update dependency vue-template-compiler to v2.7.9 2022-08-19 09:06:19 +00:00
HJ 6cd116ce9a Merge branch 'renovate/pin-dependencies' into 'develop'
Pin dependencies

See merge request pleroma/pleroma-fe!1606
2022-08-18 09:57:49 +00:00
Pleroma Renovate Bot 7be70e5aac Pin dependencies 2022-08-18 09:06:24 +00:00
Henry Jameson e9ad922eeb oops 2022-08-17 21:34:56 +03:00
Henry Jameson 711a610727 fix routes and tests 2022-08-17 21:25:02 +03:00
HJ 992ddde4f8 Merge branch 'from/develop/tusooa/webpack-5' into 'develop'
Webpack 5 support

See merge request pleroma/pleroma-fe!1601
2022-08-17 18:24:24 +00:00
Tusooa Zhu cad0520568
Refresh yarn.lock 2022-08-17 14:15:34 -04:00
Henry Jameson b440982220 fix lists not having pins in edit mode 2022-08-17 21:14:10 +03:00
Henry Jameson f12198c2b3 fix edit mode checkbox showing up for anon users 2022-08-17 21:13:39 +03:00
Henry Jameson efc6b6b703 add "scroll to top" button to timelines and notifications 2022-08-17 20:49:20 +03:00
Henry Jameson faefd05c03 create new list UI 2022-08-17 20:21:10 +03:00
Alexander Tumin a29835375a Allow column width configuration: allow stretching navbar with columns 2022-08-17 09:49:52 +03:00
Henry Jameson b4f4b370d4 forgot to actually add add/remove methods, lel. remove some consolelogs 2022-08-17 00:58:05 +03:00
Henry Jameson 77dcbe641c lint 2022-08-17 00:49:07 +03:00
Henry Jameson d074aefb4f List edit UI overhaul 2022-08-17 00:48:10 +03:00
Henry Jameson 38bd59ceb0 fix journal test 2022-08-16 20:14:18 +03:00
Henry Jameson 821a09109c fix list tests 2022-08-16 20:00:29 +03:00
Henry Jameson 04acf069d1 ignore invalid journal entries 2022-08-16 19:33:34 +03:00
Henry Jameson 840ce06397 proper journal trimming + remove some old workaround to my local bad data 2022-08-16 19:24:45 +03:00
Tusooa Zhu 99ee903c46
Remove legacy code for chunksSortMode 2022-08-16 08:02:09 -04:00
Tusooa Zhu d8962919b9
Add FIXME comment about html-webpack-plugin-after-emit 2022-08-16 07:57:42 -04:00
HJ e0f3d9a8e0 Use exact webpack version in package.json 2022-08-16 11:53:52 +00:00
Tusooa Zhu 89fc7b3190
Reintroduce css minimizer 2022-08-15 19:14:21 -04:00
Tusooa Zhu 5444f0c852
Fix double dot in generated asset names 2022-08-15 18:42:21 -04:00
Tusooa Zhu 234963caa1
Update webpack plugins 2022-08-15 18:38:34 -04:00
Tusooa Zhu ed42a099c0
Use assets in favour of loaders 2022-08-15 18:23:41 -04:00
Tusooa Zhu 2088636b24
Fix tests 2022-08-15 18:12:10 -04:00
Tusooa Zhu aa97335b20
Make webpack 5 work 2022-08-15 18:01:33 -04:00
Tusooa Zhu 96d8707353
Fix production builds 2022-08-15 17:39:17 -04:00
Tusooa Zhu 78e1738d08
Update vue-loader 2022-08-15 17:29:13 -04:00
Tusooa Zhu 8e1455d0aa
Update url-loader 2022-08-15 17:26:36 -04:00
Tusooa Zhu 7c744d3b7f
Update sass-loader 2022-08-15 17:24:47 -04:00
Tusooa Zhu 80a70e0921
Update raw-loader 2022-08-15 17:23:00 -04:00
Tusooa Zhu 413eaec3ee
Update mini-css-extract-plugin 2022-08-15 17:18:37 -04:00
Tusooa Zhu 47f0793eee
Update inject-loader 2022-08-15 17:10:26 -04:00
Tusooa Zhu 7fc3809bd6
Update file-loader, html-webpack-plugin, http-proxy-middleware and postcss-loader 2022-08-15 17:06:38 -04:00
Tusooa Zhu 2523f39ba3
Update css-loader to 5 2022-08-15 16:40:00 -04:00
Henry Jameson 8d6e5c1e69 whoops, forgot the most important bit 2022-08-15 23:33:07 +03:00
Henry Jameson bbd99dc3cf fix 2022-08-15 23:31:05 +03:00
Henry Jameson 50f5afbce1 add and remove users to/from lists from their profile 2022-08-15 23:19:33 +03:00
tusooa 2c76c46aa7 Merge branch 'renovate/webpack-hot-middleware-2.x' into 'develop'
Update dependency webpack-hot-middleware to v2.25.2

See merge request pleroma/pleroma-fe!1595
2022-08-15 20:17:14 +00:00
tusooa 998f79e860 Merge branch 'renovate/cross-spawn-7.x' into 'develop'
Update dependency cross-spawn to v7

See merge request pleroma/pleroma-fe!1598
2022-08-15 20:11:28 +00:00
tusooa 315a942dce Merge branch 'renovate/chromedriver-104.x' into 'develop'
Update dependency chromedriver to v104

See merge request pleroma/pleroma-fe!1597
2022-08-15 20:10:48 +00:00
Henry Jameson 14292d7ed1 edit mode 2022-08-15 21:56:07 +03:00
Henry Jameson 96090ea98f fix anon user issues 2022-08-15 21:03:27 +03:00
Henry Jameson ebe095bd76 fix prod build again + fetch lists (and follow request) on login,
stop fetching on logout, don't start fetching in components
2022-08-15 20:44:21 +03:00
Henry Jameson 50924aab5c fix prod build 2022-08-15 20:34:45 +03:00
Pleroma Renovate Bot 17424c4998 Update dependency cross-spawn to v7 2022-08-15 09:07:39 +00:00
HJ af7df7f5ac Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.22.0

See merge request pleroma/pleroma-fe!1596
2022-08-14 17:31:20 +00:00
Pleroma Renovate Bot ecc2d4c45f Update dependency chromedriver to v104 2022-08-14 17:21:48 +00:00
Pleroma Renovate Bot 8de3f4164f Update dependency eslint to v8.22.0 2022-08-14 17:21:13 +00:00
HJ 20f6903e8b Merge branch 'renovate/pin-dependencies' into 'develop'
Pin dependencies

See merge request pleroma/pleroma-fe!1594
2022-08-14 10:53:45 +00:00
Pleroma Renovate Bot 761c7f33d9 Update dependency webpack-hot-middleware to v2.25.2 2022-08-14 09:08:13 +00:00
Pleroma Renovate Bot f5e4e1a840 Pin dependencies 2022-08-14 09:06:47 +00:00
tusooa 3a4ee9be4e Merge branch 'renovate/connect-history-api-fallback-2.x' into 'develop'
Update dependency connect-history-api-fallback to v2

See merge request pleroma/pleroma-fe!1573
2022-08-14 04:41:19 +00:00
tusooa 883c4f1d0a Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.0-alpha.44

See merge request pleroma/pleroma-fe!1582
2022-08-14 04:38:46 +00:00
tusooa 1e2a2127f0 Merge branch 'renovate/vue-i18n-9.x' into 'develop'
Update dependency vue-i18n to v9.2.2

See merge request pleroma/pleroma-fe!1590
2022-08-14 04:34:43 +00:00
tusooa f6e5cfabbe Merge branch 'renovate/eslint-8.x' into 'develop'
Update dependency eslint to v8.21.0

See merge request pleroma/pleroma-fe!1591
2022-08-14 00:47:41 +00:00
Henry Jameson 80600137d1 lint 2022-08-12 01:27:09 +03:00
Henry Jameson 7d13f38d88 limit amount of pins on desktop to 6 (for now) 2022-08-12 01:26:19 +03:00
Henry Jameson f54fcda887 band-aid to prevent misclics on logout 2022-08-12 01:22:00 +03:00
Henry Jameson 8d3d8fffab fixes, clear cache on logout 2022-08-12 01:19:19 +03:00
Henry Jameson c3e7eadddf let mobile users customize top bar as well 2022-08-12 01:00:41 +03:00
Henry Jameson 0123872b56 fixes + fixes for anon users 2022-08-12 00:50:08 +03:00
Henry Jameson 3a16a59f37 navigation refactored, used in mobile nav as well 2022-08-11 21:56:30 +03:00
Henry Jameson 9e453372b3 show pinned lists between timelines and rest 2022-08-11 21:08:53 +03:00
Henry Jameson 77127e2a58 you can now pin lists 2022-08-11 21:00:27 +03:00
Henry Jameson 04f8c2d29d it works more or less well now 2022-08-11 18:06:28 +03:00
Alexander Tumin 258b5e6be2 Column width configuration: do not act on defaults, bound with on minmax --miniColumn 2022-08-11 16:38:24 +03:00
HJ 017061a46c refactor 2022-08-11 16:38:24 +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
Henry Jameson 6df9913354 ability to pin items in navigation menu, initial draft version 2022-08-11 14:30:58 +03:00
Pleroma Renovate Bot df03397923 Update dependency connect-history-api-fallback to v2 2022-08-11 09:08:31 +00:00
Pleroma Renovate Bot b084af72cf Update dependency eslint to v8.21.0 2022-08-11 09:07:57 +00:00
Pleroma Renovate Bot aca95e3c59 Update dependency vue-i18n to v9.2.2 2022-08-11 09:07:48 +00:00
Pleroma Renovate Bot 30db21bdeb Update dependency @vuelidate/core to v2.0.0-alpha.44 2022-08-11 09:07:16 +00:00
tusooa 6b80ce122f Merge branch 'renovate/chai-4.x' into 'develop'
Update dependency chai to v4

See merge request pleroma/pleroma-fe!1567
2022-08-11 03:16:41 +00:00
Tusooa Zhu 7742b1987b
Fix test errors 2022-08-10 23:01:23 -04:00
tusooa 68691a4de0 Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.54.4

See merge request pleroma/pleroma-fe!1588
2022-08-11 02:47:45 +00:00
Henry Jameson 732733f115 add a todo for future 2022-08-11 02:23:58 +03:00
Henry Jameson 72e238ceb3 server side storage support for collections + fixes 2022-08-11 01:07:51 +03:00
Henry Jameson 8a67fe93c2 update link in update notification to be a better one 2022-08-11 01:07:26 +03:00
Tusooa Zhu ab4a75bdd9
Do not allow to find by name in findUser() 2022-08-10 12:17:18 -04:00
Pleroma Renovate Bot 7d1483cb02 Update dependency sass to v1.54.4 2022-08-10 09:07:56 +00:00
Tusooa Zhu 09f9640be1
Use lookup endpoint to obtain users by nickname 2022-08-09 22:11:55 -04:00
Tusooa Zhu 2afe1539d9
Use $ for id UserProfile routes 2022-08-09 21:49:40 -04:00
Henry Jameson 894a506382 fixes 2022-08-10 02:59:08 +03:00
Henry Jameson 2c0eb29b28 more prefs storage work + move dontShowUpdateNotifs to prefs 2022-08-10 02:37:09 +03:00
Henry Jameson aa41cedd93 initial prefs storage work 2022-08-10 02:19:07 +03: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
HJ 2867c69629 Merge branch 'fix-chat-scroll' into 'develop'
fix chat scroll acting unwise

Closes #1178

See merge request pleroma/pleroma-fe!1587
2022-08-09 21:31:18 +00:00
HJ 346e806153 Merge branch 'been-awhile' into 'develop'
Pleroma-tan apologizing for all the changes

See merge request pleroma/pleroma-fe!1581
2022-08-09 21:30:53 +00:00
Pleroma Renovate Bot 2df25fc756 Update dependency chai to v4 2022-08-09 09:06:52 +00:00
Alexander Tumin a403f93b47 Allow opening profile: multiChoiceProprties record, anonymous access 2022-08-09 10:48:48 +03:00
tusooa 1baf87f1b1 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo to v7.18.10

See merge request pleroma/pleroma-fe!1579
2022-08-08 23:59:36 +00:00
Henry Jameson a4f40bf346 fix chat scroll acting unwise 2022-08-09 01:44:44 +03:00
Alexander Tumin 4803fb07c8 Allow opening profile when clicking an avatar inside of user popover 2022-08-08 23:50:38 +03:00
Ilja 650d195f44 Merge branch 'add/report-users-mod-privilege' into 'fine_grained_moderation_privileges'
Add report manage reports privilege for fallback mods into fine grained FE MR

See merge request ilja/pleroma-fe!1
2022-08-08 18:36:05 +00:00
Sean King 325930eecb
Fix merge conflicts 2022-08-08 07:32:38 -06:00
Henry Jameson 55791f3824 move pleroma-tan just a tiny bit lower 2022-08-08 14:21:06 +03:00
Henry Jameson e147dbfb82 art credit 2022-08-08 14:20:01 +03:00
Henry Jameson 0832228e45 lint 2022-08-08 12:18:06 +03:00
Henry Jameson 3f7cf52f53 proper animation 2022-08-08 12:17:32 +03:00
Henry Jameson 95f03a56ab don't let function access `this` 2022-08-08 02:18:29 +03:00
Henry Jameson 502d76ebcd lint 2022-08-08 02:14:43 +03:00
Henry Jameson f63ee29fac proper links and fix user detection 2022-08-08 02:14:09 +03:00
Henry Jameson fcf62a13ed don't show to anons, make it possible to disable notification instance-wide 2022-08-08 02:01:07 +03:00
Henry Jameson 59d160a6dd Merge remote-tracking branch 'origin/develop' into been-awhile
* origin/develop:
  lint
  fix bugs
  Apply 1 suggestion(s) to 1 file(s)
  change icons
  Update dependency vue-i18n to v9.2.0
  made quick settings into their own component, added quick view settings, added both to conversation view
2022-08-08 01:48:38 +03:00
HJ 4bfad25f01 Apply 2 suggestion(s) to 1 file(s) 2022-08-07 17:38:36 +00:00
HJ 068139b27e Merge branch 'timeline-view-menu' into 'develop'
Quick View Menu for timeline and conversations, filter for conversations

Closes #1179

See merge request pleroma/pleroma-fe!1578
2022-08-07 17:36:05 +00:00
Sean King 470654d275
Update fallback privileges for moderators to include reports_manage_reports 2022-08-07 01:20:49 -06:00
Sean King 572f28d7c9 Merge branch 'fix/merge-conflicts/report-notifications' into 'feat/report-notification'
Fixing merge conflicts and lint for report notifications MR

See merge request pleroma/pleroma-fe!1585
2022-08-07 06:38:56 +00:00
Sean King 6a2f427072
Fix lint stuff 2022-08-06 22:15:34 -06:00
Sean King dc9951d400
Fix merge conflicts 2022-08-06 22:02:21 -06:00
Ilja 56d1232588 Show moderation drop down menu and items based on privileges
There's a seperator between certain blocks of items. I show/hide the seperator together with the block under it.
When a block with a seperator is at the top, the seperator doesn't show, keeping a consistent look with seperators only between blocks.

I also hide granting roles for deactivated accounts because that doesn't make much sense to me.

For the rest the items are hidden when you're not privileged. When there's no privileges that show items, the menu isn't shown either.
2022-08-06 22:33:38 +02:00
Alexander Tumin 891fbf996d Lists implementation: make route naming consistent 2022-08-06 21:39:36 +03:00
Alexander Tumin b5eba5974c Lists implementation: tests, linter fix 2022-08-06 18:28:49 +03:00
Alexander Tumin 171f6f0894 Lists implementation 2022-08-06 17:56:54 +03:00
Ilja 6c9768b8e2 Option to delete a post is shown when privileged with messages_delete 2022-08-06 14:00:29 +02:00
Ilja 0d714f07ec Add priviliges
We can now check what priviliges someone has besides only the role.
On older back-ends, privileges aren't provided, so we have a fall-back to list the privileges corresponding to what mods/admins are allowed on older BE's.
2022-08-06 12:01:13 +02:00
marcin mikołajczak 6649baaac9 Merge remote-tracking branch 'pleroma/develop' into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 11:53:44 +02:00
Hélène fbc3f783d1 Apply 2 suggestion(s) to 1 file(s) 2022-08-05 08:16:47 +00:00
Henry Jameson 09f3783647 lint 2022-08-04 23:44:56 +03:00
Henry Jameson 44d6d36ed1 fix bugs 2022-08-04 23:32:06 +03:00
HJ 2802e47ac9 Apply 1 suggestion(s) to 1 file(s) 2022-08-04 19:34:29 +00:00
Henry Jameson 8c59bad3c2 unit test + some refactoring 2022-08-04 22:09:42 +03:00
tusooa 610720f164 Merge branch 'renovate/vue-i18n-9.x' into 'develop'
Update dependency vue-i18n to v9.2.0

See merge request pleroma/pleroma-fe!1580
2022-08-04 18:29:19 +00:00
Henry Jameson 9c00610d00 refactoring 2022-08-04 17:20:11 +03:00
Henry Jameson 6c0a6ff8b0 shadow 2022-08-04 02:15:35 +03:00
Henry Jameson 8b56db177b debug handlers for now 2022-08-04 02:12:04 +03:00
Henry Jameson dbfca224d8 server-side storage for flags 2022-08-04 01:56:52 +03:00
Sean King 04e62df377
Allow for template inside Timeago component that shows unless the time string is 'just now' 2022-08-02 23:19:25 -06:00
Henry Jameson 4903069481 change icons 2022-08-02 23:54:06 +03:00
Pleroma Renovate Bot 82d63c3bb8 Update dependency vue-i18n to v9.2.0 2022-08-02 09:06:45 +00:00
Pleroma Renovate Bot 420e56fa4d Update babel monorepo to v7.18.10 2022-08-02 09:05:29 +00:00
Sean King b70d50407c
Refresh the relative time object for a Timeago component if the time changes 2022-08-01 21:25:08 -06:00
Sean King 232cc72df8
Fix lint errors and warnings 2022-08-01 18:45:52 -06:00
Sean King 081aa0fd05
Fix merge conflicts 2022-08-01 18:17:09 -06:00
Henry Jameson 5b7c653874 initial scratch 2022-08-02 00:37:48 +03:00
Henry Jameson f4276f7241 made quick settings into their own component, added quick view settings,
added both to conversation view
2022-08-01 23:20:27 +03:00
HJ 3fc9673a7d Merge branch 'from/develop/tusooa/1172-reg-indicator' into 'develop'
Add optional/required indicator for registration fields

Closes #1172

See merge request pleroma/pleroma-fe!1543
2022-08-01 11:48:52 +00:00
HJ 3c9d6b0ff0 Merge branch 'renovate/vue-router-4.x' into 'develop'
Update dependency vue-router to v4.1.3

See merge request pleroma/pleroma-fe!1574
2022-08-01 11:47:41 +00:00
HJ 8e7f3ea074 Merge branch 'eslint-update' into 'develop'
update ESLint

See merge request pleroma/pleroma-fe!1576
2022-08-01 11:46:57 +00:00
HJ d0a09480b3 Merge branch 'weblate' into 'develop'
Translations update from Pleroma Weblate

See merge request pleroma/pleroma-fe!1560
2022-08-01 11:46:31 +00:00
Weblate 71d9bbb56b Merge remote-tracking branch 'origin/develop' into develop 2022-07-31 23:00:53 +00:00
HJ 33ad712852 Merge branch 'disjointed-popovers' into 'develop'
Disjointed popovers

See merge request pleroma/pleroma-fe!1540
2022-07-31 17:57:32 +00:00
Henry Jameson 32718016e1 label, info on WIPs 2022-07-31 17:07:07 +03:00
Henry Jameson dd1abc9f5d add gitlab templates 2022-07-31 17:04:48 +03:00
Henry Jameson bd5d5c9df7 "deal" with async promise executor, should be fine in these specific cases 2022-07-31 13:18:11 +03:00
Henry Jameson ee066c4436 fix filesizeformat const/let stuff 2022-07-31 12:39:34 +03:00
Henry Jameson b44df37c1b "fix" the sort function potentially not always outputting results 2022-07-31 12:39:02 +03:00
Henry Jameson fc18673030 deal with no-prototype-builtins 2022-07-31 12:36:02 +03:00
Henry Jameson fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Henry Jameson 0cbfcb99a9 disable vue rule 2022-07-31 12:24:06 +03:00
Henry Jameson d083931ca8 update eslint stuff 2022-07-31 12:15:44 +03:00
Henry Jameson 1cf7af3374 Merge branch 'disjointed-popovers' into eslint-update
* disjointed-popovers: (56 commits)
  fix typo
  fix errors in console
  pinned no longer needed
  popover stack
  add stay-on-click prop to solve case of clicking user avatar in status popover
  fix settings tooltips
  vertical nudge for popovers, especially for overlay-centers ones
  make user popover options expert
  use same sizing for timeline dropdown as in the main nav
  fix avatar not zooming in profile page
  fix spacing in mentionsline
  add popovers to chats
  fix avatar not closing, add option to put popovers next to avatar instead of over it
  fix the incorrect rounding in nav list
  re-unfuck the timeline popover
  Revert "unify styling of timelines dropdown with other dropdown menus"
  close on avatar click again, add zooming as option
  fix basicusercard
  make hover popovers less annoying to close
  move tooltips setting
  ...
2022-07-31 11:44:15 +03:00
Henry Jameson 36aae1635a fix typo 2022-07-31 11:30:52 +03:00
Henry Jameson 6fc62a771a fix errors in console 2022-07-31 01:48:22 +03:00
Henry Jameson 8ab30545b2 pinned no longer needed 2022-07-31 01:45:38 +03:00
Henry Jameson 6f696874bb popover stack 2022-07-31 01:41:00 +03:00
Henry Jameson d5bc825616 add stay-on-click prop to solve case of clicking user avatar in status popover 2022-07-31 00:05:26 +03:00
Henry Jameson 03e6c6b993 fix settings tooltips 2022-07-30 23:36:40 +03:00
Henry Jameson 5c553bb1eb vertical nudge for popovers, especially for overlay-centers ones 2022-07-30 23:34:07 +03:00
tusooa 0b88c56aa6 Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome to v6.1.2

See merge request pleroma/pleroma-fe!1570
2022-07-30 00:07:51 +00:00
Pleroma Renovate Bot 9c21a0f7e3 Update dependency vue-router to v4.1.3 2022-07-28 09:08:03 +00:00
Pleroma Renovate Bot 5c362e9256 Update Font Awesome to v6.1.2 2022-07-28 09:07:22 +00:00
tusooa ba722f3f3d Merge branch 'from/develop/tusooa/fix-poll-duration-i18n' into 'develop'
Fix poll duration i18n

See merge request pleroma/pleroma-fe!1565
2022-07-27 22:38:41 +00:00
Henry Jameson 3d9b3a7352 make user popover options expert 2022-07-27 20:25:30 +03:00
Henry Jameson 00ded9523f use same sizing for timeline dropdown as in the main nav 2022-07-27 19:10:12 +03:00
Henry Jameson c5919228ab fix avatar not zooming in profile page 2022-07-27 19:08:20 +03:00
tusooa 05d46747a7 Merge branch 'renovate/chromedriver-103.x' into 'develop'
Update dependency chromedriver to v103

See merge request pleroma/pleroma-fe!1572
2022-07-27 15:35:35 +00:00
Pleroma Renovate Bot 6a41ab284a Update dependency chromedriver to v103 2022-07-27 09:08:26 +00:00
tusooa f2384dae3d Merge branch 'renovate/body-scroll-lock-3.x' into 'develop'
Update dependency body-scroll-lock to v3

See merge request pleroma/pleroma-fe!1566
2022-07-26 21:07:16 +00:00
tusooa 78d3c376af Merge branch 'renovate/vue-monorepo' into 'develop'
Update vue monorepo

See merge request pleroma/pleroma-fe!1497
2022-07-26 17:09:07 +00:00
Pleroma Renovate Bot 72a382f3ed Update dependency body-scroll-lock to v3 2022-07-25 09:09:02 +00:00
Pleroma Renovate Bot 568cefd4ab Update vue monorepo 2022-07-25 09:08:08 +00:00
Tusooa Zhu 1a63f439e3
Fix poll duration i18n 2022-07-24 23:32:58 -04:00
tusooa 075d48b7f7 Merge branch 'renovate/vuelidate-validators-2.x' into 'develop'
Update dependency @vuelidate/validators to v2.0.0-alpha.31

See merge request pleroma/pleroma-fe!1562
2022-07-25 00:35:31 +00:00
tusooa 3d980e144b Merge branch 'renovate/vue-test-utils-2.x' into 'develop'
Update dependency @vue/test-utils to v2.0.2

See merge request pleroma/pleroma-fe!1529
2022-07-25 00:28:08 +00:00
tusooa 956d8d03a2 Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.54.0

See merge request pleroma/pleroma-fe!1563
2022-07-25 00:27:21 +00:00
Pleroma Renovate Bot 2b7471d646 Update dependency sass to v1.54.0 2022-07-24 09:07:11 +00:00
Pleroma Renovate Bot 0679a49683 Update dependency @vuelidate/validators to v2.0.0-alpha.31 2022-07-24 09:06:30 +00:00
Pleroma Renovate Bot 46dfd1be63 Update dependency @vue/test-utils to v2.0.2 2022-07-24 09:06:20 +00:00
Yating Zhan e0aeab04b8 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.3% (766 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/zh_Hans/
2022-07-24 08:04:10 +00:00
tusooa 1678d5aa21 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.3% (766 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/zh_Hans/
2022-07-24 08:04:10 +00:00
Haelwenn e55e4f9cef Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Haelwenn 0d60cf9dd3 Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Yating Zhan a739670300 Translated using Weblate (Chinese (Simplified))
Currently translated at 85.5% (687 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/zh_Hans/
2022-07-24 08:04:10 +00:00
Haelwenn d317eb3760 Translated using Weblate (French)
Currently translated at 100.0% (803 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
Haelwenn acc26d71fd Translated using Weblate (French)
Currently translated at 99.8% (802 of 803 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: http://weblate.pleroma-dev.ebin.club/projects/pleroma/pleroma-fe/fr/
2022-07-24 08:04:10 +00:00
tusooa 932f86204c Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.0-alpha.43

See merge request pleroma/pleroma-fe!1561
2022-07-23 18:22:49 +00:00
tusooa 4e5ff036dc Merge branch 'renovate/vue-router-4.x' into 'develop'
Update dependency vue-router to v4.1.2

See merge request pleroma/pleroma-fe!1553
2022-07-23 18:18:45 +00:00
Pleroma Renovate Bot b517945448 Update dependency @vuelidate/core to v2.0.0-alpha.43 2022-07-23 09:11:07 +00:00
Tusooa Zhu 6deb02490b
Fix tests
https://stackoverflow.com/questions/69343038/cant-import-the-named-export-xxxx-from-non-ecmascript-module-only-default-expo
2022-07-22 12:13:02 -04:00
tusooa 12b563170f Merge branch 'renovate/major-font-awesome' into 'develop'
Update Font Awesome to v6 (major)

See merge request pleroma/pleroma-fe!1498
2022-07-22 15:45:08 +00:00
tusooa 23a0547adf Merge branch 'renovate/node-16.x' into 'develop'
Update Node.js to v16

See merge request pleroma/pleroma-fe!1554
2022-07-22 15:36:15 +00:00
tusooa 68d50f02d3 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo to v7.18.9

See merge request pleroma/pleroma-fe!1558
2022-07-22 15:33:02 +00:00
Pleroma Renovate Bot f3eb079270 Update dependency vue-router to v4.1.2 2022-07-21 09:10:47 +00:00
tusooa cb7dc968eb Merge branch 'renovate/vue-i18n-9.x' into 'develop'
Update dependency vue-i18n to v9.2.0-beta.40

See merge request pleroma/pleroma-fe!1548
2022-07-21 01:14:33 +00:00
Henry Jameson 19a7335ee7 fix spacing in mentionsline 2022-07-20 12:59:38 +03:00
Henry Jameson f6d0d3efba add popovers to chats 2022-07-20 12:54:51 +03:00
Pleroma Renovate Bot d04bfa8388 Update dependency vue-i18n to v9.2.0-beta.40 2022-07-20 09:07:31 +00:00
Henry Jameson 2c3c2bb5b0 fix avatar not closing, add option to put popovers next to avatar
instead of over it
2022-07-19 19:33:48 +03:00
Pleroma Renovate Bot 64b0f8196e Update Node.js to v16 2022-07-19 09:07:52 +00:00
Pleroma Renovate Bot 1d96311dba Update Font Awesome to v6 2022-07-19 09:07:49 +00:00
Pleroma Renovate Bot b861f07439 Update babel monorepo to v7.18.9 2022-07-19 09:06:31 +00:00
HJ e1df5716c0 Merge branch 'migrate/ruffle' into 'develop'
Migrate to official Ruffle build

Closes #1151

See merge request pleroma/pleroma-fe!1546
2022-07-18 19:32:17 +00:00
HJ 10403f79dd Merge branch 'develop' into 'migrate/ruffle'
# Conflicts:
#   package.json
2022-07-18 19:31:55 +00:00
tusooa 2474f155d2 Merge branch 'renovate/node-18.x' into 'develop'
Update Node.js to v18

See merge request pleroma/pleroma-fe!1556
2022-07-18 15:24:21 +00:00
Ilja 18d69f93d3 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification 2022-07-18 12:42:40 +02:00
tusooa cc964d9a3f Use node 16 2022-07-18 03:48:11 +00:00
tusooa 9ddb43296f Merge branch 'from/develop/tusooa/export' into 'develop'
Fix non-8bit string export problem

Closes #1174

See merge request pleroma/pleroma-fe!1555
2022-07-18 00:56:09 +00:00
Pleroma Renovate Bot 5d246cc711 Update Node.js to v18 2022-07-17 09:09:49 +00:00
tusooa 1883f722f0 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo

See merge request pleroma/pleroma-fe!1549
2022-07-16 19:22:07 +00:00
tusooa 904f5d2025 Merge branch 'renovate/eslint-plugin-import-2.x' into 'develop'
Update dependency eslint-plugin-import to v2.26.0

See merge request pleroma/pleroma-fe!1551
2022-07-16 19:14:52 +00:00
Tusooa Zhu 48c474ed3a
Fix non-8bit string export problem 2022-07-16 11:15:08 -04:00
Pleroma Renovate Bot 3736e1112d Update dependency eslint-plugin-import to v2.26.0 2022-07-16 09:11:16 +00:00
Pleroma Renovate Bot d4fe265184 Update babel monorepo 2022-07-16 09:10:56 +00:00
Tusooa Zhu b09912d2f9
Make search say No more results when there are current results 2022-07-15 20:26:05 -04:00
Tusooa Zhu b11ac22192
Fix search() not honouring type param 2022-07-15 20:22:39 -04:00
tusooa 75540a3dd4 Merge branch 'renovate/stylelint-13.x' into 'develop'
Update dependency stylelint to v13.13.1

See merge request pleroma/pleroma-fe!1492
2022-07-15 16:18:31 +00:00
tusooa 6b0f24bce8 Merge branch 'renovate/express-4.x' into 'develop'
Update dependency express to v4.18.1

See merge request pleroma/pleroma-fe!1552
2022-07-15 15:36:41 +00:00
Pleroma Renovate Bot c16a62471c Update dependency express to v4.18.1 2022-07-15 09:08:52 +00:00
tusooa 61beef56df Merge branch 'renovate/karma-6.x' into 'develop'
Update dependency karma to v6.4.0

See merge request pleroma/pleroma-fe!1531
2022-07-14 23:07:52 +00:00
tusooa 7909a7094a Merge branch 'renovate/karma-spec-reporter-0.x' into 'develop'
Update dependency karma-spec-reporter to v0.0.34

See merge request pleroma/pleroma-fe!1547
2022-07-14 23:07:33 +00:00
tusooa 9821f20a84 Merge branch 'renovate/vuelidate-validators-2.x' into 'develop'
Update dependency @vuelidate/validators to v2.0.0-alpha.30

See merge request pleroma/pleroma-fe!1530
2022-07-13 15:23:26 +00:00
Pleroma Renovate Bot 35c62aeffc Update dependency stylelint to v13.13.1 2022-07-13 05:28:08 +00:00
Pleroma Renovate Bot 09f913d4f0 Update dependency karma to v6.4.0 2022-07-13 05:27:41 +00:00
Pleroma Renovate Bot b7cafb8a59 Update dependency karma-spec-reporter to v0.0.34 2022-07-13 05:26:14 +00:00
Pleroma Renovate Bot d796314b3f Update dependency @vuelidate/validators to v2.0.0-alpha.30 2022-07-13 05:25:56 +00:00
tusooa 92b8c12100 Merge branch 'renovate/webpack-hot-middleware-2.x' into 'develop'
Update dependency webpack-hot-middleware to v2.25.1

See merge request pleroma/pleroma-fe!1495
2022-07-13 04:55:44 +00:00
Sean King e5a32eeef7
ruffle-mirror -> @ruffle-rs/ruffle 2022-07-12 19:13:50 -06:00
tusooa cd2da7322d Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.0-alpha.42

See merge request pleroma/pleroma-fe!1544
2022-07-12 17:17:35 +00:00
tusooa 068eafcfc7 Merge branch 'renovate/iso-639-1-2.x' into 'develop'
Update dependency iso-639-1 to v2.1.15

See merge request pleroma/pleroma-fe!1545
2022-07-12 17:10:59 +00:00
Pleroma Renovate Bot 6e212b8020 Update dependency webpack-hot-middleware to v2.25.1 2022-07-11 09:09:10 +00:00
Pleroma Renovate Bot f8e7cc2401 Update dependency iso-639-1 to v2.1.15 2022-07-11 09:07:47 +00:00
Pleroma Renovate Bot 35e5308b3a Update dependency @vuelidate/core to v2.0.0-alpha.42 2022-07-11 09:07:19 +00:00
tusooa 55ad936b06 Merge branch 'renovate/sass-1.x' into 'develop'
Update dependency sass to v1.53.0

See merge request pleroma/pleroma-fe!1487
2022-07-11 03:22:10 +00:00
Sean King 75216c5feb
Remove guard for raw_html 2022-07-10 21:07:47 -06:00
Tusooa Zhu 8a0f659a86
Add optional/required indicator for registration fields 2022-07-10 22:46:53 -04:00
Sean King 63519c325f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into add/edit-status 2022-07-10 20:06:18 -06:00
Sean King 65b0b69f10 Merge branch 'from/edit-status/tusooa/indicator' into 'add/edit-status'
Edited indicator on status

See merge request seanking/pleroma-fe!4
2022-07-11 01:36:01 +00:00
Sean King e764fbe8b6 Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'
Handle explicit mention changes in status updates

See merge request seanking/pleroma-fe!3
2022-07-11 01:33:18 +00:00
tusooa c4cbad0df4 Merge branch 'renovate/font-awesome' into 'develop'
Update dependency @fortawesome/vue-fontawesome to v3.0.1

See merge request pleroma/pleroma-fe!1542
2022-07-10 18:18:21 +00:00
Pleroma Renovate Bot d6b4a48983 Update dependency sass to v1.53.0 2022-07-10 09:07:58 +00:00
Pleroma Renovate Bot b4c4d68ffb Update dependency @fortawesome/vue-fontawesome to v3.0.1 2022-07-10 09:07:12 +00:00
Tusooa Zhu e0ee728769 Merge branch 'renovate/sass-loader-7.x' into 'develop'
Update dependency sass-loader to v7.3.1

See merge request pleroma/pleroma-fe!1490
2022-07-06 17:59:58 +00:00
Tusooa Zhu d30e39ca32
Add changelog 2022-07-01 13:04:16 -04:00
Tusooa Zhu 5cd18be47b
Enable anonymous users to interact with statuses remotely 2022-07-01 13:03:45 -04:00
Henry Jameson 54ab1ed741 fix the incorrect rounding in nav list 2022-06-29 21:40:54 +03:00
Henry Jameson 14f48ed4ab re-unfuck the timeline popover 2022-06-29 21:40:44 +03:00
Henry Jameson feb8a17b90 Revert "unify styling of timelines dropdown with other dropdown menus"
This reverts commit 898b326f6c.
2022-06-29 21:12:56 +03:00
Henry Jameson d232fa3dc3 close on avatar click again, add zooming as option 2022-06-27 19:52:40 +03:00
Henry Jameson 700df11e9a fix basicusercard 2022-06-27 19:26:52 +03:00
Henry Jameson cb135645f9 make hover popovers less annoying to close 2022-06-27 19:16:33 +03:00
Henry Jameson 9c9dc2053b move tooltips setting 2022-06-27 19:12:16 +03:00
Henry Jameson 898b326f6c unify styling of timelines dropdown with other dropdown menus 2022-06-27 19:10:18 +03:00
Henry Jameson e59e10e077 put modals on top of navbar 2022-06-27 19:03:06 +03:00
Henry Jameson 4dc4a91224 Merge remote-tracking branch 'origin/develop' into disjointed-popovers
* origin/develop:
  add SK (Slovak) translation
  ReactButton: Workaround for android composition mode
  EmojiPicker: Workaround to search immediately on mobile
  Fix top bar input text colour
  Show underlay for mobile
  Fix tests
  Add English translations for correctly i18nized time units
  Delegate relativeTime plural rules to vue-i18n
  restore notifications page, fix z-index issues
  Make lint happy
  Add English translations for backup UI
  Add backup UI
  Add English translation for list aliases error
  Log errors when listing aliases
  Add changelog
  Add Engilsh translation for migration
  Add frontend ui for aliases and migration
  Change translation key
  Explain better what delete does in moderation menu
2022-06-27 14:49:31 +03:00
Henry Jameson 55e9acc4ad update changelog for vue3/threecolumn/popovers changes 2022-06-27 14:48:12 +03:00
Henry Jameson 6be625b058 use nextrick with status popover updates 2022-06-27 14:28:51 +03:00
Henry Jameson 81bf18a311 fix invisible old popover, cleanup, add selection indicator in mentionlinks 2022-06-27 14:26:47 +03:00
Sean King 29ff63d1b4
Refactor to delete the properties for originalStatus in showStatusHistory in a better way 2022-06-26 18:10:30 -06:00
Sean King 6f4b57e845
Use a better way to clone the original status 2022-06-26 17:41:21 -06:00
Sean King 8c7f4ab481
Use watch to change localDescription 2022-06-26 13:25:36 -06:00
Tusooa Zhu acd53957e0
Do not show edited indicator in history items 2022-06-22 16:14:19 -04:00
Tusooa Zhu 58d58f3d3d
Add English translation for last edited at indicator 2022-06-22 16:07:49 -04:00
Tusooa Zhu ed8bc61022
Add last edited at indicator in status 2022-06-22 16:07:46 -04:00
Sean King 08c9aa4bf3
Use <p> elements instead of <br> for notice on edit status form 2022-06-21 18:00:24 -06:00
Sean King f56298adbd
Add ability to detect whether backend supports editing 2022-06-21 17:44:04 -06:00
Henry Jameson a0ddfa499f update status popover when its content changes (only status reference) 2022-06-22 00:34:22 +03:00
Henry Jameson 872db65fd8 slight z-index refactor and attempt at organizing it 2022-06-22 00:30:10 +03:00
Henry Jameson 93293db038 fix popovers not scrolling in mobile notifications 2022-06-21 15:57:42 +03:00
Henry Jameson 57d156f14a fix spacings again 2022-06-21 15:52:53 +03:00
Sean King fa5d35523d
Add ability to view status history for edited statuses 2022-06-20 22:52:08 -06:00
Henry Jameson 7d719a2b18 fix tests by just ignoring the html comments 2022-06-21 01:40:09 +03:00
Henry Jameson b7b6432e14 fix mentionsline extramentions lack of space 2022-06-21 01:32:31 +03:00
Henry Jameson e6ed00ea1c don't show bookmark button for anon visitors 2022-06-21 01:24:50 +03:00
Henry Jameson 3d4d694b49 don't stop propagation on settings modal open 2022-06-21 01:07:32 +03:00
Henry Jameson 78ced0c901 proper horizontal limit 2022-06-21 01:05:42 +03:00
Henry Jameson af98bc2973 don't use async component for user popover to fix the incorrect initial
position.
for some reason same doesn't work with status popover...
2022-06-21 01:03:20 +03:00
Henry Jameson aca8cf64db move media modal to the topmost layer 2022-06-21 00:14:09 +03:00
Henry Jameson 01e56a3e10 Merge remote-tracking branch 'origin/disjointed-popovers' into disjointed-popovers
* origin/disjointed-popovers:
  popover controls for user-card
  unify user popovers into a separate component
2022-06-20 23:57:44 +03:00
Henry Jameson cb89646c56 optimization: only process resize/scroll events when popup is open 2022-06-20 23:55:39 +03:00
HJ 56501e95c4 Merge branch 'from/develop/tusooa/migration-ui' into 'develop'
Add ui for account migration

See merge request pleroma/pleroma-fe!1414
2022-06-19 20:35:58 +00:00
HJ 0e65253360 Merge branch 'improve_delete_user_confirmation_message' into 'develop'
Explain better what delete does in moderation menu

See merge request pleroma/pleroma-fe!1453
2022-06-19 20:32:27 +00:00
HJ 5ad7dc7835 Merge branch 'from/develop/tusooa/backup-ui' into 'develop'
Add ui for backup

See merge request pleroma/pleroma-fe!1520
2022-06-19 20:31:19 +00:00
HJ b4006bf4f0 Merge branch 'translation-sk' into 'develop'
add SK (Slovak) translation

See merge request pleroma/pleroma-fe!1517
2022-06-19 20:29:25 +00:00
k2s c1ee78756c add SK (Slovak) translation 2022-06-19 20:29:24 +00:00
HJ da022e722e Merge branch 'from/develop/tusooa/unit-pl' into 'develop'
Use vue-i18n to determine plural forms of time units

Closes #1164

See merge request pleroma/pleroma-fe!1535
2022-06-19 20:28:29 +00:00
HJ 2b10fe06fa Merge branch 'from/develop/tusooa/show-underlay-mobile' into 'develop'
Show underlay for mobile

See merge request pleroma/pleroma-fe!1536
2022-06-19 20:26:55 +00:00
HJ 4452a14c77 Merge branch 'from/develop/tusooa/topbar-input-text' into 'develop'
Fix top bar input text colour

See merge request pleroma/pleroma-fe!1538
2022-06-19 20:26:24 +00:00
HJ 6fb483955e Merge branch 'fix-mobile-emoji-search' into 'develop'
EmojiPicker: Workaround to search immediately on mobile

See merge request pleroma/pleroma-fe!1539
2022-06-19 20:25:43 +00:00
Henry Jameson 60571685c2 popover controls for user-card 2022-06-16 17:06:16 +03:00
Henry Jameson d84cda7009 unify user popovers into a separate component 2022-06-16 16:48:10 +03:00
Henry Jameson 770d12f7ad limit width of popover to slightly lesser than screen width 2022-06-15 04:03:18 +03:00
Henry Jameson b343599e6f don't hide on clicks in popover's content 2022-06-15 04:02:05 +03:00
Henry Jameson 30c4a66518 use user popovers in notifications as well 2022-06-15 04:01:46 +03:00
Henry Jameson d3b5d27f29 properly center user popovers 2022-06-15 03:50:57 +03:00
Henry Jameson 7c633aa952 user popovers WIP 2022-06-13 13:45:04 +03:00
Henry Jameson 3628fb4272 fix tests 2022-06-13 13:19:54 +03:00
Henry Jameson 97e4a3d8e5 fix popovers in modals 2022-06-13 01:36:41 +03:00
Henry Jameson 85de0927fa recalculate position on scrolls 2022-06-13 01:30:20 +03:00
Sean King 1b796691b0
Change message on unsupported edit features 2022-06-12 10:16:56 -06:00
Henry Jameson 8979548ed8 remove duplicate buttons on post buttons 2022-06-12 16:32:32 +03:00
Henry Jameson 55adcd822e fix animations, replace ugly old mentionlink tooltips with new usercard ones 2022-06-12 16:31:56 +03:00
Henry Jameson 61d63b0e61 fix popovers so that all of them have shadows 2022-06-12 15:23:43 +03:00
Henry Jameson ce00954e7c turns out it is needed still + some code cleanup 2022-06-12 15:21:09 +03:00
Lain Soykaf 67a9452e11 ReactButton: Workaround for android composition mode 2022-06-12 13:48:21 +02:00
Lain Soykaf 9c8738ff22 EmojiPicker: Workaround to search immediately on mobile
See https://github.com/vuejs/vue/pull/9814
2022-06-12 13:38:12 +02:00
Sean King 21c590f83f
Clarification on unsupported edit features warning 2022-06-11 23:51:13 -06:00
Sean King 87fa7b82fb
Add warning for editing statuses 2022-06-11 20:40:53 -06:00
Sean King 8dac3932fe
Only refetch status on highlight if streaming is not enabled 2022-06-11 20:10:16 -06:00
Sean King 6e42409b8a
Fetch status when highlighting it 2022-06-11 19:30:29 -06:00
Tusooa Zhu c195e3571c
Handle explicit mention changes in status updates 2022-06-11 20:33:12 -04:00
Sean King 29e7972d8b
Credit to the chad tusooa 2022-06-11 16:44:08 -06:00
Sean King 32ecdfdd87
Don't pollute the original timeline when new media attachment is added 2022-06-11 16:38:03 -06:00
Sean King 80ec88beab
Use statusId instead of repliedUser.id 2022-06-11 16:32:46 -06:00
Tusooa Zhu 31571361d3
Fix top bar input text colour 2022-06-11 18:18:27 -04:00
Sean King 15005a2a50 Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'
Display attachment description updates properly

See merge request seanking/pleroma-fe!2
2022-06-11 22:17:12 +00:00
Tusooa Zhu 131febe653
Display attachment description updates properly 2022-06-11 18:06:46 -04:00
Sean King 77e6aa6968
Remove comment regarding Mastodon in API service 2022-06-11 10:32:37 -06:00
Sean King 4b3de2797e Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'
Display edited status

See merge request seanking/pleroma-fe!1
2022-06-11 16:31:13 +00:00
Tusooa Zhu bb5aed09cf
Display edited status 2022-06-11 12:20:11 -04:00
Sean King 1a333aabba
Add edit status functionality 2022-06-07 21:31:48 -06:00
Tusooa Zhu 1ce78435c4
Show underlay for mobile 2022-06-07 21:48:34 -04:00
Tusooa Zhu 13cff692f0
Fix tests 2022-06-07 20:34:08 -04:00
Henry Jameson 71b5462a05 vPadding is no longer needed 2022-06-08 03:22:50 +03:00
Tusooa Zhu 772ddade21
Add English translations for correctly i18nized time units 2022-06-07 20:22:25 -04:00
Henry Jameson e3b9c00d5e hide popovers on scroll 2022-06-08 03:22:15 +03:00
Tusooa Zhu c17de10d3a
Delegate relativeTime plural rules to vue-i18n 2022-06-07 20:22:03 -04:00
Henry Jameson 832d7f2354 more fixes to chat popovers 2022-06-08 03:18:37 +03:00
Henry Jameson fa398b5e7a popup offsets should be fixed now 2022-06-08 03:08:03 +03:00
Henry Jameson 1154a6514b Merge remote-tracking branch 'origin/develop' into disjointed-popovers
* origin/develop: (25 commits)
  force panel headers to be square on mobile (for now?)
  fix gap between panel heading and timeline menu
  Fix Open Chat button
  fix?
  fix
  Revert "Merge branch 'revert-a88abc7e' into 'develop'"
  Revert "Merge branch 'from/develop/tusooa/lang-opts' into 'develop'"
  Fix registration error
  stick chat scroll to bottom to help with OSK resizing the viewport
  Pass file name of cropped avatar to form data
  Add English translation for filtering end-of-poll notifications
  Add settings for filtering end-of-poll notifications
  Add English translations for poll-end notifications
  Show poll-end notifications
  Fix virtual scrolling when the user has a lot of pinned statuses
  Update dependency @vuelidate/core to v2.0.0-alpha.41
  Make lint happy
  Make lint happy
  Add English translation for language options
  Add email language option to registration form
  ...
2022-06-08 02:13:47 +03:00
HJ 15229d27b4 Merge branch '3c-fixes' into 'develop'
restore notifications page, fix z-index issues

Closes #1166

See merge request pleroma/pleroma-fe!1534
2022-06-07 13:59:07 +00:00
Henry Jameson 9b5fe24ca4 restore notifications page, fix z-index issues 2022-06-07 16:52:03 +03:00
HJ 0aa334515b Merge branch 'threecolumn' into 'develop'
Layout refactoring + Three column mode

See merge request pleroma/pleroma-fe!1503
2022-05-31 17:46:59 +00:00
HJ 1418054b53 Merge branch 'from/develop/tusooa/fix-open-chat' into 'develop'
Fix Open Chat button

See merge request pleroma/pleroma-fe!1532
2022-05-31 17:46:31 +00:00
Henry Jameson a63aeccbcc force panel headers to be square on mobile (for now?) 2022-05-31 20:35:30 +03:00
Henry Jameson 58b8217283 fix gap between panel heading and timeline menu 2022-05-31 20:28:47 +03:00
Tusooa Zhu 152302cbff
Fix Open Chat button 2022-05-25 13:35:09 -04:00
Henry Jameson c3c120e91d fix? 2022-05-22 21:50:30 +03:00
Henry Jameson 1feff4dcc7 fix 2022-05-22 21:47:19 +03:00
HJ 48c739027c Merge branch 'from/develop/tusooa/lang-opts' into 'develop'
Fix registration error

See merge request pleroma/pleroma-fe!1527
2022-05-22 16:41:37 +00:00
HJ 68a2c5db98 Merge branch 'revert-3b6d72ef' into 'develop'
Revert "Merge branch 'revert-a88abc7e' into 'develop'"

See merge request pleroma/pleroma-fe!1528
2022-05-22 16:41:16 +00:00
HJ 9725443e60 Revert "Merge branch 'revert-a88abc7e' into 'develop'"
This reverts merge request !1526
2022-05-22 16:40:59 +00:00
HJ 3b6d72ef3b Merge branch 'revert-a88abc7e' into 'develop'
Revert "Merge branch 'from/develop/tusooa/lang-opts' into 'develop'"

See merge request pleroma/pleroma-fe!1526
2022-05-22 16:38:21 +00:00
HJ 069cf3fa87 Revert "Merge branch 'from/develop/tusooa/lang-opts' into 'develop'"
This reverts merge request !1494
2022-05-22 16:38:09 +00:00
Tusooa Zhu 79ee77a6fe
Fix registration error 2022-05-22 12:37:38 -04:00
HJ a88abc7ee3 Merge branch 'from/develop/tusooa/lang-opts' into 'develop'
Add language options

See merge request pleroma/pleroma-fe!1494
2022-05-22 16:35:51 +00:00
HJ 396349fdf2 Merge branch 'renovate/semver-5.x' into 'develop'
Update dependency semver to v5.7.1

See merge request pleroma/pleroma-fe!1491
2022-05-22 16:31:35 +00:00
HJ 62fcc16546 Merge branch 'renovate/webpack-merge-0.x' into 'develop'
Update dependency webpack-merge to v0.20.0

See merge request pleroma/pleroma-fe!1496
2022-05-22 16:29:39 +00:00
HJ dfc166c1ff Merge branch 'renovate/vuelidate-core-2.x' into 'develop'
Update dependency @vuelidate/core to v2.0.0-alpha.41

See merge request pleroma/pleroma-fe!1501
2022-05-22 16:28:24 +00:00
HJ 48f97ebf40 Merge branch 'eientei-pass-avatar-file-name' into 'develop'
Pass file name of cropped avatar to form data

See merge request pleroma/pleroma-fe!1522
2022-05-22 16:25:46 +00:00
HJ 3287ce9453 Merge branch 'from/develop/tusooa/poll-notif' into 'develop'
Poll-end notifications

See merge request pleroma/pleroma-fe!1524
2022-05-22 16:25:22 +00:00
Henry Jameson d137d5800a stick chat scroll to bottom to help with OSK resizing the viewport 2022-05-22 12:18:20 +03:00
Alexander Tumin 29b084b4b8 Pass file name of cropped avatar to form data 2022-05-21 19:44:44 +03:00
Tusooa Zhu 6e0ceda968
Add English translation for filtering end-of-poll notifications
Ref: poll-notif
2022-05-20 16:45:34 -04:00
Tusooa Zhu a35daceb5b
Add settings for filtering end-of-poll notifications
Ref: poll-notif
2022-05-20 16:45:33 -04:00
Tusooa Zhu a4b6a97b1b
Add English translations for poll-end notifications
Ref: poll-notif
2022-05-20 16:45:33 -04:00
Tusooa Zhu df487e3980
Show poll-end notifications
Ref: poll-notif
2022-05-20 16:45:33 -04:00
Henry Jameson 2c876f455a Merge remote-tracking branch 'origin/develop' into threecolumn
* origin/develop:
  Fix virtual scrolling when the user has a lot of pinned statuses
  fix "allow discovery" setting misbehaving
2022-05-20 12:45:06 +03:00
HJ c93adf2e9a Merge branch 'from/develop/tusooa/fix-vscroll-pinned' into 'develop'
Fix virtual scrolling when the user has a lot of pinned statuses

See merge request pleroma/pleroma-fe!1523
2022-05-20 09:44:35 +00:00
Tusooa Zhu 38ea47df89
Fix virtual scrolling when the user has a lot of pinned statuses 2022-05-19 20:42:40 -04:00
Henry Jameson fd831a27f4 experimental disjointed popups 2022-05-20 00:56:23 +03:00
Henry Jameson c83657a072 stick chats to bottom 2022-05-20 00:28:34 +03:00
Henry Jameson a45a05fbb2 try out fully hidden input field 2022-05-16 23:46:32 +03:00
Henry Jameson 8d93e9c13c set/unset threecolumn mode on login/logout 2022-05-16 23:40:51 +03:00
Henry Jameson edbbbaad48 don't use wide mode for anon viewers 2022-05-09 23:25:41 +03:00
Henry Jameson ce8722b0e6 don't show "up to date" in user profile TL 2022-05-09 23:22:01 +03:00
Henry Jameson 54a40bfa01 fix inline conversation's shadow showing through outer header 2022-05-09 23:18:39 +03:00
Henry Jameson cc1e3c6792 fix incorrect sticking in user profile page 2022-05-09 23:14:58 +03:00
Henry Jameson fb70ea3b95 fix panel overlaps in firefox 2022-05-09 23:11:50 +03:00
Henry Jameson 4a956fa18d fix hidden input for file upload causing unintended scrolls 2022-05-09 23:07:55 +03:00
Tusooa Zhu 653a762c21
Make lint happy 2022-05-09 00:42:24 -04:00
Tusooa Zhu 22af78c7f4
Add English translations for backup UI 2022-05-09 00:42:24 -04:00
Tusooa Zhu f3ce76ddbf
Add backup UI 2022-05-09 00:42:21 -04:00
Pleroma Renovate Bot 45614b8804 Update dependency @vuelidate/core to v2.0.0-alpha.41 2022-05-02 09:06:51 +00:00
Tusooa Zhu 5831534800
Add English translation for list aliases error 2022-04-29 21:27:03 -04:00
Tusooa Zhu cd9c026042
Log errors when listing aliases 2022-04-29 21:27:03 -04:00
Tusooa Zhu 9ffe5c2ef5
Add changelog 2022-04-29 21:27:03 -04:00
Tusooa Zhu f661099b60
Add Engilsh translation for migration
Ref: migrate-ui
2022-04-29 21:27:03 -04:00
Tusooa Zhu 176da2bbe5
Add frontend ui for aliases and migration
Ref: migrate-ui
2022-04-29 21:27:03 -04:00
Tusooa Zhu f57171d7b9
Make lint happy 2022-04-29 20:36:56 -04:00
Tusooa Zhu 3633ea66d4
Make lint happy 2022-04-29 20:34:32 -04:00
Tusooa Zhu 093c85d006
Add English translation for language options 2022-04-29 20:34:32 -04:00
Tusooa Zhu 1d36ea5ec5
Add email language option to registration form 2022-04-29 20:34:32 -04:00
Tusooa Zhu d39de30221
Add config opts for email language 2022-04-29 20:34:31 -04:00
Tusooa Zhu a5e861cd01
Set userLanguage cookie when setting interface language 2022-04-29 20:34:29 -04:00
HJ 96a24ec625 Merge branch 'fix-discoverable-setting' into 'develop'
fix "allow discovery" setting misbehaving

See merge request pleroma/pleroma-fe!1518
2022-04-29 07:56:18 +00:00
Henry Jameson 91f833d1f0 fix "allow discovery" setting misbehaving 2022-04-29 10:52:16 +03:00
Henry Jameson 4d720974c3 minor fixes 2022-04-28 16:36:53 +03:00
Henry Jameson 23c5627639 sort and optimize panel.scss 2022-04-28 10:57:06 +03:00
Henry Jameson 5775abb25c fix panel footer colors 2022-04-28 10:52:41 +03:00
Henry Jameson e5be00dae1 fix mobile version 2022-04-26 18:55:21 +03:00
Henry Jameson cc84485650 improvements to chats view 2022-04-26 18:50:22 +03:00
Henry Jameson 4e4c96dfaf fix for notices being glued together 2022-04-26 18:15:12 +03:00
Henry Jameson f0f56bf148 more cleanup/fixes, gap b/w panels and topbar is closer to original now 2022-04-26 18:12:58 +03:00
Henry Jameson 49db16318b more fixes for shoutbox 2022-04-26 18:12:45 +03:00
Henry Jameson 079e289260 improvements and cleanup to input components 2022-04-26 17:31:26 +03:00
Henry Jameson a96367139c oops 2022-04-26 00:12:24 +03:00
Henry Jameson 1860bb354f make panel height property private since it relies on font size 2022-04-26 00:10:51 +03:00
Henry Jameson deece57584 better formatting 2022-04-26 00:10:33 +03:00
Henry Jameson 318c62c852 reduce height of post form by default 2022-04-26 00:08:55 +03:00
Henry Jameson 2a6f42fef3 unified how panel-footer works between regular timelines and user timeline 2022-04-25 23:50:22 +03:00
Henry Jameson f2b75a075d switching to center because baseline looks extremely off 2022-04-22 00:28:58 +03:00
Henry Jameson cd021bc6df cleanup & more fixes for alignments and sizing 2022-04-21 19:57:00 +03:00
Henry Jameson d4bd64a5f5 fix panel headers on mobile 2022-04-21 00:39:54 +03:00
Henry Jameson ed80ecfdbd cleanup 2022-04-21 00:27:48 +03:00
Henry Jameson 491449c418 undo mistake 2022-04-21 00:21:46 +03:00
Henry Jameson 33d92f9b16 relative units in line-height + some cleanup 2022-04-20 23:55:34 +03:00
Henry Jameson 7f513fe46f more em-sized fonts 2022-04-20 23:44:33 +03:00
Henry Jameson 58a975e8df cleanup and fixes 2022-04-20 23:22:51 +03:00
Henry Jameson 076c52788b fixes for mobile 2022-04-20 20:43:10 +03:00
Henry Jameson 80b1ccb267 restore old chat inputbox behavior 2022-04-20 20:40:10 +03:00
HJ 92b04ba7df Merge branch 'fix-chat-errors' into 'develop'
fix some chat errors/warnings that sometimes happen

See merge request pleroma/pleroma-fe!1515
2022-04-20 17:27:01 +00:00
Henry Jameson e388dbc168 Merge branch 'fix-chat-errors' into threecolumn
* fix-chat-errors:
  fix some chat errors/warnings that sometimes happen
  Fix incorrect close of a status popover when clicking Expand inside it
  fix tests
  fix hashtags by explicitly putting attributes
2022-04-20 20:23:34 +03:00
Henry Jameson 895eda3714 fix some chat errors/warnings that sometimes happen 2022-04-20 20:19:22 +03:00
Henry Jameson be8098e8ec fix chat 2022-04-20 20:16:41 +03:00
Henry Jameson 06f58f5349 i forgor 2022-04-20 20:03:18 +03:00
Henry Jameson 85c515b395 more fixes for timeline headers 2022-04-20 19:57:01 +03:00
Henry Jameson 631b8b93a4 tons of fixes mainly aimed at panel headings 2022-04-20 19:44:49 +03:00
HJ fb63e81ed1 Merge branch 'from/develop/tusooa/1157-popover-trigger' into 'develop'
Fix incorrect close of a status popover when clicking Expand inside it

Closes #1157

See merge request pleroma/pleroma-fe!1514
2022-04-20 09:15:18 +00:00
Tusooa Zhu a4ea0a30bf
Fix incorrect close of a status popover when clicking Expand inside it
basically Vue (3 in particular?) will make changes to DOM before this event
listener is called, and if the target is displayed using v-if, it will not
be part of the DOM at that time, and contains() will return false. so it
goes to call hidePopover() which caused this bug.
2022-04-19 20:24:24 -04:00
Henry Jameson aef6d52951 fix logoLeft not working at all 2022-04-20 01:25:30 +03:00
Henry Jameson d87a1fda59 fix scrollbars in dropdowns 2022-04-20 00:47:09 +03:00
Henry Jameson 9ae8ff0098 fix scrollbars in panel headers 2022-04-20 00:46:57 +03:00
Henry Jameson bb29218a6c fixate conversation heading 2022-04-19 23:06:57 +03:00
Henry Jameson b25c0c6f02 fix overflow that sometimes happens in sidebar due to too wide file
upload element
2022-04-19 22:22:16 +03:00
Henry Jameson 28556f7c27 localization updates 2022-04-12 22:01:04 +03:00
Henry Jameson 4b050c7fa5 properly ignore sticky elements when calculating offset because they
technically are following main scroll
2022-04-12 21:49:14 +03:00
Henry Jameson 3d37b9d8e1 unified layout-setting code and made an option to control or disable
third column behavior
2022-04-12 21:18:06 +03:00
HJ 1041a38f14 Merge branch 'fix-hashtags' into 'develop'
fix hashtags by explicitly putting attributes

See merge request pleroma/pleroma-fe!1513
2022-04-12 16:09:33 +00:00
Henry Jameson 0bb69d7fe0 fix tests 2022-04-12 19:04:32 +03:00
Henry Jameson d175e86901 fix hashtags by explicitly putting attributes 2022-04-12 18:10:19 +03:00
Henry Jameson b37932fdf4 fix main scrollbar on chrome 2022-04-12 17:27:34 +03:00
Henry Jameson 08ad2923a5 fix chats button alignment 2022-04-12 17:17:52 +03:00
Henry Jameson e5eca8a554 reduce chats jumpiness 2022-04-12 17:03:29 +03:00
Henry Jameson 0db756b4a5 fix post form/dropzone for good (?) 2022-04-12 01:22:31 +03:00
Henry Jameson f4447eb3a0 deal with browsers that don't support hiding scrollbars (somewhat) 2022-04-12 00:19:29 +03:00
Henry Jameson 2e10c1b0a3 enforce scroll to avoid jumpiness 2022-04-11 23:54:44 +03:00
Henry Jameson e744775ce8 fix dropdown menus 2022-04-11 23:49:46 +03:00
Henry Jameson 647b8e5f6b more fixes for z-indexes in panels 2022-04-11 23:34:56 +03:00
Henry Jameson 4f617a7293 fix for chat shadow 2022-04-11 23:30:41 +03:00
Henry Jameson df18a74adc fixes for z-indexes 2022-04-11 23:18:46 +03:00
Henry Jameson 2f1f1455aa fix notifications scrolling the main column 2022-04-11 16:45:16 +03:00
Henry Jameson e5f0f95356 fix dropzone 2022-04-11 00:20:27 +03:00
Henry Jameson 21f7cb39a8 cleanup 2022-04-10 22:50:33 +03:00
Henry Jameson 5d203e93ae improvements to relative panel sizing 2022-04-10 22:37:08 +03:00
Henry Jameson fe8b5b62ae fix chromium crashing on my machine :hyperjoy: LUL 2022-04-10 22:23:07 +03:00
Henry Jameson f27226b55c improvements to relative font sizes 2022-04-10 22:09:46 +03:00
Henry Jameson 666498e7b7 fix main post form having hidden emoji picker 2022-04-10 21:56:54 +03:00
Henry Jameson aa07b219c9 fix horizontal scroll, make hovered column render stuff on top of other
ones (popups, tooltips etc)
2022-04-10 21:32:29 +03:00
Henry Jameson 3f65c8b1d6 Merge remote-tracking branch 'origin/develop' into threecolumn
* origin/develop:
  Fix image cropper not closing correctly
2022-04-10 20:42:25 +03:00
Henry Jameson 62572c3204 remove margins from underlay since it causes horizontal scroll on
smaller screens
2022-04-10 20:41:36 +03:00
HJ c2a4051d72 Merge branch 'from/develop/tusooa/cropper-close' into 'develop'
Fix image cropper not closing correctly

See merge request pleroma/pleroma-fe!1512
2022-04-10 17:40:52 +00:00
Henry Jameson 3f9d9dd6bd underlay improvements 2022-04-10 20:27:09 +03:00
Henry Jameson 3e1b40ce29 fix new post button not working day1, minor stylistic fixes 2022-04-10 20:18:54 +03:00
Tusooa Zhu 169d13680a
Fix image cropper not closing correctly 2022-04-10 13:02:45 -04:00
Henry Jameson 0f28c28760 layout fixes 2022-04-10 19:29:10 +03:00
Henry Jameson d9f8091ce6 fix extra padding in thread view 2022-04-10 19:29:06 +03:00
Henry Jameson 5b664f464d chat fixes 2022-04-10 19:29:06 +03:00
Henry Jameson 7426417a52 more fixes 2022-04-10 18:44:22 +03:00
Henry Jameson a035fa4e6c fix timeline scroll-to-top 2022-04-10 18:44:03 +03:00
Henry Jameson 4c2301bc9f fix scrollable columns 2022-04-10 18:43:52 +03:00
Henry Jameson 77505fa7c9 revert layout back to scrollable body 2022-04-10 17:48:02 +03:00
Henry Jameson 2df48b1643 revert timeline changes 2022-04-10 17:47:54 +03:00
Henry Jameson ce9fd04865 Merge remote-tracking branch 'origin/develop' into threecolumn
* origin/develop:
  Fix tab switcher not working when some tabs hidden
  Fix mobile nav link text colour
  Fix shrug text in muted status
2022-04-10 14:54:03 +03:00
Henry Jameson 684650e14f restore margins for inline convos 2022-04-10 14:47:47 +03:00
Henry Jameson 0ff34f8a5a clean up and organize CSS, use ems for widths, use vars more 2022-04-10 14:23:30 +03:00
Henry Jameson 4750d9bb4c fix notifs' shadow peeking in when closed on mobile 2022-04-10 14:23:03 +03:00
HJ 4d15cbcbbd Merge branch 'from/develop/tusooa/1158-hidden-tabs' into 'develop'
Fix tab switcher not working when some tabs hidden

Closes #1158

See merge request pleroma/pleroma-fe!1511
2022-04-10 06:32:41 +00:00
Tusooa Zhu 3b02566e16
Fix tab switcher not working when some tabs hidden 2022-04-09 23:50:29 -04:00
Henry Jameson 5b47856329 fix scrollbars for real now 2022-04-08 13:34:20 +03:00
Henry Jameson 282e6812b3 fix chats, boost popover's z-index some more 2022-04-08 13:31:29 +03:00
Henry Jameson 6109fab14e cleanup, fix some things, try to disable scrollbars on mobile 2022-04-08 10:17:23 +03:00
HJ 87311cff09 Merge branch 'from/develop/tusooa/mobile-nav-link-col' into 'develop'
Fix mobile nav link text colour

See merge request pleroma/pleroma-fe!1510
2022-04-07 21:12:17 +00:00
Tusooa Zhu 6951fda0d6
Fix mobile nav link text colour 2022-04-07 15:59:03 -04:00
HJ 2d99cbc640 Merge branch 'from/develop/tusooa/1160-rm-shrug' into 'develop'
Fix shrug text in muted status

Closes #1160

See merge request pleroma/pleroma-fe!1509
2022-04-07 15:50:51 +00:00
Tusooa Zhu 22c70ae22a
Fix shrug text in muted status 2022-04-07 11:45:23 -04:00
Henry Jameson c71cf72eea fix mobile view 2022-04-07 16:39:39 +03:00
Henry Jameson 51c996bd7e boost z-index of popover 2022-04-07 16:18:39 +03:00
Henry Jameson 4007ddbf32 oops 2022-04-07 16:10:46 +03:00
Henry Jameson 6b67c095bf make scrollbars use button roundness 2022-04-07 16:07:47 +03:00
Henry Jameson b8b7ae8564 fancy scrollbars 2022-04-07 16:04:22 +03:00
Henry Jameson b5ded67c06 options to enable scrollbars and disable sticky headers 2022-04-07 15:11:23 +03:00
Henry Jameson d3d219f15d fix interactions page 2022-04-07 14:37:16 +03:00
Henry Jameson 8d623ab1ea fix some scroll issues 2022-04-07 11:36:14 +03:00
Henry Jameson ab7490e49b Merge remote-tracking branch 'origin/develop' into threecolumn
* origin/develop:
  Fix active popover style
  Use panel text instead of text for shoutbox icon
  Fix dropdown menu style inside panel header
  Fix phoenix sockets in dev mode
  Fix no reactivity on vuex 4 values
  fix tegulu
  heck
  fix i18n for good??
  force runtime build of i18n
  fix CSP by compiling the i18n templates as well
2022-04-07 10:33:20 +03:00
HJ d8324dd80b Merge branch 'from/develop/tusooa/shoutbox-icon-paneltext' into 'develop'
Use panel text instead of text for shoutbox icon

See merge request pleroma/pleroma-fe!1508
2022-04-07 07:24:40 +00:00
HJ caacaf238c Merge branch 'from/develop/tusooa/popover-in-panel-style' into 'develop'
Fix popover in panel header styling

See merge request pleroma/pleroma-fe!1507
2022-04-07 07:24:22 +00:00
HJ e4b8aaece6 Merge branch 'from/develop/tusooa/fix-shout-local' into 'develop'
Fix phoenix sockets in dev mode

See merge request pleroma/pleroma-fe!1506
2022-04-07 07:23:06 +00:00
HJ bfc7b6af8f Merge branch 'from/develop/tusooa/1156-vue3-shoutbox' into 'develop'
Fix no reactivity on vuex 4 values

Closes #1156

See merge request pleroma/pleroma-fe!1505
2022-04-07 07:01:09 +00:00
Tusooa Zhu fce9c5eeb2
Fix active popover style 2022-04-06 22:50:46 -04:00
Tusooa Zhu 6de87e8b65
Use panel text instead of text for shoutbox icon 2022-04-06 20:30:23 -04:00
Tusooa Zhu 041c72b07c
Fix dropdown menu style inside panel header 2022-04-06 20:14:17 -04:00
Tusooa Zhu 741a59e0cc
Fix phoenix sockets in dev mode
phoenix requires the Origin header to be set to the actual address,
so "http://localhost:xxxx" will not work.
2022-04-06 18:52:16 -04:00
Tusooa Zhu 4ddb6189dc
Fix no reactivity on vuex 4 values 2022-04-06 17:17:47 -04:00
HJ 0e56ac1c2b Merge branch 'fix-csp-vue3' into 'develop'
Makes develop usable on stock PleromaBE

See merge request pleroma/pleroma-fe!1504
2022-04-06 15:48:33 +00:00
Henry Jameson 853f5145be fix tegulu 2022-04-06 18:43:47 +03:00
Henry Jameson b213d25711 heck 2022-04-06 15:48:07 +03:00
Henry Jameson bd77f3a1a6 fix i18n for good?? 2022-04-06 15:45:44 +03:00
Henry Jameson 78817e37f7 force runtime build of i18n 2022-04-06 11:43:30 +03:00
Henry Jameson 2b0dd2cbae fix CSP by compiling the i18n templates as well 2022-04-05 23:45:26 +03:00
Henry Jameson 6a319154d9 teleport bread 2022-04-05 19:22:15 +03:00
Henry Jameson 4a068483ed wide mode initial implementation + cleanup 2022-04-05 18:38:05 +03:00
Henry Jameson 9e5037c715 make chatlist header sticky 2022-04-05 17:44:40 +03:00
Henry Jameson 835feea163 fix random error that sometimes occurs 2022-04-05 17:44:30 +03:00
Henry Jameson 52649bdabc cleanup & code splitting 2022-04-05 17:15:45 +03:00
Henry Jameson 0a606c2720 fix chat loading endlessly 2022-04-05 17:11:50 +03:00
Henry Jameson cfa8edf2c0 chats work and look a bit better 2022-04-05 13:19:12 +03:00
Henry Jameson e7ac0e5d68 fix main column having wild widths 2022-04-05 13:03:03 +03:00
Henry Jameson 71863061c6 fixed tons of stuff, at least it looks normalish on desktop 2022-04-04 19:41:09 +03:00
Henry Jameson 0e83ced25b refactored how main app layout works 2022-04-04 09:42:52 +03:00
HJ a613447105 Merge branch 'from/develop/tusooa/phoenix-1.6.2' into 'develop'
Fix phoenix at 1.6.2

See merge request pleroma/pleroma-fe!1502
2022-04-01 13:03:13 +00:00
Tusooa Zhu a3233e31d0
Fix phoenix at 1.6.2
According to https://github.com/phoenixframework/phoenix/issues/4623 ,
1.6.2 seems to not have the disconnection bug.
2022-04-01 08:44:18 -04:00
Pleroma Renovate Bot 8a55f21a98 Update dependency webpack-merge to v0.20.0 2022-04-01 09:08:00 +00:00
Pleroma Renovate Bot c7d8cff7b3 Update dependency semver to v5.7.1 2022-04-01 09:07:15 +00:00
Pleroma Renovate Bot 66fefc9ad0 Update dependency sass-loader to v7.3.1 2022-04-01 09:07:03 +00:00
HJ f71f101fce Merge branch 'vue3-again' into 'develop'
Migration to Vue 3 (again)

See merge request pleroma/pleroma-fe!1385
2022-03-31 17:45:29 +00:00
HJ afdc61b9b7 Merge branch 'vue3-no-compat' into 'vue3-again'
Remove Vue3 compat build

See merge request pleroma/pleroma-fe!1500
2022-03-31 17:39:08 +00:00
HJ 1d1ea7e703 Merge branch 'from/develop/tusooa/fix-feat-shoutbox-en' into 'develop'
Fix English translation of Shoutbox in features panel

See merge request pleroma/pleroma-fe!1489
2022-03-30 21:40:19 +00:00
Henry Jameson 052ad2fe3f Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  oops
2022-03-30 23:54:21 +03:00
Henry Jameson a0099ecb66 oops 2022-03-30 23:54:11 +03:00
Henry Jameson 9940739f1f Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  fix some mishaps i noticed during self-review
2022-03-30 23:52:24 +03:00
Henry Jameson afbe1a96ac fix some mishaps i noticed during self-review 2022-03-30 23:48:06 +03:00
Henry Jameson e029c2864f Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  fix importer
2022-03-30 18:00:48 +03:00
Henry Jameson dadf2f407f fix importer 2022-03-30 18:00:37 +03:00
Henry Jameson 6751c22a23 Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  make all clickable icons into actual buttons
2022-03-30 13:13:41 +03:00
Henry Jameson 1943991077 make all clickable icons into actual buttons 2022-03-30 12:34:27 +03:00
Henry Jameson 115170f35d Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  fix emoji input warning spam
  fix error clear icon
  Add controlledShowingLongSubject and toggle in StatusContent props
2022-03-30 01:26:35 +03:00
Henry Jameson c3690b456e fix emoji input warning spam 2022-03-30 01:24:53 +03:00
Henry Jameson 70593e71e6 fix error clear icon 2022-03-30 01:24:17 +03:00
HJ 1c60609547 Merge branch 'vue3-again' into 'vue3-again'
Add controlledShowingLongSubject and toggle in StatusContent props

See merge request pleroma/pleroma-fe!1499
2022-03-29 18:13:27 +00:00
Tusooa Zhu b84acfd7b7
Add controlledShowingLongSubject and toggle in StatusContent props 2022-03-29 13:56:42 -04:00
Henry Jameson 97e072d93a how did this get back?? 2022-03-29 20:23:44 +03:00
Henry Jameson 2179054384 Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  fix warning about custom component
  fix?
  fix some issues with trees
  removing uselsess stuff
  fix reset buttons in profile again
  fix spacing in poll expiration label
  registration fixes
2022-03-29 20:00:59 +03:00
Henry Jameson a3f48fc3f4 fix warning about custom component 2022-03-29 19:55:30 +03:00
Henry Jameson de2f968645 fix? 2022-03-29 19:44:07 +03:00
Henry Jameson e1483488c7 fix some issues with trees 2022-03-29 19:23:30 +03:00
Henry Jameson a1822f073d removing uselsess stuff 2022-03-29 19:21:13 +03:00
Henry Jameson 218b15b5fd fix reset buttons in profile again 2022-03-29 19:12:57 +03:00
Henry Jameson bc029b0fa2 fix spacing in poll expiration label 2022-03-29 19:04:01 +03:00
Henry Jameson 2d7f242713 remove unused props to fix test 2022-03-29 16:33:34 +03:00
Henry Jameson 0afc955ebd registration fixes 2022-03-29 16:08:57 +03:00
Henry Jameson e80e53d9d2 Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  re-fix i18n warnings again
  fix qr code
2022-03-29 16:00:56 +03:00
Henry Jameson afcfcce2e6 re-fix i18n warnings again 2022-03-29 15:46:21 +03:00
Henry Jameson 3171241c6f fix qr code 2022-03-29 15:44:42 +03:00
Henry Jameson 3e0bb91ff2 Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
  lint + fixes for registration
  fix production build's reply not working in tree mode
  lock down version?
  manual lint
  Revert "fix weird thing i somehow missed"
  Revert "lint"
  fix weird thing i somehow missed
  lint
2022-03-29 15:35:47 +03:00
Henry Jameson 5bbc0e0bb5 lint + fixes for registration 2022-03-29 15:35:18 +03:00
Henry Jameson 3799983d4f fix production build's reply not working in tree mode 2022-03-29 12:43:42 +03:00
Henry Jameson 3f04ebd89a lock down version? 2022-03-29 12:27:59 +03:00
Henry Jameson b93e5437bd manual lint 2022-03-29 12:04:09 +03:00
Henry Jameson 64d56e6515 Revert "fix weird thing i somehow missed"
This reverts commit b132581b3a.
2022-03-29 11:59:00 +03:00
Henry Jameson d9d4d8954e Revert "lint"
This reverts commit f20ae34400.
2022-03-29 11:57:54 +03:00
Henry Jameson b132581b3a fix weird thing i somehow missed 2022-03-29 11:47:22 +03:00
Henry Jameson f20ae34400 lint 2022-03-29 01:04:37 +03:00
Henry Jameson dc8bef7928 remove compat build 2022-03-29 00:58:17 +03:00
Henry Jameson 650e69c336 fix misc warnings 2022-03-29 00:02:02 +03:00
Henry Jameson f21dc21a83 properly implement resettableAsyncComponent 2022-03-28 23:55:57 +03:00
Henry Jameson 9afbb12f95 fix opacity control again 2022-03-28 23:55:11 +03:00
Henry Jameson 7b10e47b21 rename some binding hooks according to new names 2022-03-28 23:54:30 +03:00
Henry Jameson 4b630c3c36 fix warnings 2022-03-28 17:37:26 +03:00
Henry Jameson bdd240a230 fix some more warnings 2022-03-28 17:21:42 +03:00
Henry Jameson c57af7e242 remove some warnings 2022-03-28 17:13:48 +03:00
Henry Jameson f706234d77 fix being unable to set/reset background (and possibly avatar/banner) 2022-03-28 15:01:34 +03:00
Henry Jameson 805615d52b fix background not showing 2022-03-28 14:26:50 +03:00
Henry Jameson 8424b772b0 fix tabs in search 2022-03-27 14:43:16 +03:00
Henry Jameson 115f38c422 fix optional color inputs 2022-03-27 14:20:55 +03:00
Henry Jameson 48fd8a66ad fix opacity control 2022-03-27 14:18:02 +03:00
Henry Jameson 53cde52027 fix font control 2022-03-27 14:16:23 +03:00
Henry Jameson 75f6506bc7 fix (You) spacing 2022-03-27 14:10:45 +03:00
Henry Jameson 1d77063a4b fix shadow control in theme tab 2022-03-27 13:45:02 +03:00
Henry Jameson ccd7378347 fix (roundness) ranges in theme tab 2022-03-27 13:31:56 +03:00
Henry Jameson 8e711e0587 get rid of portal-vue 2022-03-27 12:59:15 +03:00
Henry Jameson 87d420a92b port !1488 to vue3 2022-03-27 12:58:28 +03:00
Henry Jameson d6bbccdd71 Merge remote-tracking branch 'origin/develop' into vue3-again
* origin/develop:
  Remove debugging code
  Fix overlapping buttons in Theme settings
  Update dependency ruffle-mirror to v2021.12.31
  Update dependency babel-loader to v8.2.4
2022-03-27 12:50:00 +03:00
Henry Jameson 913749739f fix user-list-popover 2022-03-27 12:29:28 +03:00
Henry Jameson 0b7a8dca15 fix duplicate setting (most likely a merge issue) 2022-03-27 12:26:51 +03:00
Henry Jameson dd4672dc9a fix opening directly to filtering tab not working 2022-03-27 12:24:38 +03:00
Henry Jameson 9ac7046521 Fix notices not disappearing on their own 2022-03-27 12:21:33 +03:00
Henry Jameson e4c804fac0 fix another spacing issue 2022-03-27 12:03:31 +03:00
Ilja c34fdd46da Merge remote-tracking branch 'pleroma/develop' into improve_delete_user_confirmation_message 2022-03-26 12:07:57 +01:00
Ilja 2dd75ca76c Change translation key 2022-03-26 12:05:25 +01:00
HJ fd77c583bf Merge branch 'from/develop/tusooa/fix-overlap-button' into 'develop'
Fix overlapping buttons in Theme settings

See merge request pleroma/pleroma-fe!1488
2022-03-25 13:22:06 +00:00
HJ b319c0c72b Remove debugging code 2022-03-25 13:17:22 +00:00
Tusooa Zhu c5551e834b
Fix English translation of Shoutbox in features panel 2022-03-24 19:28:15 -04:00
Tusooa Zhu e58422889b
Fix overlapping buttons in Theme settings 2022-03-24 18:03:13 -04:00
Henry Jameson b7755314b1 fix forms closing in timelines 2022-03-24 14:09:25 +02:00
Henry Jameson 3fb647b34b fix minor renames 2022-03-24 13:50:22 +02:00
Henry Jameson 0eb9c019e4 woah ima stupid 2022-03-24 13:41:52 +02:00
HJ aa0b2e0723 Merge branch 'renovate/ruffle-mirror-2021.x' into 'develop'
Update dependency ruffle-mirror to v2021.12.31

See merge request pleroma/pleroma-fe!1486
2022-03-24 10:10:03 +00:00
Henry Jameson 4539feed40 fix checkboxes, specifically the NSFW one 2022-03-24 11:41:39 +02:00
Pleroma Renovate Bot 20c14a1d99 Update dependency ruffle-mirror to v2021.12.31 2022-03-24 09:05:00 +00:00
Henry Jameson 9793002070 cleanup console log 2022-03-23 16:53:57 +02:00
Henry Jameson 01d8fa4e54 fix i18n at places 2022-03-23 16:32:53 +02:00
Henry Jameson 961ca3a71b fix all the spacings i could find 2022-03-23 16:15:05 +02:00
Henry Jameson 08811e5a27 fix spacings in notifications 2022-03-23 16:08:45 +02:00
Henry Jameson a6fae395da fix dupe id 2022-03-23 16:05:53 +02:00
Henry Jameson d690b88c1c fix animations 2022-03-23 15:53:36 +02:00
Henry Jameson 322ec8681a cleanup 2022-03-23 15:44:37 +02:00
HJ e1bfa6fbd3 Merge branch 'renovate/babel-monorepo' into 'develop'
Update dependency babel-loader to v8.2.4

See merge request pleroma/pleroma-fe!1484
2022-03-23 13:04:33 +00:00
Pleroma Renovate Bot db0e1a2534 Update dependency babel-loader to v8.2.4 2022-03-23 09:05:04 +00:00
Henry Jameson d524e98348 fix capitalization (and localization of tooltips for scope icon) 2022-03-22 20:42:29 +02:00
Henry Jameson 7afa6c9f40 listeners aren't actually used 2022-03-22 20:22:28 +02:00
Henry Jameson 538903f9d8 fix selects in settings screen 2022-03-22 20:17:25 +02:00
Henry Jameson c5a6f40dff fix tabs not being able to be "disabled" 2022-03-22 20:15:21 +02:00
Henry Jameson b817e09ee8 fix avatars not opening inline card 2022-03-22 19:43:11 +02:00
Henry Jameson 6b5791fda6 fix other weird route 2022-03-22 19:20:12 +02:00
Henry Jameson 3250e59266 fix routes test 2022-03-22 18:56:54 +02:00
Henry Jameson e5ae0671ce skip user profile test for now https://github.com/vuejs/test-utils/issues/1382 2022-03-22 18:56:39 +02:00
Henry Jameson 9d7a7e2019 fix emoji input tests 2022-03-22 18:22:23 +02:00
Henry Jameson c2cf13fc00 fix richcontent and its tests 2022-03-22 18:22:23 +02:00
Henry Jameson c3546ea856 fix tests running 2022-03-22 18:22:23 +02:00
Henry Jameson edb66ecade fix mobile post button being too square 2022-03-22 16:39:27 +02:00
Henry Jameson c6a4a0a320 Merge remote-tracking branch 'origin/develop' into vue3-again
* origin/develop:
  quick fix for alignment in avatars, juggling multiple branches is confusing
  fix even more issues with avatars
  Update dependency ora to v0.4.1
  Update dependency mini-css-extract-plugin to v0.12.0
  Update dependency karma-firefox-launcher to v1.3.0
  fix avatars in mobile view
2022-03-22 12:14:02 +02:00
HJ 6a31962ca0 Merge branch 'fix-avatars3' into 'develop'
quick fix for alignment in avatars

See merge request pleroma/pleroma-fe!1483
2022-03-22 10:03:17 +00:00
Henry Jameson fa99abf106 quick fix for alignment in avatars, juggling multiple branches is confusing 2022-03-22 11:57:21 +02:00
HJ 9be06d9f71 Merge branch 'renovate/mini-css-extract-plugin-0.x' into 'develop'
Update dependency mini-css-extract-plugin to v0.12.0

See merge request pleroma/pleroma-fe!1480
2022-03-22 09:54:23 +00:00
HJ 966919874e Merge branch 'fix-avatars2' into 'develop'
fix even more issues with avatars

See merge request pleroma/pleroma-fe!1482
2022-03-22 09:53:13 +00:00
HJ a253c95170 Merge branch 'develop' into 'fix-avatars2'
# Conflicts:
#   src/components/status/status.scss
2022-03-22 09:47:24 +00:00
Henry Jameson c6e0dcf08e fix even more issues with avatars 2022-03-22 11:43:51 +02:00
HJ 0147226b3d Merge branch 'renovate/ora-0.x' into 'develop'
Update dependency ora to v0.4.1

See merge request pleroma/pleroma-fe!1481
2022-03-22 09:20:54 +00:00
HJ 1571053fba Merge branch 'renovate/karma-firefox-launcher-1.x' into 'develop'
Update dependency karma-firefox-launcher to v1.3.0

See merge request pleroma/pleroma-fe!1475
2022-03-22 09:20:11 +00:00
Pleroma Renovate Bot 623aa3d20d Update dependency ora to v0.4.1 2022-03-22 09:06:15 +00:00
Pleroma Renovate Bot 636a55e72d Update dependency mini-css-extract-plugin to v0.12.0 2022-03-22 09:06:08 +00:00
Pleroma Renovate Bot 304f871332 Update dependency karma-firefox-launcher to v1.3.0 2022-03-22 09:06:00 +00:00
HJ 2cd8a3ec8d Merge branch 'fix-mobile-avatars' into 'develop'
fix avatars in mobile view

See merge request pleroma/pleroma-fe!1479
2022-03-22 08:24:42 +00:00
Henry Jameson 971cec024c fix avatars in mobile view 2022-03-22 10:20:45 +02:00
Henry Jameson 7a17eb7fec fix selects 2022-03-21 22:01:08 +02:00
Henry Jameson 4cb14c257c fix expert mode checkbox not working 2022-03-21 21:34:55 +02:00
Henry Jameson 1187727b60 fix tabswitcher bugs 2022-03-21 21:29:51 +02:00
Henry Jameson 54fd7e2be6 Merge remote-tracking branch 'origin/develop' into vue3-again
* origin/develop:
  improve the looks of bot indicator
  fix bot indicator appearing on retweeter avatar
  Update dependency localforage to v1.10.0
  Update dependency http-proxy-middleware to v0.21.0
  Update dependency eslint-plugin-standard to v4.1.0
  Update dependency eslint-plugin-import to v2.25.4
  Update babel monorepo to v7.17.8
  Update dependency iso-639-1 to v2.1.13
  Update dependency express to v4.17.3
  Update dependency eslint-plugin-promise to v4.3.1
  Update dependency eslint-loader to v2.2.1
2022-03-21 21:09:48 +02:00
HJ 0ef58696bf Merge branch 'bot-indicator-fixes' into 'develop'
Bot indicator fixes

See merge request pleroma/pleroma-fe!1477
2022-03-21 19:04:21 +00:00
Henry Jameson 9478a462a7 improve the looks of bot indicator 2022-03-21 20:59:25 +02:00
Henry Jameson 4e2fd7baf9 fix bot indicator appearing on retweeter avatar 2022-03-21 20:39:56 +02:00
HJ 66fb3987d6 Merge branch 'renovate/localforage-1.x' into 'develop'
Update dependency localforage to v1.10.0

See merge request pleroma/pleroma-fe!1476
2022-03-21 18:27:24 +00:00
HJ 1e60a491c4 Merge branch 'renovate/eslint-plugin-standard-4.x' into 'develop'
Update dependency eslint-plugin-standard to v4.1.0

See merge request pleroma/pleroma-fe!1471
2022-03-21 18:26:27 +00:00
HJ 12ce58a5a0 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo to v7.17.8

See merge request pleroma/pleroma-fe!1469
2022-03-21 18:25:29 +00:00
HJ 2f24f3312d Merge branch 'renovate/http-proxy-middleware-0.x' into 'develop'
Update dependency http-proxy-middleware to v0.21.0

See merge request pleroma/pleroma-fe!1473
2022-03-21 18:24:02 +00:00
HJ 1cc35b6df8 Merge branch 'renovate/eslint-plugin-import-2.x' into 'develop'
Update dependency eslint-plugin-import to v2.25.4

See merge request pleroma/pleroma-fe!1468
2022-03-21 18:19:24 +00:00
Pleroma Renovate Bot 4f2be206df Update dependency localforage to v1.10.0 2022-03-21 18:16:34 +00:00
Pleroma Renovate Bot 6074ad67ab Update dependency http-proxy-middleware to v0.21.0 2022-03-21 18:16:06 +00:00
Pleroma Renovate Bot c5cb76ac3b Update dependency eslint-plugin-standard to v4.1.0 2022-03-21 18:15:53 +00:00
Pleroma Renovate Bot e4b010321d Update dependency eslint-plugin-import to v2.25.4 2022-03-21 18:15:39 +00:00
Pleroma Renovate Bot 5e4ff5de7c Update babel monorepo to v7.17.8 2022-03-21 18:15:22 +00:00
HJ 6b14b645be Merge branch 'renovate/eslint-loader-2.x' into 'develop'
Update dependency eslint-loader to v2.2.1

See merge request pleroma/pleroma-fe!1467
2022-03-21 18:13:00 +00:00
HJ 79258f61be Merge branch 'renovate/eslint-plugin-promise-4.x' into 'develop'
Update dependency eslint-plugin-promise to v4.3.1

See merge request pleroma/pleroma-fe!1470
2022-03-21 18:10:10 +00:00
HJ 3ea442667f Merge branch 'renovate/express-4.x' into 'develop'
Update dependency express to v4.17.3

See merge request pleroma/pleroma-fe!1472
2022-03-21 18:05:16 +00:00
HJ 6c120cc576 Merge branch 'renovate/iso-639-1-2.x' into 'develop'
Update dependency iso-639-1 to v2.1.13

See merge request pleroma/pleroma-fe!1474
2022-03-21 18:01:48 +00:00
Pleroma Renovate Bot 89d6e624f2 Update dependency iso-639-1 to v2.1.13 2022-03-21 09:07:38 +00:00
Ilja e594252668 clean up leftover
There was a comment to enable something for eslint. This was a leftover from when it was dissabled.
But the dissabling was removed in a privious commit f9393b0dab
2022-03-21 09:59:52 +01:00
Ilja 88ad5033a8 Use empty array for emji instead
Instead of relying on a key that isn't actually usefull, I just provide an empty array directly.
2022-03-21 09:49:06 +01:00
Ilja 89c409c6d2 Add default array for RichContent emoji
Reports don't currently return an emoji key. There's an MR to add it, but in case something doesn't return this key, we now have a default empty array.
2022-03-21 08:57:59 +01:00
Pleroma Renovate Bot 060aa41f35 Update dependency express to v4.17.3 2022-03-20 09:05:19 +00:00
Ilja d0bfd9a808 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification 2022-03-20 09:53:57 +01:00
Ilja f9393b0dab Use RichContent component for Reports
Note that this expects an emoji list for the reports. I made an MR in BE to provide that: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3650
2022-03-20 09:45:35 +01:00
Ilja 1d42d05c1f Use Select component
After merging develop, the dropdown didn't format properly any more because selects have been made into a component. Here I turn the select into a component as well.
2022-03-20 09:31:36 +01:00
Pleroma Renovate Bot 67f5cf3c03 Update dependency eslint-plugin-promise to v4.3.1 2022-03-19 09:07:04 +00:00
Henry Jameson 5948d20f00 mutes and blocks tab works 2022-03-18 13:36:08 +02:00
Henry Jameson b3ed29ff02 made withLoadMore work... sorta 2022-03-18 13:32:36 +02:00
Pleroma Renovate Bot 5d973df5bd Update dependency eslint-loader to v2.2.1 2022-03-18 09:04:52 +00:00
Henry Jameson 26bfbdc2ad fix sw compilation 2022-03-18 11:02:00 +02:00
Henry Jameson 50ea6dd142 Merge remote-tracking branch 'origin/develop' into vue3-again
* origin/develop:
  Update dependency cropperjs to v1.5.12
  Update dependency body-scroll-lock to v2.7.1
  Update babel monorepo
2022-03-18 10:59:28 +02:00
HJ 6f1d953642 Merge branch 'renovate/cropperjs-1.x' into 'develop'
Update dependency cropperjs to v1.5.12

See merge request pleroma/pleroma-fe!1465
2022-03-18 08:58:03 +00:00
HJ 86f1b88d79 Merge branch 'renovate/body-scroll-lock-2.x' into 'develop'
Update dependency body-scroll-lock to v2.7.1

See merge request pleroma/pleroma-fe!1464
2022-03-18 08:57:08 +00:00
HJ 4610b6e547 Merge branch 'renovate/babel-monorepo' into 'develop'
Update babel monorepo

See merge request pleroma/pleroma-fe!1462
2022-03-17 09:11:07 +00:00
Pleroma Renovate Bot be02516776 Update dependency cropperjs to v1.5.12 2022-03-17 09:05:41 +00:00
Pleroma Renovate Bot 4e100b9ea2 Update dependency body-scroll-lock to v2.7.1 2022-03-17 09:05:34 +00:00
Pleroma Renovate Bot 8ae1f7e192 Update babel monorepo 2022-03-17 09:05:20 +00:00
Henry Jameson fea0c91f74 bunp node version 2022-03-17 09:33:36 +02:00
Henry Jameson 051d51bcd9 fix suggest not working 2022-03-17 09:28:19 +02:00
Henry Jameson 5718c6491e fix selects being messed up 2022-03-17 09:06:05 +02:00
Henry Jameson a97c07bfdf fix settings not persisting 2022-03-17 09:02:26 +02:00
Henry Jameson d815f984fb fix i18n errors related to @ symbol 2022-03-17 08:53:45 +02:00
Henry Jameson 4993dc37e2 fix rich content not rendering stillimage nor links correctly 2022-03-17 08:53:45 +02:00
Henry Jameson 0671aa0dd0 fix tabswitcher 2022-03-17 08:53:45 +02:00
Henry Jameson b62653c202 fix chat user titles 2022-03-17 08:37:01 +02:00
Henry Jameson be4244acde fix some warnings 2022-03-17 08:35:19 +02:00
Henry Jameson 8311d4deba shit renders yo 2022-03-16 22:13:21 +02:00
Henry Jameson e51144809f shit boots yo 2022-03-16 22:02:44 +02:00
Henry Jameson cd4ad2df11 Merge remote-tracking branch 'origin/develop' into vue3-again
* origin/develop: (475 commits)
  Apply 1 suggestion(s) to 1 file(s)
  Update dependency @ungap/event-target to v0.2.3
  Update package.json
  fix broken icons after FA upgrade
  Update Font Awesome
  Update dependency webpack-dev-middleware to v3.7.3
  Update dependency vuelidate to v0.7.7
  Pin dependency @kazvmoe-infra/pinch-zoom-element to 1.2.0
  lint
  Make media modal buttons larger
  Add English translation for hide tooltip
  Add hide button to media modal
  Lint
  Prevent hiding media viewer if swiped over SwipeClick
  Fix webkit image blurs
  Fix video in media modal not displaying properly
  Add changelog for https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
  Remove image box-shadow in media modal
  Clean up debug code for image pinch zoom
  Bump @kazvmoe-infra/pinch-zoom-element to 1.2.0 on npm
  ...
2022-03-16 21:00:20 +02:00
HJ b632d740c1 Merge branch 'expert-settings-and-serverside' into 'develop'
Expert settings and serverside settings + new defaults

See merge request pleroma/pleroma-fe!1438
2022-03-16 17:33:24 +00:00
HJ 123de8aad0 Apply 1 suggestion(s) to 1 file(s) 2022-03-16 17:02:09 +00:00
HJ 186078ae2a Merge branch 'renovate/ungap-event-target-0.x' into 'develop'
Update dependency @ungap/event-target to v0.2.3

See merge request pleroma/pleroma-fe!1463
2022-03-16 09:15:24 +00:00
Pleroma Renovate Bot 23c80794d5 Update dependency @ungap/event-target to v0.2.3 2022-03-16 09:05:13 +00:00
HJ 3e1415ef89 Merge branch 'hj-develop-patch-28607' into 'develop'
Fix build due to github shenanigans

See merge request pleroma/pleroma-fe!1461
2022-03-15 19:07:02 +00:00
HJ 2439f55342 Merge branch 'renovate/font-awesome' into 'develop'
Update Font Awesome

See merge request pleroma/pleroma-fe!1460
2022-03-15 19:03:44 +00:00
HJ b0babee98a Update package.json 2022-03-15 19:02:34 +00:00
Henry Jameson 47bb08514b fix broken icons after FA upgrade 2022-03-15 21:00:52 +02:00
HJ 60eb164bdc Merge branch 'renovate/webpack-dev-middleware-3.x' into 'develop'
Update dependency webpack-dev-middleware to v3.7.3

See merge request pleroma/pleroma-fe!1459
2022-03-15 18:40:58 +00:00
Pleroma Renovate Bot 3101456a85 Update Font Awesome 2022-03-15 09:05:20 +00:00
Pleroma Renovate Bot 5e851e643b Update dependency webpack-dev-middleware to v3.7.3 2022-03-15 09:05:08 +00:00
HJ bfa62db274 Merge branch 'renovate/pin-dependencies' into 'develop'
Pin dependency @kazvmoe-infra/pinch-zoom-element to 1.2.0

See merge request pleroma/pleroma-fe!1457
2022-03-15 08:22:33 +00:00
HJ b349bcd427 Merge branch 'renovate/vuelidate-0.x' into 'develop'
Update dependency vuelidate to v0.7.7

See merge request pleroma/pleroma-fe!1458
2022-03-14 09:11:28 +00:00
Pleroma Renovate Bot 7e6e6292f8 Update dependency vuelidate to v0.7.7 2022-03-14 09:05:17 +00:00
Pleroma Renovate Bot 34592fa63a Pin dependency @kazvmoe-infra/pinch-zoom-element to 1.2.0 2022-03-14 09:05:10 +00:00
Henry Jameson 71c0b59866 lint 2022-03-14 09:35:29 +02:00
Henry Jameson a97db1efd6 Merge remote-tracking branch 'origin/develop' into expert-settings-and-serverside
* origin/develop: (83 commits)
  Make media modal buttons larger
  Add English translation for hide tooltip
  Add hide button to media modal
  Lint
  Prevent hiding media viewer if swiped over SwipeClick
  Fix webkit image blurs
  Fix video in media modal not displaying properly
  Add changelog for https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
  Remove image box-shadow in media modal
  Clean up debug code for image pinch zoom
  Bump @kazvmoe-infra/pinch-zoom-element to 1.2.0 on npm
  Bump pinch-zoom-element version
  Clean up
  Check whether we swiped only for mouse pointer
  Scale swipe threshold with viewport width
  Update pinch-zoom-element
  Allow pinch-zoom to fill the whole screen
  Use native click for hiding overlay
  Reset position on swipe end even if we cannot navigate
  Make lint happy
  ...
2022-03-14 09:31:24 +02:00
HJ e34d71fc1f Merge branch 'from/develop/tusooa/tree-threading' into 'develop'
Add the option to display threads as trees

See merge request pleroma/pleroma-fe!1407
2022-03-13 17:31:46 +00:00
HJ 89efb0d2f4 Merge branch 'from/develop/tusooa/media-touch-actions' into 'develop'
Be able to scroll and pan media in media modal

See merge request pleroma/pleroma-fe!1403
2022-03-13 17:22:30 +00:00
Tusooa Zhu 1b204012ea
Make media modal buttons larger 2022-03-13 12:02:03 -04:00
Tusooa Zhu b67a557a8c
Add English translation for hide tooltip 2022-03-13 12:02:03 -04:00
Tusooa Zhu 5fb302d0f1
Add hide button to media modal 2022-03-13 12:02:02 -04:00
Tusooa Zhu 7e21853cca
Lint 2022-03-13 12:02:02 -04:00
Tusooa Zhu 7dd1a0dd30
Prevent hiding media viewer if swiped over SwipeClick 2022-03-13 12:02:02 -04:00
Tusooa Zhu 90b066a744
Fix webkit image blurs 2022-03-13 12:02:02 -04:00
Tusooa Zhu 1128cc463c
Fix video in media modal not displaying properly 2022-03-13 12:02:02 -04:00
Tusooa Zhu 22d8961c5e
Add changelog for https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403 2022-03-13 12:02:02 -04:00
Tusooa Zhu 76727cd39c
Remove image box-shadow in media modal
The box-shadow causes an image to be very blurry on Webkit browsers
(experienced: Konqueror, Safari; heard of: Chrome) when scaled up
if the initial size of the image is much smaller than the actual size
(e.g. when viewing a very long picture).

The shadow is not really obvious anyway.
2022-03-13 12:02:02 -04:00
Tusooa Zhu 5829cd98af
Clean up debug code for image pinch zoom 2022-03-13 12:02:02 -04:00
Tusooa Zhu 49fa9c47e9
Bump @kazvmoe-infra/pinch-zoom-element to 1.2.0 on npm
https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1403
2022-03-13 12:02:00 -04:00
Tusooa Zhu 495960c83a
Bump pinch-zoom-element version 2022-03-13 12:00:45 -04:00
Tusooa Zhu 3b4afdf567
Clean up 2022-03-13 12:00:45 -04:00
Tusooa Zhu a485ebc2bb
Check whether we swiped only for mouse pointer 2022-03-13 12:00:45 -04:00
Tusooa Zhu 6980e4ddf1
Scale swipe threshold with viewport width 2022-03-13 12:00:44 -04:00
Tusooa Zhu cb19db1006
Update pinch-zoom-element 2022-03-13 12:00:44 -04:00
Tusooa Zhu ddf6c9cef0
Allow pinch-zoom to fill the whole screen 2022-03-13 12:00:44 -04:00
Tusooa Zhu 9f3a983fef
Use native click for hiding overlay
The pointerup strategy is unsuccessful, as some other overlays
(Firefox's Inspect Element) will pass down pointerup events.
2022-03-13 12:00:44 -04:00
Tusooa Zhu 839627ffc4
Reset position on swipe end even if we cannot navigate 2022-03-13 12:00:44 -04:00
Tusooa Zhu f3269cdc10
Make lint happy 2022-03-13 12:00:44 -04:00
Tusooa Zhu 3502d374e3
Prevent the click event from firing on content below modal 2022-03-13 12:00:44 -04:00
Tusooa Zhu 0190a36070
Add missing swipe click component 2022-03-13 12:00:44 -04:00
Tusooa Zhu 23a6b86ef3
Clean up 2022-03-13 12:00:44 -04:00
Tusooa Zhu 29cd8fbd3b
Add swipe-click handler to media modal
Now swiping will correctly change the current media, and with a good
preview. Clicking without swiping closes the overlay.
2022-03-13 12:00:44 -04:00
Tusooa Zhu a36673a6a8
Use pinch-zoom-element for pinch zoom functionality 2022-03-13 12:00:41 -04:00
Tusooa Zhu 544db06294
Add pan threshold 2022-03-13 11:56:35 -04:00
Tusooa Zhu d9030b4fdd
Handle pinch action 2022-03-13 11:56:35 -04:00
Tusooa Zhu a7570f5eb2
Preview swipe action 2022-03-13 11:56:34 -04:00
Tusooa Zhu f96e5882d1
Make media modal be aware of multi-touch actions
Originally the media viewer would think every touch is a swipe (one-finger
touch event), so we would encounter the case where a two-finger scale event
would incorrectly change the current media. This is now fixed.
2022-03-13 11:56:30 -04:00
Henry Jameson f16f35a4d4 Merge remote-tracking branch 'origin/develop' into expert-settings-and-serverside
* origin/develop:
  Update dependency v-click-outside to v2.1.5
  Update dependency shelljs to v0.8.5
  Update dependency portal-vue to v2.1.7
  Update dependency lodash to v4.17.21
  Update dependency karma-spec-reporter to v0.0.33
  Update dependency karma-webpack to v4.0.2
  Update dependency karma-sourcemap-loader to v0.3.8
  Update dependency eslint-plugin-vue to v5.2.3
  Update dependency chromedriver to v87.0.7
  Update dependency @chenfengyuan/vue-qrcode to v1.0.2
  Pin dependencies
  Pin dependencies
  Do not mute bot posts in notifications
  Lint
  Add renovate.json
  Add bot indication to user icon on statuses
  Mute bot posts
  fix placeholder attachments opening new tab
2022-03-13 16:34:05 +02:00
HJ 51b14cc615 Merge branch 'eientei' into 'develop'
Mute bot posts filtering option

See merge request pleroma/pleroma-fe!1440
2022-03-13 14:04:15 +00:00
HJ 80bd6433aa Merge branch 'renovate/shelljs-0.x' into 'develop'
Update dependency shelljs to v0.8.5

See merge request pleroma/pleroma-fe!1455
2022-03-13 10:20:28 +00:00
HJ 50b3a30d1a Merge branch 'renovate/v-click-outside-2.x' into 'develop'
Update dependency v-click-outside to v2.1.5

See merge request pleroma/pleroma-fe!1456
2022-03-13 09:32:59 +00:00
Henry Jameson 5930b667a1 reduce the copypaste by making it more functional-style 2022-03-13 11:30:38 +02:00
Pleroma Renovate Bot 9b5ae4d4a3 Update dependency v-click-outside to v2.1.5 2022-03-13 09:04:54 +00:00
Pleroma Renovate Bot 22c8ad4583 Update dependency shelljs to v0.8.5 2022-03-13 09:04:46 +00:00
Henry Jameson 726fdbea15 remove "experimental" label from streaming api 2022-03-13 10:51:13 +02:00
HJ 67c2b52682 Merge branch 'renovate/portal-vue-2.x' into 'develop'
Update dependency portal-vue to v2.1.7

See merge request pleroma/pleroma-fe!1452
2022-03-13 08:20:20 +00:00
HJ 238e557d2b Merge branch 'renovate/lodash-monorepo' into 'develop'
Update dependency lodash to v4.17.21

See merge request pleroma/pleroma-fe!1451
2022-03-13 08:19:32 +00:00
Ilja 08a4c33c67 Explain better what delete does in moderation menu 2022-03-12 19:43:12 +01:00
HJ c8d87e7ef9 Merge branch 'renovate/karma-spec-reporter-0.x' into 'develop'
Update dependency karma-spec-reporter to v0.0.33

See merge request pleroma/pleroma-fe!1449
2022-03-12 09:30:01 +00:00
Pleroma Renovate Bot a83b07a629 Update dependency portal-vue to v2.1.7 2022-03-12 09:07:30 +00:00
Pleroma Renovate Bot 3bd2f3c36d Update dependency lodash to v4.17.21 2022-03-12 09:07:19 +00:00
Pleroma Renovate Bot 465c5f194c Update dependency karma-spec-reporter to v0.0.33 2022-03-12 09:07:05 +00:00
HJ ec3df8e5f2 Merge branch 'renovate/chromedriver-87.x' into 'develop'
Update dependency chromedriver to v87.0.7

See merge request pleroma/pleroma-fe!1446
2022-03-11 10:59:22 +00:00
HJ c194568daf Merge branch 'renovate/eslint-plugin-vue-5.x' into 'develop'
Update dependency eslint-plugin-vue to v5.2.3

See merge request pleroma/pleroma-fe!1447
2022-03-11 10:59:08 +00:00
HJ 63039aea37 Merge branch 'renovate/chenfengyuan-vue-qrcode-1.x' into 'develop'
Update dependency @chenfengyuan/vue-qrcode to v1.0.2

See merge request pleroma/pleroma-fe!1445
2022-03-11 09:15:37 +00:00
HJ fb803b2ff2 Merge branch 'renovate/karma-webpack-4.x' into 'develop'
Update dependency karma-webpack to v4.0.2

See merge request pleroma/pleroma-fe!1450
2022-03-11 09:13:27 +00:00
HJ fabac8524d Merge branch 'renovate/karma-sourcemap-loader-0.x' into 'develop'
Update dependency karma-sourcemap-loader to v0.3.8

See merge request pleroma/pleroma-fe!1448
2022-03-11 09:12:42 +00:00
Pleroma Renovate Bot 35ad2a1957 Update dependency karma-webpack to v4.0.2 2022-03-11 09:06:09 +00:00
Pleroma Renovate Bot e4d40fbba4 Update dependency karma-sourcemap-loader to v0.3.8 2022-03-11 09:05:47 +00:00
Pleroma Renovate Bot d4076e5df5 Update dependency eslint-plugin-vue to v5.2.3 2022-03-11 09:05:34 +00:00
Pleroma Renovate Bot 2ced27e734 Update dependency chromedriver to v87.0.7 2022-03-11 09:05:21 +00:00
Pleroma Renovate Bot 04d4f5525c Update dependency @chenfengyuan/vue-qrcode to v1.0.2 2022-03-11 09:05:09 +00:00
HJ 949f11ea1e Merge branch 'renovate/pin-dependencies' into 'develop'
Pin dependencies

See merge request pleroma/pleroma-fe!1443
2022-03-10 09:14:32 +00:00
Pleroma Renovate Bot 00a5dfc36f Pin dependencies 2022-03-10 09:06:57 +00:00
HJ e29f33ed0c Merge branch 'renovate/font-awesome' into 'develop'
Pin dependencies

See merge request pleroma/pleroma-fe!1444
2022-03-09 19:35:02 +00:00
Pleroma Renovate Bot 6946d09f55 Pin dependencies 2022-03-09 18:43:25 +00:00
Alexander Tumin 450145dd6b Do not mute bot posts in notifications 2022-03-09 07:56:43 +03:00
Tusooa Zhu 551b8f3690
Fix "max depth in thread" setting 2022-03-07 20:02:53 -05:00
Tusooa Zhu 48178bdc53
Make maxDepthInThread instance-default 2022-03-07 19:30:24 -05:00
Tusooa Zhu a511250b63
Make $status-margin fallback only 2022-03-07 19:28:38 -05:00
Tusooa Zhu 415a823af0
Clean up dead code 2022-03-07 19:19:32 -05:00
Tusooa Zhu 0e323ef248
Add English translations for fading ancestor option 2022-03-07 19:19:32 -05:00
Tusooa Zhu d157f67381
Make fading ancestors optional 2022-03-07 19:19:32 -05:00
Tusooa Zhu fa20ea76b1
Update English translation for tree view settings 2022-03-07 19:19:32 -05:00
Tusooa Zhu e7f5033c7d
Split conversation display style into two different settings
linear => linear (now default)
simple_tree => tree / conversationTreeAdvanced=false
tree => tree / conversationTreeAdvanced=true
2022-03-07 19:19:32 -05:00
Tusooa Zhu 9432fcec7d
Make 'Show full conversation' button have left border in embbeded mode 2022-03-07 19:19:32 -05:00
Tusooa Zhu 5768806d1b
Fix showingLongSubject not correctly propagated 2022-03-07 19:19:32 -05:00
Tusooa Zhu f8c5cbcd0d
Fix timeline jump when scrolling
Ref: tree-threading
2022-03-07 19:19:31 -05:00
Tusooa Zhu 20880cdf0b
Make replying and mediaPlaying controlled
$refs is not a reliable way to deal with child components under
tree threading as it is not reactive, but the children may change at
any time. The only good way seems to be making these states aggregated on
the conversation component.

Ref: tree-threading
2022-03-07 19:19:31 -05:00
Tusooa Zhu cc5cff2038
Clean up debug code for tree threading 2022-03-07 19:19:31 -05:00
Tusooa Zhu 2a510205c3
Fix virtual scrolling for tree threading
Ref: tree-threading
2022-03-07 19:19:31 -05:00
Tusooa Zhu 0db5a5a581
Fix controlled status display toggles 2022-03-07 19:19:31 -05:00
Tusooa Zhu ba858a894c
Add English translations for other replies count 2022-03-07 19:19:31 -05:00
Tusooa Zhu 654996fdbe
Add other replies count for reply list link 2022-03-07 19:19:31 -05:00
Tusooa Zhu cebb4224ac
Do not display replies inside status as link if there are no other replies 2022-03-07 19:19:31 -05:00
Tusooa Zhu 9b27ac9aaf
Add English translation for position of other replies button pref 2022-03-07 19:19:31 -05:00
Tusooa Zhu 863255d52f
Make position of other replies button a pref 2022-03-07 19:19:31 -05:00
Tusooa Zhu c4bd004cbc
Add English translation for show all conversation button improvement 2022-03-07 19:19:31 -05:00
Tusooa Zhu 244174a32b
Improve "show full conversation" interaction
Now we only show that button when there are other statuses out of sight
(other toplevel statuses exist outside of the current thread tree).
2022-03-07 19:19:31 -05:00
Tusooa Zhu 22bdcda9c0
Make other replies button stretch along the row 2022-03-07 19:19:31 -05:00
Tusooa Zhu ba8598858b
Optimise thread ancestor borders 2022-03-07 19:19:31 -05:00
Tusooa Zhu 17863f54fe
Optimise thread ancestor display style 2022-03-07 19:19:31 -05:00
Tusooa Zhu 26670e9003
Reset thread open state when collapsed 2022-03-07 19:19:30 -05:00
Tusooa Zhu 10cd03c718
Clean up 2022-03-07 19:19:30 -05:00
Tusooa Zhu f1db5e8f4b
Highlight ancestor of the current status when diving back to top 2022-03-07 19:19:30 -05:00
Tusooa Zhu d78c8e8ea4
Add English translation for Misskey-style tree view 2022-03-07 19:19:30 -05:00
Tusooa Zhu e560fbc935
Implement Misskey-style tree view
Now the tree will be always rooted at the highlighted status, and
all its ancestors shown linearly on the top.

Enhancement: If an ancestor has more
than one reply (i.e. it has a child that is not on current status's
ancestor chain), we are given a link to root the thread at that status.
2022-03-07 19:19:30 -05:00
Tusooa Zhu 4adffb4835
Remove horizontal border and thicken vertical border in a thread tree 2022-03-07 19:19:30 -05:00
Tusooa Zhu 0e4a7c3d05
Make dive/undive button clickable along the whole row 2022-03-07 19:19:30 -05:00
Tusooa Zhu 8780246ce5
Optimize thread border radius 2022-03-07 19:19:30 -05:00
Tusooa Zhu 61bb69c88f
Optimize thread display 2022-03-07 19:19:30 -05:00
Tusooa Zhu bdf631c2c4
Fix the bug where toggleShowingTall does not work 2022-03-07 19:19:30 -05:00
Tusooa Zhu 3addc36c96
Fix status undefined in parentOf 2022-03-07 19:19:30 -05:00
Tusooa Zhu f851bc92c9
Add English translations for max depth in thread 2022-03-07 19:19:30 -05:00
Tusooa Zhu 2e54cf12c7
Add settings for max depth in thread 2022-03-07 19:19:30 -05:00
Tusooa Zhu ff5f69b8fd
Use mergedConfig properly 2022-03-07 19:19:30 -05:00
Tusooa Zhu d7da9f80a7
Fallback to simpleTree style 2022-03-07 19:19:30 -05:00
Tusooa Zhu 6b990ba368
Undive when collapsed 2022-03-07 19:19:29 -05:00
Tusooa Zhu cd3e6d0073
Clean up 2022-03-07 19:19:29 -05:00
Tusooa Zhu 0aaef50ee5
Lint 2022-03-07 19:19:29 -05:00
Tusooa Zhu 05b2351e08
Add English translation for simple tree 2022-03-07 19:19:29 -05:00
Tusooa Zhu d9a9f97751
Add simple tree style navigation 2022-03-07 19:19:29 -05:00
Tusooa Zhu 8c0deb905e
Add English translation for diving 2022-03-07 19:19:29 -05:00
Tusooa Zhu d15d24c11c
Add dive functionality 2022-03-07 19:19:29 -05:00
Tusooa Zhu 31c4300456
Add English translations for diving 2022-03-07 19:19:29 -05:00
Tusooa Zhu 84a3cd92a3
Support diving into one status in a conversation 2022-03-07 19:19:29 -05:00
Tusooa Zhu ace1f5067c
Make status display controlled 2022-03-07 19:19:29 -05:00
Tusooa Zhu cd0f6a4f78
Add English translations for message threading 2022-03-07 19:19:29 -05:00
Tusooa Zhu 414ee55957
Make show full thread message account for numbers 2022-03-07 19:19:29 -05:00
Tusooa Zhu 0f2fd8a352
Implement thread folding/expanding 2022-03-07 19:19:29 -05:00
Tusooa Zhu 0582f19e7c
Add tree-style thread display 2022-03-07 19:19:29 -05:00
HJ 7e1e8ea429 Merge branch 'from/develop/tusooa/fix-lint-2' into 'develop'
Lint

See merge request pleroma/pleroma-fe!1442
2022-03-06 19:35:05 +00:00
Tusooa Zhu 7a8c975f61
Lint 2022-03-06 14:22:59 -05:00
HJ 1e41c2b99e Merge branch 'renovate/configure' into 'develop'
Configure Renovate

See merge request pleroma/pleroma-fe!1441
2022-03-06 18:25:05 +00:00
Pleroma Renovate Bot f0f1066bc8 Add renovate.json 2022-03-06 17:50:32 +00:00
Alexander Tumin 2b7f12613e Add bot indication to user icon on statuses 2022-03-01 01:00:38 +03:00
Alexander Tumin fe0ed7e8f0 Mute bot posts 2022-02-28 23:14:45 +03:00
HJ 514d7d3f88 Merge branch 'fix-hidden-attachments' into 'develop'
fix placeholder attachments opening new tab

Closes #1139

See merge request pleroma/pleroma-fe!1439
2022-02-28 17:46:58 +00:00
Henry Jameson 77b55a559b fix placeholder attachments opening new tab 2022-02-28 19:42:02 +02:00
Henry Jameson 77bb0b5530 lint 2022-02-28 18:23:32 +02:00
Henry Jameson 39909c8a85 pre-emptively wipe serverside settings on logout 2022-02-28 18:17:13 +02:00
Henry Jameson f4b36a9ebf fix errors in choicesetting 2022-02-28 18:15:21 +02:00
Henry Jameson 67319d0e5b fix typos in profile page 2022-02-28 18:15:07 +02:00
Henry Jameson cf58df17f6 hidden away more settings when logged out 2022-02-28 18:04:13 +02:00
Henry Jameson 8bb97fbfeb fix settings behaving erratically and not updating properly 2022-02-28 18:01:41 +02:00
Henry Jameson 3a5ad18aca fix stripping rich content not working 2022-02-28 18:00:38 +02:00
Henry Jameson e3d602fdcc revert changes related to streaming/firehose setting, reword it so it's
not confused with websocket streaming
2022-02-28 17:45:07 +02:00
Henry Jameson c07c0b2260 fix firefox rendering (??????????) 2022-02-28 17:43:08 +02:00
Ilja c9e4b6e7a1 Make linter happy
`npm run lint` gave warnings for two files, fixed them with `./node_modules/.bin/eslint --fix $FILENAME`
2022-02-26 02:13:43 +01:00
Ilja d0c4ad22cd Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification 2022-02-26 02:08:13 +01:00
Ilja 819b760261 Fix up and code review
* Check if it works properly
    * Notifs are shown as BE returns them
    * The Interaction view has Reports, but only when you're mod or admin
* Do some extra translations
* Fix some console spam
2022-02-26 01:53:01 +01:00
Henry Jameson f626da838a revert to using local setting for default nsfw since backend is broken 2022-02-24 15:00:08 +02:00
Henry Jameson 9623b0e140 better phrasing 2022-02-24 14:41:55 +02:00
Henry Jameson b1b9260a1d new defaults 2022-02-22 23:32:12 +02:00
Henry Jameson 9c1814d122 expert settings toggle + server-side settings 2022-02-22 23:31:40 +02:00
HJ 0300db6c63 Merge branch 'from/develop/tusooa/media-modal-counter-i18n' into 'develop'
Make media modal counter go through i18n

See merge request pleroma/pleroma-fe!1436
2022-02-21 16:15:16 +00:00
Tusooa Zhu c7690aecd0
Add English translation for media modal counter 2022-02-21 10:34:20 -05:00
Tusooa Zhu 1b32bb9c51
Make media modal counter go through i18n 2022-02-21 10:33:47 -05:00
HJ 9bc7d99e16 Merge branch 'hj-develop-patch-74637' into 'develop'
Update changelog

See merge request pleroma/pleroma-fe!1435
2022-02-21 14:23:11 +00:00
HJ 965bc5573f Update CHANGELOG.md 2022-02-21 14:17:28 +00:00
HJ 2559d03d7e Update CHANGELOG.md 2022-02-21 14:16:45 +00:00
HJ 58d0f9678b Merge branch 'fix-mentions-new-bugs' into 'develop'
Fix newfound bugs with rich mentions + user suggestions

See merge request pleroma/pleroma-fe!1430
2022-02-20 15:11:52 +00:00
HJ ddee8bb686 Merge branch 'proper-attachments' into 'develop'
Attachment improvements

See merge request pleroma/pleroma-fe!1399
2022-02-20 15:11:33 +00:00
HJ 56616787ec Merge branch 'fix-pinned-statuses' into 'develop'
Fix pinned statuses appearing at the bottom of user timeline

Closes #1112

See merge request pleroma/pleroma-fe!1433
2022-02-20 15:11:08 +00:00
HJ d3659b5597 Merge branch 'fix-1133' into 'develop'
fix #1133

Closes #1133

See merge request pleroma/pleroma-fe!1434
2022-02-20 14:12:20 +00:00
Henry Jameson 373c30be69 fix #1133 2022-02-20 16:06:26 +02:00
Henry Jameson 7b60adb480 only for user TL 2022-02-20 00:57:31 +02:00
Henry Jameson 5864dc52f7 removed file because that logic has been removed 2022-02-20 00:43:38 +02:00
Henry Jameson a31ff20f50 lol, lmao, that was some shit, this is much easier and works all the time 2022-02-20 00:36:21 +02:00
Henry Jameson 2a97bdb39d fix pinned statuses appearing at the bottom of user timeline (and
possibly fetching new ones there)
2022-02-20 00:04:47 +02:00
Henry Jameson 86e3aefdab new unit tests 2022-02-19 23:04:51 +02:00
Henry Jameson a8d1987686 fix unit tests 2022-02-19 22:40:19 +02:00
Henry Jameson 0d073d607c enable link handling in user bios to fix links not having _blank 2022-02-19 22:34:08 +02:00
Henry Jameson 769a9a14fe add emoji to chat titles 2022-02-19 22:30:13 +02:00
Henry Jameson a61f6e1590 use rich content in interaction lists 2022-02-19 22:12:37 +02:00
marcin mikołajczak 79d02bddbe Birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-13 19:11:14 +01:00
Henry Jameson ee86f56469 more spacing fixes 2022-02-11 15:10:52 +02:00
Henry Jameson 17d6f1b53b more spacing fixes 2022-02-11 15:06:12 +02:00
Henry Jameson befd4d5fc7 improve unknown attachment handling 2022-02-10 15:42:28 +02:00
Henry Jameson 4c7edfc9a9 more spacing/wrapping fixes 2022-02-09 23:34:26 +02:00
Henry Jameson d361a4d7dc fix overflows 2022-02-04 14:20:56 +02:00
Henry Jameson 571e73a346 better approach to unescaping 2022-02-03 23:13:28 +02:00
Henry Jameson 39ecb33883 fix amps in links 2022-02-03 22:58:12 +02:00
Henry Jameson 0f01931309 make chat messages behave same as posts for animated gifs 2022-02-03 22:52:41 +02:00
Henry Jameson a9830ff491 support width/height img attributes 2022-02-03 22:50:32 +02:00
Henry Jameson 9a6363431d lint 2022-02-03 22:41:38 +02:00
Henry Jameson ea6114f63c better phrasing? 2022-02-03 22:36:13 +02:00
Henry Jameson bfb3a4364b options to disable (You)s and highlighting of yourself 2022-02-03 22:34:57 +02:00
Henry Jameson 6d3229b1a1 fix poast mentions tripping 2022-02-03 22:23:28 +02:00
Henry Jameson 06042569f1 fix alignment issues 2022-02-03 22:10:45 +02:00
HJ 8ade11783a Merge branch 'from/develop/tusooa/1118-enhanced-mention-link' into 'develop'
Enhanced mention link

Closes #1118

See merge request pleroma/pleroma-fe!1424
2022-02-03 19:37:13 +00:00
HJ a5e20a4eb2 Merge branch 'from/develop/tusooa/fix-follow-list' into 'develop'
Fix Follow button missing on follow list

See merge request pleroma/pleroma-fe!1428
2022-02-03 10:22:22 +00:00
HJ dd75e43c57 Merge branch 'from/develop/tusooa/fix-lint-warn' into 'develop'
Fix lint warning in filtering_tab.vue

See merge request pleroma/pleroma-fe!1429
2022-02-03 10:22:04 +00:00
Tusooa Zhu 0e6af68a0f
Fix lint warning in filtering_tab.vue 2022-02-02 21:35:17 -05:00
Tusooa Zhu f886135bb7
Fix Follow button missing on follow list 2022-02-02 21:30:52 -05:00
Tusooa Zhu c3f1765b21
Hide mention link avatar by default 2022-01-29 16:57:59 -05:00
Tusooa Zhu 7cc0d0763c
Add English translation for mention link prefs 2022-01-29 16:57:59 -05:00
Tusooa Zhu c8983d5606
Make mention link prefs ui more intuitive 2022-01-29 16:57:59 -05:00
Tusooa Zhu 0c60b31eee
Add option to fade domains in mention link 2022-01-29 16:57:59 -05:00
Tusooa Zhu aaf0b985ad
Make avatar unselectable 2022-01-29 16:57:59 -05:00
Tusooa Zhu 9fde13c968
Add option to display user avatar in mention link 2022-01-29 16:57:59 -05:00
Tusooa Zhu 8896afd8d8
Make (You) unselectable 2022-01-29 16:57:59 -05:00
Tusooa Zhu 95007059d1
Style properly usernames without tooltips 2022-01-29 16:57:59 -05:00
Tusooa Zhu 1d4b1b296e
Add pref for whether to display full user names and tooltips 2022-01-29 16:57:59 -05:00
Tusooa Zhu 76547fe66d
Add a pref for whether to display mention as icon or text 2022-01-29 16:57:59 -05:00
Henry Jameson d1f02221cb changelog 2022-01-24 21:44:41 +02:00
Henry Jameson efd558f394 Merge remote-tracking branch 'origin/develop' into proper-attachments
* origin/develop:
  Update CHANGELOG.md
2022-01-24 21:38:08 +02:00
HJ 28ee5721bb Merge branch 'hj-develop-patch-16931' into 'develop'
Update CHANGELOG.md

See merge request pleroma/pleroma-fe!1427
2022-01-24 19:31:42 +00:00
Henry Jameson 94c37e8adf Merge remote-tracking branch 'origin/develop' into proper-attachments
* origin/develop:
  undo accidental change when merging
  Apply 1 suggestion(s) to 1 file(s)
  Rearranged settings, moved more stuff to filtering where apllicable. Changed how filering works.
2022-01-24 21:29:19 +02:00
HJ e5f731c97d Update CHANGELOG.md 2022-01-24 19:29:01 +00:00
HJ 3cf7f9e3c8 Merge branch 'settings-and-filtering' into 'develop'
Settings rearrange and filtering improvements

See merge request pleroma/pleroma-fe!1394
2022-01-24 18:18:27 +00:00
Henry Jameson 56de3d2f52 fix too-many-attachments in notifications column 2022-01-24 19:53:17 +02:00
Henry Jameson c551e3e697 Merge remote-tracking branch 'origin/develop' into proper-attachments
* origin/develop: (81 commits)
  Improve the user card for deactivated users
  Update CHANGELOG.md
  Update CHANGELOG.md
  Allow canceling a follow request
  Simple policy reasons for instance specific policies
  entity_normalizer: Escape name when parsing user
  Translated using Weblate (Spanish)
  Translated using Weblate (Catalan)
  Translated using Weblate (Korean)
  Translated using Weblate (Japanese (ja_PEDANTIC))
  Translated using Weblate (Indonesian)
  Translated using Weblate (Esperanto)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Italian)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Italian)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Chinese (Simplified))
  ...
2022-01-24 19:28:38 +02:00
Henry Jameson f7e2ac1c48 undo accidental change when merging 2022-01-24 19:16:03 +02:00
Henry Jameson 2f8aae371b Merge remote-tracking branch 'origin/settings-and-filtering' into settings-and-filtering
* origin/settings-and-filtering:
  Apply 1 suggestion(s) to 1 file(s)
2022-01-24 19:13:29 +02:00
Henry Jameson 9ea0f10abb Merge remote-tracking branch 'origin/develop' into settings-and-filtering
* origin/develop: (169 commits)
  Improve the user card for deactivated users
  Update CHANGELOG.md
  Update CHANGELOG.md
  Allow canceling a follow request
  Simple policy reasons for instance specific policies
  entity_normalizer: Escape name when parsing user
  Translated using Weblate (Spanish)
  Translated using Weblate (Catalan)
  Translated using Weblate (Korean)
  Translated using Weblate (Japanese (ja_PEDANTIC))
  Translated using Weblate (Indonesian)
  Translated using Weblate (Esperanto)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Italian)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Italian)
  Translated using Weblate (Vietnamese)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Chinese (Simplified))
  ...
2022-01-24 19:12:17 +02:00
HJ 182fcca5da Merge branch 'weblate-pleroma-pleroma-fe' into 'develop'
Translations update from Weblate

See merge request pleroma/pleroma-fe!1413
2022-01-19 13:10:16 +00:00
HJ 6509542dbd Merge branch 'fixes_for_deactivated_profile' into 'develop'
Improve the user card for deactivated users

See merge request pleroma/pleroma-fe!1417
2022-01-19 13:09:49 +00:00
Ilja 2ac78219ee Improve the user card for deactivated users 2022-01-19 13:09:48 +00:00
Shpuld Shpludson b13d8f7e63 Merge branch 'develop' into 'master'
Update MASTER for 2.4.2

See merge request pleroma/pleroma-fe!1421
2022-01-09 18:37:01 +00:00
Shpuld Shpludson 756f7bf7c2 Merge branch 'shpuld-develop-patch-58245' into 'develop'
Update CHANGELOG.md

See merge request pleroma/pleroma-fe!1423
2022-01-09 18:29:46 +00:00
Shpuld Shpludson 4cd27acf7f Update CHANGELOG.md 2022-01-09 18:26:35 +00:00
Shpuld Shpludson 030c374def Merge branch 'shpuld-develop-patch-87791' into 'develop'
Update CHANGELOG.md

See merge request pleroma/pleroma-fe!1422
2022-01-09 18:21:14 +00:00
Shpuld Shpludson 056f5f547a Update CHANGELOG.md 2022-01-09 18:16:44 +00:00
HJ af2a408b78 Apply 1 suggestion(s) to 1 file(s) 2022-01-09 17:59:50 +00:00
HJ d22e04eaf6 Merge branch 'allow_to_cancel_follow_request' into 'develop'
Allow canceling a follow request

See merge request pleroma/pleroma-fe!1416
2021-12-28 11:43:24 +00:00
Ilja 4587f37dd7 Allow canceling a follow request
When a follow request is sent, but not (yet) accepted, the behaviour is now to cancel the request instead of re sending.

The reason is double
* You couldn't cancel a follow request if you change your mind and the request wasn't answered yet
* Instances don't always correctly process a new follow request when the following is already happening. If something went wrong (e;g. the target server thinks you're following, but your instance thinks you're not yet), it's better to first sent an unfollow. This is the behaviour that Mastodon and most probably most other clients have. Therefore this flow is more tested and expected by other instances.
2021-12-12 18:09:21 +01:00
HJ a20f1794d0 Merge branch 'simplePolicy_reasons_for_instance_specific_policies' into 'develop'
Simple policy reasons for instance specific policies

See merge request pleroma/pleroma-fe!1263
2021-12-03 18:14:32 +00:00
Ilja b4cfda4a20 Simple policy reasons for instance specific policies 2021-12-03 18:14:32 +00:00
HJ ea0887a15e Merge branch 'fix/escape-display-name' into 'develop'
entity_normalizer: Escape name when parsing user

See merge request pleroma/pleroma-fe!1415
2021-11-16 17:45:14 +00:00
rinpatch d36b45ad43 entity_normalizer: Escape name when parsing user
In January 2020 Pleroma backend stopped escaping HTML in display names
and passed that responsibility on frontends, compliant with Mastodon's
version of Mastodon API [1]. Pleroma-FE was subsequently modified to
escape the display name [2], however only in the "name_html" field. This
was fine however, since that's what the code rendering display names used.

However, 2 months ago an MR [3] refactoring the way the frontend does emoji
and mention rendering was merged. One of the things it did was moving away
from doing emoji rendering in the entity normalizer and use the unescaped
'user.name' in the rendering code, resulting in HTML injection being
possible again.

This patch escapes 'user.name' as well, as far as I can tell there is no
actual use for an unescaped display name in frontend code, especially
when it comes from MastoAPI, where it is not supposed to be HTML.

[1]: https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1052
[2]: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/2167
[3]: https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1392
2021-11-16 20:35:23 +03:00
tarteka d2730d5bad Translated using Weblate (Spanish)
Currently translated at 100.0% (722 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/es/
2021-10-21 19:22:22 +00:00
retiolus 1c75c74c91 Translated using Weblate (Catalan)
Currently translated at 99.7% (720 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-09-29 00:45:54 +00:00
Ryo Ueno ef684dff61 Translated using Weblate (Korean)
Currently translated at 61.9% (447 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2021-09-19 09:45:49 +00:00
Ryo Ueno 241b4957e1 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 99.4% (718 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2021-09-19 09:45:49 +00:00
@liimee 45eda03d1c Translated using Weblate (Indonesian)
Currently translated at 68.1% (492 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-09-16 00:45:47 +00:00
Tirifto 1d0e4bada8 Translated using Weblate (Esperanto)
Currently translated at 100.0% (722 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2021-09-14 15:45:47 +00:00
Hồ Nhất Duy 3c8ced53b9 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (722 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/vi/
2021-09-09 22:00:26 +00:00
Ben Is 80dd6b2500 Translated using Weblate (Italian)
Currently translated at 100.0% (722 of 722 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-09-09 22:00:26 +00:00
Hồ Nhất Duy ad64b91d66 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/vi/
2021-09-09 22:00:26 +00:00
@liimee 4988268f5f Translated using Weblate (Indonesian)
Currently translated at 67.5% (484 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-09-09 22:00:26 +00:00
Ben Is 50adf0ddf2 Translated using Weblate (Italian)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-09-09 22:00:26 +00:00
HJ ef5bbc4e5f Merge branch 'themeApply' into 'develop'
Minor QOL improvement: Theme tab Apply and Reset buttons shouldn't require scrolling

See merge request pleroma/pleroma-fe!1397
2021-09-09 22:00:20 +00:00
HJ 370f1e55ad Merge branch 'develop' into 'themeApply'
# Conflicts:
#   CHANGELOG.md
2021-09-09 21:51:39 +00:00
HJ a8a82ad12f Merge branch 'showMobileNewPost' into 'develop'
New user option: Always show floating New Post button

See merge request pleroma/pleroma-fe!1395
2021-09-09 12:19:53 +00:00
HJ 1c53528433 Merge branch 'fix-favico-badge-chrome' into 'develop'
fix favico badge not working on chrome

See merge request pleroma/pleroma-fe!1391
2021-09-07 16:17:31 +00:00
HJ 8af1f08539 Merge branch 'better-still-emoji' into 'develop'
Status HTML parsing - better emoji and mentions rendering

Closes #935

See merge request pleroma/pleroma-fe!1392
2021-09-07 16:15:41 +00:00
Shpuld Shpludson 25a8b48bf2 Merge branch 'from/develop/tusooa/fix-mobile-shoutbox-display' into 'develop'
Fix mobile shoutbox display

See merge request pleroma/pleroma-fe!1404
2021-09-07 14:46:39 +00:00
HJ 59bab829a6 Merge branch 'weblate-pleroma-pleroma-fe' into 'develop'
Translations update from Weblate

See merge request pleroma/pleroma-fe!1412
2021-09-05 12:31:23 +00:00
Hồ Nhất Duy 13468f2a89 Translated using Weblate (Vietnamese)
Currently translated at 50.0% (358 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/vi/
2021-09-05 04:46:01 +00:00
@liimee 5bb471a68e Translated using Weblate (Indonesian)
Currently translated at 67.3% (482 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-09-05 04:45:45 +00:00
Kana ff5ed29ec1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2021-09-05 04:45:43 +00:00
tarteka fa75a3a615 Translated using Weblate (Basque)
Currently translated at 80.7% (578 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eu/
2021-09-05 04:45:43 +00:00
HJ 057e3dac85 Merge branch 'weblate-pleroma-pleroma-fe' into 'develop'
Translations update from Weblate

See merge request pleroma/pleroma-fe!1388
2021-09-02 16:58:11 +00:00
Hồ Nhất Duy 6e57170626 Added translation using Weblate (Vietnamese) 2021-09-02 14:47:32 +00:00
@liimee 98da3ad124 Translated using Weblate (Indonesian)
Currently translated at 60.6% (434 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-08-30 15:24:16 +00:00
@liimee 144cee6d34 Translated using Weblate (Indonesian)
Currently translated at 58.6% (420 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-08-30 15:24:16 +00:00
tarteka 0543c8d536 Translated using Weblate (Basque)
Currently translated at 80.4% (576 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eu/
2021-08-30 15:24:16 +00:00
marcin mikołajczak 9319666f04 Translated using Weblate (Polish)
Currently translated at 98.8% (708 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/pl/
2021-08-30 15:24:16 +00:00
@liimee ca9652b30b Translated using Weblate (Indonesian)
Currently translated at 56.9% (408 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-08-30 15:24:16 +00:00
tarteka 21af736fe1 Translated using Weblate (Basque)
Currently translated at 79.8% (572 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eu/
2021-08-30 15:24:16 +00:00
tarteka 78ba8be969 Translated using Weblate (Spanish)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/es/
2021-08-30 15:24:16 +00:00
@liimee 29f229daad Translated using Weblate (Indonesian)
Currently translated at 50.1% (359 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/id/
2021-08-30 15:24:16 +00:00
marcin mikołajczak 5049ee575f Translated using Weblate (Polish)
Currently translated at 98.7% (707 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/pl/
2021-08-30 15:24:16 +00:00
tarteka 32ed71501a Translated using Weblate (Spanish)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/es/
2021-08-30 15:24:16 +00:00
@liimee a7a736c7b8 Added translation using Weblate (Indonesian) 2021-08-30 15:24:16 +00:00
tarteka 5cbb71e588 Translated using Weblate (Spanish)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/es/
2021-08-30 15:24:16 +00:00
M. Strange fa2e5deae2 Translated using Weblate (Catalan)
Currently translated at 97.4% (698 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-08-30 15:24:16 +00:00
titizen a3bfa63d05 Translated using Weblate (Catalan)
Currently translated at 95.3% (683 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-08-30 15:24:16 +00:00
M. Strange 1ef2bb93fe Translated using Weblate (Catalan)
Currently translated at 92.0% (659 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-08-30 15:24:16 +00:00
titizen c38ab7234d Translated using Weblate (Catalan)
Currently translated at 92.0% (659 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-08-30 15:24:16 +00:00
ZEN 791293c709 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2021-08-30 15:24:16 +00:00
M. Strange 8574db1cf1 Translated using Weblate (Catalan)
Currently translated at 56.1% (402 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-08-30 15:24:15 +00:00
Snow 90d553f4be Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2021-08-30 15:24:15 +00:00
Haelwenn (lanodan) Monnier d3139a92b3 Translated using Weblate (French)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/fr/
2021-08-30 15:24:15 +00:00
Ben Is bc08f998cf Translated using Weblate (Italian)
Currently translated at 100.0% (716 of 716 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-08-30 15:24:15 +00:00
Tirifto f72671a1aa Translated using Weblate (Esperanto)
Currently translated at 100.0% (715 of 715 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2021-08-30 15:24:15 +00:00
Ben Is 738e7923e4 Translated using Weblate (Italian)
Currently translated at 100.0% (715 of 715 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-08-30 15:24:15 +00:00
retiolus b3f15fe3e1 Translated using Weblate (Catalan)
Currently translated at 44.4% (318 of 715 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ca/
2021-08-30 15:24:15 +00:00
ZEN 761f91f7ef Translated using Weblate (Ukrainian)
Currently translated at 100.0% (715 of 715 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2021-08-30 15:24:15 +00:00
Issabella Deinschnitzel c509ed357a Translated using Weblate (German)
Currently translated at 100.0% (715 of 715 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-08-30 15:24:15 +00:00
Ben Is 18871684c7 Translated using Weblate (Italian)
Currently translated at 100.0% (715 of 715 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-08-30 15:24:15 +00:00
Kana 33e2bcce31 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (714 of 714 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2021-08-30 15:24:15 +00:00
Ben Is 4d529c13ba Translated using Weblate (Italian)
Currently translated at 100.0% (714 of 714 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-08-30 15:24:15 +00:00
Ben Is 0e53b2916e Translated using Weblate (Italian)
Currently translated at 100.0% (714 of 714 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-08-30 15:24:15 +00:00
Tirifto 04a49e4c42 Translated using Weblate (Esperanto)
Currently translated at 99.7% (709 of 711 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/eo/
2021-08-30 15:24:15 +00:00
ZEN f57f61ca53 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (711 of 711 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2021-08-30 15:24:15 +00:00
Ben Is 4302db5975 Translated using Weblate (Italian)
Currently translated at 100.0% (711 of 711 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-08-30 15:24:15 +00:00
Shpuld Shpludson cdcefc2b73 Merge branch 'fix-ext-profile' into 'develop'
fix ext profile bug

See merge request pleroma/pleroma-fe!1409
2021-08-30 15:24:06 +00:00
Henry Jameson 4d73eaa6ce fix spacing before hashtags 2021-08-23 21:36:18 +03:00
Henry Jameson 39494439d3 very minimalist hashtaglink implementation, also you can middle-click
mentions now.
2021-08-23 20:57:21 +03:00
Ekaterina Vaartis b247a91724 Ensure uniqueness of found statuses & ensure only one loading circle 2021-08-22 16:13:42 +03:00
Ekaterina Vaartis ca7fa67997 Amend status search results, and introduce searchType
Use searchType to only search for statuses when searching for more results
2021-08-22 15:53:20 +03:00
Henry Jameson c3576211cb fix tests 2021-08-18 21:17:51 +03:00
Henry Jameson cbb34e2b0e fix expanded mentions spacing 2021-08-18 20:58:26 +03:00
Henry Jameson e98a2af39e hopefully final fix for spacings 2021-08-18 20:54:04 +03:00
Ekaterina Vaartis 3117623f30 Implement loading more statuses when searching 2021-08-16 21:46:50 +03:00
Henry Jameson dbdc5e050f fix ext profile bug 2021-08-16 01:41:52 +03:00
Henry Jameson 49fe334186 play gifs when hovering over notification 2021-08-16 01:34:35 +03:00
Henry Jameson 14ec7d6a41 add attachment counter 2021-08-16 01:11:43 +03:00
Henry Jameson 7cc19ef2ea better media modal loading 2021-08-16 01:11:42 +03:00
Henry Jameson 0507eb6550 ability to move attachments around when making a new post 2021-08-15 21:04:49 +03:00
Henry Jameson 830a03a0d1 inline description display 2021-08-15 21:04:28 +03:00
Henry Jameson 34d265467a add media description into media modal 2021-08-15 19:45:48 +03:00
Henry Jameson f5823a96e9 add key attribute to make image refresh in media modal to give feedback
when images are still loaded
2021-08-15 19:43:52 +03:00
Henry Jameson 777f6c0162 Merge branch 'better-still-emoji' into proper-attachments
* better-still-emoji:
  fix "+X more" sticking
2021-08-15 18:43:52 +03:00
Henry Jameson 0087d33c75 fix "+X more" sticking 2021-08-15 18:41:13 +03:00
Henry Jameson 299c00cf74 fix video attachments in notifications not having pointer cursor 2021-08-15 18:35:26 +03:00
Henry Jameson 07c12ae162 replace poll with an icon in notifications 2021-08-15 18:26:37 +03:00
Henry Jameson c8a7b6f433 fix long posts double-fading in notifications 2021-08-15 18:21:25 +03:00
Henry Jameson 5431d8fe55 Merge branch 'better-still-emoji' into proper-attachments
* better-still-emoji:
  fix links sticking to mentionsline
2021-08-15 18:11:57 +03:00
Henry Jameson 8cc1ad67df fix links sticking to mentionsline 2021-08-15 18:11:38 +03:00
Henry Jameson 6aa6f6f300 fix console errors 2021-08-15 17:53:35 +03:00
Henry Jameson 17d2eed06a Merge branch 'better-still-emoji' into proper-attachments
* better-still-emoji:
  fix tests
  prevent infinite update loops
  remove obsolete tests
  removed useless code, review change, fixed bug with tall statuses
  fixed mentions line again
  remove old emoji added, everything emoji-bearing uses RichContent now
  richcontent support in polls, user cards and user profiles
  support richcontent in polls
  fix tests, add performance test (skipped, doesn't assert anything), tweak max mentions count
  made the code responsible for showing unwritten mentions actually work
  remove new options for style and separate line, now groups all chained mentions on a mentionsline regardless of placement. fixes spacing
  fix tests
2021-08-15 16:27:41 +03:00
Henry Jameson f16658adfc fix tests 2021-08-15 02:59:14 +03:00
Henry Jameson 68b4323181 prevent infinite update loops 2021-08-15 02:55:45 +03:00
Henry Jameson 7d67e8f1cc remove obsolete tests 2021-08-15 02:44:36 +03:00
Henry Jameson 530ac4442b removed useless code, review change, fixed bug with tall statuses 2021-08-15 02:41:53 +03:00
Henry Jameson 4465de5241 fixed mentions line again 2021-08-14 22:03:09 +03:00
Henry Jameson 97e86381c8 remove old emoji added, everything emoji-bearing uses RichContent now 2021-08-13 13:12:33 +03:00
Henry Jameson 4c974f5ca2 richcontent support in polls, user cards and user profiles 2021-08-13 13:06:42 +03:00
Henry Jameson 6c6df29ed3 support richcontent in polls 2021-08-13 12:19:57 +03:00
Henry Jameson add5921b8b fix tests, add performance test (skipped, doesn't assert anything),
tweak max mentions count
2021-08-12 19:37:04 +03:00
Henry Jameson 2182af4058 made the code responsible for showing unwritten mentions actually work 2021-08-12 03:09:28 +03:00
Henry Jameson 2cfff1b8b9 remove new options for style and separate line, now groups all chained
mentions on a mentionsline regardless of placement. fixes spacing
2021-08-12 02:56:40 +03:00
Shpuld Shpludson 51d3d8d255 Merge branch 'develop' into 'master'
Update MASTER for 2.4.0

See merge request pleroma/pleroma-fe!1406
2021-08-08 13:16:00 +00:00
Shpuld Shpuldson cc170aa3ec Update master with 2.4.0 2021-08-08 16:14:22 +03:00
Shpuld Shpludson 4686993334 Merge branch 'shpuld-develop-patch-10585' into 'develop'
Update CHANGELOG.md for 2.4.0

See merge request pleroma/pleroma-fe!1405
2021-08-08 12:47:25 +00:00
Shpuld Shpludson 435f80133a Update CHANGELOG.md for 2.4.0 2021-08-08 12:38:51 +00:00
Tusooa Zhu ef277ae4e2
Fix mobile shoutbox 2021-08-03 20:11:06 -04:00
eris f35e3d0f3f Fix merge conflict in CHANGELOG
# Conflicts:
#   CHANGELOG.md
2021-07-22 20:47:36 +00:00
eris 179af131ee Fix changelog merge conflict
# Conflicts:
#   CHANGELOG.md
2021-07-22 20:46:41 +00:00
Shpuld Shpludson 425919a0d2 Merge branch 'fix-themes-select' into 'develop'
Fix theme select not working

See merge request pleroma/pleroma-fe!1393
2021-07-19 18:33:19 +00:00
HJ ba961b784f Apply 1 suggestion(s) to 1 file(s) 2021-07-19 17:10:13 +00:00
Shpuld Shpludson 891611816c Merge branch 'editProfile' into 'develop'
Minor change: Add edit profile button onto self user card

See merge request pleroma/pleroma-fe!1398
2021-07-19 16:35:28 +00:00
Shpuld Shpludson 373b14e1e4 Merge branch 'fix-settings-anon' into 'develop'
Fix Boolean/Choice settings not working properly on initial launch

See merge request pleroma/pleroma-fe!1389
2021-07-19 16:11:11 +00:00
Henry Jameson a0eaac2216 fix tests 2021-06-22 21:09:29 +03:00
Henry Jameson b67db47c88 lint 2021-06-22 20:47:35 +03:00
Henry Jameson dd3fe61cf3 Merge branch 'better-still-emoji' into proper-attachments
* better-still-emoji:
  fix non-notifying mentions and original mention display
  fix not escaping some stuff
  fix rich images
2021-06-22 20:45:44 +03:00
Henry Jameson a2f21f4e13 fix description colliding with extra-long text 2021-06-22 20:42:52 +03:00
Henry Jameson 628b99d117 don't stretch columns when uploading media 2021-06-22 20:37:08 +03:00
Henry Jameson 5118eee19a fix videos not stretching to container 2021-06-22 20:35:34 +03:00
Henry Jameson 4ba8d95a10 fix videos and related not having working drag controls 2021-06-22 20:33:57 +03:00
Henry Jameson 4016182b89 fix z-indexes 2021-06-22 20:32:55 +03:00
Henry Jameson a258182522 fix non-notifying mentions and original mention display 2021-06-22 20:16:26 +03:00
eris 6125dc885a Update for latest develop merges to CHANGELOG 2021-06-20 21:06:59 +00:00
HJ 19475ba356 Merge branch 'develop' into 'develop'
Bug fix: Fix follow request count position on mobile

See merge request pleroma/pleroma-fe!1400
2021-06-20 09:09:32 +00:00
Eris cd9dd352e3 Fix follow request count position on mobile 2021-06-20 06:27:32 +00:00
Henry Jameson c6831a3810 fix not escaping some stuff 2021-06-18 21:42:46 +03:00
Henry Jameson 8fe4355a6b fix rich images 2021-06-18 21:29:47 +03:00
Henry Jameson 6b8b9c017f whoops 2021-06-18 17:39:29 +03:00
Henry Jameson 44b741e270 better attachments in uploading (grid layout) 2021-06-18 17:30:56 +03:00
Henry Jameson 8bab8658e8 better handling of unknown files, better upload display 2021-06-18 16:11:16 +03:00
Henry Jameson bfe31e20ea better compact attachments 2021-06-18 14:12:50 +03:00
Henry Jameson 5c2744b426 Merge branch 'better-still-emoji' into proper-attachments
* better-still-emoji:
  Use proper setting name
  Use cleaner instance config check for shoutbox setting
  Make locale language cleaner
  Don't shorten shoutbox to SB
  Fix lint error
  Update CHANGELOG.md
  New option: Hide shoutbox
2021-06-18 02:28:11 +03:00
Henry Jameson b68fb7738b Merge remote-tracking branch 'origin/develop' into better-still-emoji
* origin/develop:
  Use proper setting name
  Use cleaner instance config check for shoutbox setting
  Make locale language cleaner
  Don't shorten shoutbox to SB
  Fix lint error
  Update CHANGELOG.md
  New option: Hide shoutbox
2021-06-18 02:27:57 +03:00
Henry Jameson f35c090caa merged in compact notifs and improved upon it 2021-06-18 02:27:32 +03:00
Henry Jameson c1293c3afa Merge branch 'compact-notifs' into proper-attachments
* compact-notifs:
  compact notifs
2021-06-18 02:09:50 +03:00
Henry Jameson f15599e6e5 gallery in post status form! 2021-06-18 02:04:01 +03:00
Henry Jameson 90345f158f gallery now supports flash, fixes for flash component. refactored media modal 2021-06-18 02:03:38 +03:00
Eris 85e2f8f78c Don't show profile edit button in sidebar 2021-06-17 20:57:23 +00:00
eris b2ebfc1fd6 Merge branch 'develop' into 'editProfile'
# Conflicts:
#   CHANGELOG.md
2021-06-17 19:35:09 +00:00
Eris e1361a1cae Add edit profile button 2021-06-17 19:29:58 +00:00
Henry Jameson e654fead23 refactored attachments and gallery. All attachments now are in gallery. 2021-06-17 16:29:46 +03:00
Eris 9c4957268d Use proper setting name 2021-06-17 13:21:25 +03:00
Eris 6689fed513 Use cleaner instance config check for shoutbox setting 2021-06-17 13:21:25 +03:00
Eris 4ecbb58086 Make locale language cleaner 2021-06-17 13:21:25 +03:00
Eris 0a3ce9cc8b Don't shorten shoutbox to SB 2021-06-17 13:21:25 +03:00
Eris dcfd178314 Fix lint error 2021-06-17 13:21:25 +03:00
Eris 1b26c713ef Update CHANGELOG.md 2021-06-17 13:21:25 +03:00
Eris 9e9ab5cec9 New option: Hide shoutbox 2021-06-17 13:21:25 +03:00
Henry Jameson a96a62929d Merge remote-tracking branch 'origin/develop' into settings-and-filtering
* origin/develop:
  Use proper setting name
  Use cleaner instance config check for shoutbox setting
  Make locale language cleaner
  Don't shorten shoutbox to SB
  Fix lint error
  Update CHANGELOG.md
  New option: Hide shoutbox
2021-06-16 13:52:13 +03:00
Henry Jameson 1717a3aaf2 fix chats again 2021-06-16 12:44:04 +03:00
Henry Jameson 25bf28f051 added tests just in case 2021-06-16 02:11:24 +03:00
Henry Jameson ad3a2fd4e5 fixed "invisible" spans inside links 2021-06-16 01:20:20 +03:00
eris 139a0d1562 Merge branch 'develop' into 'themeApply'
# Conflicts:
#   CHANGELOG.md
2021-06-15 21:50:39 +00:00
eris cab0095989 Merge branch 'develop' into 'showMobileNewPost'
# Conflicts:
#   CHANGELOG.md
#   src/App.js
2021-06-15 21:49:33 +00:00
HJ 338134acfb Merge branch 'hideShoutbox' into 'develop'
New user option: Hide floating shoutbox

See merge request pleroma/pleroma-fe!1396
2021-06-15 21:32:20 +00:00
Eris d7a53aec61 Use proper setting name 2021-06-15 18:09:00 +00:00
Henry Jameson 4aac0125e5 fixed bug with hashtags 2021-06-15 14:43:44 +03:00
Eris 7e3393b5a2 Use cleaner instance config check for shoutbox setting 2021-06-15 00:59:36 +00:00
Eris 5047663c51 Make locale language cleaner 2021-06-15 00:25:09 +00:00
Eris e67f295497 Update CHANGELOG.md 2021-06-14 23:32:18 +00:00
Eris 312a237ca4 Revert duplicate buttons and move existing buttons to bottom-right corner independent of scroll 2021-06-14 23:31:16 +00:00
Eris 4639e30cb8 Fix config naming for consistency 2021-06-14 20:41:34 +00:00
Eris cbccea0546 Don't shorten shoutbox to SB 2021-06-14 20:33:51 +00:00
Eris b88e6b8ab0 Update CHANGELOG.md 2021-06-14 20:11:57 +00:00
Eris 8fa0331771 Add apply and reset themes to top of theme tab 2021-06-14 20:09:28 +00:00
Eris 1668315bf8 Fix lint error 2021-06-14 20:02:13 +00:00
Eris 1fcccd7570 Update CHANGELOG.md 2021-06-14 19:43:47 +00:00
Eris 0c10145242 New option: Hide shoutbox 2021-06-14 19:42:56 +00:00
Eris 67c9d8bd55 revert gitignore file change 2021-06-14 18:49:37 +00:00
Eris adfe56a3a3 New option: Always show floating New Post button 2021-06-14 17:54:40 +00:00
Henry Jameson 63c22ad131 Fixed mergedConfig misbehaving on first boot 2021-06-14 10:58:32 +03:00
Henry Jameson 7309f8ce1a lint 2021-06-14 10:31:07 +03:00
Henry Jameson c21b1cf898 do the impossible, fix the unfixable 2021-06-14 10:30:08 +03:00
Henry Jameson a3c703bd37 compact notifs 2021-06-14 02:52:41 +03:00
Henry Jameson 636dbdaba8 more fixes 2021-06-13 22:22:59 +03:00
Henry Jameson 1fdfc42159 fix mentions in chats 2021-06-13 21:43:45 +03:00
Henry Jameson 609dc5da0c fix chats messages 2021-06-13 21:42:25 +03:00
Henry Jameson bebafa1a2c refactored line converter, untied its logic from greentexting, better
handling of broken cases
2021-06-13 15:24:29 +03:00
HJ e825021ef1 Apply 1 suggestion(s) to 1 file(s) 2021-06-12 18:55:18 +00:00
Henry Jameson 9c70f3e4df fixed a bug + made a testcase out of it 2021-06-12 21:49:56 +03:00
Henry Jameson 2c60a9b638 fix next relply-row bleeding through popover 2021-06-12 20:51:36 +03:00
Henry Jameson 18fb7516cc lint 2021-06-12 20:44:14 +03:00
Henry Jameson 418f029789 review + fixes 2021-06-12 20:43:29 +03:00
Henry Jameson 90a188f2c3 cleanup 2021-06-12 19:54:34 +03:00
Henry Jameson cd44556750 restructure and tests
squash! restructure and tests
2021-06-12 19:54:30 +03:00
Henry Jameson ca6c7d5b10 fix tags gluing 2021-06-12 17:20:21 +03:00
Henry Jameson 24f3681ac1 fix color of reply row, fix overflow in status-popover 2021-06-12 17:11:49 +03:00
Henry Jameson 647e4476f9 fix long post fader 2021-06-12 16:25:37 +03:00
Henry Jameson c1bd36dc6f change how "first" line is determined. Allow one mention in the
beginning for hellthread style
2021-06-12 16:15:22 +03:00
Henry Jameson ffc501eb23 cleanup 2021-06-11 13:38:08 +03:00
Henry Jameson 9421501c1e lint & cleanup 2021-06-11 11:52:50 +03:00
Henry Jameson 5834790d0b fix #935 2021-06-11 11:50:05 +03:00
Henry Jameson f819227bed fixed console errors, improved user-selecting, added cyantexting 2021-06-11 11:49:32 +03:00
Henry Jameson 255f47fe56 fix infinite loop 2021-06-11 11:05:28 +03:00
Henry Jameson f883d2f75c better handling of hellthreads with mentions at bottom 2021-06-11 03:11:58 +03:00
Henry Jameson b84aeff6bf stylistic changes 2021-06-10 18:52:23 +03:00
Henry Jameson cc00af7a31 Hellthread(tm) Certified 2021-06-10 18:52:01 +03:00
Henry Jameson 0f73e96194 don't hide mentions for OPs 2021-06-10 15:11:57 +03:00
Henry Jameson 0263834faa mentions on same line as replies 2021-06-10 14:01:26 +03:00
Henry Jameson 6bff7cc6ef use icon instead of symbol for @ in mentions links 2021-06-10 13:29:59 +03:00
Henry Jameson 0260693f51 stylistic improvements for single-line mentions 2021-06-10 13:22:36 +03:00
Henry Jameson 394fd462dc proper cachin of headTailLinks, show mentions in notificaitons always 2021-06-10 13:01:00 +03:00
Henry Jameson c6c478f4cf moved mentions onto reply line, replies moved below post body 2021-06-10 12:29:58 +03:00
Henry Jameson aec867b300 Moved greentext to RichContent, improved how first mentions are
restored, now shows mentions not uh, mention in post body
2021-06-10 12:29:58 +03:00
Henry Jameson 566964992a fix long posts having weird gradient 2021-06-08 19:37:18 +03:00
Henry Jameson 5c655b6675 lint 2021-06-08 17:19:38 +03:00
Henry Jameson 8c8237418c fix repeats having wrong mentions 2021-06-08 17:14:22 +03:00
Henry Jameson 963f1679e0 fix console errors 2021-06-08 17:14:22 +03:00
Henry Jameson a3b8e7ad99 missing localization 2021-06-08 16:37:13 +03:00
Henry Jameson b87a9d6675 Rearranged settings, moved more stuff to filtering where apllicable.
Changed how filering works.
2021-06-08 16:14:01 +03:00
Henry Jameson 7ae85c8318 change defaults 2021-06-08 14:51:42 +03:00
Henry Jameson 0ae3985a52 bump limit to a saner one 2021-06-08 14:36:41 +03:00
Henry Jameson 2f383c2c01 moved mentions into a separate component - MentionLine, added collapsing
of mentions when there's too many of 'em
2021-06-08 14:34:47 +03:00
Henry Jameson 73127f0e25 fix empty spaces again 2021-06-08 13:42:16 +03:00
Henry Jameson 9ea370033a configurable mentions placement 2021-06-08 12:58:28 +03:00
Henry Jameson 3abd357694 moving mentions into separate row 2021-06-08 11:38:44 +03:00
Henry Jameson 0583a6b863 moved transparent button styles into button itself 2021-06-08 10:14:49 +03:00
Henry Jameson 6bc9886db4 tweaking the spacings 2021-06-08 01:25:03 +03:00
Henry Jameson ccdf892483 remove weird vertical align 2021-06-08 01:21:45 +03:00
Henry Jameson 38d9ea8b17 lint 2021-06-08 00:09:16 +03:00
Henry Jameson 5740a79dbd faint @ 2021-06-08 00:06:26 +03:00
Henry Jameson e6d5ddcbb6 better modifier, no background for unhighlighted mentions 2021-06-08 00:03:59 +03:00
Henry Jameson 59d046b163 fix theme selection not working 2021-06-07 23:48:46 +03:00
Henry Jameson c3e122ff6f smaller mentions 2021-06-07 23:48:01 +03:00
Henry Jameson 7d6fc044fb new mentions look 2021-06-07 23:42:04 +03:00
Henry Jameson 6199788f28 fix tall emojis being cropped 2021-06-07 20:44:32 +03:00
Henry Jameson 8045d1866e localization 2021-06-07 20:25:31 +03:00
Henry Jameson 6090327236 moved some post styles into status body since they inferfere with usernames 2021-06-07 20:02:09 +03:00
Henry Jameson 5e83672274 fixed some strange error 2021-06-07 20:01:57 +03:00
Henry Jameson aa38223e87 lint 2021-06-07 19:51:04 +03:00
Henry Jameson 8e9f5d7580 renamed StatusText to StatusBody for clarity, fixed chats 2021-06-07 19:50:38 +03:00
Henry Jameson 50aa379038 new component - StatusText, to separate post's text from its attachments 2021-06-07 18:41:55 +03:00
Henry Jameson 04fa1f0b2d some docs, added richcontent to usernames in status, updated stillImage
to allow scale of "gif" label
2021-06-07 18:41:47 +03:00
Henry Jameson aec05686d0 lint, fix warnings 2021-06-07 18:41:47 +03:00
Henry Jameson b0ae32e309 made getAttrs correctly handle both ' and " 2021-06-07 18:41:47 +03:00
Henry Jameson 22c8f71945 mention link 2021-06-07 18:41:47 +03:00
Henry Jameson 1923ed84d4 more tests 2021-06-07 18:41:47 +03:00
Henry Jameson a2459c2187 move styles to richcontent 2021-06-07 18:41:47 +03:00
Henry Jameson be79643bcf fix emoji processor not leaving string as-is if no emoji are found 2021-06-07 18:41:47 +03:00
Henry Jameson 35dedf8416 lint 2021-06-07 18:41:47 +03:00
Henry Jameson 5970ddf9ac fix escaped apostrophes 2021-06-07 18:41:47 +03:00
Henry Jameson 20ce646852 [WIP] MUCH better approach to replacing emojis with still versions 2021-06-07 18:41:47 +03:00
HJ 2725a0c639 Merge branch 'chore/rename-chat' into 'develop'
Rename legacy PleromaFE Chat functionality to "Shout"

See merge request pleroma/pleroma-fe!1207
2021-06-03 20:16:48 +00:00
Mark Felder bd98ecb3f0 Remove unused shoutbox channel state from side drawer 2021-06-03 15:07:02 -05:00
Henry Jameson 2a2483f4c9 handle multiple favicons (different sizes) 2021-06-02 12:47:54 +03:00
Henry Jameson 008e711e11 fix favico badge not working on chrome 2021-06-02 12:15:31 +03:00
Mark Felder 21477d07e9 This setting didn't actually do anything 2021-06-01 16:51:47 -05:00
Mark Felder ed824d964e Use old value to discover if Shoutbox is available until we ship a new release that's declaring the feature as "shout" 2021-06-01 16:48:40 -05:00
Mark Felder e0cde9a29b Keep channel name the same for backwards compatibility 2021-06-01 14:31:58 -05:00
Mark Felder 0604b1d5b7 Rename legacy PleromaFE Chat functionality to "Shout" 2021-06-01 12:51:20 -05:00
Henry Jameson 32d1a0e181 better approach 2021-05-31 14:23:57 +03:00
HJ 7bd18cda64 Merge branch 'vue3compat-emoji-input' into 'develop'
Refactor EmojiInput for better vue3 compatibility

See merge request pleroma/pleroma-fe!1382
2021-05-31 11:17:42 +00:00
Henry Jameson e95412a03c fix BooleanSetting and ChoiceSetting not working properly on initial
launch as anon visitor (would show all as changed, empty selects)
2021-05-31 14:16:37 +03:00
HJ 0ca0e642a4 Merge branch 'v-slot-upgrade' into 'develop'
Change old slot syntax (removed in vue3) to new one

See merge request pleroma/pleroma-fe!1379
2021-05-31 11:15:44 +00:00
HJ 4e96af0442 Merge branch 'better-selects' into 'develop'
Better <select> components

See merge request pleroma/pleroma-fe!1373
2021-05-31 11:08:56 +00:00
Henry Jameson 80220c1b07 fix warnings 2021-05-31 14:08:12 +03:00
Henry Jameson c039656460 fix warnings 2021-05-31 14:02:36 +03:00
HJ dc611dffdb Merge branch 'flash-support' into 'develop'
Flash support

See merge request pleroma/pleroma-fe!1380
2021-05-31 11:00:53 +00:00
Henry Jameson 159bbed2f9 oops 2021-05-31 13:59:44 +03:00
Henry Jameson 245addb530 remove "leak ur cookiz" 2021-05-31 13:55:28 +03:00
HJ 0741d1d93d Merge branch 'weblate-pleroma-pleroma-fe' into 'develop'
Translations update from Weblate

See merge request pleroma/pleroma-fe!1378
2021-05-26 22:23:56 +00:00
HJ 477e22aa9c Merge branch 'feat/sidebarRight' into 'develop'
Implement right sidebar option as user option

See merge request pleroma/pleroma-fe!1387
2021-05-26 22:22:55 +00:00
eris 7341b8a551 Implement right sidebar option as user option 2021-05-26 22:22:55 +00:00
Issabella Deinschnitzel 711bf0910a Translated using Weblate (German)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-05-22 16:36:51 +00:00
Ben Is 330665dacb Translated using Weblate (Italian)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-05-19 13:41:25 +00:00
Issabella Deinschnitzel e338f6be75 Translated using Weblate (German)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-05-16 20:19:26 +00:00
Snow eda817cc18 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2021-05-12 12:09:34 +00:00
Issabella Deinschnitzel 1e0479b171 Translated using Weblate (German)
Currently translated at 95.9% (681 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-05-12 12:09:33 +00:00
Issabella Deinschnitzel 64aba422d5 Translated using Weblate (German)
Currently translated at 88.4% (628 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-05-11 15:53:02 +00:00
Anonymous 98da8fd441 Translated using Weblate (German)
Currently translated at 88.4% (628 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-05-11 15:53:00 +00:00
Ryo Ueno b50a9a1d56 Translated using Weblate (Korean)
Currently translated at 62.6% (445 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ko/
2021-05-06 16:41:19 +00:00
grillchen fdd4be3dcb Translated using Weblate (German)
Currently translated at 72.8% (517 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-05-02 14:03:24 +00:00
Anonymous 407bdbf996 Translated using Weblate (German)
Currently translated at 67.7% (481 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-04-30 18:43:32 +00:00
grillchen cec13609cd Translated using Weblate (German)
Currently translated at 67.7% (481 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-04-30 18:43:31 +00:00
tarteka e55644f153 Translated using Weblate (Spanish)
Currently translated at 99.5% (707 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/es/
2021-04-30 00:26:51 +00:00
Anonymous 98d12beb9e Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-28 16:17:43 +00:00
Fristi d7607792fe Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-28 16:17:43 +00:00
grillchen f28f632e86 Translated using Weblate (German)
Currently translated at 63.6% (452 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/de/
2021-04-28 16:17:41 +00:00
Anonymous 62ba237217 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:44:49 +00:00
Fristi e053ac9865 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:44:48 +00:00
Anonymous e8449166e1 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:38:56 +00:00
Fristi fd3b806c24 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:38:55 +00:00
Anonymous 39b6214447 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:38:12 +00:00
Fristi f8fde93c51 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:38:11 +00:00
Anonymous a6f66cfa2a Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:37:50 +00:00
Fristi acfd70bd3e Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:37:49 +00:00
Anonymous 303cf39142 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:37:27 +00:00
Fristi 31e342a005 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:37:26 +00:00
Anonymous 61b60f8aa3 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:37:04 +00:00
Fristi 98735bf340 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:37:03 +00:00
Anonymous 4cebc94324 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:35:36 +00:00
Fristi be09a42253 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:35:35 +00:00
Anonymous 3a0d4fdc24 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:35:01 +00:00
Fristi 6d40c4f9be Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:35:00 +00:00
Anonymous 5e82b7e316 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:06:26 +00:00
Fristi dc81367260 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:06:25 +00:00
Anonymous e262103e7d Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:02:51 +00:00
Fristi 2d8c325926 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 18:02:50 +00:00
Anonymous 78fbee36aa Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 17:58:13 +00:00
Fristi 099b5a7d38 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 17:58:12 +00:00
Anonymous 55fa353469 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 17:57:51 +00:00
Fristi 70cef8d9b5 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 17:57:50 +00:00
Anonymous e958c8e943 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 17:42:55 +00:00
Fristi a0453f7af8 Translated using Weblate (Dutch)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 17:42:54 +00:00
Anonymous 225f8c44d6 Translated using Weblate (Dutch)
Currently translated at 88.5% (629 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 16:47:24 +00:00
Fristi 8830a1652c Translated using Weblate (Dutch)
Currently translated at 88.5% (629 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 16:47:23 +00:00
Anonymous 3f68af086a Translated using Weblate (Dutch)
Currently translated at 88.1% (626 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 16:45:47 +00:00
Fristi b780f76b37 Translated using Weblate (Dutch)
Currently translated at 88.1% (626 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 16:45:46 +00:00
Anonymous b406ebdc39 Translated using Weblate (Dutch)
Currently translated at 87.8% (624 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 15:10:24 +00:00
Fristi 323cc8271f Translated using Weblate (Dutch)
Currently translated at 87.8% (624 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 15:10:23 +00:00
Anonymous 0578467ecf Translated using Weblate (Dutch)
Currently translated at 87.0% (618 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 10:28:20 +00:00
Fristi 35438d93f0 Translated using Weblate (Dutch)
Currently translated at 87.0% (618 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-27 10:28:12 +00:00
Anonymous 110a37f68f Translated using Weblate (Dutch)
Currently translated at 86.3% (613 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-25 13:55:30 +00:00
Fristi 4d54ae91d7 Translated using Weblate (Dutch)
Currently translated at 86.3% (613 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-25 13:55:30 +00:00
Anonymous 62679e24ab Translated using Weblate (Dutch)
Currently translated at 85.3% (606 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-25 13:46:41 +00:00
Fristi c1da12e2cd Translated using Weblate (Dutch)
Currently translated at 85.3% (606 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-25 13:46:40 +00:00
Fristi 5ef0184469 Translated using Weblate (Dutch)
Currently translated at 81.6% (580 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-25 13:37:14 +00:00
Anonymous b65ee94f93 Translated using Weblate (Dutch)
Currently translated at 81.6% (580 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/nl/
2021-04-25 13:37:13 +00:00
Henry Jameson 8a9115b58e temp fix for now-unused resettable async component 2021-04-25 14:51:15 +03:00
Henry Jameson b6e8c12dbc emoji picker fix 2021-04-25 14:51:00 +03:00
Henry Jameson e73cb423b6 fix login form 2021-04-25 14:44:07 +03:00
Henry Jameson e47d5ba53b fix importer/exporter i18n 2021-04-25 14:12:34 +03:00
Henry Jameson 8d46fd78c7 migrate to v-slot 2021-04-25 14:05:25 +03:00
Henry Jameson 95e74319e1 clean warnings from status 2021-04-25 14:05:25 +03:00
Henry Jameson 709b75198d fix portals/teleports 2021-04-25 14:05:25 +03:00
Henry Jameson caed89f0ae destroyed -> unmounted 2021-04-25 13:44:50 +03:00
Henry Jameson 72956e2343 fix HOCs 2021-04-25 13:40:08 +03:00
Henry Jameson 4b18e0f36e fix status error 2021-04-25 13:33:02 +03:00
Henry Jameson b479d80366 fix i18n in services 2021-04-25 13:30:18 +03:00
Henry Jameson 9e8513b312 i18n fixes 2021-04-25 13:25:42 +03:00
Henry Jameson 52835cf8bf work around modules cyclic dependencies 2021-04-25 13:25:04 +03:00
Henry Jameson 905b9771ec stop using vue.set 2021-04-25 13:24:08 +03:00
Henry Jameson fca885e665 resolve TODO VUE3 2021-04-25 13:23:16 +03:00
Henry Jameson 6e687c0663 fix one async component preventing further load 2021-04-25 13:15:02 +03:00
Henry Jameson 180da297f6 Merge branch 'vue3compat-tabswitcher' into vue3-again
* vue3compat-tabswitcher:
  small refactoring to uncouple tab-switcher from settings modal
  fix theme tab, remove console.logs
  Changed some of TabSwitcher's internals for easier Vue3 migration
2021-04-25 12:51:45 +03:00
Henry Jameson b774472fff Merge branch 'vue3compat-emoji-input' into vue3-again
* vue3compat-emoji-input:
  backport vue3 changes related to emoji-input
2021-04-25 12:51:21 +03:00
Henry Jameson 76a2e6befb remove Vue.component from hooks 2021-04-25 12:50:17 +03:00
Henry Jameson 1f5f612163 remove Vue.component, just export an object. Seems to be working 2021-04-25 12:47:52 +03:00
Henry Jameson 509ec99574 some minor fixes to get it to boot 2021-04-24 18:04:35 +03:00
Henry Jameson ced9c0fa7e some bare minimum to get vue3 boot (no UI yet) 2021-04-24 17:56:00 +03:00
ZEN e00c3ccf36 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2021-04-22 13:49:34 +00:00
ZEN b486788ed9 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2021-04-21 05:49:24 +00:00
Ryo Ueno 7acad87806 Translated using Weblate (Japanese)
Currently translated at 99.2% (705 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/ja_PEDANTIC/
2021-04-21 05:49:24 +00:00
Ben Is 2d10084939 Translated using Weblate (Italian)
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-04-21 05:49:24 +00:00
Snow 7a46e81edf Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2021-04-21 05:49:24 +00:00
Anonymous 0775970476 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2021-04-21 05:49:24 +00:00
Kana 3f4487b5b8 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (710 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hans/
2021-04-21 05:49:24 +00:00
Snow 2435d93d2d Translated using Weblate (Chinese (Traditional))
Currently translated at 99.5% (707 of 710 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2021-04-21 05:49:24 +00:00
Ben Is 29faa6f124 Translated using Weblate (Italian)
Currently translated at 100.0% (702 of 702 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/it/
2021-04-21 05:49:24 +00:00
Snow b97dfec5f6 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.4% (698 of 702 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/zh_Hant/
2021-04-21 05:49:24 +00:00
ZEN 43b4223f16 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (702 of 702 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/uk/
2021-04-21 05:49:24 +00:00
tarteka 86a851849a Translated using Weblate (Spanish)
Currently translated at 100.0% (702 of 702 strings)

Translation: Pleroma/Pleroma-FE
Translate-URL: https://translate.pleroma.social/projects/pleroma/pleroma-fe/es/
2021-04-21 05:49:24 +00:00
Shpuld Shpludson 3dca3639fd Merge branch 'mp/normaliser-safety' into 'develop'
entity_normalizer: safely check screen_name

See merge request pleroma/pleroma-fe!1383
2021-04-21 05:49:15 +00:00
Matilde Park 06d0254cc5 entity_normalizer: safely check screen_name
Prevents a crash on undefined screen name cases.
2021-04-21 01:40:25 -04:00
Henry Jameson 40ac9ef499 backport vue3 changes related to emoji-input 2021-04-18 17:03:31 +03:00
Henry Jameson 09ef284af7 better label, better error handling 2021-04-13 00:08:17 +03:00
Henry Jameson 87903fbf6d do not load ruffle multiple times! 2021-04-12 01:15:59 +03:00
Henry Jameson 6b250762f0 translate a variable name to American English from Australian English 2021-04-12 00:52:16 +03:00
Henry Jameson f0641d05df linting 2021-04-12 00:07:28 +03:00
Henry Jameson 5fdc4a1904 whooops dropped my monstercondo 2021-04-12 00:03:17 +03:00
Henry Jameson adafae977a Play-on-click, layout improvements. 2021-04-12 00:00:23 +03:00
Henry Jameson 2f549774ab No longer need to put ruffle stuff in source tree. Made ruffle not use
polyfills also.
2021-04-11 23:03:03 +03:00
Henry Jameson d695dcaff9 experimental flash support through ruffle 2021-04-09 19:14:05 +03:00
Henry Jameson 61dcdbf992 migrate to v-slot 2021-04-07 22:42:34 +03:00
Henry Jameson 1afda1ac6d lost file 2021-04-07 20:53:58 +03:00
Henry Jameson 0c77a3e1d6 remove extra chevron post-merge 2021-04-07 20:47:59 +03:00
Henry Jameson 4e56e64034 Merge remote-tracking branch 'origin/develop' into better-selects
* origin/develop: (76 commits)
  Translated using Weblate (Italian)
  Translated using Weblate (Basque)
  Translated using Weblate (Spanish)
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Traditional))
  Translated using Weblate (Russian)
  Translated using Weblate (Italian)
  Translated using Weblate (French)
  Translated using Weblate (Russian)
  Translated using Weblate (Italian)
  Translated using Weblate (French)
  Translated using Weblate (Basque)
  Translated using Weblate (Spanish)
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (Japanese)
  Translated using Weblate (Italian)
  Translated using Weblate (Esperanto)
  Translated using Weblate (Chinese (Traditional))
  Translated using Weblate (Norwegian Bokmål)
  ...
2021-04-07 20:45:57 +03:00
Henry Jameson 2da37f15ab Cleanup boolean/choice setting 2021-03-11 17:04:31 +02:00
Henry Jameson 8e88d8110b fix for filtering tab 2021-03-11 17:00:58 +02:00
Henry Jameson 1f0ac68fcd implement ChoiceSetting for settings modal similar to BooleanSetting 2021-03-11 16:55:14 +02:00
Henry Jameson 3870a30aea cleanup, fixes 2021-03-11 16:54:03 +02:00
Henry Jameson 5d3bf43fdc ghost styles for poll form 2021-03-11 16:54:03 +02:00
Henry Jameson c6d4c20982 Made Select component to make using styled selects easier 2021-03-11 16:11:44 +02:00
Shpuld Shpludson c3fcbbd918 Merge branch 'rc/2.3.0' into 'master'
2.3.0 to MASTER

See merge request pleroma/pleroma-fe!1366
2021-03-01 18:15:46 +00:00
Shpuld Shpludson 0ac34b3014 Merge branch 'master' into 'rc/2.3.0'
# Conflicts:
#   CHANGELOG.md
2021-03-01 18:06:55 +00:00
Shpuld Shpuldson 06cde8ad06 fix changelog entries in wrong places 2021-03-01 20:04:27 +02:00
Shpuld Shpuldson 434f9cdd7e changelog date 2021-03-01 19:59:57 +02:00
Shpuld Shpuldson 35cde98d2c Merge branch 'fix/punycode-buggy' into rc/2.3.0 2021-03-01 09:27:19 +02:00
Shpuld Shpuldson 44e687653c set changelog version 2021-02-26 13:01:09 +02:00
Shpuld Shpuldson 52c22e863e Fix setting report state, add proper error handling 2021-02-03 12:02:37 +02:00
Shpuld Shpuldson 3e6309ef94 remove logs 2021-02-01 14:43:01 +02:00
Shpuld Shpuldson 3822a73a49 Fix report modal not working, add include_types 2021-02-01 12:55:23 +02:00
Shpuld Shpuldson 8334649c11 Merge branch 'develop' into feat/report-notification 2021-01-27 13:24:19 +02:00
Shpuld Shpuldson 54def7d210 remove mock data 2021-01-27 13:13:59 +02:00
Shpuld Shpuldson 06f795d1d6 add proper state switcher 2021-01-27 13:13:10 +02:00
Shpuld Shpludson 320418d524 Merge branch 'rc/2.2.3' into 'master'
rc 2.2.3 to MASTER

See merge request pleroma/pleroma-fe!1328
2021-01-18 13:44:31 +00:00
Shpuld Shpludson 8f55cb151c Merge branch 'master' into 'rc/2.2.3'
# Conflicts:
#   CHANGELOG.md
2021-01-18 13:35:53 +00:00
Shpuld Shpuldson 4f0c43bd84 rc 2.2.3 2021-01-18 15:30:42 +02:00
Shpuld Shpuldson e73553dca7 wip 2021-01-18 15:26:08 +02:00
Shpuld Shpuldson 9613f80f8e Merge branch 'develop' into feat/report-notification 2021-01-13 12:53:53 +02:00
Shpuld Shpuldson 8674f20023 separated component 2021-01-11 19:32:58 +02:00
Shpuld Shpuldson a4e3cccf1c somewhat workign version still with fixture 2021-01-06 18:31:34 +02:00
Shpuld Shpuldson ab2c2c66bf Merge branch 'develop' into feat/report-notification 2021-01-05 13:58:52 +02:00
Shpuld Shpludson a39866308c Merge branch 'rc/2.2.2' into 'master'
prepare master for 2.2.2

See merge request pleroma/pleroma-fe!1315
2020-12-22 16:00:12 +00:00
Shpuld Shpludson 00cb8d9dce Merge branch 'master' into 'rc/2.2.2'
# Conflicts:
#   CHANGELOG.md
2020-12-22 15:51:18 +00:00
Shpuld Shpuldson 19bde84f6d mark unreleased as 2.2.2 in changelog 2020-12-22 17:49:13 +02:00
Shpuld Shpuldson 5e96260a4f add test data for dev 2020-12-04 12:48:15 +02:00
Shpuld Shpuldson 1fd1553a1c Merge branch 'develop' into feat/report-notification 2020-12-04 11:20:01 +02:00
Shpuld Shpuldson 15bed586dc report notification wip 2020-11-15 13:57:02 +02:00
Shpuld Shpuldson a7567ce6d0 set patch date to correct 2020-11-11 22:32:44 +02:00
Shpuld Shpuldson 8e87e3d88b Update MASTER with develop for 2.2.1 2020-11-09 11:13:49 +02:00
Shpuld Shpuldson 6aa276374f update changelog for 2.2.0 2020-11-06 19:35:01 +02:00
Shpuld Shpludson 23232e1c8f Merge branch 'develop' into 'master'
Merge develop into master for 2.2.0

See merge request pleroma/pleroma-fe!1278
2020-11-06 17:27:25 +00:00
Shpuld Shpludson b225c3578f Merge branch 'rc/2.1.2' into 'master'
Merge 2.1.2 to MASTER

See merge request pleroma/pleroma-fe!1236
2020-09-17 17:26:22 +00:00
Shpuld Shpludson 30efbaab34 Merge branch 'master' into 'rc/2.1.2'
# Conflicts:
#   CHANGELOG.md
2020-09-17 17:17:21 +00:00
Shpuld Shpuldson 8ca0586c0f update changelog for 2.1.2 2020-09-17 20:15:08 +03:00
Shpuld Shpludson 938887ef91 Merge branch 'rc/2.1.1' into 'master'
Update master with 2.1.1

See merge request pleroma/pleroma-fe!1231
2020-09-08 09:46:19 +00:00
Shpuld Shpludson f31bc5310e Merge branch 'master' into 'rc/2.1.1'
# Conflicts:
#   CHANGELOG.md
2020-09-08 09:35:36 +00:00
Shpuld Shpuldson 925bf5b5a4 update changelog with 2.1.1 2020-09-08 12:30:45 +03:00
Shpuld Shpludson e768ec1fca Merge branch '2.1.0-rc0' into 'master'
2.1.0 into master

See merge request pleroma/pleroma-fe!1217
2020-08-27 14:45:03 +00:00
Shpuld Shpuldson d09f43ba7a Merge branch '2.1.0-rc0' of git.pleroma.social:pleroma/pleroma-fe into 2.1.0-rc0 2020-08-27 17:13:43 +03:00
Shpuld Shpuldson 748c4d8c71 fix boomarks mistake in changelog 2020-08-27 17:13:14 +03:00
Shpuld Shpludson c7ddfefe34 Merge branch 'master' into '2.1.0-rc0'
# Conflicts:
#   CHANGELOG.md
#   src/services/api/api.service.js
2020-08-27 13:59:56 +00:00
Shpuld Shpuldson c0205d582a add missing release to changelog to fix conflicts 2020-08-27 16:56:47 +03:00
Shpuld Shpuldson 4ac882a3b0 add back unreleased/patch 2020-08-27 16:51:16 +03:00
Shpuld Shpuldson bdbc4b27b6 set 2.1.0 date and remove rc from changelog 2020-08-27 16:49:01 +03:00
Shpuld Shpuldson 42598fc675 change changelog 2020-08-26 14:28:43 +03:00
Shpuld Shpludson 5d49edc823 Merge branch 'rc/2.0.5' into 'master'
Update MASTER for 2.0.5 patch

See merge request pleroma/pleroma-fe!1105
2020-05-12 17:36:05 +00:00
Shpuld Shpuldson 0bc0a8d5f5 update changelog for 2.0.5 2020-05-12 20:27:37 +03:00
Shpuld Shpuldson 726d5279c1 Revert "remove with_move param"
This reverts commit 02c8a9e314.
2020-05-12 20:04:00 +03:00
Shpuld Shpludson a0f780c455 Merge branch 'rc/2.0.3' into 'master'
Update MASTER with 2.0.3 for real

See merge request pleroma/pleroma-fe!1099
2020-05-02 14:17:27 +00:00
580 changed files with 48016 additions and 18040 deletions

View File

@ -1,5 +1,5 @@
{ {
"presets": ["@babel/preset-env"], "presets": ["@babel/preset-env"],
"plugins": ["@babel/plugin-transform-runtime", "lodash", "@vue/babel-plugin-transform-vue-jsx"], "plugins": ["@babel/plugin-transform-runtime", "lodash", "@vue/babel-plugin-jsx"],
"comments": false "comments": true
} }

View File

@ -1,7 +1,7 @@
module.exports = { module.exports = {
root: true, root: true,
parserOptions: { parserOptions: {
parser: 'babel-eslint', parser: '@babel/eslint-parser',
sourceType: 'module' sourceType: 'module'
}, },
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
@ -21,6 +21,7 @@ module.exports = {
'generator-star-spacing': 0, 'generator-star-spacing': 0,
// allow debugger during development // allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'vue/require-prop-types': 0 'vue/require-prop-types': 0,
'vue/multi-word-component-names': 0
} }
} }

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
/build/webpack.prod.conf.js export-subst

1
.gitignore vendored
View File

@ -7,3 +7,4 @@ test/e2e/reports
selenium-debug.log selenium-debug.log
.idea/ .idea/
config/local.json config/local.json
static/emoji.json

View File

@ -1,14 +1,39 @@
# This file is a template, and might need editing before it works on your project. # This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at: # Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/ # https://hub.docker.com/r/library/node/tags/
image: node:10 image: node:16
stages: stages:
- check-changelog
- lint - lint
- build - build
- test - test
- deploy - deploy
# https://git.pleroma.social/help/ci/yaml/workflow.md#switch-between-branch-pipelines-and-merge-request-pipelines
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCH
check-changelog:
stage: check-changelog
image: alpine
rules:
- if: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == 'pleroma/pleroma-fe' && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^renovate/
when: never
- if: $CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == 'pleroma/pleroma-fe' && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'weblate'
when: never
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"
before_script: ''
after_script: ''
cache: {}
script:
- apk add git
- sh ./tools/check-changelog
lint: lint:
stage: lint stage: lint
script: script:
@ -18,6 +43,8 @@ lint:
test: test:
stage: test stage: test
tags:
- amd64
variables: variables:
APT_CACHE_DIR: apt-cache APT_CACHE_DIR: apt-cache
script: script:
@ -29,6 +56,8 @@ test:
build: build:
stage: build stage: build
tags:
- amd64
script: script:
- yarn - yarn
- npm run build - npm run build

View File

@ -0,0 +1,25 @@
# Environment info
<!-- Everything is optional and where applicable but the more information the better. -->
* Browser, version, OS, platform:
* Instance URL:
* Frontend version (see settings -> about):
* Backend version (see settings -> about):
* Browser extensions (ublock, rikaichamp etc):
* Known instance/user customizations (i.e. pleromafe mods/forks, instance styles etc)
# Bug description & reproduction steps
<!-- Type out here how to reproduce the bug, what goes wrong and what should go right -->
<!-- Screenshots and videos help a lot ;) any observations might also help -->
<!-- Also mention if there any errors in browser's console if relevant -->
# Bug seriousness
<!-- Everything is optional and free-form -->
* How annoying it is:
* How often does it happen:
* How many people does it affect:
* Is there a workaround for it:
/label ~Bug

View File

@ -0,0 +1,11 @@
# Behavior suggestion/Feature request
<!--
Type out what you want to see changed or what feature you want to see added to
PleormaFE. Please also explain how it would benefit users (or admins/moderators)
and what intended usecase is. Any background information (i.e. porting behavior
from other frontends/services, specific situations, personal preferences etc.)
as well as examples would be greatly appreciated.
-->
/label ~suggestion

View File

@ -0,0 +1,7 @@
<!--
please use one of the templates if applicable, otherwise - type out here
in free-form
-->
/label ~needs-triage

View File

@ -0,0 +1,30 @@
<!--
Feel free to submit merge requests that are work-in-progress, but mark them as
Draft: or WIP:.
Merge requests that have Draft or WIP status will not be merged and have less chances
of being reviewed, but you can still ask people to take a look if you need advice.
-->
# Changes
*
*
*
<!-- List what your merge request changes and how -->
<!--
Try to not to break existing behavior, if your changes do break existing behavior
make it configurable to toggle between old behavior and new. Which one should be
default is up to discussion.
-->
<!-- If your merge request resolves some issue link it like so: "Closes #99999" -->
<!--
If merge request adds some new feature that depends on backend:
1. Make sure it gracefully degrades if backend hasn't been updated to support the feature,
we try to make PleromaFE compatible with older versions of BE so that people can still
update frontend safely without updating backend since it's costly and much riskier.
2. Link related BE merge request here
-->
<!-- Screenshots are welcome -->
/label ~needs-review

View File

@ -1 +1 @@
7.2.1 16.18.1

View File

@ -1,19 +1,41 @@
{ {
"extends": [ "extends": [
"stylelint-rscss/config", "stylelint-rscss/config",
"stylelint-config-recommended", "stylelint-config-standard",
"stylelint-config-standard" "stylelint-config-recommended-scss",
"stylelint-config-html",
"stylelint-config-recommended-vue/scss"
], ],
"rules": { "rules": {
"declaration-no-important": true, "declaration-no-important": true,
"rscss/no-descendant-combinator": false, "rscss/no-descendant-combinator": false,
"rscss/class-format": [ "rscss/class-format": [
true, false,
{ {
"component": "pascal-case", "component": "pascal-case",
"variant": "^-[a-z]\\w+", "variant": "^-[a-z]\\w+",
"element": "^[a-z]\\w+" "element": "^[a-z]\\w+"
} }
],
"selector-class-pattern": null,
"import-notation": null,
"custom-property-pattern": null,
"keyframes-name-pattern": null,
"scss/operator-no-newline-after": null,
"declaration-block-no-redundant-longhand-properties": [
true,
{
"ignoreShorthands": [
"grid-template",
"margin",
"padding",
"border",
"border-width",
"border-style",
"border-color",
"border-radius"
]
}
] ]
} }
} }

View File

@ -3,11 +3,162 @@ 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/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## 2.6.1
### Fixed
- fix admin dashboard not having any feedback on frontend installation
- Fix frontend admin tab crashing when no primary frontend is set
- Add aria attributes to react and extra buttons
## 2.6.0
### Added
- add the initial i18n translation file for Taiwanese (Hokkien), and modify some related files.
- Implemented a very basic instance administration screen
- Implement quoting
### Fixed
- Keep aspect ratio of custom emoji reaction in notification
- Fix openSettingsModalTab so that it correctly opens Settings modal instead of Admin modal
- Add alt text to emoji picker buttons
- Use export-subst gitattribute to allow tarball builds
- fix reports now showing reason/content
- Fix HTML attribute parsing, discard attributes not strating with a letter
- Make MentionsLine aware of line breaking by non-br elements
- Fix a bug where mentioning a user twice will not fill the mention into the textarea
- Fix parsing non-ascii tags
- Fix OAuth2 token lingering after revocation
- fix regex issue in HTML parser/renderer
- don't display quoted status twice
- fix typo in code that prevented cards from showing at all
- Fix react button not working if reaction accounts are not loaded
- Fix react button misalignment on safari ios
- Fix pinned statuses gone when reloading user timeline
- Fix scrolling emoji selector in modal in safari ios
## 2.5.1
### Fixed
- Checkboxes in settings can now work with screenreaders
- Autocomplete in edit boxes can now work with screenreaders
- Status interact buttons now have focus indicator for anonymous users
- Top bar buttons now correctly have text labels
- It is now possible to register if the site admin requires birthday to register
- User cards from search results will correctly popup
- Fix notification attachment icon overflow
- Editing mute words is less laggy
- Repeater's name will no longer mess up with the directionality of the text sitting on the same line
- Unauthenticated access will give better error messages
- It is now easier to close the media viewer with a mouse when there is only one image
- Deleting profile fields can work properly
- Clicking the react button will correctly focus the search box
- Clicking buttons on the top-bar will no longer bring you to the top of the page
- Emoji picker is much faster to load
- `blockquote`s have a better display style
- Announcements posting and editing are now available to everyone with such a privilege, not just admins
- Adding or removing list members will actually work
- Emojis without a pack are now correctly displayed in emoji picker
- Changing notification settings will actually work
### Added
- You can now set and see birthdays
- Optional confirmation dialogs when performing various actions
- You can now set fallback languages
## 2.5.0 - 23.12.2022
### Fixed
- UI no longer lags when switching between mobile and desktop mode
- Popovers no longer constrained by DOM hierarchy, shouldn't be cut off by anything
- Emoji autocomplete popover and picker popover stick to the text cursor.
- Attachments are ALWAYS in same order as user uploaded, no more "videos first"
- Pinned statuses no longer appear at bottom of user timeline (still appear as part of the timeline when fetched deep enough)
- Fixed many many bugs related to new mentions, including spacing and alignment issues
- Links in profile bios now properly open in new tabs
- "Always show mobile button" is working now
- Inline images now respect their intended width/height attributes
- Links with `&` in them work properly now
- Attachment description is prefilled with backend-provided default when uploading
- Proper visual feedback that next image is loading when browsing
- Additional HTML sanitization on frontend side in case backend sanitization fails
- Interaction list popovers now properly emojify names
- AdminFE button no longer scrolls page to top when clicked
- User handles with non-ascii domains now have less intrusive indicator for the domain name
- Completely hidden posts still no longer have 1px border
- A lot of accessibility improvements
### Changed
- Using Vue 3 now
- A lot of internal dependencies updated
- "(You)s" are optional (opt-in) now, bolding your nickname is also optional (opt-out)
- User highlight background now also covers the `@`
- Reverted back to textual `@`, svg version is opt-in.
- Settings window has been thoroughly rearranged to make more sense and make navigation settings easier.
- Uploaded attachments are uniform with displayed attachments
- Flash is watchable in media-modal (takes up nearly full screen though due to sizing issues)
- Notifications about likes/repeats/emoji reacts are now minimized so they always take up same amount of space irrelevant to size of post. (You can expand them to full if need be)
- Slight width/spacing adjustments
- More sizing stuff is font-size dependent now
- Scrollbars are styled/colorized now
- Scrollbars are toggleable (for stuff that didn't have visible scrollbars before) (opt-in)
- Updated localization files
- Top bar is more useful in mobile mode now.
- "Show new" button is way more compact in mobile mode
- Slightly adjusted placement and spacing of the topbar buttons so it's less easy to accidentally log yourself out
### Added
- 3 column mode: only enables when there's space for it (opt-out, customizable)
- Apologetic pleroma-tan
- New button on timeline header to change some of the new and often-used settings
- Support for lists
- Added ability to edit posts and view post edit history etc.
- Added ability to add personal note to users
- Added initial support for admin announcements
- Added ui for account migration
- Added ui for backups
- Added ability to force-unfollow a user from you
- Emoji are now grouped by pack
- Ability to pin navigation items and collapse the navigation menu
- Ability to rearrange order of attachments when uploading
- Ability to scroll column (or page) to top via panel header button
- Options to show domains in mentions
- Option to show user avatars in mention links (opt-in)
- Option to disable the tooltip for mentions
- Option to completely hide muted threads
- Option to customize what clicking user avatar does in user popover
- Notifications for poll results
- "Favorites" link in navigation
- Very early and somewhat experimental system for automatic settings sync (used only for pinned navigation and apologetic pleroma-tan)
- Implemented remote interaction with statuses for anon visitors
- Ability to open videos in modal even if you disabled that feature, via an icon button
- New button on attachment that indicates that attachment has a description and shows a bar filled with description
- Attachments are truncated just like post contents
- Media modal now also displays description and counter position in gallery (i.e. 1/5)
- Enabled users to zoom and pan images in media viewer with mouse and touch
- Timelines/panels and conversations have sticky headers now (a bit glitchy on some browsers like safari) (opt-out)
## [2.4.2] - 2022-01-09
### Added
- Added Apply and Reset buttons to the bottom of theme tab to minimize UI travel
- Implemented user option to always show floating New Post button (normally mobile-only)
- Display reasons for instance specific policies
- Added functionality to cancel follow request
### Fixed
- Fixed link to external profile not working on user profiles
- Fixed mobile shoutbox display
- Fixed favicon badge not working in Chrome
- Escape html more properly in subject/display name
## [2.4.0] - 2021-08-08
### Added ### Added
- Added a quick settings to timeline header for easier access - Added a quick settings to timeline header for easier access
- Added option to mark posts as sensitive by default - Added option to mark posts as sensitive by default
- Added quick filters for notifications - Added quick filters for notifications
- Implemented user option to change sidebar position to the right side
- Implemented user option to hide floating shout panel
- Implemented "edit profile" button if viewing own profile which opens profile settings
### Fixed
- Fixed follow request count showing in the wrong location in mobile view
## [2.3.0] - 2021-03-01 ## [2.3.0] - 2021-03-01

View File

@ -3,9 +3,12 @@ Contributors of this project.
- Constance Variable (lambadalambda@social.heldscal.la): Code - Constance Variable (lambadalambda@social.heldscal.la): Code
- Coco Snuss (cocosnuss@social.heldscal.la): Code - Coco Snuss (cocosnuss@social.heldscal.la): Code
- wakarimasen (wakarimasen@shitposter.club): NSFW hiding image - wakarimasen (wakarimasen@shitposter.club): NSFW hiding image
- eris (eris@disqordia.space): Code
- dtluna (dtluna@social.heldscal.la): Code - dtluna (dtluna@social.heldscal.la): Code
- sonyam (sonyam@social.heldscal.la): Background images - sonyam (sonyam@social.heldscal.la): Background images
- hakui (hakui@freezepeach.xyz): CSS and styling - hakui (hakui@freezepeach.xyz): CSS and styling
- shpuld (shpuld@shitposter.club): CSS and styling - shpuld (shpuld@shitposter.club): CSS and styling
- Vincent Guth (https://unsplash.com/photos/XrwVIFy6rTw): Background images. - Vincent Guth (https://unsplash.com/photos/XrwVIFy6rTw): Background images.
- hj (hj@shigusegubu.club): Code - hj (hj@shigusegubu.club): Code
- Sean King (seanking@kazv.moe): Code
- tusooa (tusooa@kazv.moe): Code

View File

@ -1,18 +1,19 @@
# Pleroma-FE # Pleroma-FE
> A single column frontend designed for Pleroma. > Highly-customizable frontend designed for Pleroma.
![screenshot](/uploads/796c5ecf985ed1e2b0943ee0df131ed0/DJVqSJ0.png) ![screenshot](./image-1.png)
# For Translators # For Translators
To translate Pleroma-FE, add your language to [src/i18n/messages.js](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/src/i18n/messages.js). Pleroma-FE will set your language by your browser locale, but you can temporarily force it in the code by changing the locale in main.js. To translate Pleroma-FE, use our weblate server: https://translate.pleroma.social/. If you need to add your language it should be added as a json file in [src/i18n/](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/src/i18n/) folder and added in a list within [src/i18n/languages.js](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/src/i18n/languages.js).
# FOR ADMINS Pleroma-FE will set your language by your browser locale, but you can change language in settings.
You don't need to build Pleroma-FE yourself. Those using the Pleroma backend will be able to use it out of the box. # For instance admins
You don't need to build Pleroma-FE yourself. Those using the Pleroma backend will be able to use it out of the box. Information of customizing PleromaFE settings/defaults is in our [guide](https://docs-develop.pleroma.social/frontend/CONFIGURATION/) and in case you want to build your own custom version there's [another](https://docs-develop.pleroma.social/frontend/HACKING/)
## Build Setup # Build Setup
``` bash ``` bash
# install dependencies # install dependencies
@ -20,13 +21,13 @@ npm install -g yarn
yarn yarn
# serve with hot reload at localhost:8080 # serve with hot reload at localhost:8080
npm run dev yarn dev
# build for production with minification # build for production with minification
npm run build yarn build
# run unit tests # run unit tests
npm run unit yarn unit
``` ```
# For Contributors: # For Contributors:
@ -40,10 +41,4 @@ FE Build process also leaves current commit hash in global variable `___pleromaf
# Configuration # Configuration
Edit config.json for configuration. Set configuration settings in AdminFE, additionally you can edit config.json. For more details see [documentation](https://docs-develop.pleroma.social/frontend/CONFIGURATION/).
## Options
### Login methods
```loginMethod``` can be set to either ```password``` (the default) or ```token```, which will use the full oauth redirection flow, which is useful for SSO situations.

View File

@ -18,6 +18,9 @@ console.log(
var spinner = ora('building for production...') var spinner = ora('building for production...')
spinner.start() spinner.start()
var updateEmoji = require('./update-emoji').updateEmoji
updateEmoji()
var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory) var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
rm('-rf', assetsPath) rm('-rf', assetsPath)
mkdir('-p', assetsPath) mkdir('-p', assetsPath)
@ -33,4 +36,8 @@ webpack(webpackConfig, function (err, stats) {
chunks: false, chunks: false,
chunkModules: false chunkModules: false
}) + '\n') }) + '\n')
if (stats.hasErrors()) {
console.error('See above for errors.')
process.exit(1)
}
}) })

View File

@ -10,6 +10,9 @@ var webpackConfig = process.env.NODE_ENV === 'testing'
? require('./webpack.prod.conf') ? require('./webpack.prod.conf')
: require('./webpack.dev.conf') : require('./webpack.dev.conf')
var updateEmoji = require('./update-emoji').updateEmoji
updateEmoji()
// default port where dev server listens for incoming traffic // default port where dev server listens for incoming traffic
var port = process.env.PORT || config.dev.port var port = process.env.PORT || config.dev.port
// Define HTTP proxies to your custom API backend // Define HTTP proxies to your custom API backend
@ -21,6 +24,7 @@ var compiler = webpack(webpackConfig)
var devMiddleware = require('webpack-dev-middleware')(compiler, { var devMiddleware = require('webpack-dev-middleware')(compiler, {
publicPath: webpackConfig.output.publicPath, publicPath: webpackConfig.output.publicPath,
writeToDisk: true,
stats: { stats: {
colors: true, colors: true,
chunks: false chunks: false
@ -28,18 +32,20 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
}) })
var hotMiddleware = require('webpack-hot-middleware')(compiler) var hotMiddleware = require('webpack-hot-middleware')(compiler)
// force page reload when html-webpack-plugin template changes
compiler.plugin('compilation', function (compilation) {
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
// FIXME: This supposed to reload whole page when index.html is changed,
// however now it reloads entire page on every breath, i suppose the order
// of plugins changed or something. It's a minor thing and douesn't hurt
// disabling it, constant reloads hurt much more
// hotMiddleware.publish({ action: 'reload' }) // FIXME: The statement below gives error about hooks being required in webpack 5.
// cb() // force page reload when html-webpack-plugin template changes
}) // compiler.plugin('compilation', function (compilation) {
}) // compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
// // FIXME: This supposed to reload whole page when index.html is changed,
// // however now it reloads entire page on every breath, i suppose the order
// // of plugins changed or something. It's a minor thing and douesn't hurt
// // disabling it, constant reloads hurt much more
// // hotMiddleware.publish({ action: 'reload' })
// // cb()
// })
// })
// proxy api requests // proxy api requests
Object.keys(proxyTable).forEach(function (context) { Object.keys(proxyTable).forEach(function (context) {
@ -47,7 +53,7 @@ Object.keys(proxyTable).forEach(function (context) {
if (typeof options === 'string') { if (typeof options === 'string') {
options = { target: options } options = { target: options }
} }
app.use(proxyMiddleware(context, options)) app.use(proxyMiddleware.createProxyMiddleware(context, options))
}) })
// handle fallback for HTML5 history API // handle fallback for HTML5 history API

27
build/update-emoji.js Normal file
View File

@ -0,0 +1,27 @@
module.exports = {
updateEmoji () {
const emojis = require('@kazvmoe-infra/unicode-emoji-json/data-by-group')
const fs = require('fs')
Object.keys(emojis)
.map(k => {
emojis[k].map(e => {
delete e.unicode_version
delete e.emoji_version
delete e.skin_tone_support_unicode_version
})
})
const res = {}
Object.keys(emojis)
.map(k => {
const groupId = k.replace('&', 'and').replace(/ /g, '-').toLowerCase()
res[groupId] = emojis[k]
})
console.info('Updating emojis...')
fs.writeFileSync('static/emoji.json', JSON.stringify(res))
console.info('Done.')
}
}

View File

@ -2,7 +2,11 @@ var path = require('path')
var config = require('../config') var config = require('../config')
var utils = require('./utils') var utils = require('./utils')
var projectRoot = path.resolve(__dirname, '../') var projectRoot = path.resolve(__dirname, '../')
var ServiceWorkerWebpackPlugin = require('serviceworker-webpack-plugin') var ServiceWorkerWebpackPlugin = require('serviceworker-webpack5-plugin')
var CopyPlugin = require('copy-webpack-plugin');
var { VueLoaderPlugin } = require('vue-loader')
var ESLintPlugin = require('eslint-webpack-plugin');
var StylelintPlugin = require('stylelint-webpack-plugin');
var env = process.env.NODE_ENV var env = process.env.NODE_ENV
// check env & config/index.js to decide weither to enable CSS Sourcemaps for the // check env & config/index.js to decide weither to enable CSS Sourcemaps for the
@ -20,7 +24,8 @@ module.exports = {
output: { output: {
path: config.build.assetsRoot, path: config.build.assetsRoot,
publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath, publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath,
filename: '[name].js' filename: '[name].js',
chunkFilename: '[name].js'
}, },
optimization: { optimization: {
splitChunks: { splitChunks: {
@ -28,38 +33,47 @@ module.exports = {
} }
}, },
resolve: { resolve: {
extensions: ['.js', '.vue'], extensions: ['.mjs', '.js', '.jsx', '.vue'],
modules: [ modules: [
path.join(__dirname, '../node_modules') path.join(__dirname, '../node_modules')
], ],
alias: { alias: {
'vue$': 'vue/dist/vue.runtime.common',
'static': path.resolve(__dirname, '../static'), 'static': path.resolve(__dirname, '../static'),
'src': path.resolve(__dirname, '../src'), 'src': path.resolve(__dirname, '../src'),
'assets': path.resolve(__dirname, '../src/assets'), 'assets': path.resolve(__dirname, '../src/assets'),
'components': path.resolve(__dirname, '../src/components') 'components': path.resolve(__dirname, '../src/components'),
'vue-i18n': 'vue-i18n/dist/vue-i18n.runtime.esm-bundler.js'
},
fallback: {
'querystring': require.resolve('querystring-es3'),
'url': require.resolve('url/')
} }
}, },
module: { module: {
noParse: /node_modules\/localforage\/dist\/localforage.js/, noParse: /node_modules\/localforage\/dist\/localforage.js/,
rules: [ rules: [
{ {
enforce: 'pre', enforce: 'post',
test: /\.(js|vue)$/, test: /\.(json5?|ya?ml)$/, // target json, json5, yaml and yml files
include: projectRoot, type: 'javascript/auto',
exclude: /node_modules/, loader: '@intlify/vue-i18n-loader',
use: { include: [ // Use `Rule.include` to specify the files of locale messages to be pre-compiled
loader: 'eslint-loader', path.resolve(__dirname, '../src/i18n')
options: { ]
formatter: require('eslint-friendly-formatter'),
sourceMap: config.build.productionSourceMap,
extract: true
}
}
}, },
{ {
test: /\.vue$/, test: /\.vue$/,
use: 'vue-loader' loader: 'vue-loader',
options: {
compilerOptions: {
isCustomElement(tag) {
if (tag === 'pinch-zoom') {
return true
}
return false
}
}
}
}, },
{ {
test: /\.jsx?$/, test: /\.jsx?$/,
@ -69,30 +83,47 @@ module.exports = {
}, },
{ {
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/, test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
use: { type: 'asset',
loader: 'url-loader', generator: {
options: { filename: utils.assetsPath('img/[name].[hash:7][ext]')
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
} }
}, },
{ {
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
use: { type: 'asset',
loader: 'url-loader', generator: {
options: { filename: utils.assetsPath('fonts/[name].[hash:7][ext]')
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
} }
}, },
{
test: /\.mjs$/,
include: /node_modules/,
type: 'javascript/auto'
}
] ]
}, },
plugins: [ plugins: [
new ServiceWorkerWebpackPlugin({ new ServiceWorkerWebpackPlugin({
entry: path.join(__dirname, '..', 'src/sw.js'), entry: path.join(__dirname, '..', 'src/sw.js'),
filename: 'sw-pleroma.js' filename: 'sw-pleroma.js'
}),
new ESLintPlugin({
extensions: ['js', 'vue'],
formatter: require('eslint-formatter-friendly')
}),
new StylelintPlugin({}),
new VueLoaderPlugin(),
// This copies Ruffle's WASM to a directory so that JS side can access it
new CopyPlugin({
patterns: [
{
from: "node_modules/@ruffle-rs/ruffle/**/*",
to: "static/ruffle/[name][ext]"
},
],
options: {
concurrency: 100,
},
}) })
] ]
} }

View File

@ -16,12 +16,14 @@ module.exports = merge(baseWebpackConfig, {
}, },
mode: 'development', mode: 'development',
// eval-source-map is faster for development // eval-source-map is faster for development
devtool: '#eval-source-map', devtool: 'eval-source-map',
plugins: [ plugins: [
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': config.dev.env, 'process.env': config.dev.env,
'COMMIT_HASH': JSON.stringify('DEV'), 'COMMIT_HASH': JSON.stringify('DEV'),
'DEV_OVERRIDES': JSON.stringify(config.dev.settings) 'DEV_OVERRIDES': JSON.stringify(config.dev.settings),
'__VUE_OPTIONS_API__': true,
'__VUE_PROD_DEVTOOLS__': false
}), }),
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
new webpack.HotModuleReplacementPlugin(), new webpack.HotModuleReplacementPlugin(),

View File

@ -5,26 +5,38 @@ var webpack = require('webpack')
var merge = require('webpack-merge') var merge = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf') var baseWebpackConfig = require('./webpack.base.conf')
var MiniCssExtractPlugin = require('mini-css-extract-plugin') var MiniCssExtractPlugin = require('mini-css-extract-plugin')
const CssMinimizerPlugin = require("css-minimizer-webpack-plugin")
var HtmlWebpackPlugin = require('html-webpack-plugin') var HtmlWebpackPlugin = require('html-webpack-plugin')
var env = process.env.NODE_ENV === 'testing' var env = process.env.NODE_ENV === 'testing'
? require('../config/test.env') ? require('../config/test.env')
: config.build.env : config.build.env
let commitHash = require('child_process') let commitHash = (() => {
.execSync('git rev-parse --short HEAD') const subst = "$Format:%h$";
.toString(); if(!subst.match(/Format:/)) {
return subst;
} else {
return require('child_process')
.execSync('git rev-parse --short HEAD')
.toString();
}
})();
var webpackConfig = merge(baseWebpackConfig, { var webpackConfig = merge(baseWebpackConfig, {
mode: 'production', mode: 'production',
module: { module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, extract: true }) rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, extract: true })
}, },
devtool: config.build.productionSourceMap ? '#source-map' : false, devtool: config.build.productionSourceMap ? 'source-map' : false,
optimization: { optimization: {
minimize: true, minimize: true,
splitChunks: { splitChunks: {
chunks: 'all' chunks: 'all'
} },
minimizer: [
`...`,
new CssMinimizerPlugin()
]
}, },
output: { output: {
path: config.build.assetsRoot, path: config.build.assetsRoot,
@ -36,7 +48,9 @@ var webpackConfig = merge(baseWebpackConfig, {
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env': env, 'process.env': env,
'COMMIT_HASH': JSON.stringify(commitHash), 'COMMIT_HASH': JSON.stringify(commitHash),
'DEV_OVERRIDES': JSON.stringify(undefined) 'DEV_OVERRIDES': JSON.stringify(undefined),
'__VUE_OPTIONS_API__': true,
'__VUE_PROD_DEVTOOLS__': false
}), }),
// extract css into its own file // extract css into its own file
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
@ -58,9 +72,7 @@ var webpackConfig = merge(baseWebpackConfig, {
ignoreCustomComments: [/server-generated-meta/] ignoreCustomComments: [/server-generated-meta/]
// more options: // more options:
// https://github.com/kangax/html-minifier#options-quick-reference // https://github.com/kangax/html-minifier#options-quick-reference
}, }
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency'
}), }),
// split vendor js into its own file // split vendor js into its own file
// extract webpack runtime and module manifest to its own file in order to // extract webpack runtime and module manifest to its own file in order to

1
changelog.d/add-apng.add Normal file
View File

@ -0,0 +1 @@
Make Pleroma FE to also view apng (Animated PNG) attachment.

View File

@ -0,0 +1 @@
Added emoji pack management to the admin panel

View File

@ -0,0 +1 @@
stop using that one runner for intensive tasks

View File

@ -0,0 +1 @@
Create a link to the URL of the scrobble when it's present

View File

@ -0,0 +1 @@
Fix native notifications appearing as many times as there are open tabs. Clicking on notification will focus last focused tab.

View File

@ -0,0 +1 @@
Support showing extra notifications in the notifications column

View File

@ -0,0 +1 @@
Focusing into a tab clears all current desktop notifications

View File

@ -0,0 +1 @@
Support group actors

View File

@ -0,0 +1 @@
Allow hiding custom emojis in picker.

View File

@ -0,0 +1 @@
Fixed error that appeared on mobile Chrome(ium) (and derivatives) when native notifications are allowed

View File

@ -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.

View File

@ -0,0 +1 @@
Fixed being unable to set notification visibility for reports and follow requests

View File

@ -0,0 +1 @@
Added ability to mute sensitive posts (ported from eintei)

View File

@ -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.

View File

@ -0,0 +1 @@
Native notifications now also have "badge" property that matches instance's favicon (visible in Android Chromium at least)

View File

@ -0,0 +1 @@
The expiry date indication won't be shown if the poll never expires

View File

@ -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)

View File

@ -0,0 +1 @@
Synchronized requested notification types with backend, hopefully should fix missing notifications for polls and follow requests

View File

@ -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.

View File

@ -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.

View File

@ -0,0 +1 @@
Add poll end notifications to fetched types.

View File

@ -0,0 +1 @@
Display public favorites on user profiles

View File

View File

@ -0,0 +1 @@
Display quotes count on posts and add quotes list page

View File

@ -0,0 +1 @@
Show a dedicated registration notice page when further action is required after registering

View File

@ -0,0 +1 @@
Option to only show scrobbles that are recent enough

View File

@ -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.

View File

@ -0,0 +1 @@
Shows the most recent scrobble under each post when available

View File

@ -0,0 +1 @@
Display loading and error indicator for conversation page

View File

@ -0,0 +1 @@
Add caching system for themes3

View File

@ -0,0 +1 @@
fix color inputs and some in-development themes3 issues

View File

@ -0,0 +1 @@
Overhauled the way themes work, migrating to new Pleroma Interface Style Sheets system.

View File

@ -0,0 +1 @@
unread notifications should now properly catch up (eventually) in polling mode

View File

@ -0,0 +1 @@
Video posters on Safari

View File

@ -0,0 +1 @@
nothing

View File

@ -0,0 +1 @@
Added option to always "show" notifications when using web push for better compatibility with some browsers (chrome, edge, safari)

View File

@ -52,7 +52,10 @@ module.exports = {
target, target,
changeOrigin: true, changeOrigin: true,
cookieDomainRewrite: 'localhost', cookieDomainRewrite: 'localhost',
ws: true ws: true,
headers: {
'Origin': target
}
}, },
'/oauth/revoke': { '/oauth/revoke': {
target, target,

View File

@ -25,7 +25,17 @@ This could be a bit trickier, you basically need steps 1-4 from *develop build*
### Replacing your instance's frontend with custom FE build ### Replacing your instance's frontend with custom FE build
This is the most easiest way to use and test FE build: you just need to copy or symlink contents of `dist` folder into backend's [static directory](../backend/configuration/static_dir.md), by default it is located in `instance/static`, or in `/var/lib/pleroma/static` for OTP release installations, create it if it doesn't exist already. Be aware that running `yarn build` wipes the contents of `dist` folder. #### New way (via AdminFE, a bit janky but works)
In backend's [static directory](../backend/configuration/static_dir.md) there should be a folder called `frontends` if you installed any frontends from AdminFE before, otherwise you can create it yourself (ensuring correct permissions). Backend will serve given frontend from path `frontends/{frontend}/{reference}`, where `{frontend}` is name of frontend (`pleroma-fe`) and `{reference}` is version. You could make a production build, move `dist` folder into `frontends/pleroma-fe` and rename it into something like `myCustomVersion`. To actually make backend serve this frontend by default, in AdminFE you'll need to set name/reference in Settings -> Frontend -> Frontends -> Primary.
You could also install from a zip file (i.e. CI build) but AdminFE UI is a bit buggy and lacking, so this approach is not recommended.
Take note that frontend management is in early development and currently there's no way for user to change frontend or version for themselves, primary frontend becomes default frontend for all users and visitors.
#### Old way (replaces everything, hard to maintain, not recommended)
Copy or symlink contents of `dist` folder into backend's [static directory](../backend/configuration/static_dir.md), by default it is located in `instance/static`, or in `/var/lib/pleroma/static` for OTP release installations, create it if it doesn't exist already. Be aware that running `yarn build` wipes the contents of `dist` folder, and this could remove emojis, other frontends etc. and therefore this approach is not recommended.
### Running production build locally or on a separate server ### Running production build locally or on a separate server

BIN
image-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 KiB

BIN
image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@ -3,12 +3,14 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<!--server-generated-meta-->
<link rel="icon" type="image/png" href="/favicon.png"> <link rel="icon" type="image/png" href="/favicon.png">
<!--server-generated-meta-->
</head> </head>
<body class="hidden"> <body class="hidden">
<noscript>To use Pleroma, please enable JavaScript.</noscript> <noscript>To use Pleroma, please enable JavaScript.</noscript>
<div id="app"></div> <div id="app"></div>
<div id="modal"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<div id="popovers" />
</body> </body>
</html> </html>

View File

@ -1,9 +1,9 @@
{ {
"name": "pleroma_fe", "name": "pleroma_fe",
"version": "1.0.0", "version": "2.6.1",
"description": "A Qvitter-style frontend for certain GS servers.", "description": "Pleroma frontend, the default frontend of Pleroma social network server",
"author": "Roger Braun <roger@rogerbraun.net>", "author": "Pleroma contributors <https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/CONTRIBUTORS.md>",
"private": true, "private": false,
"scripts": { "scripts": {
"dev": "node build/dev-server.js", "dev": "node build/dev-server.js",
"build": "node build/build.js", "build": "node build/build.js",
@ -11,113 +11,126 @@
"unit:watch": "karma start test/unit/karma.conf.js --single-run=false", "unit:watch": "karma start test/unit/karma.conf.js --single-run=false",
"e2e": "node test/e2e/runner.js", "e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e", "test": "npm run unit && npm run e2e",
"stylelint": "npx stylelint src/components/status/status.scss", "stylelint": "npx stylelint '**/*.scss' '**/*.vue'",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs", "lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
"lint-fix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs" "lint-fix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.7.6", "@babel/runtime": "7.21.5",
"@chenfengyuan/vue-qrcode": "^1.0.0", "@chenfengyuan/vue-qrcode": "2.0.0",
"@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/fontawesome-svg-core": "6.4.0",
"@fortawesome/free-regular-svg-icons": "^5.15.1", "@fortawesome/free-regular-svg-icons": "6.4.0",
"@fortawesome/free-solid-svg-icons": "^5.15.1", "@fortawesome/free-solid-svg-icons": "6.4.0",
"@fortawesome/vue-fontawesome": "^2.0.0", "@fortawesome/vue-fontawesome": "3.0.3",
"body-scroll-lock": "^2.6.4", "@kazvmoe-infra/pinch-zoom-element": "1.2.0",
"chromatism": "^3.0.0", "@kazvmoe-infra/unicode-emoji-json": "0.4.0",
"cropperjs": "^1.4.3", "@ruffle-rs/ruffle": "0.1.0-nightly.2024.3.17",
"diff": "^3.0.1", "@vuelidate/core": "2.0.3",
"escape-html": "^1.0.3", "@vuelidate/validators": "2.0.4",
"localforage": "^1.5.0", "body-scroll-lock": "3.1.5",
"parse-link-header": "^1.0.1", "chromatism": "3.0.0",
"phoenix": "^1.3.0", "click-outside-vue3": "4.0.1",
"portal-vue": "^2.1.4", "cropperjs": "1.5.13",
"punycode.js": "^2.1.0", "escape-html": "1.0.3",
"v-click-outside": "^2.1.1", "hash-sum": "^2.0.0",
"vue": "^2.6.11", "js-cookie": "3.0.5",
"vue-i18n": "^7.3.2", "localforage": "1.10.0",
"vue-router": "^3.0.1", "parse-link-header": "2.0.0",
"vue-template-compiler": "^2.6.11", "phoenix": "1.7.7",
"vuelidate": "^0.7.4", "punycode.js": "2.3.0",
"vuex": "^3.0.1" "qrcode": "1.5.3",
"querystring-es3": "0.2.1",
"url": "0.11.0",
"utf8": "3.0.0",
"vue": "3.2.45",
"vue-i18n": "9.2.2",
"vue-router": "4.1.6",
"vue-template-compiler": "2.7.14",
"vue-virtual-scroller": "^2.0.0-beta.7",
"vuex": "4.1.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.7.5", "@babel/core": "7.21.8",
"@babel/plugin-transform-runtime": "^7.7.6", "@babel/eslint-parser": "7.21.8",
"@babel/preset-env": "^7.7.6", "@babel/plugin-transform-runtime": "7.21.4",
"@babel/register": "^7.7.4", "@babel/preset-env": "7.21.5",
"@ungap/event-target": "^0.1.0", "@babel/register": "7.21.0",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", "@intlify/vue-i18n-loader": "5.0.1",
"@vue/babel-plugin-transform-vue-jsx": "^1.1.2", "@ungap/event-target": "0.2.4",
"@vue/test-utils": "^1.0.0-beta.26", "@vue/babel-helper-vue-jsx-merge-props": "1.4.0",
"autoprefixer": "^6.4.0", "@vue/babel-plugin-jsx": "1.2.1",
"babel-eslint": "^7.0.0", "@vue/compiler-sfc": "3.2.45",
"babel-loader": "^8.0.6", "@vue/test-utils": "2.2.8",
"babel-plugin-lodash": "^3.3.4", "autoprefixer": "10.4.19",
"chai": "^3.5.0", "babel-loader": "9.1.3",
"chalk": "^1.1.3", "babel-plugin-lodash": "3.3.4",
"chromedriver": "^87.0.1", "chai": "4.3.7",
"connect-history-api-fallback": "^1.1.0", "chalk": "1.1.3",
"cross-spawn": "^4.0.2", "chromedriver": "108.0.0",
"css-loader": "^0.28.0", "connect-history-api-fallback": "2.0.0",
"custom-event-polyfill": "^1.0.7", "copy-webpack-plugin": "11.0.0",
"eslint": "^5.16.0", "cross-spawn": "7.0.3",
"eslint-config-standard": "^12.0.0", "css-loader": "6.10.0",
"eslint-friendly-formatter": "^2.0.5", "css-minimizer-webpack-plugin": "4.2.2",
"eslint-loader": "^2.1.0", "custom-event-polyfill": "1.0.7",
"eslint-plugin-import": "^2.13.0", "eslint": "8.33.0",
"eslint-plugin-node": "^7.0.0", "eslint-config-standard": "17.0.0",
"eslint-plugin-promise": "^4.0.0", "eslint-formatter-friendly": "7.0.0",
"eslint-plugin-standard": "^4.0.0", "eslint-plugin-import": "2.27.5",
"eslint-plugin-vue": "^5.2.2", "eslint-plugin-n": "15.6.1",
"eventsource-polyfill": "^0.9.6", "eslint-plugin-promise": "6.1.1",
"express": "^4.13.3", "eslint-plugin-vue": "9.9.0",
"file-loader": "^3.0.1", "eslint-webpack-plugin": "3.2.0",
"function-bind": "^1.0.2", "eventsource-polyfill": "0.9.6",
"html-webpack-plugin": "^3.0.0", "express": "4.18.2",
"http-proxy-middleware": "^0.17.2", "function-bind": "1.1.1",
"inject-loader": "^2.0.1", "html-webpack-plugin": "5.5.1",
"iso-639-1": "^2.0.3", "http-proxy-middleware": "2.0.6",
"isparta-loader": "^2.0.0", "iso-639-1": "2.1.15",
"json-loader": "^0.5.4", "json-loader": "0.5.7",
"karma": "^3.0.0", "karma": "6.4.2",
"karma-coverage": "^1.1.1", "karma-coverage": "2.2.0",
"karma-firefox-launcher": "^1.1.0", "karma-firefox-launcher": "2.1.2",
"karma-mocha": "^1.2.0", "karma-mocha": "2.0.1",
"karma-mocha-reporter": "^2.2.1", "karma-mocha-reporter": "2.2.5",
"karma-sinon-chai": "^2.0.2", "karma-sinon-chai": "2.0.2",
"karma-sourcemap-loader": "^0.3.7", "karma-sourcemap-loader": "0.3.8",
"karma-spec-reporter": "0.0.26", "karma-spec-reporter": "0.0.36",
"karma-webpack": "^4.0.0-rc.3", "karma-webpack": "5.0.0",
"lodash": "^4.16.4", "lodash": "4.17.21",
"lolex": "^1.4.0", "mini-css-extract-plugin": "2.7.6",
"mini-css-extract-plugin": "^0.5.0", "mocha": "10.2.0",
"mocha": "^3.1.0", "nightwatch": "2.6.25",
"nightwatch": "^0.9.8", "opn": "5.5.0",
"opn": "^4.0.2", "ora": "0.4.1",
"ora": "^0.3.0", "postcss": "8.4.23",
"postcss-loader": "^3.0.0", "postcss-html": "^1.5.0",
"raw-loader": "^0.5.1", "postcss-loader": "7.0.2",
"sass": "^1.17.3", "postcss-scss": "^4.0.6",
"sass-loader": "git://github.com/webpack-contrib/sass-loader", "sass": "1.60.0",
"sass-loader": "13.2.2",
"selenium-server": "2.53.1", "selenium-server": "2.53.1",
"semver": "^5.3.0", "semver": "7.3.8",
"serviceworker-webpack-plugin": "^1.0.0", "serviceworker-webpack5-plugin": "2.0.0",
"shelljs": "^0.8.4", "shelljs": "0.8.5",
"sinon": "^2.1.0", "sinon": "15.0.4",
"sinon-chai": "^2.8.0", "sinon-chai": "3.7.0",
"stylelint": "^13.6.1", "stylelint": "14.16.1",
"stylelint-config-standard": "^20.0.0", "stylelint-config-html": "^1.1.0",
"stylelint-rscss": "^0.4.0", "stylelint-config-recommended-scss": "^8.0.0",
"url-loader": "^1.1.2", "stylelint-config-recommended-vue": "^1.4.0",
"vue-loader": "^14.0.0", "stylelint-config-standard": "29.0.0",
"vue-style-loader": "^4.0.0", "stylelint-rscss": "0.4.0",
"webpack": "^4.0.0", "stylelint-webpack-plugin": "^3.3.0",
"webpack-dev-middleware": "^3.6.0", "vue-loader": "17.0.1",
"webpack-hot-middleware": "^2.12.2", "vue-style-loader": "4.1.3",
"webpack-merge": "^0.14.1" "webpack": "5.75.0",
"webpack-dev-middleware": "3.7.3",
"webpack-hot-middleware": "2.25.3",
"webpack-merge": "0.20.0"
}, },
"engines": { "engines": {
"node": ">= 4.0.0", "node": ">= 16.0.0",
"npm": ">= 3.0.0" "npm": ">= 3.0.0"
} }
} }

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
]
}

View File

@ -1,40 +1,44 @@
import UserPanel from './components/user_panel/user_panel.vue' import UserPanel from './components/user_panel/user_panel.vue'
import NavPanel from './components/nav_panel/nav_panel.vue' import NavPanel from './components/nav_panel/nav_panel.vue'
import Notifications from './components/notifications/notifications.vue'
import InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue' import InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'
import FeaturesPanel from './components/features_panel/features_panel.vue' import FeaturesPanel from './components/features_panel/features_panel.vue'
import WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue' import WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'
import ChatPanel from './components/chat_panel/chat_panel.vue' import ShoutPanel from './components/shout_panel/shout_panel.vue'
import SettingsModal from './components/settings_modal/settings_modal.vue'
import MediaModal from './components/media_modal/media_modal.vue' import MediaModal from './components/media_modal/media_modal.vue'
import SideDrawer from './components/side_drawer/side_drawer.vue' import SideDrawer from './components/side_drawer/side_drawer.vue'
import MobilePostStatusButton from './components/mobile_post_status_button/mobile_post_status_button.vue' import MobilePostStatusButton from './components/mobile_post_status_button/mobile_post_status_button.vue'
import MobileNav from './components/mobile_nav/mobile_nav.vue' import MobileNav from './components/mobile_nav/mobile_nav.vue'
import DesktopNav from './components/desktop_nav/desktop_nav.vue' import DesktopNav from './components/desktop_nav/desktop_nav.vue'
import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue' import UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue'
import EditStatusModal from './components/edit_status_modal/edit_status_modal.vue'
import PostStatusModal from './components/post_status_modal/post_status_modal.vue' import PostStatusModal from './components/post_status_modal/post_status_modal.vue'
import StatusHistoryModal from './components/status_history_modal/status_history_modal.vue'
import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue' import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue'
import { windowWidth, windowHeight } from './services/window_utils/window_utils' import { windowWidth, windowHeight } from './services/window_utils/window_utils'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import { defineAsyncComponent } from 'vue'
export default { export default {
name: 'app', name: 'app',
components: { components: {
UserPanel, UserPanel,
NavPanel, NavPanel,
Notifications, Notifications: defineAsyncComponent(() => import('./components/notifications/notifications.vue')),
InstanceSpecificPanel, InstanceSpecificPanel,
FeaturesPanel, FeaturesPanel,
WhoToFollowPanel, WhoToFollowPanel,
ChatPanel, ShoutPanel,
MediaModal, MediaModal,
SideDrawer, SideDrawer,
MobilePostStatusButton, MobilePostStatusButton,
MobileNav, MobileNav,
DesktopNav, DesktopNav,
SettingsModal, SettingsModal: defineAsyncComponent(() => import('./components/settings_modal/settings_modal.vue')),
UpdateNotification: defineAsyncComponent(() => import('./components/update_notification/update_notification.vue')),
UserReportingModal, UserReportingModal,
PostStatusModal, PostStatusModal,
EditStatusModal,
StatusHistoryModal,
GlobalNoticeList GlobalNoticeList
}, },
data: () => ({ data: () => ({
@ -46,10 +50,27 @@ export default {
this.$store.dispatch('setOption', { name: 'interfaceLanguage', value: val }) this.$store.dispatch('setOption', { name: 'interfaceLanguage', value: val })
window.addEventListener('resize', this.updateMobileState) window.addEventListener('resize', this.updateMobileState)
}, },
destroyed () { unmounted () {
window.removeEventListener('resize', this.updateMobileState) window.removeEventListener('resize', this.updateMobileState)
}, },
computed: { computed: {
classes () {
return [
{
'-reverse': this.reverseLayout,
'-no-sticky-headers': this.noSticky,
'-has-new-post-button': this.newPostButtonShown
},
'-' + this.layoutType
]
},
navClasses () {
const { navbarColumnStretch } = this.$store.getters.mergedConfig
return [
'-' + this.layoutType,
...(navbarColumnStretch ? ['-column-stretch'] : [])
]
},
currentUser () { return this.$store.state.users.currentUser }, currentUser () { return this.$store.state.users.currentUser },
userBackground () { return this.currentUser.background_image }, userBackground () { return this.currentUser.background_image },
instanceBackground () { instanceBackground () {
@ -65,32 +86,50 @@ export default {
} }
} }
}, },
chat () { return this.$store.state.chat.channel.state === 'joined' }, shout () { return this.$store.state.shout.joined },
suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled }, suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },
showInstanceSpecificPanel () { showInstanceSpecificPanel () {
return this.$store.state.instance.showInstanceSpecificPanel && return this.$store.state.instance.showInstanceSpecificPanel &&
!this.$store.getters.mergedConfig.hideISP && !this.$store.getters.mergedConfig.hideISP &&
this.$store.state.instance.instanceSpecificPanelContent this.$store.state.instance.instanceSpecificPanelContent
}, },
isChats () {
return this.$route.name === 'chat' || this.$route.name === 'chats'
},
isListEdit () {
return this.$route.name === 'lists-edit'
},
newPostButtonShown () {
if (this.isChats) return false
if (this.isListEdit) return false
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || this.layoutType === 'mobile'
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel }, showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
isMobileLayout () { return this.$store.state.interface.mobileLayout }, editingAvailable () { return this.$store.state.instance.editingAvailable },
shoutboxPosition () {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || false
},
hideShoutbox () {
return this.$store.getters.mergedConfig.hideShoutbox
},
layoutType () { return this.$store.state.interface.layoutType },
privateMode () { return this.$store.state.instance.private }, privateMode () { return this.$store.state.instance.private },
sidebarAlign () { reverseLayout () {
return { const { thirdColumnMode, sidebarRight: reverseSetting } = this.$store.getters.mergedConfig
'order': this.$store.state.instance.sidebarRight ? 99 : 0 if (this.layoutType !== 'wide') {
return reverseSetting
} else {
return thirdColumnMode === 'notifications' ? reverseSetting : !reverseSetting
} }
}, },
noSticky () { return this.$store.getters.mergedConfig.disableStickyHeaders },
showScrollbars () { return this.$store.getters.mergedConfig.showScrollbars },
...mapGetters(['mergedConfig']) ...mapGetters(['mergedConfig'])
}, },
methods: { methods: {
updateMobileState () { updateMobileState () {
const mobileLayout = windowWidth() <= 800 this.$store.dispatch('setLayoutWidth', windowWidth())
const layoutHeight = windowHeight() this.$store.dispatch('setLayoutHeight', windowHeight())
const changed = mobileLayout !== this.isMobileLayout
if (changed) {
this.$store.dispatch('setMobileLayout', mobileLayout)
}
this.$store.dispatch('setLayoutHeight', layoutHeight)
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,44 @@
<template> <template>
<div <div
id="app" v-show="$store.state.interface.themeApplied"
id="app-loaded"
:style="bgStyle" :style="bgStyle"
> >
<div <div
id="app_bg_wrapper" id="app_bg_wrapper"
class="app-bg-wrapper" class="app-bg-wrapper"
/> />
<MobileNav v-if="isMobileLayout" /> <MobileNav v-if="layoutType === 'mobile'" />
<DesktopNav v-else /> <DesktopNav
<div class="app-bg-wrapper app-container-wrapper" /> v-else
:class="navClasses"
/>
<Notifications v-if="currentUser" />
<div <div
id="content" id="content"
class="container underlay" class="app-layout container"
:class="classes"
> >
<div class="underlay" />
<div <div
class="sidebar-flexer mobile-hidden" id="sidebar"
:style="sidebarAlign" class="column -scrollable"
:class="{ '-show-scrollbar': showScrollbars }"
> >
<div class="sidebar-bounds"> <user-panel />
<div class="sidebar-scroller"> <template v-if="layoutType !== 'mobile'">
<div class="sidebar"> <nav-panel />
<user-panel /> <instance-specific-panel v-if="showInstanceSpecificPanel" />
<div v-if="!isMobileLayout"> <features-panel v-if="!currentUser && showFeaturesPanel" />
<nav-panel /> <who-to-follow-panel v-if="currentUser && suggestionsEnabled" />
<instance-specific-panel v-if="showInstanceSpecificPanel" /> <div id="notifs-sidebar" />
<features-panel v-if="!currentUser && showFeaturesPanel" /> </template>
<who-to-follow-panel v-if="currentUser && suggestionsEnabled" />
<notifications v-if="currentUser" />
</div>
</div>
</div>
</div>
</div> </div>
<div class="main"> <main
id="main-scroller"
class="column main"
:class="{ '-full-height': isChats || isListEdit }"
>
<div <div
v-if="!currentUser" v-if="!currentUser"
class="login-hint panel panel-default" class="login-hint panel panel-default"
@ -46,19 +51,27 @@
</router-link> </router-link>
</div> </div>
<router-view /> <router-view />
</div> </main>
<media-modal /> <div
id="notifs-column"
class="column -scrollable"
:class="{ '-show-scrollbar': showScrollbars }"
/>
</div> </div>
<chat-panel <MediaModal />
v-if="currentUser && chat" <shout-panel
v-if="currentUser && shout && !hideShoutbox"
:floating="true" :floating="true"
class="floating-chat mobile-hidden" class="floating-shout mobile-hidden"
:class="{ '-left': shoutboxPosition }"
/> />
<MobilePostStatusButton /> <MobilePostStatusButton />
<UserReportingModal /> <UserReportingModal />
<PostStatusModal /> <PostStatusModal />
<EditStatusModal v-if="editingAvailable" />
<StatusHistoryModal v-if="editingAvailable" />
<SettingsModal /> <SettingsModal />
<portal-target name="modal" /> <UpdateNotification />
<GlobalNoticeList /> <GlobalNoticeList />
</div> </div>
</template> </template>

18
src/_mixins.scss Normal file
View File

@ -0,0 +1,18 @@
@mixin unfocused-style {
@content;
&:focus:not(:focus-visible, :hover) {
@content;
}
}
@mixin focused-style {
&:hover,
&:focus {
@content;
}
&:focus-visible {
@content;
}
}

View File

@ -1,32 +0,0 @@
$main-color: #f58d2c;
$main-background: white;
$darkened-background: whitesmoke;
$fallback--bg: #121a24;
$fallback--fg: #182230;
$fallback--faint: rgba(185, 185, 186, .5);
$fallback--text: #b9b9ba;
$fallback--link: #d8a070;
$fallback--icon: #666;
$fallback--lightBg: rgb(21, 30, 42);
$fallback--lightText: #b9b9ba;
$fallback--border: #222;
$fallback--cRed: #ff0000;
$fallback--cBlue: #0095ff;
$fallback--cGreen: #0fa00f;
$fallback--cOrange: orange;
$fallback--alertError: rgba(211,16,20,.5);
$fallback--alertWarning: rgba(111,111,20,.5);
$fallback--panelRadius: 10px;
$fallback--checkboxRadius: 2px;
$fallback--btnRadius: 4px;
$fallback--inputRadius: 4px;
$fallback--tooltipRadius: 5px;
$fallback--avatarRadius: 4px;
$fallback--avatarAltRadius: 10px;
$fallback--attachmentRadius: 10px;
$fallback--chatMessageRadius: 10px;
$fallback--buttonShadow: 0px 0px 2px 0px rgba(0, 0, 0, 1), 0px 1px 0px 0px rgba(255, 255, 255, 0.2) inset, 0px -1px 0px 0px rgba(0, 0, 0, 0.2) inset;

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 521 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,13 +1,22 @@
import Vue from 'vue' import { createApp } from 'vue'
import VueRouter from 'vue-router' import { createRouter, createWebHistory } from 'vue-router'
import routes from './routes' import vClickOutside from 'click-outside-vue3'
import VueVirtualScroller from 'vue-virtual-scroller'
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
import { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome'
import App from '../App.vue' import App from '../App.vue'
import { windowWidth } from '../services/window_utils/window_utils' import routes from './routes'
import VBodyScrollLock from 'src/directives/body_scroll_lock'
import { windowWidth, windowHeight } from '../services/window_utils/window_utils'
import { getOrCreateApp, getClientToken } from '../services/new_api/oauth.js' import { getOrCreateApp, getClientToken } from '../services/new_api/oauth.js'
import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js' import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'
import { CURRENT_VERSION } from '../services/theme_data/theme_data.service.js' import { CURRENT_VERSION } from '../services/theme_data/theme_data.service.js'
import { applyTheme } from '../services/style_setter/style_setter.js' import { applyTheme, applyConfig, tryLoadCache } from '../services/style_setter/style_setter.js'
import FaviconService from '../services/favicon_service/favicon_service.js' import FaviconService from '../services/favicon_service/favicon_service.js'
import { initServiceWorker, updateFocus } from '../services/sw/sw.js'
let staticInitialResults = null let staticInitialResults = null
@ -52,6 +61,8 @@ const getInstanceConfig = async ({ store }) => {
store.dispatch('setInstanceOption', { name: 'textlimit', value: textlimit }) store.dispatch('setInstanceOption', { name: 'textlimit', value: textlimit })
store.dispatch('setInstanceOption', { name: 'accountApprovalRequired', value: data.approval_required }) store.dispatch('setInstanceOption', { name: 'accountApprovalRequired', value: data.approval_required })
store.dispatch('setInstanceOption', { name: 'birthdayRequired', value: !!data.pleroma.metadata.birthday_required })
store.dispatch('setInstanceOption', { name: 'birthdayMinAge', value: data.pleroma.metadata.birthday_min_age || 0 })
if (vapidPublicKey) { if (vapidPublicKey) {
store.dispatch('setInstanceOption', { name: 'vapidPublicKey', value: vapidPublicKey }) store.dispatch('setInstanceOption', { name: 'vapidPublicKey', value: vapidPublicKey })
@ -115,6 +126,7 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
copyInstanceOption('nsfwCensorImage') copyInstanceOption('nsfwCensorImage')
copyInstanceOption('background') copyInstanceOption('background')
copyInstanceOption('hidePostStats') copyInstanceOption('hidePostStats')
copyInstanceOption('hideBotIndication')
copyInstanceOption('hideUserStats') copyInstanceOption('hideUserStats')
copyInstanceOption('hideFilteredStatuses') copyInstanceOption('hideFilteredStatuses')
copyInstanceOption('logo') copyInstanceOption('logo')
@ -149,7 +161,7 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
copyInstanceOption('hideSitename') copyInstanceOption('hideSitename')
copyInstanceOption('sidebarRight') copyInstanceOption('sidebarRight')
return store.dispatch('setTheme', config['theme']) return store.dispatch('setTheme', config.theme)
} }
const getTOS = async ({ store }) => { const getTOS = async ({ store }) => {
@ -190,7 +202,7 @@ const getStickers = async ({ store }) => {
const stickers = (await Promise.all( const stickers = (await Promise.all(
Object.entries(values).map(async ([name, path]) => { Object.entries(values).map(async ([name, path]) => {
const resPack = await window.fetch(path + 'pack.json') const resPack = await window.fetch(path + 'pack.json')
var meta = {} let meta = {}
if (resPack.ok) { if (resPack.ok) {
meta = await resPack.json() meta = await resPack.json()
} }
@ -240,12 +252,16 @@ const getNodeInfo = async ({ store }) => {
store.dispatch('setInstanceOption', { name: 'registrationOpen', value: data.openRegistrations }) store.dispatch('setInstanceOption', { name: 'registrationOpen', value: data.openRegistrations })
store.dispatch('setInstanceOption', { name: 'mediaProxyAvailable', value: features.includes('media_proxy') }) store.dispatch('setInstanceOption', { name: 'mediaProxyAvailable', value: features.includes('media_proxy') })
store.dispatch('setInstanceOption', { name: 'safeDM', value: features.includes('safe_dm_mentions') }) store.dispatch('setInstanceOption', { name: 'safeDM', value: features.includes('safe_dm_mentions') })
store.dispatch('setInstanceOption', { name: 'chatAvailable', value: features.includes('chat') }) store.dispatch('setInstanceOption', { name: 'shoutAvailable', value: features.includes('chat') })
store.dispatch('setInstanceOption', { name: 'pleromaChatMessagesAvailable', value: features.includes('pleroma_chat_messages') }) store.dispatch('setInstanceOption', { name: 'pleromaChatMessagesAvailable', value: features.includes('pleroma_chat_messages') })
store.dispatch('setInstanceOption', { name: 'pleromaCustomEmojiReactionsAvailable', value: features.includes('pleroma_custom_emoji_reactions') })
store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') }) store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') })
store.dispatch('setInstanceOption', { name: 'pollsAvailable', value: features.includes('polls') }) store.dispatch('setInstanceOption', { name: 'pollsAvailable', value: features.includes('polls') })
store.dispatch('setInstanceOption', { name: 'editingAvailable', value: features.includes('editing') })
store.dispatch('setInstanceOption', { name: 'pollLimits', value: metadata.pollLimits }) store.dispatch('setInstanceOption', { name: 'pollLimits', value: metadata.pollLimits })
store.dispatch('setInstanceOption', { name: 'mailerEnabled', value: metadata.mailerEnabled }) store.dispatch('setInstanceOption', { name: 'mailerEnabled', value: metadata.mailerEnabled })
store.dispatch('setInstanceOption', { name: 'quotingAvailable', value: features.includes('quote_posting') })
store.dispatch('setInstanceOption', { name: 'groupActorAvailable', value: features.includes('pleroma:group_actors') })
const uploadLimits = metadata.uploadLimits const uploadLimits = metadata.uploadLimits
store.dispatch('setInstanceOption', { name: 'uploadlimit', value: parseInt(uploadLimits.general) }) store.dispatch('setInstanceOption', { name: 'uploadlimit', value: parseInt(uploadLimits.general) })
@ -312,23 +328,24 @@ const setConfig = async ({ store }) => {
} }
const checkOAuthToken = async ({ store }) => { const checkOAuthToken = async ({ store }) => {
return new Promise(async (resolve, reject) => { if (store.getters.getUserToken()) {
if (store.getters.getUserToken()) { try {
try { await store.dispatch('loginUser', store.getters.getUserToken())
await store.dispatch('loginUser', store.getters.getUserToken()) } catch (e) {
} catch (e) { console.error(e)
console.error(e)
}
} }
resolve() }
}) return Promise.resolve()
} }
const afterStoreSetup = async ({ store, i18n }) => { const afterStoreSetup = async ({ store, i18n }) => {
const width = windowWidth() store.dispatch('setLayoutWidth', windowWidth())
store.dispatch('setMobileLayout', width <= 800) store.dispatch('setLayoutHeight', windowHeight())
FaviconService.initFaviconService() FaviconService.initFaviconService()
initServiceWorker(store)
window.addEventListener('focus', () => updateFocus())
const overrides = window.___pleromafe_dev_overrides || {} const overrides = window.___pleromafe_dev_overrides || {}
const server = (typeof overrides.target !== 'undefined') ? overrides.target : window.location.origin const server = (typeof overrides.target !== 'undefined') ? overrides.target : window.location.origin
@ -336,22 +353,29 @@ const afterStoreSetup = async ({ store, i18n }) => {
await setConfig({ store }) await setConfig({ store })
const { customTheme, customThemeSource } = store.state.config const { customTheme, customThemeSource, forceThemeRecompilation } = store.state.config
const { theme } = store.state.instance const { theme } = store.state.instance
const customThemePresent = customThemeSource || customTheme const customThemePresent = customThemeSource || customTheme
if (customThemePresent) { if (!forceThemeRecompilation && tryLoadCache()) {
if (customThemeSource && customThemeSource.themeEngineVersion === CURRENT_VERSION) { store.commit('setThemeApplied')
applyTheme(customThemeSource)
} else {
applyTheme(customTheme)
}
} else if (theme) {
// do nothing, it will load asynchronously
} else { } else {
console.error('Failed to load any theme!') if (customThemePresent) {
if (customThemeSource && customThemeSource.themeEngineVersion === CURRENT_VERSION) {
applyTheme(customThemeSource)
} else {
applyTheme(customTheme)
}
store.commit('setThemeApplied')
} else if (theme) {
// do nothing, it will load asynchronously
} else {
console.error('Failed to load any theme!')
}
} }
applyConfig(store.state.config)
// Now we can try getting the server settings and logging in // Now we can try getting the server settings and logging in
// Most of these are preloaded into the index.html so blocking is minimized // Most of these are preloaded into the index.html so blocking is minimized
await Promise.all([ await Promise.all([
@ -363,28 +387,40 @@ const afterStoreSetup = async ({ store, i18n }) => {
// Start fetching things that don't need to block the UI // Start fetching things that don't need to block the UI
store.dispatch('fetchMutes') store.dispatch('fetchMutes')
store.dispatch('startFetchingAnnouncements')
getTOS({ store }) getTOS({ store })
getStickers({ store }) getStickers({ store })
const router = new VueRouter({ const router = createRouter({
mode: 'history', history: createWebHistory(),
routes: routes(store), routes: routes(store),
scrollBehavior: (to, _from, savedPosition) => { scrollBehavior: (to, _from, savedPosition) => {
if (to.matched.some(m => m.meta.dontScroll)) { if (to.matched.some(m => m.meta.dontScroll)) {
return false return false
} }
return savedPosition || { x: 0, y: 0 } return savedPosition || { left: 0, top: 0 }
} }
}) })
/* eslint-disable no-new */ const app = createApp(App)
return new Vue({
router, app.use(router)
store, app.use(store)
i18n, app.use(i18n)
el: '#app',
render: h => h(App) app.use(vClickOutside)
}) app.use(VBodyScrollLock)
app.use(VueVirtualScroller)
app.component('FAIcon', FontAwesomeIcon)
app.component('FALayers', FontAwesomeLayers)
// remove after vue 3.3
app.config.unwrapInjectedRef = true
app.mount('#app')
return app
} }
export default afterStoreSetup export default afterStoreSetup

View File

@ -16,10 +16,16 @@ import FollowRequests from 'components/follow_requests/follow_requests.vue'
import OAuthCallback from 'components/oauth_callback/oauth_callback.vue' import OAuthCallback from 'components/oauth_callback/oauth_callback.vue'
import Notifications from 'components/notifications/notifications.vue' import Notifications from 'components/notifications/notifications.vue'
import AuthForm from 'components/auth_form/auth_form.js' import AuthForm from 'components/auth_form/auth_form.js'
import ChatPanel from 'components/chat_panel/chat_panel.vue' import ShoutPanel from 'components/shout_panel/shout_panel.vue'
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue' import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
import About from 'components/about/about.vue' import About from 'components/about/about.vue'
import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue' import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue'
import Lists from 'components/lists/lists.vue'
import ListsTimeline from 'components/lists_timeline/lists_timeline.vue'
import ListsEdit from 'components/lists_edit/lists_edit.vue'
import NavPanel from 'src/components/nav_panel/nav_panel.vue'
import AnnouncementsPage from 'components/announcements_page/announcements_page.vue'
import QuotesTimeline from '../components/quotes_timeline/quotes_timeline.vue'
export default (store) => { export default (store) => {
const validateAuthenticatedRoute = (to, from, next) => { const validateAuthenticatedRoute = (to, from, next) => {
@ -31,7 +37,8 @@ export default (store) => {
} }
let routes = [ let routes = [
{ name: 'root', {
name: 'root',
path: '/', path: '/',
redirect: _to => { redirect: _to => {
return (store.state.users.currentUser return (store.state.users.currentUser
@ -45,31 +52,41 @@ export default (store) => {
{ name: 'tag-timeline', path: '/tag/:tag', component: TagTimeline }, { name: 'tag-timeline', path: '/tag/:tag', component: TagTimeline },
{ name: 'bookmarks', path: '/bookmarks', component: BookmarkTimeline }, { name: 'bookmarks', path: '/bookmarks', component: BookmarkTimeline },
{ name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } }, { name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },
{ name: 'remote-user-profile-acct', { name: 'quotes', path: '/notice/:id/quotes', component: QuotesTimeline },
path: '/remote-users/(@?):username([^/@]+)@:hostname([^/@]+)', {
name: 'remote-user-profile-acct',
path: '/remote-users/:_(@)?:username([^/@]+)@:hostname([^/@]+)',
component: RemoteUserResolver, component: RemoteUserResolver,
beforeEnter: validateAuthenticatedRoute beforeEnter: validateAuthenticatedRoute
}, },
{ name: 'remote-user-profile', {
name: 'remote-user-profile',
path: '/remote-users/:hostname/:username', path: '/remote-users/:hostname/:username',
component: RemoteUserResolver, component: RemoteUserResolver,
beforeEnter: validateAuthenticatedRoute beforeEnter: validateAuthenticatedRoute
}, },
{ name: 'external-user-profile', path: '/users/:id', component: UserProfile }, { name: 'external-user-profile', path: '/users/$:id', component: UserProfile },
{ name: 'interactions', path: '/users/:username/interactions', component: Interactions, beforeEnter: validateAuthenticatedRoute }, { name: 'interactions', path: '/users/:username/interactions', component: Interactions, beforeEnter: validateAuthenticatedRoute },
{ name: 'dms', path: '/users/:username/dms', component: DMs, beforeEnter: validateAuthenticatedRoute }, { name: 'dms', path: '/users/:username/dms', component: DMs, beforeEnter: validateAuthenticatedRoute },
{ name: 'registration', path: '/registration', component: Registration }, { name: 'registration', path: '/registration', component: Registration },
{ name: 'password-reset', path: '/password-reset', component: PasswordReset, props: true }, { name: 'password-reset', path: '/password-reset', component: PasswordReset, props: true },
{ name: 'registration-token', path: '/registration/:token', component: Registration }, { name: 'registration-token', path: '/registration/:token', component: Registration },
{ name: 'friend-requests', path: '/friend-requests', component: FollowRequests, beforeEnter: validateAuthenticatedRoute }, { name: 'friend-requests', path: '/friend-requests', component: FollowRequests, beforeEnter: validateAuthenticatedRoute },
{ name: 'notifications', path: '/:username/notifications', component: Notifications, beforeEnter: validateAuthenticatedRoute }, { name: 'notifications', path: '/:username/notifications', component: Notifications, props: () => ({ disableTeleport: true }), beforeEnter: validateAuthenticatedRoute },
{ name: 'login', path: '/login', component: AuthForm }, { name: 'login', path: '/login', component: AuthForm },
{ name: 'chat-panel', path: '/chat-panel', component: ChatPanel, props: () => ({ floating: false }) }, { name: 'shout-panel', path: '/shout-panel', component: ShoutPanel, props: () => ({ floating: false }) },
{ name: 'oauth-callback', path: '/oauth-callback', component: OAuthCallback, props: (route) => ({ code: route.query.code }) }, { name: 'oauth-callback', path: '/oauth-callback', component: OAuthCallback, props: (route) => ({ code: route.query.code }) },
{ name: 'search', path: '/search', component: Search, props: (route) => ({ query: route.query.query }) }, { name: 'search', path: '/search', component: Search, props: (route) => ({ query: route.query.query }) },
{ name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow, beforeEnter: validateAuthenticatedRoute }, { name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow, beforeEnter: validateAuthenticatedRoute },
{ name: 'about', path: '/about', component: About }, { name: 'about', path: '/about', component: About },
{ name: 'user-profile', path: '/(users/)?:name', component: UserProfile } { name: 'announcements', path: '/announcements', component: AnnouncementsPage },
{ name: 'user-profile', path: '/users/:name', component: UserProfile },
{ name: 'legacy-user-profile', path: '/:name', component: UserProfile },
{ name: 'lists', path: '/lists', component: Lists },
{ name: 'lists-timeline', path: '/lists/:id', component: ListsTimeline },
{ name: 'lists-edit', path: '/lists/:id/edit', component: ListsEdit },
{ name: 'lists-new', path: '/lists/new', component: ListsEdit },
{ name: 'edit-navigation', path: '/nav-edit', component: NavPanel, props: () => ({ forceExpand: true, forceEditMode: true }), beforeEnter: validateAuthenticatedRoute }
] ]
if (store.state.instance.pleromaChatMessagesAvailable) { if (store.state.instance.pleromaChatMessagesAvailable) {

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="sidebar"> <div class="column-inner">
<instance-specific-panel v-if="showInstanceSpecificPanel" /> <instance-specific-panel v-if="showInstanceSpecificPanel" />
<staff-panel /> <staff-panel />
<terms-of-service-panel /> <terms-of-service-panel />
@ -8,7 +8,4 @@
</div> </div>
</template> </template>
<script src="./about.js" ></script> <script src="./about.js"></script>
<style lang="scss">
</style>

View File

@ -1,6 +1,8 @@
import { mapState } from 'vuex' import { mapState } from 'vuex'
import ProgressButton from '../progress_button/progress_button.vue' import ProgressButton from '../progress_button/progress_button.vue'
import Popover from '../popover/popover.vue' import Popover from '../popover/popover.vue'
import UserListMenu from 'src/components/user_list_menu/user_list_menu.vue'
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
import { library } from '@fortawesome/fontawesome-svg-core' import { library } from '@fortawesome/fontawesome-svg-core'
import { import {
faEllipsisV faEllipsisV
@ -15,13 +17,30 @@ const AccountActions = {
'user', 'relationship' 'user', 'relationship'
], ],
data () { data () {
return { } return {
showingConfirmBlock: false,
showingConfirmRemoveFollower: false
}
}, },
components: { components: {
ProgressButton, ProgressButton,
Popover Popover,
UserListMenu,
ConfirmModal
}, },
methods: { methods: {
showConfirmBlock () {
this.showingConfirmBlock = true
},
hideConfirmBlock () {
this.showingConfirmBlock = false
},
showConfirmRemoveUserFromFollowers () {
this.showingConfirmRemoveFollower = true
},
hideConfirmRemoveUserFromFollowers () {
this.showingConfirmRemoveFollower = false
},
showRepeats () { showRepeats () {
this.$store.dispatch('showReblogs', this.user.id) this.$store.dispatch('showReblogs', this.user.id)
}, },
@ -29,22 +48,47 @@ const AccountActions = {
this.$store.dispatch('hideReblogs', this.user.id) this.$store.dispatch('hideReblogs', this.user.id)
}, },
blockUser () { blockUser () {
if (!this.shouldConfirmBlock) {
this.doBlockUser()
} else {
this.showConfirmBlock()
}
},
doBlockUser () {
this.$store.dispatch('blockUser', this.user.id) this.$store.dispatch('blockUser', this.user.id)
this.hideConfirmBlock()
}, },
unblockUser () { unblockUser () {
this.$store.dispatch('unblockUser', this.user.id) this.$store.dispatch('unblockUser', this.user.id)
}, },
removeUserFromFollowers () {
if (!this.shouldConfirmRemoveUserFromFollowers) {
this.doRemoveUserFromFollowers()
} else {
this.showConfirmRemoveUserFromFollowers()
}
},
doRemoveUserFromFollowers () {
this.$store.dispatch('removeUserFromFollowers', this.user.id)
this.hideConfirmRemoveUserFromFollowers()
},
reportUser () { reportUser () {
this.$store.dispatch('openUserReportingModal', { userId: this.user.id }) this.$store.dispatch('openUserReportingModal', { userId: this.user.id })
}, },
openChat () { openChat () {
this.$router.push({ this.$router.push({
name: 'chat', name: 'chat',
params: { recipient_id: this.user.id } params: { username: this.$store.state.users.currentUser.screen_name, recipient_id: this.user.id }
}) })
} }
}, },
computed: { computed: {
shouldConfirmBlock () {
return this.$store.getters.mergedConfig.modalOnBlock
},
shouldConfirmRemoveUserFromFollowers () {
return this.$store.getters.mergedConfig.modalOnRemoveUserFromFollowers
},
...mapState({ ...mapState({
pleromaChatMessagesAvailable: state => state.instance.pleromaChatMessagesAvailable pleromaChatMessagesAvailable: state => state.instance.pleromaChatMessagesAvailable
}) })

View File

@ -6,22 +6,19 @@
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
remove-padding remove-padding
> >
<div <template #content>
slot="content"
class="account-tools-popover"
>
<div class="dropdown-menu"> <div class="dropdown-menu">
<template v-if="relationship.following"> <template v-if="relationship.following">
<button <button
v-if="relationship.showing_reblogs" v-if="relationship.showing_reblogs"
class="btn button-default dropdown-item" class="dropdown-item menu-item"
@click="hideRepeats" @click="hideRepeats"
> >
{{ $t('user_card.hide_repeats') }} {{ $t('user_card.hide_repeats') }}
</button> </button>
<button <button
v-if="!relationship.showing_reblogs" v-if="!relationship.showing_reblogs"
class="btn button-default dropdown-item" class="dropdown-item menu-item"
@click="showRepeats" @click="showRepeats"
> >
{{ $t('user_card.show_repeats') }} {{ $t('user_card.show_repeats') }}
@ -31,68 +28,106 @@
class="dropdown-divider" class="dropdown-divider"
/> />
</template> </template>
<UserListMenu :user="user" />
<button
v-if="relationship.followed_by"
class="dropdown-item menu-item"
@click="removeUserFromFollowers"
>
{{ $t('user_card.remove_follower') }}
</button>
<button <button
v-if="relationship.blocking" v-if="relationship.blocking"
class="btn button-default btn-block dropdown-item" class="dropdown-item menu-item"
@click="unblockUser" @click="unblockUser"
> >
{{ $t('user_card.unblock') }} {{ $t('user_card.unblock') }}
</button> </button>
<button <button
v-else v-else
class="btn button-default btn-block dropdown-item" class="dropdown-item menu-item"
@click="blockUser" @click="blockUser"
> >
{{ $t('user_card.block') }} {{ $t('user_card.block') }}
</button> </button>
<button <button
class="btn button-default btn-block dropdown-item" class="dropdown-item menu-item"
@click="reportUser" @click="reportUser"
> >
{{ $t('user_card.report') }} {{ $t('user_card.report') }}
</button> </button>
<button <button
v-if="pleromaChatMessagesAvailable" v-if="pleromaChatMessagesAvailable"
class="btn button-default btn-block dropdown-item" class="dropdown-item menu-item"
@click="openChat" @click="openChat"
> >
{{ $t('user_card.message') }} {{ $t('user_card.message') }}
</button> </button>
</div> </div>
</div> </template>
<div <template #trigger>
slot="trigger" <button class="button-unstyled ellipsis-button">
class="ellipsis-button" <FAIcon
> class="icon"
<FAIcon icon="ellipsis-v"
class="icon" />
icon="ellipsis-v" </button>
/> </template>
</div>
</Popover> </Popover>
<teleport to="#modal">
<confirm-modal
v-if="showingConfirmBlock"
:title="$t('user_card.block_confirm_title')"
:confirm-text="$t('user_card.block_confirm_accept_button')"
:cancel-text="$t('user_card.block_confirm_cancel_button')"
@accepted="doBlockUser"
@cancelled="hideConfirmBlock"
>
<i18n-t
keypath="user_card.block_confirm"
tag="span"
>
<template #user>
<span
v-text="user.screen_name_ui"
/>
</template>
</i18n-t>
</confirm-modal>
</teleport>
<teleport to="#modal">
<confirm-modal
v-if="showingConfirmRemoveFollower"
:title="$t('user_card.remove_follower_confirm_title')"
:confirm-text="$t('user_card.remove_follower_confirm_accept_button')"
:cancel-text="$t('user_card.remove_follower_confirm_cancel_button')"
@accepted="doRemoveUserFromFollowers"
@cancelled="hideConfirmRemoveUserFromFollowers"
>
<i18n-t
keypath="user_card.remove_follower_confirm"
tag="span"
>
<template #user>
<span
v-text="user.screen_name_ui"
/>
</template>
</i18n-t>
</confirm-modal>
</teleport>
</div> </div>
</template> </template>
<script src="./account_actions.js"></script> <script src="./account_actions.js"></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss';
.AccountActions { .AccountActions {
button.dropdown-item {
margin-left: 0;
}
.ellipsis-button { .ellipsis-button {
cursor: pointer;
width: 2.5em; width: 2.5em;
margin: -0.5em 0; margin: -0.5em 0;
padding: 0.5em 0; padding: 0.5em 0;
text-align: center; text-align: center;
&:not(:hover) .icon {
color: $fallback--lightText;
color: var(--lightText, $fallback--lightText);
}
} }
} }
</style> </style>

View File

@ -0,0 +1,51 @@
export default {
name: 'Alert',
selector: '.alert',
validInnerComponents: [
'Text',
'Icon',
'Link',
'Border',
'ButtonUnstyled'
],
variants: {
normal: '.neutral',
error: '.error',
warning: '.warning',
success: '.success'
},
defaultRules: [
{
directives: {
background: '--text',
opacity: 0.5,
blur: '9px'
}
},
{
parent: {
component: 'Alert'
},
component: 'Border',
textColor: '--parent'
},
{
variant: 'error',
directives: {
background: '--cRed'
}
},
{
variant: 'warning',
directives: {
background: '--cOrange'
}
},
{
variant: 'success',
directives: {
background: '--cGreen'
}
}
]
}

View File

@ -0,0 +1,108 @@
import { mapState } from 'vuex'
import AnnouncementEditor from '../announcement_editor/announcement_editor.vue'
import RichContent from '../rich_content/rich_content.jsx'
import localeService from '../../services/locale/locale.service.js'
const Announcement = {
components: {
AnnouncementEditor,
RichContent
},
data () {
return {
editing: false,
editedAnnouncement: {
content: '',
startsAt: undefined,
endsAt: undefined,
allDay: undefined
},
editError: ''
}
},
props: {
announcement: Object
},
computed: {
...mapState({
currentUser: state => state.users.currentUser
}),
canEditAnnouncement () {
return this.currentUser && this.currentUser.privileges.includes('announcements_manage_announcements')
},
content () {
return this.announcement.content
},
isRead () {
return this.announcement.read
},
publishedAt () {
const time = this.announcement.published_at
if (!time) {
return
}
return this.formatTimeOrDate(time, localeService.internalToBrowserLocale(this.$i18n.locale))
},
startsAt () {
const time = this.announcement.starts_at
if (!time) {
return
}
return this.formatTimeOrDate(time, localeService.internalToBrowserLocale(this.$i18n.locale))
},
endsAt () {
const time = this.announcement.ends_at
if (!time) {
return
}
return this.formatTimeOrDate(time, localeService.internalToBrowserLocale(this.$i18n.locale))
},
inactive () {
return this.announcement.inactive
}
},
methods: {
markAsRead () {
if (!this.isRead) {
return this.$store.dispatch('markAnnouncementAsRead', this.announcement.id)
}
},
deleteAnnouncement () {
return this.$store.dispatch('deleteAnnouncement', this.announcement.id)
},
formatTimeOrDate (time, locale) {
const d = new Date(time)
return this.announcement.all_day ? d.toLocaleDateString(locale) : d.toLocaleString(locale)
},
enterEditMode () {
this.editedAnnouncement.content = this.announcement.pleroma.raw_content
this.editedAnnouncement.startsAt = this.announcement.starts_at
this.editedAnnouncement.endsAt = this.announcement.ends_at
this.editedAnnouncement.allDay = this.announcement.all_day
this.editing = true
},
submitEdit () {
this.$store.dispatch('editAnnouncement', {
id: this.announcement.id,
...this.editedAnnouncement
})
.then(() => {
this.editing = false
})
.catch(error => {
this.editError = error.error
})
},
cancelEdit () {
this.editing = false
},
clearError () {
this.editError = undefined
}
}
}
export default Announcement

View File

@ -0,0 +1,134 @@
<template>
<div class="announcement">
<div class="heading">
<h4>{{ $t('announcements.title') }}</h4>
</div>
<div class="body">
<rich-content
v-if="!editing"
:html="content"
:emoji="announcement.emojis"
:handle-links="true"
/>
<announcement-editor
v-else
:announcement="editedAnnouncement"
/>
</div>
<div class="footer">
<div
v-if="!editing"
class="times"
>
<span v-if="publishedAt">
{{ $t('announcements.published_time_display', { time: publishedAt }) }}
</span>
<span v-if="startsAt">
{{ $t('announcements.start_time_display', { time: startsAt }) }}
</span>
<span v-if="endsAt">
{{ $t('announcements.end_time_display', { time: endsAt }) }}
</span>
</div>
<div
v-if="!editing"
class="actions"
>
<button
v-if="currentUser"
class="btn button-default"
:class="{ toggled: isRead }"
:disabled="inactive"
:title="inactive ? $t('announcements.inactive_message') : ''"
@click="markAsRead"
>
{{ $t('announcements.mark_as_read_action') }}
</button>
<button
v-if="canEditAnnouncement"
class="btn button-default"
@click="enterEditMode"
>
{{ $t('announcements.edit_action') }}
</button>
<button
v-if="canEditAnnouncement"
class="btn button-default"
@click="deleteAnnouncement"
>
{{ $t('announcements.delete_action') }}
</button>
</div>
<div
v-else
class="actions"
>
<button
class="btn button-default"
@click="submitEdit"
>
{{ $t('announcements.submit_edit_action') }}
</button>
<button
class="btn button-default"
@click="cancelEdit"
>
{{ $t('announcements.cancel_edit_action') }}
</button>
<div
v-if="editing && editError"
class="alert error"
>
{{ $t('announcements.edit_error', { error }) }}
<button
class="button-unstyled"
@click="clearError"
>
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="times"
:title="$t('announcements.close_error')"
/>
</button>
</div>
</div>
</div>
</div>
</template>
<script src="./announcement.js"></script>
<style lang="scss">
.announcement {
border-bottom: 1px solid var(--border);
border-radius: 0;
padding: var(--status-margin);
.heading,
.body {
margin-bottom: var(--status-margin);
}
.footer {
display: flex;
flex-direction: column;
.times {
display: flex;
flex-direction: column;
}
}
.footer .actions {
display: flex;
flex-direction: row;
justify-content: space-evenly;
.btn {
flex: 1;
margin: 1em;
max-width: 10em;
}
}
}
</style>

View File

@ -0,0 +1,13 @@
import Checkbox from '../checkbox/checkbox.vue'
const AnnouncementEditor = {
components: {
Checkbox
},
props: {
announcement: Object,
disabled: Boolean
}
}
export default AnnouncementEditor

View File

@ -0,0 +1,62 @@
<template>
<div class="announcement-editor">
<textarea
ref="textarea"
v-model="announcement.content"
class="input post-textarea"
rows="1"
cols="1"
:placeholder="$t('announcements.post_placeholder')"
:disabled="disabled"
/>
<span class="announcement-metadata">
<label for="announcement-start-time">{{ $t('announcements.start_time_prompt') }}</label>
<input
id="announcement-start-time"
v-model="announcement.startsAt"
class="input"
:type="announcement.allDay ? 'date' : 'datetime-local'"
:disabled="disabled"
>
</span>
<span class="announcement-metadata">
<label for="announcement-end-time">{{ $t('announcements.end_time_prompt') }}</label>
<input
id="announcement-end-time"
v-model="announcement.endsAt"
class="input"
:type="announcement.allDay ? 'date' : 'datetime-local'"
:disabled="disabled"
>
</span>
<span class="announcement-metadata">
<Checkbox
id="announcement-all-day"
v-model="announcement.allDay"
:disabled="disabled"
/>
<label for="announcement-all-day">{{ $t('announcements.all_day_prompt') }}</label>
</span>
</div>
</template>
<script src="./announcement_editor.js"></script>
<style lang="scss">
.announcement-editor {
display: flex;
align-items: stretch;
flex-direction: column;
.announcement-metadata {
margin-top: 0.5em;
}
.post-textarea {
resize: vertical;
height: 10em;
overflow: none;
box-sizing: content-box;
}
}
</style>

View File

@ -0,0 +1,58 @@
import { mapState } from 'vuex'
import Announcement from '../announcement/announcement.vue'
import AnnouncementEditor from '../announcement_editor/announcement_editor.vue'
const AnnouncementsPage = {
components: {
Announcement,
AnnouncementEditor
},
data () {
return {
newAnnouncement: {
content: '',
startsAt: undefined,
endsAt: undefined,
allDay: false
},
posting: false,
error: undefined
}
},
mounted () {
this.$store.dispatch('fetchAnnouncements')
},
computed: {
...mapState({
currentUser: state => state.users.currentUser
}),
announcements () {
return this.$store.state.announcements.announcements
},
canPostAnnouncement () {
return this.currentUser && this.currentUser.privileges.includes('announcements_manage_announcements')
}
},
methods: {
postAnnouncement () {
this.posting = true
this.$store.dispatch('postAnnouncement', this.newAnnouncement)
.then(() => {
this.newAnnouncement.content = ''
this.startsAt = undefined
this.endsAt = undefined
})
.catch(error => {
this.error = error.error
})
.finally(() => {
this.posting = false
})
},
clearError () {
this.error = undefined
}
}
}
export default AnnouncementsPage

View File

@ -0,0 +1,78 @@
<template>
<div class="panel panel-default announcements-page">
<div class="panel-heading">
<span>
{{ $t('announcements.page_header') }}
</span>
</div>
<div class="panel-body">
<section
v-if="canPostAnnouncement"
>
<div class="post-form">
<div class="heading">
<h4>{{ $t('announcements.post_form_header') }}</h4>
</div>
<div class="body">
<announcement-editor
:announcement="newAnnouncement"
:disabled="posting"
/>
</div>
<div class="footer">
<button
class="btn button-default post-button"
:disabled="posting"
@click.prevent="postAnnouncement"
>
{{ $t('announcements.post_action') }}
</button>
<div
v-if="error"
class="alert error"
>
{{ $t('announcements.post_error', { error }) }}
<button
class="button-unstyled"
@click="clearError"
>
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="times"
:title="$t('announcements.close_error')"
/>
</button>
</div>
</div>
</div>
</section>
<section
v-for="announcement in announcements"
:key="announcement.id"
>
<announcement
:announcement="announcement"
/>
</section>
</div>
</div>
</template>
<script src="./announcements_page.js"></script>
<style lang="scss">
.announcements-page {
.post-form {
padding: var(--status-margin);
.heading,
.body {
margin-bottom: var(--status-margin);
}
.post-button {
min-width: 10em;
}
}
}
</style>

View File

@ -19,6 +19,7 @@
<script> <script>
export default { export default {
emits: ['resetAsyncComponent'],
methods: { methods: {
retry () { retry () {
this.$emit('resetAsyncComponent') this.$emit('resetAsyncComponent')
@ -33,9 +34,10 @@ export default {
height: 100%; height: 100%;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.btn { .btn {
margin: .5em; margin: 0.5em;
padding: .5em 2em; padding: 0.5em 2em;
} }
} }
</style> </style>

View File

@ -1,4 +1,5 @@
import StillImage from '../still-image/still-image.vue' import StillImage from '../still-image/still-image.vue'
import Flash from '../flash/flash.vue'
import VideoAttachment from '../video_attachment/video_attachment.vue' import VideoAttachment from '../video_attachment/video_attachment.vue'
import nsfwImage from '../../assets/nsfw.png' import nsfwImage from '../../assets/nsfw.png'
import fileTypeService from '../../services/file_type/file_type.service.js' import fileTypeService from '../../services/file_type/file_type.service.js'
@ -10,7 +11,12 @@ import {
faImage, faImage,
faVideo, faVideo,
faPlayCircle, faPlayCircle,
faTimes faTimes,
faStop,
faSearchPlus,
faTrashAlt,
faPencilAlt,
faAlignRight
} from '@fortawesome/free-solid-svg-icons' } from '@fortawesome/free-solid-svg-icons'
library.add( library.add(
@ -19,36 +25,66 @@ library.add(
faImage, faImage,
faVideo, faVideo,
faPlayCircle, faPlayCircle,
faTimes faTimes,
faStop,
faSearchPlus,
faTrashAlt,
faPencilAlt,
faAlignRight
) )
const Attachment = { const Attachment = {
props: [ props: [
'attachment', 'attachment',
'compact',
'description',
'hideDescription',
'nsfw', 'nsfw',
'size', 'size',
'allowPlay',
'setMedia', 'setMedia',
'naturalSizeLoad' 'remove',
'shiftUp',
'shiftDn',
'edit'
], ],
data () { data () {
return { return {
localDescription: this.description || this.attachment.description,
nsfwImage: this.$store.state.instance.nsfwCensorImage || nsfwImage, nsfwImage: this.$store.state.instance.nsfwCensorImage || nsfwImage,
hideNsfwLocal: this.$store.getters.mergedConfig.hideNsfw, hideNsfwLocal: this.$store.getters.mergedConfig.hideNsfw,
preloadImage: this.$store.getters.mergedConfig.preloadImage, preloadImage: this.$store.getters.mergedConfig.preloadImage,
loading: false, loading: false,
img: fileTypeService.fileType(this.attachment.mimetype) === 'image' && document.createElement('img'), img: fileTypeService.fileType(this.attachment.mimetype) === 'image' && document.createElement('img'),
modalOpen: false, modalOpen: false,
showHidden: false showHidden: false,
flashLoaded: false,
showDescription: false
} }
}, },
components: { components: {
Flash,
StillImage, StillImage,
VideoAttachment VideoAttachment
}, },
computed: { computed: {
classNames () {
return [
{
'-loading': this.loading,
'-nsfw-placeholder': this.hidden,
'-editable': this.edit !== undefined,
'-compact': this.compact
},
'-type-' + this.type,
this.size && '-size-' + this.size,
`-${this.useContainFit ? 'contain' : 'cover'}-fit`
]
},
usePlaceholder () { usePlaceholder () {
return this.size === 'hide' || this.type === 'unknown' return this.size === 'hide'
},
useContainFit () {
return this.$store.getters.mergedConfig.useContainFit
}, },
placeholderName () { placeholderName () {
if (this.attachment.description === '' || !this.attachment.description) { if (this.attachment.description === '' || !this.attachment.description) {
@ -72,24 +108,36 @@ const Attachment = {
return this.nsfw && this.hideNsfwLocal && !this.showHidden return this.nsfw && this.hideNsfwLocal && !this.showHidden
}, },
isEmpty () { isEmpty () {
return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown' return (this.type === 'html' && !this.attachment.oembed)
},
isSmall () {
return this.size === 'small'
},
fullwidth () {
if (this.size === 'hide') return false
return this.type === 'html' || this.type === 'audio' || this.type === 'unknown'
}, },
useModal () { useModal () {
const modalTypes = this.size === 'hide' ? ['image', 'video', 'audio'] let modalTypes = []
: this.mergedConfig.playVideosInModal switch (this.size) {
? ['image', 'video'] case 'hide':
: ['image'] case 'small':
modalTypes = ['image', 'video', 'audio', 'flash']
break
default:
modalTypes = this.mergedConfig.playVideosInModal
? ['image', 'video', 'flash']
: ['image']
break
}
return modalTypes.includes(this.type) return modalTypes.includes(this.type)
}, },
videoTag () {
return this.useModal ? 'button' : 'span'
},
...mapGetters(['mergedConfig']) ...mapGetters(['mergedConfig'])
}, },
watch: {
'attachment.description' (newVal) {
this.localDescription = newVal
},
localDescription (newVal) {
this.onEdit(newVal)
}
},
methods: { methods: {
linkClicked ({ target }) { linkClicked ({ target }) {
if (target.tagName === 'A') { if (target.tagName === 'A') {
@ -98,12 +146,37 @@ const Attachment = {
}, },
openModal (event) { openModal (event) {
if (this.useModal) { if (this.useModal) {
event.stopPropagation() this.$emit('setMedia')
event.preventDefault() this.$store.dispatch('setCurrentMedia', this.attachment)
this.setMedia() } else if (this.type === 'unknown') {
this.$store.dispatch('setCurrent', this.attachment) window.open(this.attachment.url)
} }
}, },
openModalForce (event) {
this.$emit('setMedia')
this.$store.dispatch('setCurrentMedia', this.attachment)
},
onEdit (event) {
this.edit && this.edit(this.attachment, event)
},
onRemove () {
this.remove && this.remove(this.attachment)
},
onShiftUp () {
this.shiftUp && this.shiftUp(this.attachment)
},
onShiftDn () {
this.shiftDn && this.shiftDn(this.attachment)
},
stopFlash () {
this.$refs.flash.closePlayer()
},
setFlashLoaded (event) {
this.flashLoaded = event
},
toggleDescription () {
this.showDescription = !this.showDescription
},
toggleHidden (event) { toggleHidden (event) {
if ( if (
(this.mergedConfig.useOneClickNsfw && !this.showHidden) && (this.mergedConfig.useOneClickNsfw && !this.showHidden) &&
@ -130,7 +203,7 @@ const Attachment = {
onImageLoad (image) { onImageLoad (image) {
const width = image.naturalWidth const width = image.naturalWidth
const height = image.naturalHeight const height = image.naturalHeight
this.naturalSizeLoad && this.naturalSizeLoad({ width, height }) this.$emit('naturalSizeLoad', { id: this.attachment.id, width, height })
} }
} }
} }

View File

@ -0,0 +1,266 @@
.Attachment {
display: inline-flex;
flex-direction: column;
position: relative;
align-self: flex-start;
line-height: 0;
height: 100%;
border-style: solid;
border-width: 1px;
border-radius: var(--roundness);
border-color: var(--border);
.attachment-wrapper {
flex: 1 1 auto;
height: 100%;
position: relative;
overflow: hidden;
}
.description-container {
flex: 0 1 0;
display: flex;
padding-top: 0.5em;
z-index: 1;
p {
flex: 1;
text-align: center;
line-height: 1.5;
padding: 0.5em;
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
&.-static {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding-top: 0;
background: var(--popover);
box-shadow: var(--popupShadow);
}
}
.description-field {
flex: 1;
min-width: 0;
}
& .placeholder-container,
& .image-container,
& .audio-container,
& .video-container,
& .flash-container,
& .oembed-container {
display: flex;
justify-content: center;
width: 100%;
height: 100%;
}
.image-container {
.image {
width: 100%;
height: 100%;
}
}
& .flash-container,
& .video-container {
& .flash,
& video {
width: 100%;
height: 100%;
object-fit: contain;
align-self: center;
}
}
.video-container {
border: none;
outline: none;
color: inherit;
background: transparent;
}
.audio-container {
display: flex;
align-items: flex-end;
audio {
width: 100%;
height: 100%;
}
}
.placeholder-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 0.5em;
}
.play-icon {
position: absolute;
font-size: 64px;
top: calc(50% - 32px);
left: calc(50% - 32px);
color: rgb(255 255 255 / 75%);
text-shadow: 0 0 2px rgb(0 0 0 / 40%);
&::before {
margin: 0;
}
}
.attachment-buttons {
display: flex;
position: absolute;
right: 0;
top: 0;
margin-top: 0.5em;
margin-right: 0.5em;
z-index: 1;
.attachment-button {
padding: 0;
border-radius: var(--roundness);
text-align: center;
width: 2em;
height: 2em;
margin-left: 0.5em;
font-size: 1.25em;
}
}
&.-contain-fit {
img,
canvas {
object-fit: contain;
}
}
&.-cover-fit {
img,
canvas {
object-fit: cover;
}
}
.oembed-container {
line-height: 1.2em;
flex: 1 0 100%;
width: 100%;
margin-right: 15px;
display: flex;
img {
width: 100%;
}
.image {
flex: 1;
img {
border: 0;
border-radius: 5px;
height: 100%;
object-fit: cover;
}
}
.text {
flex: 2;
margin: 8px;
word-break: break-all;
h1 {
font-size: 1rem;
margin: 0;
}
}
}
&.-size-small {
.play-icon {
zoom: 0.5;
opacity: 0.7;
}
.attachment-buttons {
zoom: 0.7;
opacity: 0.5;
}
}
&.-editable {
padding: 0.5em;
& .description-container,
& .attachment-buttons {
margin: 0;
}
}
&.-placeholder {
display: inline-block;
color: var(--link);
overflow: hidden;
white-space: nowrap;
height: auto;
line-height: 1.5;
&:not(.-editable) {
border: none;
}
&.-editable {
display: flex;
flex-direction: row;
align-items: baseline;
& .description-container,
& .attachment-buttons {
margin: 0;
padding: 0;
position: relative;
}
.description-container {
flex: 1;
padding-left: 0.5em;
}
.attachment-buttons {
order: 99;
align-self: center;
}
}
a {
display: inline-block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
svg {
color: inherit;
}
}
&.-loading {
cursor: progress;
}
&.-compact {
.placeholder-container {
padding-bottom: 0.5em;
}
}
}

View File

@ -0,0 +1,24 @@
export default {
name: 'Attachment',
selector: '.Attachment',
validInnerComponents: [
'Border',
'ButtonUnstyled',
'Input'
],
defaultRules: [
{
directives: {
roundness: 3
}
},
{
component: 'ButtonUnstyled',
parent: { component: 'Attachment' },
directives: {
background: '#FFFFFF',
opacity: 0.5
}
}
]
}

View File

@ -1,7 +1,8 @@
<template> <template>
<div <button
v-if="usePlaceholder" v-if="usePlaceholder"
:class="{ 'fullwidth': fullwidth }" class="Attachment -placeholder button-unstyled"
:class="classNames"
@click="openModal" @click="openModal"
> >
<a <a
@ -11,312 +12,257 @@
:href="attachment.url" :href="attachment.url"
:alt="attachment.description" :alt="attachment.description"
:title="attachment.description" :title="attachment.description"
@click.prevent
> >
<FAIcon :icon="placeholderIconClass" /> <FAIcon :icon="placeholderIconClass" />
<b>{{ nsfw ? "NSFW / " : "" }}</b>{{ placeholderName }} <b>{{ nsfw ? "NSFW / " : "" }}</b>{{ edit ? '' : placeholderName }}
</a> </a>
</div> <div
v-if="edit || remove"
class="attachment-buttons"
>
<button
v-if="remove"
class="button-unstyled attachment-button"
@click.prevent="onRemove"
>
<FAIcon icon="trash-alt" />
</button>
</div>
<div
v-if="size !== 'hide' && !hideDescription && (edit || localDescription || showDescription)"
class="description-container"
:class="{ '-static': !edit }"
>
<input
v-if="edit"
v-model="localDescription"
type="text"
class="input description-field"
:placeholder="$t('post_status.media_description')"
@keydown.enter.prevent=""
>
<p v-else>
{{ localDescription }}
</p>
</div>
</button>
<div <div
v-else v-else
v-show="!isEmpty" class="Attachment"
class="attachment" :class="classNames"
:class="{[type]: true, loading, 'fullwidth': fullwidth, 'nsfw-placeholder': hidden}"
> >
<a
v-if="hidden"
class="image-attachment"
:href="attachment.url"
:alt="attachment.description"
:title="attachment.description"
@click.prevent.stop="toggleHidden"
>
<img
:key="nsfwImage"
class="nsfw"
:src="nsfwImage"
:class="{'small': isSmall}"
>
<FAIcon
v-if="type === 'video'"
class="play-icon"
icon="play-circle"
/>
</a>
<button
v-if="nsfw && hideNsfwLocal && !hidden"
class="button-unstyled hider"
@click.prevent="toggleHidden"
>
<FAIcon icon="times" />
</button>
<a
v-if="type === 'image' && (!hidden || preloadImage)"
class="image-attachment"
:class="{'hidden': hidden && preloadImage }"
:href="attachment.url"
target="_blank"
@click="openModal"
>
<StillImage
class="image"
:referrerpolicy="referrerpolicy"
:mimetype="attachment.mimetype"
:src="attachment.large_thumb_url || attachment.url"
:image-load-handler="onImageLoad"
:alt="attachment.description"
/>
</a>
<a
v-if="type === 'video' && !hidden"
class="video-container"
:class="{'small': isSmall}"
:href="allowPlay ? undefined : attachment.url"
@click="openModal"
>
<VideoAttachment
class="video"
:attachment="attachment"
:controls="allowPlay"
@play="$emit('play')"
@pause="$emit('pause')"
/>
<FAIcon
v-if="!allowPlay"
class="play-icon"
icon="play-circle"
/>
</a>
<audio
v-if="type === 'audio'"
:src="attachment.url"
:alt="attachment.description"
:title="attachment.description"
controls
@play="$emit('play')"
@pause="$emit('pause')"
/>
<div <div
v-if="type === 'html' && attachment.oembed" v-show="!isEmpty"
class="oembed" class="attachment-wrapper"
@click.prevent="linkClicked"
> >
<div <a
v-if="attachment.thumb_url" v-if="hidden"
class="image" class="image-container"
:href="attachment.url"
:alt="attachment.description"
:title="attachment.description"
@click.prevent.stop="toggleHidden"
> >
<img :src="attachment.thumb_url"> <img
:key="nsfwImage"
class="nsfw"
:src="nsfwImage"
>
<FAIcon
v-if="type === 'video'"
class="play-icon"
icon="play-circle"
/>
</a>
<div
v-if="!hidden"
class="attachment-buttons"
>
<button
v-if="type === 'flash' && flashLoaded"
class="button-unstyled attachment-button"
:title="$t('status.attachment_stop_flash')"
@click.prevent="stopFlash"
>
<FAIcon icon="stop" />
</button>
<button
v-if="attachment.description && size !== 'small' && !edit && type !== 'unknown'"
class="button-unstyled attachment-button"
:title="$t('status.show_attachment_description')"
@click.prevent="toggleDescription"
>
<FAIcon icon="align-right" />
</button>
<button
v-if="!useModal && type !== 'unknown'"
class="button-unstyled attachment-button"
:title="$t('status.show_attachment_in_modal')"
@click.prevent="openModalForce"
>
<FAIcon icon="search-plus" />
</button>
<button
v-if="nsfw && hideNsfwLocal"
class="button-unstyled attachment-button"
:title="$t('status.hide_attachment')"
@click.prevent="toggleHidden"
>
<FAIcon icon="times" />
</button>
<button
v-if="shiftUp"
class="button-unstyled attachment-button"
:title="$t('status.move_up')"
@click.prevent="onShiftUp"
>
<FAIcon icon="chevron-left" />
</button>
<button
v-if="shiftDn"
class="button-unstyled attachment-button"
:title="$t('status.move_down')"
@click.prevent="onShiftDn"
>
<FAIcon icon="chevron-right" />
</button>
<button
v-if="remove"
class="button-unstyled attachment-button"
:title="$t('status.remove_attachment')"
@click.prevent="onRemove"
>
<FAIcon icon="trash-alt" />
</button>
</div> </div>
<div class="text">
<!-- eslint-disable vue/no-v-html --> <a
<h1><a :href="attachment.url">{{ attachment.oembed.title }}</a></h1> v-if="type === 'image' && (!hidden || preloadImage)"
<div v-html="attachment.oembed.oembedHTML" /> class="image-container"
<!-- eslint-enable vue/no-v-html --> :class="{'-hidden': hidden && preloadImage }"
:href="attachment.url"
target="_blank"
@click.stop.prevent="openModal"
>
<StillImage
class="image"
:referrerpolicy="referrerpolicy"
:mimetype="attachment.mimetype"
:src="attachment.large_thumb_url || attachment.url"
:image-load-handler="onImageLoad"
:alt="attachment.description"
/>
</a>
<a
v-if="type === 'unknown' && !hidden"
class="placeholder-container"
:href="attachment.url"
target="_blank"
>
<FAIcon
:size="compact ? '2x' : '5x'"
:icon="placeholderIconClass"
:title="localDescription"
/>
<p v-if="!compact">
{{ localDescription }}
</p>
</a>
<component
:is="videoTag"
v-if="type === 'video' && !hidden"
class="video-container"
:href="attachment.url"
@click.stop.prevent="openModal"
>
<VideoAttachment
class="video"
:attachment="attachment"
:controls="!useModal"
@play="$emit('play')"
@pause="$emit('pause')"
/>
<FAIcon
v-if="useModal"
class="play-icon"
icon="play-circle"
/>
</component>
<span
v-if="type === 'audio' && !hidden"
class="audio-container"
:href="attachment.url"
@click.stop.prevent="openModal"
>
<audio
v-if="type === 'audio'"
:src="attachment.url"
:alt="attachment.description"
:title="attachment.description"
controls
@play="$emit('play')"
@pause="$emit('pause')"
/>
</span>
<div
v-if="type === 'html' && attachment.oembed"
class="oembed-container"
@click.prevent="linkClicked"
>
<div
v-if="attachment.thumb_url"
class="image"
>
<img :src="attachment.thumb_url">
</div>
<div class="text">
<!-- eslint-disable vue/no-v-html -->
<h1><a :href="attachment.url">{{ attachment.oembed.title }}</a></h1>
<div v-html="attachment.oembed.oembedHTML" />
<!-- eslint-enable vue/no-v-html -->
</div>
</div> </div>
<span
v-if="type === 'flash' && !hidden"
class="flash-container"
:href="attachment.url"
@click.stop.prevent="openModal"
>
<Flash
ref="flash"
class="flash"
:src="attachment.large_thumb_url || attachment.url"
@playerOpened="setFlashLoaded(true)"
@playerClosed="setFlashLoaded(false)"
/>
</span>
</div>
<div
v-if="size !== 'hide' && !hideDescription && (edit || (localDescription && showDescription))"
class="description-container"
:class="{ '-static': !edit }"
>
<input
v-if="edit"
v-model="localDescription"
type="text"
class="input description-field"
:placeholder="$t('post_status.media_description')"
@keydown.enter.prevent=""
>
<p v-else>
{{ localDescription }}
</p>
</div> </div>
</div> </div>
</template> </template>
<script src="./attachment.js"></script> <script src="./attachment.js"></script>
<style lang="scss"> <style src="./attachment.scss" lang="scss"></style>
@import '../../_variables.scss';
.attachments {
display: flex;
flex-wrap: wrap;
.non-gallery {
max-width: 100%;
}
.placeholder {
display: inline-block;
padding: 0.3em 1em 0.3em 0;
color: $fallback--link;
color: var(--postLink, $fallback--link);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 100%;
svg {
color: inherit;
}
}
.nsfw-placeholder {
cursor: pointer;
&.loading {
cursor: progress;
}
}
.attachment {
position: relative;
margin-top: 0.5em;
align-self: flex-start;
line-height: 0;
border-style: solid;
border-width: 1px;
border-radius: $fallback--attachmentRadius;
border-radius: var(--attachmentRadius, $fallback--attachmentRadius);
border-color: $fallback--border;
border-color: var(--border, $fallback--border);
overflow: hidden;
}
.non-gallery.attachment {
&.video {
flex: 1 0 40%;
}
.nsfw {
height: 260px;
}
.small {
height: 120px;
flex-grow: 0;
}
.video {
height: 260px;
display: flex;
}
video {
max-height: 100%;
object-fit: contain;
}
}
.fullwidth {
flex-basis: 100%;
}
// fixes small gap below video
&.video {
line-height: 0;
}
.video-container {
display: flex;
max-height: 100%;
}
.video {
width: 100%;
height: 100%;
}
.play-icon {
position: absolute;
font-size: 64px;
top: calc(50% - 32px);
left: calc(50% - 32px);
color: rgba(255, 255, 255, 0.75);
text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
}
.play-icon::before {
margin: 0;
}
&.html {
flex-basis: 90%;
width: 100%;
display: flex;
}
.hider {
position: absolute;
right: 0;
margin: 10px;
padding: 0;
z-index: 4;
border-radius: $fallback--tooltipRadius;
border-radius: var(--tooltipRadius, $fallback--tooltipRadius);
text-align: center;
width: 2em;
height: 2em;
font-size: 1.25em;
// TODO: theming? hard to theme with unknown background image color
background: rgba(230, 230, 230, 0.7);
.svg-inline--fa {
color: rgba(0, 0, 0, 0.6);
}
&:hover .svg-inline--fa {
color: rgba(0, 0, 0, 0.9);
}
}
video {
z-index: 0;
}
audio {
width: 100%;
}
img.media-upload {
line-height: 0;
max-height: 200px;
max-width: 100%;
}
.oembed {
line-height: 1.2em;
flex: 1 0 100%;
width: 100%;
margin-right: 15px;
display: flex;
img {
width: 100%;
}
.image {
flex: 1;
img {
border: 0px;
border-radius: 5px;
height: 100%;
object-fit: cover;
}
}
.text {
flex: 2;
margin: 8px;
word-break: break-all;
h1 {
font-size: 14px;
margin: 0px;
}
}
}
.image-attachment {
&,
& .image {
width: 100%;
height: 100%;
}
&.hidden {
display: none;
}
.nsfw {
object-fit: cover;
width: 100%;
height: 100%;
}
img {
image-orientation: from-image; // NOTE: only FF supports this
}
}
}
</style>

View File

@ -1,3 +1,4 @@
import { h, resolveComponent } from 'vue'
import LoginForm from '../login_form/login_form.vue' import LoginForm from '../login_form/login_form.vue'
import MFARecoveryForm from '../mfa_form/recovery_form.vue' import MFARecoveryForm from '../mfa_form/recovery_form.vue'
import MFATOTPForm from '../mfa_form/totp_form.vue' import MFATOTPForm from '../mfa_form/totp_form.vue'
@ -5,8 +6,8 @@ import { mapGetters } from 'vuex'
const AuthForm = { const AuthForm = {
name: 'AuthForm', name: 'AuthForm',
render (createElement) { render () {
return createElement('component', { is: this.authForm }) return h(resolveComponent(this.authForm))
}, },
computed: { computed: {
authForm () { authForm () {

View File

@ -1,3 +1,4 @@
<!-- FIXME THIS NEEDS TO BE REFACTORED TO USE POPOVER -->
<template> <template>
<div <div
v-click-outside="onClickOutside" v-click-outside="onClickOutside"
@ -6,12 +7,12 @@
<input <input
v-model="term" v-model="term"
:placeholder="placeholder" :placeholder="placeholder"
class="autosuggest-input" class="input autosuggest-input"
@click="onInputClick" @click="onInputClick"
> >
<div <div
v-if="resultsVisible && filtered.length > 0" v-if="resultsVisible && filtered.length > 0"
class="autosuggest-results" class="panel autosuggest-results"
> >
<slot <slot
v-for="item in filtered" v-for="item in filtered"
@ -24,8 +25,6 @@
<script src="./autosuggest.js"></script> <script src="./autosuggest.js"></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss';
.autosuggest { .autosuggest {
position: relative; position: relative;
@ -40,18 +39,15 @@
top: 100%; top: 100%;
right: 0; right: 0;
max-height: 400px; max-height: 400px;
background-color: $fallback--bg; background-color: var(--bg);
background-color: var(--bg, $fallback--bg);
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
border-color: $fallback--border; border-color: var(--border);
border-color: var(--border, $fallback--border); border-radius: var(--roundness);
border-radius: $fallback--inputRadius;
border-radius: var(--inputRadius, $fallback--inputRadius);
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); box-shadow: 1px 1px 4px rgb(0 0 0 / 60%);
box-shadow: var(--panelShadow); box-shadow: var(--shadow);
overflow-y: auto; overflow-y: auto;
z-index: 1; z-index: 1;
} }

View File

@ -14,11 +14,9 @@
</div> </div>
</template> </template>
<script src="./avatar_list.js" ></script> <script src="./avatar_list.js"></script>
<style lang="scss"> <style lang="scss">
@import '../../_variables.scss';
.avatars { .avatars {
display: flex; display: flex;
margin: 0; margin: 0;
@ -36,8 +34,7 @@
} }
.avatar-small { .avatar-small {
border-radius: $fallback--avatarAltRadius; border-radius: var(--roundness);
border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius);
height: 24px; height: 24px;
width: 24px; width: 24px;
} }

View File

@ -0,0 +1,30 @@
export default {
name: 'Badge',
selector: '.badge',
validInnerComponents: [
'Text',
'Icon'
],
variants: {
notification: '.-notification'
},
defaultRules: [
{
component: 'Root',
directives: {
'--badgeNotification': 'color | --cRed'
}
},
{
directives: {
background: '--cGreen'
}
},
{
variant: 'notification',
directives: {
background: '--cRed'
}
}
]
}

View File

@ -1,24 +1,20 @@
import UserCard from '../user_card/user_card.vue' import UserPopover from '../user_popover/user_popover.vue'
import UserAvatar from '../user_avatar/user_avatar.vue' import UserAvatar from '../user_avatar/user_avatar.vue'
import UserLink from '../user_link/user_link.vue'
import RichContent from 'src/components/rich_content/rich_content.jsx'
import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator' import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
const BasicUserCard = { const BasicUserCard = {
props: [ props: [
'user' 'user'
], ],
data () {
return {
userExpanded: false
}
},
components: { components: {
UserCard, UserPopover,
UserAvatar UserAvatar,
RichContent,
UserLink
}, },
methods: { methods: {
toggleUserExpanded () {
this.userExpanded = !this.userExpanded
},
userProfileLink (user) { userProfileLink (user) {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames) return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
} }

View File

@ -1,49 +1,39 @@
<template> <template>
<div class="basic-user-card"> <div class="basic-user-card">
<router-link :to="userProfileLink(user)"> <router-link
<UserAvatar :to="userProfileLink(user)"
class="avatar" @click.prevent
:user="user" >
@click.prevent.native="toggleUserExpanded" <UserPopover
/> :user-id="user.id"
:overlay-centers="true"
overlay-centers-selector=".avatar"
>
<UserAvatar
class="user-avatar avatar"
:user="user"
@click.prevent
/>
</UserPopover>
</router-link> </router-link>
<div <div
v-if="userExpanded"
class="basic-user-card-expanded-content"
>
<UserCard
:user-id="user.id"
:rounded="true"
:bordered="true"
/>
</div>
<div
v-else
class="basic-user-card-collapsed-content" class="basic-user-card-collapsed-content"
> >
<div <div
:title="user.name" :title="user.name"
class="basic-user-card-user-name" class="basic-user-card-user-name"
> >
<!-- eslint-disable vue/no-v-html --> <RichContent
<span
v-if="user.name_html"
class="basic-user-card-user-name-value" class="basic-user-card-user-name-value"
v-html="user.name_html" :html="user.name"
:emoji="user.emoji"
/> />
<!-- eslint-enable vue/no-v-html -->
<span
v-else
class="basic-user-card-user-name-value"
>{{ user.name }}</span>
</div> </div>
<div> <div>
<router-link <user-link
class="basic-user-card-screen-name" class="basic-user-card-screen-name"
:to="userProfileLink(user)" :user="user"
> />
@{{ user.screen_name_ui }}
</router-link>
</div> </div>
<slot /> <slot />
</div> </div>
@ -57,7 +47,8 @@
display: flex; display: flex;
flex: 1 0; flex: 1 0;
margin: 0; margin: 0;
padding: 0.6em 1em;
--emoji-size: 14px;
&-collapsed-content { &-collapsed-content {
margin-left: 0.7em; margin-left: 0.7em;

View File

@ -37,6 +37,7 @@
.block-card-content-container { .block-card-content-container {
margin-top: 0.5em; margin-top: 0.5em;
text-align: right; text-align: right;
button { button {
width: 10em; width: 10em;
} }

View File

@ -9,7 +9,7 @@ const Bookmarks = {
components: { components: {
Timeline Timeline
}, },
destroyed () { unmounted () {
this.$store.commit('clearTimeline', { timeline: 'bookmarks' }) this.$store.commit('clearTimeline', { timeline: 'bookmarks' })
} }
} }

View File

@ -0,0 +1,13 @@
export default {
name: 'Border',
selector: '/*border*/',
virtual: true,
defaultRules: [
{
directives: {
textColor: '$mod(--parent, 10)',
textAuto: 'no-auto'
}
}
]
}

View File

@ -0,0 +1,101 @@
export default {
name: 'Button', // Name of the component
selector: '.button-default', // CSS selector/prefix
// outOfTreeSelector: '' // out-of-tree selector is used when other components are laid over it but it's not part of the tree, see Underlay component
// States, system witll calculate ALL possible combinations of those and prepend "normal" to them + standalone "normal" state
states: {
// States are a bit expensive - the amount of combinations generated is about (1/6)n^3+n, so adding more state increased number of combination by an order of magnitude!
// All states inherit from "normal" state, there is no other inheirtance, i.e. hover+disabled only inherits from "normal", not from hover nor disabled.
// However, cascading still works, so resulting state will be result of merging of all relevant states/variants
// normal: '' // normal state is implicitly added, it is always included
toggled: '.toggled',
pressed: ':active',
hover: ':hover:not(:disabled)',
focused: ':focus-within',
disabled: ':disabled'
},
// Variants are mutually exclusive, each component implicitly has "normal" variant, and all other variants inherit from it.
variants: {
// Variants save on computation time since adding new variant just adds one more "set".
// normal: '', // you can override normal variant, it will be appenended to the main class
danger: '.danger'
// Overall the compuation difficulty is N*((1/6)M^3+M) where M is number of distinct states and N is number of variants.
// This (currently) is further multipled by number of places where component can exist.
},
// This lists all other components that can possibly exist within one. Recursion is currently not supported (and probably won't be supported ever).
validInnerComponents: [
'Text',
'Icon'
],
// Default rules, used as "default theme", essentially.
defaultRules: [
{
component: 'Root',
directives: {
'--defaultButtonHoverGlow': 'shadow | 0 0 4 --text',
'--defaultButtonShadow': 'shadow | 0 0 2 #000000',
'--defaultButtonBevel': 'shadow | $borderSide(#FFFFFF, top, 0.2) | $borderSide(#000000, bottom, 0.2)',
'--pressedButtonBevel': 'shadow | $borderSide(#FFFFFF, bottom, 0.2)| $borderSide(#000000, top, 0.2)'
}
},
{
// component: 'Button', // no need to specify components every time unless you're specifying how other component should look
// like within it
directives: {
background: '--fg',
shadow: ['--defaultButtonShadow', '--defaultButtonBevel'],
roundness: 3
}
},
{
state: ['hover'],
directives: {
shadow: ['--defaultButtonHoverGlow', '--defaultButtonBevel']
}
},
{
state: ['pressed'],
directives: {
shadow: ['--defaultButtonShadow', '--pressedButtonBevel']
}
},
{
state: ['hover', 'pressed'],
directives: {
shadow: ['--defaultButtonHoverGlow', '--pressedButtonBevel']
}
},
{
state: ['toggled'],
directives: {
background: '--inheritedBackground,-14.2',
shadow: ['--defaultButtonShadow', '--pressedButtonBevel']
}
},
{
state: ['toggled', 'hover'],
directives: {
background: '--inheritedBackground,-14.2',
shadow: ['--defaultButtonHoverGlow', '--pressedButtonBevel']
}
},
{
state: ['disabled'],
directives: {
background: '$blend(--inheritedBackground, 0.25, --parent)',
shadow: ['--defaultButtonBevel']
}
},
{
component: 'Text',
parent: {
component: 'Button',
state: ['disabled']
},
directives: {
textOpacity: 0.25,
textOpacityMode: 'blend'
}
}
]
}

View File

@ -0,0 +1,96 @@
export default {
name: 'ButtonUnstyled',
selector: '.button-unstyled',
states: {
toggled: '.toggled',
disabled: ':disabled',
hover: ':hover:not(:disabled)',
focused: ':focus-within'
},
validInnerComponents: [
'Text',
'Icon',
'Badge'
],
defaultRules: [
{
directives: {
background: '#ffffff',
opacity: 0,
shadow: []
}
},
{
component: 'Icon',
parent: {
component: 'ButtonUnstyled',
state: ['hover']
},
directives: {
textColor: '--parent--text'
}
},
{
component: 'Icon',
parent: {
component: 'ButtonUnstyled',
state: ['toggled']
},
directives: {
textColor: '--parent--text'
}
},
{
component: 'Icon',
parent: {
component: 'ButtonUnstyled',
state: ['toggled', 'hover']
},
directives: {
textColor: '--parent--text'
}
},
{
component: 'Icon',
parent: {
component: 'ButtonUnstyled',
state: ['toggled', 'focused']
},
directives: {
textColor: '--parent--text'
}
},
{
component: 'Icon',
parent: {
component: 'ButtonUnstyled',
state: ['toggled', 'focused', 'hover']
},
directives: {
textColor: '--parent--text'
}
},
{
component: 'Text',
parent: {
component: 'ButtonUnstyled',
state: ['disabled']
},
directives: {
textOpacity: 0.25,
textOpacityMode: 'blend'
}
},
{
component: 'Icon',
parent: {
component: 'ButtonUnstyled',
state: ['disabled']
},
directives: {
textOpacity: 0.25,
textOpacityMode: 'blend'
}
}
]
}

Some files were not shown because too many files have changed in this diff Show More