Compare commits

...

645 Commits

Author SHA1 Message Date
Sam Therapy 70a085d82a
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma
continuous-integration/drone/push Build is passing Details
2023-05-23 00:01:22 +02:00
floatingghost 596ae7e377 Merge pull request 'fix dropdown-item-icon and form controls using missing variables' (#307) from denys/akkoma-fe:missing-sass-vars into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/307
2023-05-08 15:29:58 +00:00
floatingghost 0d22a22a10 Merge pull request 'order bubble after public in sidebar like in other two menus' (#306) from denys/akkoma-fe:consistent-bubble-order into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/306
2023-05-08 15:28:54 +00:00
Sam Therapy 4c848eec36
Merge dev
continuous-integration/drone/push Build was killed Details
2023-05-02 20:08:39 +02:00
Denys Nykula 661a98d38d order bubble after public in sidebar like in other two menus 2023-05-01 20:53:29 +03:00
Denys Nykula 94d640f9f1 fix dropdown-item-icon and form controls using missing variables 2023-05-01 20:50:31 +03:00
Weblate 1f943ce8a5 Merge branch 'origin/develop' into Weblate. 2023-04-14 16:43:42 +00:00
FloatingGhost c540764408 ensure we only fetch reports when we're an admin
Ref #288
2023-04-14 17:43:05 +01:00
Weblate a4dfdc0853 Merge branch 'origin/develop' into Weblate. 2023-04-14 16:30:56 +00:00
floatingghost ddea499a36 Merge pull request 'Fix edits and redrafts being erased by drafts' (#297) from solidsanek/pleroma-fe:drafts-edit-redraft-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/297
2023-04-14 16:30:55 +00:00
Sam Therapy eefefc72fb
[SKIP CI] lint 2023-04-13 15:08:04 +02:00
Sam Therapy d9ea75ab9f
Disable blurhash by default
continuous-integration/drone/push Build is passing Details
2023-04-13 15:02:23 +02:00
Sam Therapy 685a859883
Disable the mod loader
continuous-integration/drone/push Build is passing Details
o7
2023-04-13 14:56:10 +02:00
Sam Therapy bc057f68d1
sodd lock
continuous-integration/drone/push Build was killed Details
2023-04-12 15:16:24 +02:00
tusooa 818b424255
Display delete status errors 2023-04-12 15:15:02 +02:00
tusooa e2dc1e7999
Populate user card on receiving chats 2023-04-12 15:10:34 +02:00
tusooa 7b94c3c7f8
Make block & mute lists able to load more 2023-04-12 15:06:30 +02:00
solidsanek db33fe8ee2 Drafts: Fix drafts erasing edits and redrafts 2023-04-09 11:02:13 +02:00
Sam Therapy 1e59d80a0f
fix feature panel
continuous-integration/drone/push Build was killed Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-04-08 22:57:35 +02:00
Mint 6eaffcc625
Show more features in their block 2023-04-08 22:56:47 +02:00
Weblate f1bf22436d Translated using Weblate (Portuguese)
Currently translated at 62.8% (655 of 1042 strings)

Co-authored-by: cel <8cbv6di5@duck.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pt/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate 459c73ec02 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1041 of 1041 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1040 of 1041 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1040 of 1041 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.9% (1039 of 1040 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Co-authored-by: SevicheCC <sevicheee@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/zh_Hans/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate 2acf1e5c59 Translated using Weblate (Ukrainian)
Currently translated at 87.2% (908 of 1041 strings)

Co-authored-by: Denys Nykula <vegan@libre.net.ua>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/uk/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate 33c4459744 Translated using Weblate (French)
Currently translated at 98.5% (1027 of 1042 strings)

Translated using Weblate (French)

Currently translated at 98.3% (1024 of 1041 strings)

Translated using Weblate (French)

Currently translated at 96.9% (1002 of 1033 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate b00487e51f Translated using Weblate (Japanese (ja_EASY))
Currently translated at 71.6% (747 of 1042 strings)

Translated using Weblate (Japanese (ja_EASY))

Currently translated at 71.6% (747 of 1042 strings)

Translated using Weblate (Japanese (ja_EASY))

Currently translated at 54.1% (564 of 1042 strings)

Co-authored-by: Hikaru Shinagawa <hikali.47041@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_EASY/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate 1e1cab643c Translated using Weblate (Dutch)
Currently translated at 99.7% (1038 of 1041 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate 8d3219a6d2 Translated using Weblate (Indonesian)
Currently translated at 65.4% (676 of 1033 strings)

Translated using Weblate (Indonesian)

Currently translated at 65.4% (676 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: t1 <taaa@fedora.email>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate ec9753758f Translated using Weblate (Spanish)
Currently translated at 90.8% (938 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Weblate 97ff4a7241 Translated using Weblate (German)
Currently translated at 99.5% (1036 of 1041 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
Translation: Pleroma fe/pleroma-fe
2023-04-05 18:57:45 +00:00
Sam Therapy 4e9902739b
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma
continuous-integration/drone/push Build is passing Details
2023-04-02 16:42:52 +02:00
FloatingGhost 14cedc5ed1 don't crash if `class` isn't a list 2023-04-01 07:55:47 +01:00
floatingghost 5911777aa2 Merge pull request 'Fix floating point error for poll expiry' (#294) from xarvos/pleroma-fe:fix-poll-expire into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/294
2023-03-30 09:49:38 +00:00
Ngô Ngọc Đức Huy 47fc082fb9
Fix floating point error for poll expiry
Previous code multiply with 0.001 before multiplication which leads to a
floating point error.  By changing it to division by 1000 after
multiplication this is avoided.
2023-03-24 20:48:02 +07:00
Sam Therapy 4535046089
Akkoma devs fucking suck
continuous-integration/drone/push Build was killed Details
Was this last commit even tested? Apparently. Deployed? No.
Doesn't even work VANILLA, WHY WOULD IT WORK ANYWHERE ELSE???
Thank you for coming to my complaint session.
2023-03-21 15:45:51 +01:00
Sam Therapy dce2ad3621
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma 2023-03-21 15:45:43 +01:00
FloatingGhost 7e1b1e79f4 simplify timeline vibility checks 2023-03-18 20:22:47 +00:00
FloatingGhost b92b2f74a4 add timeline visibility setting parsing 2023-03-18 20:01:05 +00:00
FloatingGhost 7361f4e77e Add checks for currentUser on sidebar 2023-03-16 16:41:37 +00:00
FloatingGhost 9f7f9e2798 Remove unused bits and bobs 2023-03-15 23:00:31 +00:00
FloatingGhost 42ab3eada4 Remove links from navs if we can't see the timeline 2023-03-15 22:20:54 +00:00
flisk 6fdef479d0 add recently used emojis panel to emoji picker (#283)
~~(not intended for merging yet, just submitting this for preliminary review and discussion)~~

this patch adds a tab with recently used emojis to the emoji picker: https://akko.lain.gay/notice/ASoGCtyoiXbYPJjqpk

there's a couple of things i'm ~~still trying to work out~~ not totally happy with and i'd appreciate any feedback on them:

* the recentEmojis getter is called very frequently and has to do a possibly somewhat expensive lookup of emoji objects by their `displayName` each time, which i'm not sure is ideal
* ~~emoji reactions on posts added through the picker are picked up by the recentEmojis module, but clicks on existing emoji reactions are not, because `addReaction` in `react_button.js` only currently receives the replacement and not the full emoji object (if there even is one wherever that method is called from)~~ this works now and does the same stupid full search of all emojis by their name which i guess is less bad because this only happens when you hit a reaction emoji button that already existed

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/283
Co-authored-by: flisk <akkomadev.mvch71fq@flisk.xyz>
Co-committed-by: flisk <akkomadev.mvch71fq@flisk.xyz>
2023-03-10 19:10:42 +00:00
floatingghost fe08691f05 Merge pull request 'support Misskey's oblong reactions' (#284) from yheuhtozr/pleroma-fe:oblong-reactions into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/284
2023-03-10 18:57:38 +00:00
floatingghost 6a9764951f Merge pull request 'fix realtime updates in 'following' replies filter' (#285) from flisk/akkoma-fe:fix-realtime-reply-filter into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/285
2023-03-10 18:56:31 +00:00
floatingghost 0f33b1cd79 Merge pull request 'Post drafting' (#282) from solidsanek/pleroma-fe:drafts into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/282
2023-03-10 18:55:03 +00:00
flisk 999c38594e fix realtime updates in 'following' replies filter
i'm not sure how this code was supposed to work, but the way it was
written would only add statuses to the timeline if they were in reply to
someone the user is following and erroneously filter out posts that
aren't replies.
2023-02-24 00:23:53 +01:00
Yhëhtozr 626c880038 oblong emoji in status 2023-02-22 10:20:25 +09:00
Sam Therapy 3f6201aff2
ci: bump node version to latest LTS
continuous-integration/drone/push Build is passing Details
2023-02-20 23:01:40 +01:00
Sam Therapy 3d6a157472
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma 2023-02-20 23:00:38 +01:00
Yhëhtozr 6d7761c7e5 perhaps more graceful cqw 2023-02-20 23:27:41 +09:00
Yhëhtozr 996ce3dde3 support oblong reactions 2023-02-20 23:18:04 +09:00
solidsanek 2c007f06e3 Post: remove debug logs 2023-02-19 18:58:53 +01:00
solidsanek 00704bd88c Post: Add drafting feature 2023-02-17 13:56:01 +01:00
floatingghost 6a9d169e24 Merge pull request 'components: emoji_reactions: force custom emoji reaction height' (#280) from a1batross/akkoma-fe:a1batross-patch-1 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/280
2023-02-11 10:41:00 +00:00
a1batross 581c53a15e components: emoji_reactions: force custom emoji reaction height
Prevents the usage of too long emoji reactions
2023-02-10 23:28:46 +00:00
yanchan09 9e04e4fd80 Improve emoji picker performance (#275)
A simple virtual scroller is now used for the emoji grid. This avoids loading all emoji images at once, saving network bandwidth and reducing load on the server, while also putting less work on the browser's DOM and layout engine.

Co-authored-by: yan <yan@omg.lol>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/275
Co-authored-by: yanchan09 <yan@omg.lol>
Co-committed-by: yanchan09 <yan@omg.lol>
2023-02-04 21:10:06 +00:00
floatingghost 88d5149db5 paginate-follow-requests (#277)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/277
2023-02-04 21:09:09 +00:00
Sam Therapy cc8d6b54d0
Revert "Add virtual scrolling to emoji picker"
This reverts commit 9d7f25a91d.
2023-01-30 21:10:06 +01:00
eris fe004e26e2
Disable follow button if blocked by user
continuous-integration/drone/push Build was killed Details
2023-01-27 15:06:30 +01:00
eris 0a0a18342b
Add indicator if user blocks you 2023-01-27 15:06:30 +01:00
floatingghost b4b13d777f Merge pull request 'Add indicator to user card if user blocks you' (#274) from eris/pleroma-fe:block-indicator into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/274
2023-01-27 10:08:17 +00:00
eris 7f4dd9ff03 Disable follow button if blocked by user 2023-01-27 00:30:47 +00:00
eris a9a95e9120 Add indicator if user blocks you 2023-01-27 00:30:30 +00:00
Sam Therapy 9d7f25a91d
Add virtual scrolling to emoji picker
continuous-integration/drone/push Build was killed Details
there is a graphical glitch when swapping from unicode but it works!

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-24 22:10:42 +01:00
tusooa b731d9e471
Display detailed backup state
continuous-integration/drone/push Build was killed Details
2023-01-24 16:22:33 +01:00
tusooa 7d4ff1e7f5
Improve quote style 2023-01-24 15:50:27 +01:00
Tusooa Zhu 98510ea6f5
Make search say No more results when there are current results
continuous-integration/drone/push Build was killed Details
2023-01-23 22:25:25 -06:00
Ekaterina Vaartis 002cc2c41e
Ensure uniqueness of found statuses & ensure only one loading circle 2023-01-23 22:25:11 -06:00
Ekaterina Vaartis 33740ea141
Amend status search results, and introduce searchType
Use searchType to only search for statuses when searching for more results
2023-01-23 22:24:51 -06:00
Ekaterina Vaartis e10323777b
Implement loading more statuses when searching 2023-01-23 22:24:34 -06:00
Sam Therapy c5ba13f2bf
froth panel: add swagger and tor
continuous-integration/drone/push Build was killed Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 23:35:51 +01:00
Sam Therapy 3ae36e2538
fix weird error in relationships api endpoint
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 22:25:17 +01:00
Sam Therapy f2a07c7231
make deploy work properly
continuous-integration/drone/push Build was killed Details
hehe haha kill me

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 19:35:16 +01:00
Sam Therapy 22d5c2b02e
Revert "Only show "keep open" emoji checkbox on post form"
continuous-integration/drone/push Build is passing Details
This reverts commit e9f47509ae.
2023-01-20 18:35:26 +01:00
Sam Therapy 168da6e7ed
froth-specific changes to panel and terms
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 18:30:51 +01:00
Sam Therapy f77144f5b4
yarn v2 again for real
continuous-integration/drone/push Build was killed Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-20 17:45:24 +01:00
Sam Therapy a465f943d9
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma 2023-01-17 18:06:47 +01:00
FloatingGhost 56fd2e773b Merge branch 'languages' into develop 2023-01-15 17:59:50 +00:00
FloatingGhost 42dc1a027a add language input 2023-01-15 17:59:32 +00:00
floatingghost 236bc2c762 Merge pull request 'Only show "keep open" emoji checkbox on post form' (#269) from sfr/pleroma-fe:fix/keepopen into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/269
2023-01-09 22:20:31 +00:00
Sam Therapy 38aed60c43
add a config option by default
continuous-integration/drone/push Build is passing Details
the blurhash is UGLY

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-04 17:17:01 +01:00
Sam Therapy bd0bfffee3
froth: add PWA logo
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-01-04 15:52:26 +01:00
Sam Therapy 3a0825cf25
Merge branch 'froth-akkoma' of git.froth.zone:Sam/pleroma-fe; branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma
continuous-integration/drone/push Build was killed Details
2023-01-04 15:47:02 +01:00
Sol Fisher Romanoff e9f47509ae
Only show "keep open" emoji checkbox on post form 2023-01-03 16:04:26 +02:00
FloatingGhost f288d0c219 Make everything work with a strict CSP 2023-01-02 15:16:42 +00:00
FloatingGhost d973396c96 Remove console.log 2023-01-01 21:06:02 +00:00
FloatingGhost 62287fffae add follow/unfollow to followed tags list 2023-01-01 21:05:25 +00:00
FloatingGhost e9f16af82d Add list of followed hashtags to profile 2023-01-01 20:11:07 +00:00
floatingghost dfba8be134 Fall back to nsfw image if no blurhash 2022-12-30 05:03:25 +00:00
FloatingGhost 313ddcebcb Add blurhash support 2022-12-30 04:57:23 +00:00
FloatingGhost 236b19e854 Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma-fe into develop 2022-12-30 03:20:30 +00:00
FloatingGhost ea941d7cfa remove IHBA assets 2022-12-30 03:20:12 +00:00
Beefox 2e5001e5de Allow follow(er) lists to be acessible by account owner even if follower counts are disabled (#246)
Currently, if a user has their follower/follow counts hidden, they cannot access their own list of followers/follows. This makes no real sense and means that they cannot modify those lists without disabling their privacy options.

This fix simply allows those tabs to be accessed no matter if the counts are hidden or not.

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/246
Co-authored-by: Beefox <bee@beefox.xyz>
Co-committed-by: Beefox <bee@beefox.xyz>
2022-12-30 03:04:15 +00:00
Norm 014f8b0dd2 Make minimum width for 3-column layout 1280px (#255) (#256)
1280px is a pretty common screen width for several resolutions
(1280x720, 1280x800, 1280x1024, etc.). Since it is only 20px less than
the current 1300px minimum, this shouldn't be a big issue to lower the
minimum screen width for the 3-column layout to 1280px.

Closes: https://akkoma.dev/AkkomaGang/pleroma-fe/issues/255

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/256
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-12-30 03:01:17 +00:00
floatingghost dd403b295f Merge pull request 'Remove stray debug log' (#265) from sfr/pleroma-fe:del-log into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/265
2022-12-30 03:00:49 +00:00
Sol Fisher Romanoff 9cd62fe08d
Remove stray debug log 2022-12-30 01:03:31 +02:00
FloatingGhost f668455dff Merge branch 'link-verification' into develop 2022-12-29 20:56:22 +00:00
FloatingGhost 5a4315384e force CI build 2022-12-29 15:25:03 +00:00
FloatingGhost 401dfa8fa6 update readme 2022-12-29 15:22:06 +00:00
FloatingGhost bb243168b3 Revert "Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop"
This reverts commit 0b5793c1e0, reversing
changes made to 72ef2e7454.
2022-12-29 15:18:13 +00:00
FloatingGhost da491f3278 add verification of links 2022-12-29 15:17:35 +00:00
Sam Therapy 20c74f81c4
Revert "Don't show timeline links if disabled and logged out"
continuous-integration/drone/push Build is passing Details
This reverts commit 6e1ba218df.
2022-12-28 23:23:12 +01:00
Sam Therapy 96037187c9
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma 2022-12-28 22:13:07 +01:00
FloatingGhost d00e28d5e9 fix emoji picker in replies in notifications 2022-12-22 05:43:01 +00:00
FloatingGhost 7ff17ab722 don't crash out if notification status is null 2022-12-20 13:20:13 +00:00
floatingghost b009428814 Merge pull request 'Revert "Revert "use v1 urls""' (#254) from v1-urls into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/254
2022-12-14 12:09:03 +00:00
floatingghost 7bec96a1bf Merge pull request 'Fix user moderation dropdown clipping' (#249) from sfr/pleroma-fe:fix/dropdown into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/249
2022-12-14 12:08:27 +00:00
floatingghost 0b5793c1e0 Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/250
2022-12-14 12:08:08 +00:00
floatingghost 72ef2e7454 Merge pull request 'Fix 404 when reacting with Keycap Number Sign' (#252) from fef/pleroma-fe:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/252
2022-12-14 12:07:27 +00:00
FloatingGhost c39332c1bf Revert "Revert "use v1 urls""
This reverts commit 8c6cf86de3.
2022-12-14 09:39:01 +00:00
FloatingGhost 8c6cf86de3 Revert "use v1 urls"
This reverts commit 909271c764.
2022-12-14 09:38:46 +00:00
FloatingGhost 909271c764 use v1 urls 2022-12-14 09:38:07 +00:00
Sam Therapy d8987a707e
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma
continuous-integration/drone/push Build is passing Details
2022-12-13 22:54:30 +01:00
fef 413acbc7dd
fix 404 when reacting with Keycap Number Sign
The Unicode sequence for the Keycap Number Sign
emoji starts with an ASCII "#" character, which
the browser's URL parser will interpret as a URI
fragment and truncate it before sending the
request to the backend.
2022-12-12 18:59:57 +01:00
Sol Fisher Romanoff 6e1ba218df
Don't show timeline links if disabled and logged out 2022-12-10 21:39:50 +02:00
Sol Fisher Romanoff 830e8fdb45
Fix user moderation dropdown clipping 2022-12-10 21:03:12 +02:00
FloatingGhost 9bf310d509 bump version 2022-12-10 14:51:08 +00:00
FloatingGhost e3e8b19df3 fix ES translation having weird o in a key 2022-12-10 00:17:33 +00:00
Sam Therapy bc35e1c8f9
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma
continuous-integration/drone/push Build is passing Details
2022-12-09 15:21:08 +01:00
Weblate e86c7abb39 Merge branch 'origin/develop' into Weblate. 2022-12-08 18:41:37 +00:00
floatingghost 8a0da8861d Merge pull request 'Add YAML bug and feat templates' (#247) from sfr/pleroma-fe:issue-template into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/247
2022-12-08 18:41:36 +00:00
Sol Fisher Romanoff 6c7e691aea
Add YAML bug and feat templates 2022-12-08 20:24:21 +02:00
Weblate b33d15a739 Merge branch 'origin/develop' into Weblate. 2022-12-07 22:37:54 +00:00
floatingghost 40e86998e6 Update 'ISSUE_TEMPLATE.md' 2022-12-07 22:37:52 +00:00
Weblate 177f344033 Merge branch 'origin/develop' into Weblate. 2022-12-07 22:32:07 +00:00
floatingghost 9079ac4afa Update 'ISSUE_TEMPLATE.md' 2022-12-07 22:31:49 +00:00
Weblate dfc4e0a026 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 99.8% (1031 of 1033 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-12-07 22:31:39 +00:00
Weblate 3d732d1d28 Translated using Weblate (Indonesian)
Currently translated at 59.4% (614 of 1033 strings)

Translated using Weblate (Indonesian)

Currently translated at 53.0% (548 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: t1 <taaa@fedora.email>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
Translation: Pleroma fe/pleroma-fe
2022-12-07 22:31:39 +00:00
Weblate e8ee31afed Translated using Weblate (English)
Currently translated at 100.0% (1033 of 1033 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2022-12-07 22:31:39 +00:00
Weblate d9d6b1e80b Translated using Weblate (Spanish)
Currently translated at 89.2% (918 of 1029 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2022-12-07 22:31:39 +00:00
Weblate 1dd7a89544 Translated using Weblate (German)
Currently translated at 93.9% (967 of 1029 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
Translation: Pleroma fe/pleroma-fe
2022-12-07 22:31:38 +00:00
floatingghost d3280c4ab3 Add issue template 2022-12-07 22:31:29 +00:00
FloatingGhost abc75c360b Ensure only content gets clipped 2022-12-07 11:01:58 +00:00
FloatingGhost a8e119b0f1 Merge branch 'develop' of akkoma.dev:AkkomaGang/pleroma-fe into develop 2022-12-06 15:56:06 +00:00
FloatingGhost 17e574b173 Move theme apply/reset to new row
Fixes #225
2022-12-06 15:55:39 +00:00
floatingghost 71d2e0b0ce Merge pull request 'fix scope selector icon spacing' (#243) from nocebo/crt-fe:shared/fix-scope-spacing into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/243
2022-12-06 15:32:40 +00:00
FloatingGhost b68e968bf9 Add ability to include custom CSS 2022-12-06 15:26:16 +00:00
floatingghost eb49295422 Add hashtag following button (#244)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/244
2022-12-04 17:31:41 +00:00
astra akari 337a30fe01 remove whitespace between scope selector icons
when i originally wrote this, for reasons unclear to the present me, i used literal whitespaces to space out the icons on the scope selector 
this causes strange inconsistencies in spacing depending on the font being used 
akkoma also did not include the whitespace when adding the local-only scope, resulting in even weirder spacing 
this corrects all of that by removing the whitespaces and using css instead
2022-12-03 07:12:55 +00:00
Sam Therapy d1f23fa38d
merge upstream
continuous-integration/drone/push Build is passing Details
2022-12-02 21:20:17 +01:00
floatingghost 105ecd3836 Merge pull request 'pwa config' (#242) from pwa into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/242
2022-12-02 12:01:43 +00:00
FloatingGhost a3e490edcd use cutout of 512 logo 2022-12-02 12:00:30 +00:00
FloatingGhost f8f5e1c89b fix SW path 2022-12-02 11:57:45 +00:00
FloatingGhost e132814478 Register serviceworker 2022-12-02 11:56:15 +00:00
FloatingGhost 6af1df8bef Add logo files 2022-12-02 11:27:24 +00:00
floatingghost b86f12cede Merge pull request 'Add a small margin to search bar' (#240) from karl/pleroma-fe:search-bar-margin into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/240
2022-12-02 10:21:32 +00:00
Sam Therapy abb82a3189
AAAAAAAAAAAAAAAAAAAAAAA
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-01 23:02:28 +01:00
Sam Therapy 790c0f1023
localize
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-01 20:52:06 +01:00
Sam Therapy 89fa961b6d
Add unicode emojis the old way :)
continuous-integration/drone/push Build is passing Details
also lint

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-12-01 20:37:19 +01:00
Sam Therapy de51942ac7
deploy to a new location maybe
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-30 18:55:46 +01:00
Sam Therapy 1d77037cf8
fix swapreacts
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-30 18:07:34 +01:00
Sam Therapy 27b350ecce
Revert "purge shout/chat (#49)"
This reverts commit a8c4aec721.
2022-11-30 17:20:17 +01:00
Sam Therapy b343a88d77
Use akkoma maybe
continuous-integration/drone/push Build is passing Details
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-11-30 17:01:38 +01:00
Sam Therapy 93585ed1a4
Merge branch 'develop' of https://akkoma.dev/AkkomaGang/pleroma-fe into froth-akkoma 2022-11-30 15:22:52 +01:00
Karl Prieb c669701762 add a left margin on search bar 2022-11-29 18:04:33 -03:00
floatingghost 0900a9d87b Merge pull request 'Add post expiry inputs' (#239) from default-post-expiry into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/239
2022-11-28 13:35:08 +00:00
FloatingGhost 0a01a2bdf0 Add post expiry inputs 2022-11-28 12:08:18 +00:00
Puniko 59a3e3fcbb Merge branch 'develop' into fedi-absturztau-be 2022-11-27 09:57:22 +01:00
darkkirb 7860c885c4 Add link to RSS feed to the profile (#234)
Today I learned that akkoma and mastodon (and potentially other activitypub services) offer RSS/Atom feeds for user profiles at `[user profile url].rss`. This PR adds a direct link to the feed because I haven’t seen anything link to the feed on either mastodon-fe or pleroma-fe

Co-authored-by: Charlotte 🦝 Delenk <lotte@chir.rs>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/234
Co-authored-by: darkkirb <lotte@chir.rs>
Co-committed-by: darkkirb <lotte@chir.rs>
2022-11-26 20:57:04 +00:00
floatingghost 1c3bd60af2 Merge pull request 'fix formatting for large number of favorites/interactions' (#236) from drudge/pleroma-fe:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/236
2022-11-26 18:32:35 +00:00
Sean Meininger b8faee5d6d added maintainer code 2022-11-26 00:15:12 -08:00
floatingghost c01c62f149 Redirect users to "awaiting approval" message on register (#231)
Ref #81 - this implements a "your request has been sent" message

 ![image](/attachments/61dc3f5e-2706-46f9-a1ca-4efe3f526ff3)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/231
2022-11-22 14:44:44 +00:00
floatingghost 105b934f90 Only reload user if it _is_ a user (#232)
Ref #181

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/232
2022-11-22 14:40:25 +00:00
FloatingGhost b1f41add0e Don't error out if we can't fetch reports 2022-11-21 17:08:53 +00:00
floatingghost e4e8ed812b Merge pull request 'Allow using mouse wheel to navigate through the emoji tabs (#179)' (#222) from Mergan/pleroma-fe:emoji-picker-allow-scroll into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/222
2022-11-21 16:51:30 +00:00
Beefox 684894aee3 mobile-newline (#226)
Allows the handle of users to drop down onto the next line if there isn't enough room in order to improve useability on mobile

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/226
Co-authored-by: Beefox <bee@beefox.xyz>
Co-committed-by: Beefox <bee@beefox.xyz>
2022-11-21 16:49:18 +00:00
floatingghost f8a796b234 Merge pull request 'move domain block to drop down menu (#223)' (#224) from nocebo/crt-fe:shared/move-domain-mute into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/224
2022-11-21 16:46:29 +00:00
floatingghost 70ea9e772c Merge pull request 'Allow for searching unicode emoji via inputting emoji (#163 & #227)' (#230) from Mergan/pleroma-fe:beefox-emoji-search into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/230
2022-11-21 10:11:19 +00:00
Mergan efe0f53736 Constrain content to status content (#218) (#220)
MFM No longer overflows
![image](/attachments/7bbf519a-9fd2-492d-aba0-9a0e1ded6373)

Co-authored-by: David <dmgf2008@hotmail.com>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/220
Co-authored-by: Mergan <mergan@noreply.akkoma>
Co-committed-by: Mergan <mergan@noreply.akkoma>
2022-11-21 10:10:50 +00:00
Beefox fcbbbad8d4 Allow for searching unicode emoji via inputting emoji
(This is needed for the react menu)
2022-11-21 01:04:00 -08:00
FloatingGhost 39b6b0b49f Merge remote-tracking branch 'origin/translations' into develop 2022-11-20 22:26:32 +00:00
FloatingGhost 867a86d887 Fix build 2022-11-20 22:26:16 +00:00
FloatingGhost 7538369fa1 Copy conversation display style from instance
Fixes #210
2022-11-20 22:18:34 +00:00
Puniko b6280ae97d resolve merge conflicts 2022-11-20 08:37:26 +01:00
Weblate 2d4b2f2e20 Translated using Weblate (Spanish)
Currently translated at 87.1% (893 of 1025 strings)

Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2022-11-19 21:22:45 +00:00
astra 862c93706c move domain block to drop down menu 2022-11-18 08:49:57 -05:00
David e06348ee33 Allow using mouse wheel to navigate through the emoji tabs 2022-11-17 14:45:32 -08:00
FloatingGhost 169282ea42 rely on backend mfm parsing 2022-11-15 15:54:16 +00:00
floatingghost db46879a8f Big 'ol set of patches and dep maintenance (#212)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/212
2022-11-15 15:47:32 +00:00
FloatingGhost 0770981a20 Ensure we don't fail if translation is disabled 2022-11-12 19:06:39 +00:00
floatingghost c2a5a8c91f Merge pull request 'Use correct pluralization in reports tab' (#206) from sfr/pleroma-fe:fix/reports-plural into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/206
2022-11-12 16:38:26 +00:00
Sol Fisher Romanoff a1c0642bb5
Use correct pluralization in reports tab 2022-11-12 18:35:25 +02:00
Weblate 1157396ed5 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 99.5% (1020 of 1025 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-11-12 15:33:13 +00:00
Weblate 5a76dd5f90 Translated using Weblate (Spanish)
Currently translated at 85.7% (874 of 1019 strings)

Translated using Weblate (Spanish)

Currently translated at 85.7% (874 of 1019 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: mint <they@mint.lgbt>
Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2022-11-12 15:33:13 +00:00
FloatingGhost c7200b2234 make emoji reactions in notifications bar wider 2022-11-11 16:47:25 +00:00
FloatingGhost 98074ed90d make desc overflow a scroll 2022-11-11 16:20:41 +00:00
floatingghost d51308a56b Merge pull request 'Set max-height for description container' (#201) from xarvos/pleroma-fe:fix-overflowing-description into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/201
2022-11-11 16:19:59 +00:00
FloatingGhost 4b5536ae68 Merge branch 'develop' of akkoma.dev:AkkomaGang/pleroma-fe into develop 2022-11-11 16:05:10 +00:00
FloatingGhost e44462b1d5 add "no reports" message 2022-11-11 16:05:02 +00:00
Ngô Ngọc Đức Huy af32f901ac
Set max-height for description container
Without max-height, the description text can overflow the image, making
it impossible to close.

See issue #199: https://akkoma.dev/AkkomaGang/pleroma-fe/issues/199
2022-11-11 11:33:21 +07:00
floatingghost 0810c57c8b Merge pull request 'Hide bubble timeline icon from desktop nav if empty' (#197) from sfr/pleroma-fe:fix/navbar-hide-bubble into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/197
2022-11-10 12:10:05 +00:00
FloatingGhost e77931d68c Use correct sensitiveIfSubject key 2022-11-10 12:06:59 +00:00
floatingghost f3962e3be7 Merge pull request 'Add "requested to follow you" text on card' (#200) from inbound-requesting into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/200
2022-11-10 03:16:17 +00:00
FloatingGhost 1e8fc5bcc4 Add "requested to follow you" text on card 2022-11-10 03:01:20 +00:00
Sol Fisher Romanoff 642fe3dc10
Hide bubble timeline icon from desktop nav if empty 2022-11-08 18:50:42 +02:00
FloatingGhost 8713f1870f use correct key for languages
fixes #196
2022-11-08 12:25:47 +00:00
floatingghost 837c61569a Merge pull request 'Fix profile field deletion' (#195) from sn0w/pleroma-fe:fix-profile-field-deletion into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/195
2022-11-07 14:00:43 +00:00
sn0w a83c3a1fa1
Fix profile field deletion 2022-11-07 14:53:13 +01:00
Weblate 4d8f288bd9 Merge branch 'origin/develop' into Weblate. 2022-11-06 22:52:26 +00:00
floatingghost 3286641f3c Add software info on hover (#194)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/194
2022-11-06 22:52:25 +00:00
Weblate 677f5ae071 Merge branch 'origin/develop' into Weblate. 2022-11-06 21:26:06 +00:00
sfr 15bac1e401 Add reports management (#186)
implements part of #178, other parts will come later

Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/186
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-11-06 21:26:05 +00:00
Weblate 22b4aed8f6 Merge branch 'origin/develop' into Weblate. 2022-11-06 20:59:46 +00:00
floatingghost 23b0b01829 Merge pull request 'Highlight emoji reactions picked by yourself' (#193) from sfr/pleroma-fe:fix/emoji-reaction-picked into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/193
2022-11-06 20:59:44 +00:00
Weblate 53c487535e Merge branch 'origin/develop' into Weblate. 2022-11-06 20:57:51 +00:00
floatingghost 278b2c25ad Merge pull request 'Clear search bar on reopen' (#192) from sfr/pleroma-fe:clear-searchbar into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/192
2022-11-06 20:57:49 +00:00
Sol Fisher Romanoff 6a045dbc58
Highlight emoji reactions picked by yourself 2022-11-06 16:12:08 +02:00
Sol Fisher Romanoff cd9dc9d2b2
Clear search bar on reopen 2022-11-06 15:46:35 +02:00
Weblate 3f2d54f057 Merge branch 'origin/develop' into Weblate. 2022-11-02 22:34:38 +00:00
floatingghost 251e440dad Merge pull request 'Ensure MFM scaling is ignored when rendering is disabled' (#189) from ignore-scale-mfm-disabled into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/189
2022-11-02 22:34:36 +00:00
FloatingGhost ffac376b5a Ensure MFM scaling is ignored when rendering is disabled
Fixes #173
2022-11-02 22:33:54 +00:00
Weblate 8bd18643e4 Translated using Weblate (French)
Currently translated at 100.0% (997 of 997 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2022-11-02 22:09:52 +00:00
Weblate 5c28865018 Translated using Weblate (Catalan)
Currently translated at 100.0% (997 of 997 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translation: Pleroma fe/pleroma-fe
2022-11-02 22:09:52 +00:00
floatingghost 721e3b016d Merge pull request 'Debounce word filters' (#188) from debounce-wordfilter into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/188
2022-11-02 22:09:46 +00:00
FloatingGhost 469063ff52 Debounce word filters
Fixes #182
2022-11-02 22:08:58 +00:00
FloatingGhost d8643b5b4a Take instance stopGifs value 2022-10-29 22:08:25 +01:00
FloatingGhost 04c744e764 Stop stopGifs option from instance 2022-10-29 21:56:58 +01:00
solidsanek bda433b006 Add mfm autocomplete (#183)
I thought it could be neat to have an autocomplete like Misskey has for MFM.

A condition was removed that prevented autocomplete to actually autocomplete stuff when only the first character was entered. It doesn't affect the other autocompletes since none of them display their elements if nothing was actually searched. (in that case MFM returns the full list of elements)

Co-authored-by: solidsanek <solidsanek@outerheaven.club>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/183
Reviewed-by: floatingghost <hannah@coffee-and-dreams.uk>
Co-authored-by: solidsanek <solidsanek@noreply.akkoma>
Co-committed-by: solidsanek <solidsanek@noreply.akkoma>
2022-10-29 20:50:31 +00:00
Puniko 1b190db9ed Merge branch 'develop' into fedi-absturztau-be 2022-10-19 17:48:12 +02:00
FloatingGhost 2e00c19074 Merge remote-tracking branch 'origin/translations' into develop 2022-10-08 11:56:09 +01:00
FloatingGhost 7df49720de ensure we sync settings whilst tab is open 2022-10-08 11:55:48 +01:00
Weblate ddc40f5bb3 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 100.0% (996 of 996 strings)

Translated using Weblate (Japanese (ja_PEDANTIC))

Currently translated at 100.0% (974 of 974 strings)

Translated using Weblate (Japanese (ja_PEDANTIC))

Currently translated at 100.0% (974 of 974 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-10-08 10:55:25 +00:00
Weblate 90793281d5 Translated using Weblate (French)
Currently translated at 97.8% (953 of 974 strings)

Translated using Weblate (French)

Currently translated at 97.7% (952 of 974 strings)

Translated using Weblate (French)

Currently translated at 96.9% (882 of 910 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2022-10-08 10:55:25 +00:00
Weblate d1dd043cfa Translated using Weblate (Dutch)
Currently translated at 100.0% (974 of 974 strings)

Translated using Weblate (Dutch)

Currently translated at 98.6% (961 of 974 strings)

Translated using Weblate (Dutch)

Currently translated at 95.3% (868 of 910 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-10-08 10:55:25 +00:00
Weblate 8745317c38 Translated using Weblate (German)
Currently translated at 98.1% (956 of 974 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
Translation: Pleroma fe/pleroma-fe
2022-10-08 10:55:25 +00:00
Sean King 80f58baa86 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-10-06 17:07:44 +01:00
Sean King 2453a338be Added support for removing users from followers 2022-10-06 17:06:53 +01:00
floatingghost 4f837f75ea setting-sync (#175)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/175
2022-10-06 15:59:16 +00:00
floatingghost eaf2bd05a0 Merge pull request 'Add delete & redraft button to posts' (#174) from sfr/pleroma-fe:feat/redraft into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/174
2022-10-02 12:02:02 +00:00
Sol Fisher Romanoff ca646822f6
Add delete & redraft button to posts 2022-09-25 20:50:03 +03:00
Mergan 468eb12573 Detect whether an WEBP or APNG is animated (#161)
Co-authored-by: David <dmgf2008@hotmail.com>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/161
Co-authored-by: Mergan <mergan@noreply.akkoma>
Co-committed-by: Mergan <mergan@noreply.akkoma>
2022-09-23 10:27:14 +00:00
floatingghost 2ab223e791 Merge pull request 'add hacky reply filtering, turn off streaming by default' (#172) from streaming-filters into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/172
2022-09-20 15:28:53 +00:00
FloatingGhost 87683052e8 add hacky reply filtering, turn off streaming by default 2022-09-20 16:27:17 +01:00
FloatingGhost 42e48348ae add note about bubble timeline in docs 2022-09-20 15:17:51 +01:00
floatingghost 38d50acaeb Merge pull request 'Hide mentions of bubble timeline if empty' (#167) from sfr/pleroma-fe:hide-bubble into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/167
2022-09-20 14:16:02 +00:00
floatingghost e72548ae51 Merge pull request 'Move remote interaction chnagelog entry to "Unreleased"' (#171) from norm/pleroma-fe:remote-interaction-changelog into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/171
2022-09-20 13:55:46 +00:00
Francis Dinh bf1debdeb6
Move remote interaction chnagelog entry to "Unreleased" 2022-09-19 18:39:36 -04:00
Norm aedd0794a4 Remote interaction with posts (#168)
From: https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1419

This is the frontend side of https://akkoma.dev/AkkomaGang/akkoma/pulls/198 (merged in a6d85003fe).

Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/168
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-09-19 17:39:21 +00:00
floatingghost 92927bb7e6 Merge pull request 'Update 'package.json'' (#170) from norm/pleroma-fe:package.json into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/170
2022-09-19 17:35:06 +00:00
Norm 7328795331 Update 'CHANGELOG.md' (#169)
Added in all of the major changes that were mentioned in the various release notes that weren't added to the changelog file.

Fixes #91

Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/169
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-09-19 17:32:45 +00:00
Norm 0a6c1f7d0a Update 'package.json'
The version and description in package.json was really out of date for some reason.
2022-09-18 04:29:04 +00:00
Puniko 31fa6223ec resolve merge conflicts 2022-09-17 11:17:40 +02:00
Sol Fisher Romanoff b936506f47
Hide mentions of bubble timeline if empty 2022-09-14 21:44:29 +03:00
floatingghost f628483499 translation parameterisation (#165)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/165
2022-09-12 15:47:53 +00:00
floatingghost 61c70545f0 Merge pull request 'Delete '.gitlab-ci.yml'' (#162) from norm/pleroma-fe:delete-gitlab-ci into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/162
2022-09-11 19:17:42 +00:00
Norm ad8be6b199 Merge branch 'develop' into delete-gitlab-ci 2022-09-10 04:03:58 +00:00
Norm dd89735008 Delete '.gitlab-ci.yml'
This file obviously doesn't serve a purpose since we're not using Gitlab CI.
2022-09-09 23:05:10 +00:00
Weblate 3c780adeb2 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 100.0% (910 of 910 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-09-08 10:18:49 +00:00
Weblate d813a8528a Translated using Weblate (French)
Currently translated at 92.6% (843 of 910 strings)

Translated using Weblate (French)

Currently translated at 92.6% (843 of 910 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2022-09-08 10:18:49 +00:00
Weblate 58f6dfebe9 Translated using Weblate (English)
Currently translated at 100.0% (910 of 910 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2022-09-08 10:18:49 +00:00
FloatingGhost da4b315d69 Merge remote-tracking branch 'origin/translations' into develop 2022-09-08 11:17:40 +01:00
FloatingGhost b980d5b2ef use with-direction in edited timeago
Fixes #159
2022-09-07 12:55:03 +01:00
Weblate 9447b7eaea Merge branch 'origin/develop' into Weblate. 2022-09-06 19:25:07 +00:00
floatingghost 2da92fcd13 editing (#158)
Co-authored-by: Sean King <seanking2919@protonmail.com>
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/158
2022-09-06 19:25:03 +00:00
Weblate 6aadbcecfa Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 100.0% (903 of 903 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-09-06 17:00:17 +00:00
floatingghost 6084cbbb00 collapse statuses with CWs by default (#157)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/157
2022-09-06 17:00:15 +00:00
FloatingGhost bd868e47de don't use bare @ 2022-09-06 11:44:53 +01:00
FloatingGhost 1cce6969cc make linter happy 2022-09-06 11:38:23 +01:00
Weblate ebdcb31c12 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 100.0% (903 of 903 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-09-06 10:35:03 +00:00
Weblate d42b207b64 Translated using Weblate (English)
Currently translated at 100.0% (903 of 903 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2022-09-06 10:30:23 +00:00
Weblate 4f1d85b054 Translated using Weblate (French)
Currently translated at 94.9% (857 of 903 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2022-09-05 17:24:25 +00:00
Weblate cffc073aa7 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 90.2% (816 of 904 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-09-05 17:24:25 +00:00
Weblate d6bbbea5dc Translated using Weblate (Slovak)
Currently translated at 41.4% (374 of 903 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/sk/
Translation: Pleroma fe/pleroma-fe
2022-09-05 17:24:25 +00:00
Weblate b5f90a96cc Translated using Weblate (Dutch)
Currently translated at 95.7% (865 of 903 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-09-05 17:24:25 +00:00
Weblate 9220c3859a Translated using Weblate (Catalan)
Currently translated at 94.9% (857 of 903 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translation: Pleroma fe/pleroma-fe
2022-09-05 17:24:25 +00:00
Weblate aecb9f6e2a Translated using Weblate (English)
Currently translated at 99.5% (900 of 904 strings)

Translated using Weblate (English)

Currently translated at 99.5% (900 of 904 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2022-09-05 17:24:25 +00:00
floatingghost ae1b6ad887 Customisation of default profile tab, clean up settings (#156)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/156
2022-09-05 17:02:16 +00:00
floatingghost c301daa276 Merge pull request 'Jump to Top on New *only* in non-profiles' (#154) from Mergan/pleroma-fe:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/154
2022-09-05 00:31:06 +00:00
FloatingGhost 8e2a4a9f7b remove unused method 2022-09-05 01:30:32 +01:00
David 948436ad3e Jump to Top on New *only* in non-profiles 2022-09-02 17:05:42 -07:00
floatingghost 301a32991b Merge pull request 'Fix Announcements Title Style' (#152) from Mergan/pleroma-fe:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/152
2022-09-02 09:25:08 +00:00
David 91357aad88 Fix Announcements Title Style 2022-09-01 22:35:42 -07:00
FloatingGhost c97cd56439 only clear timelines on new profile 2022-08-31 23:32:02 +01:00
Weblate 49875ef601 Translated using Weblate (Dutch)
Currently translated at 96.7% (868 of 897 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-31 16:45:29 +00:00
Weblate a234cd3f00 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 89.3% (806 of 902 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-08-31 16:45:29 +00:00
floatingghost 6f2058a8fc ensure timelines only start fetching on click (#150)
no more parallel fetching

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/150
2022-08-31 15:44:58 +00:00
floatingghost 064b8ba7f7 Merge pull request 'Make "Copy link" copy external URL if external post' (#144) from eris/pleroma-fe:copy-url-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/144
2022-08-31 15:43:37 +00:00
Mergan 48826ede36 Separated Posts & Replies (#145) (#148)
Co-authored-by: David <dmgf2008@hotmail.com>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/148
Co-authored-by: Mergan <mergan@noreply.akkoma>
Co-committed-by: Mergan <mergan@noreply.akkoma>
2022-08-31 15:28:09 +00:00
FloatingGhost 7dc0464094 split translation language by source and dest 2022-08-30 17:46:54 +01:00
FloatingGhost 6440e51b7e allow translating to any other language 2022-08-30 15:43:57 +01:00
FloatingGhost ef50c63dc7 use supported languages from service 2022-08-30 14:37:36 +01:00
FloatingGhost 59eb434840 allow modal to expand with content 2022-08-30 10:32:34 +01:00
eris bd4e8271df Dont copy local URL if external post 2022-08-30 08:54:08 +00:00
floatingghost 08d4b3b885 Merge pull request 'allow selecting languages for translation' (#143) from translation-language-selection into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/143
2022-08-29 21:17:41 +00:00
FloatingGhost e7c21ffbd7 allow selecting languages for translation 2022-08-29 22:16:59 +01:00
floatingghost 9b4cddd2e9 Merge pull request 'Add ability to translate statuses' (#142) from machine-translation into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/142
2022-08-29 19:41:50 +00:00
floatingghost cd20e45157 Merge pull request 'Fix MRF transparency panel showing without transparency enabled' (#141) from eris/pleroma-fe:mrf-panel-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/141
2022-08-29 19:29:57 +00:00
FloatingGhost 48a11cb9d1 add translation options 2022-08-29 20:02:34 +01:00
eris e67d94f73d Fix MRF transparency panel showing without transparency 2022-08-28 10:09:56 +00:00
Absturztaube dccf5ed1c0 resolve merge conflicts 2022-08-28 10:34:00 +02:00
Weblate b39143413c Translated using Weblate (Catalan)
Currently translated at 100.0% (860 of 860 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translation: Pleroma fe/pleroma-fe
2022-08-26 12:44:30 +00:00
Weblate b1460a9909 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 86.1% (773 of 897 strings)

Translated using Weblate (Japanese (ja_PEDANTIC))

Currently translated at 86.0% (740 of 860 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-08-26 12:44:30 +00:00
floatingghost 776bee889e Confirmation dialogs (#140)
supercedes #135

adapted from https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1431

Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/140
2022-08-26 11:58:33 +00:00
FloatingGhost f925fa6265 don't force white globe 2022-08-26 10:36:21 +01:00
floatingghost c1c40d72da resolve language from navigator langs (#139)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/139
2022-08-26 09:31:25 +00:00
floatingghost df70b1e4be Merge pull request 'Potential Fix for (#113) on show new' (#136) from Mergan/pleroma-fe:pleroma-fe#113 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/136
2022-08-25 19:41:10 +00:00
Weblate 58614fed35 Merge branch 'origin/develop' into Weblate. 2022-08-25 16:13:05 +00:00
floatingghost 05d052212a Merge pull request 'allow instance language to take precedence over EN' (#137) from default-language into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/137
2022-08-25 16:13:02 +00:00
FloatingGhost d4e91ef61e allow instance language to take precedence over EN 2022-08-25 17:02:55 +01:00
David bf501e36a1 Potential Fix for (#113) on show new 2022-08-24 23:53:16 -07:00
Weblate 9a37c42f06 Translated using Weblate (French)
Currently translated at 100.0% (860 of 860 strings)

Co-authored-by: Thomate <thomas@burdick.fr>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translation: Pleroma fe/pleroma-fe
2022-08-23 15:12:20 +00:00
Weblate f67868b9ad Translated using Weblate (Dutch)
Currently translated at 100.0% (860 of 860 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (859 of 859 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-23 15:12:19 +00:00
Weblate e678327526 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 86.0% (740 of 860 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-08-23 15:12:18 +00:00
Weblate e1e3b9beff Translated using Weblate (Spanish)
Currently translated at 84.1% (724 of 860 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: mint <they@mint.lgbt>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2022-08-23 15:12:18 +00:00
FloatingGhost 1f2b059320 add language tags 2022-08-23 16:12:06 +01:00
floatingghost 2d85ee6a08 use-server-side-mfm (#133)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/133
2022-08-18 03:14:38 +00:00
floatingghost e61228b031 use akkoma-specific source for MFM unless asked not to (#132)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/132
2022-08-17 09:34:50 +00:00
floatingghost 64fdde52f6 timeline panel nav (#131)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/131
2022-08-17 08:41:36 +00:00
eris ca0b730605 Redo desktop nav, add options for site name and favicon (#83)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/83
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-14 23:24:59 +00:00
floatingghost 4dcca7cf53 somewhat fix scrolling behaviour (#127)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/127
2022-08-11 17:25:43 +00:00
FloatingGhost cbf883ab1e fix "who reacted" emoji display
fixes #80
2022-08-11 18:14:05 +01:00
Weblate edf36d28ca Translated using Weblate (English)
Currently translated at 99.5% (851 of 855 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2022-08-11 10:10:38 +00:00
Weblate c554ced3a4 Merge branch 'origin/develop' into Weblate. 2022-08-11 10:08:13 +00:00
floatingghost 75a3ab343b Merge pull request 'Flip order of accommodation for (#115)' (#118) from Mergan/pleroma-fe:emoji-picker into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/118
2022-08-11 10:08:12 +00:00
Weblate 617773d287 Merge branch 'origin/develop' into Weblate. 2022-08-11 09:21:20 +00:00
FloatingGhost 9ede66fcc0 enable misskey markdown by default
fixes #67
2022-08-11 10:21:00 +01:00
Weblate f969dd6ad2 Translated using Weblate (Dutch)
Currently translated at 100.0% (855 of 855 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (853 of 853 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (852 of 852 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (852 of 852 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-11 09:04:25 +00:00
Weblate 468fe27565 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 82.9% (709 of 855 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2022-08-11 09:04:25 +00:00
Weblate 251a1b13a3 Translated using Weblate (Catalan)
Currently translated at 100.0% (855 of 855 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (855 of 855 strings)

Translated using Weblate (Catalan)

Currently translated at 96.9% (827 of 853 strings)

Translated using Weblate (Catalan)

Currently translated at 97.0% (827 of 852 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translation: Pleroma fe/pleroma-fe
2022-08-11 09:04:25 +00:00
floatingghost 94af72fd62 Merge pull request 'Fix reply filtering on bubble timeline' (#125) from eris/pleroma-fe:bubble-filter-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/125
2022-08-11 09:04:23 +00:00
eris e5ca36a68c Fix reply filtering on bubble timeline 2022-08-10 00:30:13 +00:00
floatingghost 4d27064db3 Show bubble instances in about panel (#123)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/123
2022-08-09 02:16:23 +00:00
eris d4f8934e8a New option: Pause MFM animations until status hover (#120)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/120
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-08 15:47:06 +00:00
floatingghost b354ad382c Merge pull request 'Don't render inline quote policy links in akkoma-fe' (#122) from eris/pleroma-fe:inline-quote-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/122
Reviewed-by: floatingghost <hannah@coffee-and-dreams.uk>
2022-08-07 20:21:04 +00:00
floatingghost 863d586664 Merge pull request 'Fix alt text line height when image doesn't load' (#121) from eris/pleroma-fe:fix-alt-text into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/121
2022-08-07 20:03:31 +00:00
Absturztaube 504a11c9da Merge branch 'develop' into fedi-absturztau-be 2022-08-07 11:46:50 +02:00
eris 92e0d885f0 Don't render inline quote policy links 2022-08-07 07:57:21 +00:00
eris 327195dc55 Fix alt text line height 2022-08-07 07:51:27 +00:00
Weblate e47d3a6d13 Translated using Weblate (Dutch)
Currently translated at 98.2% (837 of 852 strings)

Translated using Weblate (Dutch)

Currently translated at 98.1% (836 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-06 22:40:35 +00:00
FloatingGhost df82757376 Merge branch 'develop' of akkoma.dev:AkkomaGang/pleroma-fe into develop 2022-08-06 23:37:09 +01:00
floatingghost 59d2800051 Merge pull request 'Translated using Weblate (Dutch)' (#119) from translations into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/119
2022-08-06 22:32:53 +00:00
Weblate eab93c1ff6 Translated using Weblate (Dutch)
Currently translated at 98.0% (835 of 852 strings)

Translated using Weblate (Dutch)

Currently translated at 98.0% (835 of 852 strings)

Translated using Weblate (Spanish)

Currently translated at 84.3% (719 of 852 strings)

Translated using Weblate (Dutch)

Currently translated at 97.7% (833 of 852 strings)

Translated using Weblate (Spanish)

Currently translated at 83.8% (714 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Hannah Winter <konhat@hotmail.es>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Co-authored-by: aetios <dijkvanrichard+akkomatranslate@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-06 22:32:30 +00:00
Weblate f89be95e65 Translated using Weblate (Dutch)
Currently translated at 97.7% (833 of 852 strings)

Translated using Weblate (Spanish)

Currently translated at 83.8% (714 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Translated using Weblate (English)

Currently translated at 99.6% (849 of 852 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Hannah Winter <konhat@hotmail.es>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Co-authored-by: aetios <dijkvanrichard+akkomatranslate@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-06 22:28:13 +00:00
David d69df0e906 Flip order of accommodation for (#115) 2022-08-05 17:01:18 -07:00
floatingghost 5a99c54ebe Merge pull request 'Translated using Weblate (Catalan)' (#117) from translations into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/117
2022-08-05 16:41:48 +00:00
floatingghost aa88e4cb0a Merge pull request 'document sticker setup' (#116) from document-sticker-config into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/116
2022-08-05 15:51:53 +00:00
FloatingGhost 6ba8fcb604 document sticker setup 2022-08-05 16:51:01 +01:00
Weblate 0e1286c454 Translated using Weblate (Catalan)
Currently translated at 99.8% (851 of 852 strings)

Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translation: Pleroma fe/pleroma-fe
2022-08-05 11:20:05 +00:00
floatingghost 3eab17330b rework sticker picker for emoji pickerinator 5000 (#111)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/111
2022-08-04 21:11:19 +00:00
floatingghost 2e92aaaaa3 Prune i18n files (#110)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/110
2022-08-04 08:40:01 +00:00
FloatingGhost dfcc91c8c6 Merge remote-tracking branch 'origin/translations' into develop 2022-08-04 09:10:02 +01:00
floatingghost 2712e47bc1 Merge pull request 'Add scope locale for local only posts in status' (#106) from eris/pleroma-fe:add-local-locale into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/106
2022-08-04 07:54:24 +00:00
floatingghost 9421aa1d39 Merge pull request 'Decode html-encoded characters inside pre tags' (#101) from sfr/pleroma-fe:mfm-htmlencode into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/101
2022-08-04 07:52:58 +00:00
Weblate d8708f020e Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 84.9% (723 of 851 strings)

Translated using Weblate (Dutch)

Currently translated at 99.4% (846 of 851 strings)

Translated using Weblate (French)

Currently translated at 100.0% (851 of 851 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (851 of 851 strings)

Translated using Weblate (English)

Currently translated at 100.0% (851 of 851 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-03 20:57:46 +00:00
FloatingGhost 5873ee4e6c Merge remote-tracking branch 'origin/translations' into develop 2022-08-03 21:57:39 +01:00
Mergan aff6caa4c0 Emoji Pack Picker (#102)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/102
Co-authored-by: Mergan <mergan@noreply.akkoma>
Co-committed-by: Mergan <mergan@noreply.akkoma>
2022-08-03 20:56:56 +00:00
floatingghost 2fe5699b8f only include direction on timestamps when required (#108)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/108
2022-08-03 14:07:18 +00:00
eris e43799e3b5 Add scope locale for local only posts 2022-08-03 07:23:38 +00:00
Weblate 3a16e7401e Translated using Weblate (Dutch)
Currently translated at 99.4% (846 of 851 strings)

Translated using Weblate (French)

Currently translated at 100.0% (851 of 851 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (851 of 851 strings)

Translated using Weblate (English)

Currently translated at 100.0% (851 of 851 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-03 07:20:10 +00:00
Sol Fisher Romanoff 6441ff45a9
Decode html-encoded characters inside pre tags 2022-08-02 12:37:18 +03:00
eris ef41494bad Remove descriptions in timeline menu, change to titles and aria-labels (#74)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/74
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-02 09:18:58 +00:00
floatingghost 6380e6c4c2 Merge pull request 'Align quote timestamp to right' (#64) from sfr/pleroma-fe:fix/quote-flex into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/64
2022-08-02 09:15:34 +00:00
eris ff3421c7cb [Bug fix] Fix user avatars in mention links option (#85)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/85
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-02 09:15:16 +00:00
sfr 7f61beff7a a11y: draw gap around notification dot in favicon (#94)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/94
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-08-02 09:14:42 +00:00
floatingghost 3cc0b44cb6 Merge pull request 'Fix timeago warning applying to polls' (#100) from eris/pleroma-fe:timeago-polls-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/100
2022-08-02 08:07:25 +00:00
eris d8dd408de0 Fix timeago warning applying to polls 2022-08-02 06:12:43 +00:00
floatingghost 6f1bb99990 Merge pull request 'Fix code blocks not working in MFM' (#96) from sfr/pleroma-fe:fix/mfm into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/96
2022-08-01 14:57:04 +00:00
Sol Fisher Romanoff b69801d33f
Fix code blocks not working in MFM 2022-08-01 16:14:14 +03:00
floatingghost 2d36b2403b run yarn deps upgrade (#95)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/95
2022-08-01 12:07:39 +00:00
FloatingGhost 5bef62398a Merge remote-tracking branch 'origin/translations' into develop 2022-08-01 12:12:51 +01:00
eris 5f09326879 Mark replies to muted users for muting (#90)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/90
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-01 11:12:02 +00:00
Weblate 8d53d4f0a9 Translated using Weblate (Dutch)
Currently translated at 88.6% (754 of 851 strings)

Translated using Weblate (French)

Currently translated at 97.1% (827 of 851 strings)

Translated using Weblate (Dutch)

Currently translated at 86.8% (739 of 851 strings)

Translated using Weblate (French)

Currently translated at 95.6% (814 of 851 strings)

Translated using Weblate (Dutch)

Currently translated at 86.1% (732 of 850 strings)

Translated using Weblate (French)

Currently translated at 94.8% (806 of 850 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (850 of 850 strings)

Translated using Weblate (English)

Currently translated at 100.0% (850 of 850 strings)

Co-authored-by: Fristi <fristi@subcon.town>
Co-authored-by: Thomate <thomas@burdick.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: eris <femmediscord@gmail.com>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/fr/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/nl/
Translation: Pleroma fe/pleroma-fe
2022-08-01 11:11:26 +00:00
floatingghost 45d8747fdd Merge pull request 'Add ability to click+hold to expand collapsed notifications' (#70) from eris/pleroma-fe:click-expand-notifs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/70
2022-08-01 11:11:25 +00:00
sfr 974663c42d Fix broken MFM tags (#93)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/93
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-08-01 11:10:54 +00:00
Yukkuri f474763151 Commit list accounts state after difference in removed accounts is determined (#82)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/82
Co-authored-by: Yukkuri <iamtakingiteasy@eientei.org>
Co-committed-by: Yukkuri <iamtakingiteasy@eientei.org>
2022-08-01 10:11:39 +00:00
sfr 7c675f1ded Add toggle to hide posts mentioning blocked users (#78)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/78
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-07-31 21:47:25 +00:00
FloatingGhost 751fd5917b Merge branch 'develop' of akkoma.dev:AkkomaGang/pleroma-fe into develop 2022-07-29 10:36:46 +01:00
floatingghost bdbd0b644e Merge pull request 'Update README.md with updated translation instructions' (#71) from norm/pleroma-fe:readme-weblate into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/71
2022-07-29 09:34:02 +00:00
Weblate 53acda2cc7 Translated using Weblate (Catalan)
Currently translated at 100.0% (850 of 850 strings)

Translated using Weblate (English)

Currently translated at 100.0% (850 of 850 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Co-authored-by: sola <spla@mastodont.cat>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ca/
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2022-07-29 09:20:02 +00:00
floatingghost 50f13701be Merge pull request 'Reduce emoji size and expand on hover' (#72) from eris/pleroma-fe:hover-emojis into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/72
2022-07-29 09:18:56 +00:00
floatingghost 1f047b3ce3 Merge pull request 'Fix tall status gradient' (#75) from eris/pleroma-fe:tall-status-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/75
2022-07-29 09:14:28 +00:00
floatingghost c6a4485a20 Merge pull request 'Better formatting for emoji react notifications' (#76) from eris/pleroma-fe:emoji-notif-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/76
2022-07-29 09:13:42 +00:00
floatingghost 7e9273aa91 Merge pull request 'Fix poll duration i18n' (#77) from norm/pleroma-fe:fix-poll-duration-i18n into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/77
2022-07-29 09:13:16 +00:00
Tusooa Zhu bccbdd4706
Fix poll duration i18n 2022-07-29 01:37:09 -04:00
eris bd38f8e263 Better formatting for emoji react notifications 2022-07-29 03:50:36 +00:00
eris a023ee9893 Fix tall status gradient 2022-07-29 03:34:04 +00:00
Norm 38c9720c65 typo fix 2022-07-28 23:59:53 +00:00
eris 1189607f2e Reduce emoji size and expand on hover 2022-07-28 23:58:04 +00:00
Norm a142a016d9 Update README.md with updated translation instructions 2022-07-28 23:56:48 +00:00
eris 6ed6395c07 Add ability to click to expand collapsed notifications 2022-07-28 23:52:20 +00:00
sola eef99fd86b Translated using Weblate (Catalan)
Currently translated at 100.0% (850 of 850 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-07-27 21:25:15 +00:00
FloatingGhost 86bdbfe0c0 Merge branch 'i18n' into develop 2022-07-27 22:25:05 +01:00
floatingghost 2258174a00 weblate sync (#66)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/66
2022-07-27 10:13:42 +00:00
FloatingGhost 7cec2616b4 Merge branch 'develop' into i18n 2022-07-27 11:07:24 +01:00
sola 1bd60115ce Translated using Weblate (Catalan)
Currently translated at 100.0% (850 of 850 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-07-27 10:00:32 +00:00
Weblate Admin f7e2b48c72 Translated using Weblate (English)
Currently translated at 100.0% (850 of 850 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/en/
2022-07-27 10:00:27 +00:00
thomate 93feda84dc More French translations (#65)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/65
Co-authored-by: thomate <thomas@burdick.fr>
Co-committed-by: thomate <thomas@burdick.fr>
2022-07-27 10:00:25 +00:00
Weblate Admin 5577fc9a32 Translated using Weblate (English)
Currently translated at 100.0% (851 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/en/
2022-07-26 21:30:41 +00:00
Weblate Admin 9af2ebe485 Translated using Weblate (Chinese (Traditional))
Currently translated at 81.9% (697 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/zh_Hant/
2022-07-26 21:30:41 +00:00
Weblate Admin 7e0f13320a Translated using Weblate (Chinese (Simplified))
Currently translated at 82.0% (698 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/zh_Hans/
2022-07-26 21:30:41 +00:00
Weblate Admin 70e431f460 Translated using Weblate (Vietnamese)
Currently translated at 82.3% (701 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/vi/
2022-07-26 21:30:41 +00:00
Weblate Admin 24487f9d77 Translated using Weblate (Ukrainian)
Currently translated at 81.9% (697 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/uk/
2022-07-26 21:30:41 +00:00
Weblate Admin 584d3f4c4b Translated using Weblate (Telugu)
Currently translated at 39.8% (339 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/te/
2022-07-26 21:30:40 +00:00
Weblate Admin 61b90473ac Translated using Weblate (Slovak)
Currently translated at 46.6% (397 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/sk/
2022-07-26 21:30:40 +00:00
Weblate Admin e7d2921828 Translated using Weblate (Russian)
Currently translated at 71.9% (612 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ru/
2022-07-26 21:30:40 +00:00
Weblate Admin 68813cf4e3 Translated using Weblate (Portuguese)
Currently translated at 77.6% (661 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/pt/
2022-07-26 21:30:40 +00:00
Weblate Admin 6576042814 Translated using Weblate (Polish)
Currently translated at 81.1% (691 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/pl/
2022-07-26 21:30:39 +00:00
Weblate Admin 0421d07ca5 Translated using Weblate (Dutch)
Currently translated at 82.3% (701 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/nl/
2022-07-26 21:30:39 +00:00
Weblate Admin 7e10674eb9 Translated using Weblate (Catalan)
Currently translated at 87.1% (742 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-07-26 21:30:39 +00:00
Weblate Admin 0df62261f5 Translated using Weblate (Occitan)
Currently translated at 49.3% (420 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/oc/
2022-07-26 21:30:39 +00:00
Weblate Admin 28e59decab Translated using Weblate (Norwegian Bokmål)
Currently translated at 56.2% (479 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/nb_NO/
2022-07-26 21:30:39 +00:00
Weblate Admin 073f62e2ed Translated using Weblate (Korean)
Currently translated at 52.7% (449 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ko/
2022-07-26 21:30:38 +00:00
Weblate Admin 86f6bfa04f Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 85.4% (727 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ja_PEDANTIC/
2022-07-26 21:30:38 +00:00
Weblate Admin bd57be4b12 Translated using Weblate (Japanese (ja_EASY))
Currently translated at 61.4% (523 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ja_EASY/
2022-07-26 21:30:38 +00:00
Weblate Admin 7bced9da57 Translated using Weblate (Italian)
Currently translated at 82.4% (702 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/it/
2022-07-26 21:30:38 +00:00
Weblate Admin 206de567d4 Translated using Weblate (Indonesian)
Currently translated at 55.6% (474 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/id/
2022-07-26 21:30:38 +00:00
Weblate Admin f3a6c04f41 Translated using Weblate (Hebrew)
Currently translated at 37.7% (321 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/he/
2022-07-26 21:30:37 +00:00
Weblate Admin e0eb8d0342 Translated using Weblate (Irish)
Currently translated at 21.0% (179 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ga/
2022-07-26 21:30:37 +00:00
Weblate Admin 74db389f6a Translated using Weblate (French)
Currently translated at 82.6% (703 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fr/
2022-07-26 21:30:37 +00:00
Weblate Admin 40bd0b2262 Translated using Weblate (Finnish)
Currently translated at 72.7% (619 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fi/
2022-07-26 21:30:37 +00:00
Weblate Admin 4e2d63b15a Translated using Weblate (Persian)
Currently translated at 12.9% (110 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fa/
2022-07-26 21:30:37 +00:00
Weblate Admin b37265f185 Translated using Weblate (Basque)
Currently translated at 65.8% (560 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/eu/
2022-07-26 21:30:36 +00:00
Weblate Admin c283924a20 Translated using Weblate (Estonian)
Currently translated at 43.4% (370 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/et/
2022-07-26 21:30:36 +00:00
Weblate Admin 554e3de73b Translated using Weblate (Spanish)
Currently translated at 82.4% (702 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/es/
2022-07-26 21:30:36 +00:00
Weblate Admin 176828a374 Translated using Weblate (Esperanto)
Currently translated at 82.4% (702 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/eo/
2022-07-26 21:30:36 +00:00
Weblate Admin 1be46da339 Translated using Weblate (German)
Currently translated at 81.9% (697 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/de/
2022-07-26 21:30:36 +00:00
Weblate Admin a072226d92 Translated using Weblate (Czech)
Currently translated at 41.4% (353 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/cs/
2022-07-26 21:30:36 +00:00
Weblate Admin d0f07d47ce Translated using Weblate (Arabic)
Currently translated at 15.0% (128 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ar/
2022-07-26 21:30:36 +00:00
Fristi 27ab013704 Translated using Weblate (Dutch)
Currently translated at 82.3% (701 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/nl/
2022-07-26 21:30:35 +00:00
sola 603d82dbe8 Translated using Weblate (Catalan)
Currently translated at 87.1% (742 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-07-26 21:30:35 +00:00
Weblate Admin 3b1464e29a Translated using Weblate (English)
Currently translated at 100.0% (851 of 851 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/en/
2022-07-26 21:30:33 +00:00
Weblate Admin bd63808767 Translated using Weblate (English)
Currently translated at 100.0% (852 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/en/
2022-07-26 18:36:58 +00:00
Weblate Admin 2d25fbf6a4 Translated using Weblate (Chinese (Traditional))
Currently translated at 81.9% (698 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/zh_Hant/
2022-07-26 18:36:58 +00:00
Weblate Admin b301b48571 Translated using Weblate (Chinese (Simplified))
Currently translated at 82.0% (699 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/zh_Hans/
2022-07-26 18:36:58 +00:00
Weblate Admin 16aacf55cb Translated using Weblate (Vietnamese)
Currently translated at 82.3% (702 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/vi/
2022-07-26 18:36:57 +00:00
Weblate Admin c14dbe146c Translated using Weblate (Ukrainian)
Currently translated at 81.9% (698 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/uk/
2022-07-26 18:36:57 +00:00
Weblate Admin 8361ea76d0 Translated using Weblate (Slovak)
Currently translated at 46.7% (398 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/sk/
2022-07-26 18:36:57 +00:00
Weblate Admin 80cefc20fd Translated using Weblate (Russian)
Currently translated at 71.9% (613 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ru/
2022-07-26 18:36:57 +00:00
Weblate Admin 2b99c62957 Translated using Weblate (Portuguese)
Currently translated at 77.6% (662 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/pt/
2022-07-26 18:36:57 +00:00
Weblate Admin ae16d37242 Translated using Weblate (Polish)
Currently translated at 81.2% (692 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/pl/
2022-07-26 18:36:56 +00:00
Weblate Admin 2fc2bc5590 Translated using Weblate (Dutch)
Currently translated at 81.8% (697 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/nl/
2022-07-26 18:36:56 +00:00
Weblate Admin 62c5709cc5 Translated using Weblate (Korean)
Currently translated at 52.8% (450 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ko/
2022-07-26 18:36:56 +00:00
Weblate Admin 22f21e7a83 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 85.5% (729 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ja_PEDANTIC/
2022-07-26 18:36:56 +00:00
Weblate Admin 155a734a52 Translated using Weblate (Italian)
Currently translated at 82.5% (703 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/it/
2022-07-26 18:36:55 +00:00
Weblate Admin b996677c7e Translated using Weblate (Indonesian)
Currently translated at 55.7% (475 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/id/
2022-07-26 18:36:55 +00:00
Weblate Admin bf42249200 Translated using Weblate (French)
Currently translated at 82.7% (705 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fr/
2022-07-26 18:36:55 +00:00
Weblate Admin c161e54e6b Translated using Weblate (Persian)
Currently translated at 13.0% (111 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fa/
2022-07-26 18:36:54 +00:00
Weblate Admin 2ae7a4712d Translated using Weblate (Basque)
Currently translated at 65.8% (561 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/eu/
2022-07-26 18:36:54 +00:00
Weblate Admin e90c23fde2 Translated using Weblate (Spanish)
Currently translated at 82.5% (703 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/es/
2022-07-26 18:36:54 +00:00
Weblate Admin 47fd319fed Translated using Weblate (Esperanto)
Currently translated at 82.5% (703 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/eo/
2022-07-26 18:36:54 +00:00
Weblate Admin 390231246f Translated using Weblate (German)
Currently translated at 81.9% (698 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/de/
2022-07-26 18:36:53 +00:00
Weblate Admin 0c7f1475cb Translated using Weblate (Catalan)
Currently translated at 82.5% (703 of 852 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-07-26 18:36:53 +00:00
Weblate Admin 868dce8e3a Translated using Weblate (English)
Currently translated at 100.0% (853 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/en/
2022-07-26 18:35:57 +00:00
Weblate Admin 66f45846a6 Translated using Weblate (Chinese (Traditional))
Currently translated at 81.9% (699 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/zh_Hant/
2022-07-26 18:35:57 +00:00
Weblate Admin df158da14a Translated using Weblate (Vietnamese)
Currently translated at 82.4% (703 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/vi/
2022-07-26 18:35:57 +00:00
Weblate Admin 25e7b90926 Translated using Weblate (Ukrainian)
Currently translated at 81.9% (699 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/uk/
2022-07-26 18:35:57 +00:00
Weblate Admin b686dec2b1 Translated using Weblate (Slovak)
Currently translated at 46.7% (399 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/sk/
2022-07-26 18:35:56 +00:00
Weblate Admin 015f21a1c9 Translated using Weblate (Russian)
Currently translated at 71.9% (614 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ru/
2022-07-26 18:35:56 +00:00
Weblate Admin 6f07fc7326 Translated using Weblate (Portuguese)
Currently translated at 77.7% (663 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/pt/
2022-07-26 18:35:56 +00:00
Weblate Admin 13df926362 Translated using Weblate (Polish)
Currently translated at 81.2% (693 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/pl/
2022-07-26 18:35:56 +00:00
Weblate Admin 78c3bb168f Translated using Weblate (Dutch)
Currently translated at 81.8% (698 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/nl/
2022-07-26 18:35:55 +00:00
Weblate Admin f0ee4414f3 Translated using Weblate (Korean)
Currently translated at 52.8% (451 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ko/
2022-07-26 18:35:55 +00:00
Weblate Admin b8f6b79682 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 85.5% (730 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ja_PEDANTIC/
2022-07-26 18:35:55 +00:00
Weblate Admin 7666a13445 Translated using Weblate (Italian)
Currently translated at 82.5% (704 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/it/
2022-07-26 18:35:55 +00:00
Weblate Admin 858df3737d Translated using Weblate (Indonesian)
Currently translated at 55.8% (476 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/id/
2022-07-26 18:35:54 +00:00
Weblate Admin a9e46b7c7f Translated using Weblate (French)
Currently translated at 82.7% (706 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fr/
2022-07-26 18:35:54 +00:00
Weblate Admin 05ba991414 Translated using Weblate (Persian)
Currently translated at 13.1% (112 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/fa/
2022-07-26 18:35:54 +00:00
Weblate Admin 8ba5d3e739 Translated using Weblate (Basque)
Currently translated at 65.8% (562 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/eu/
2022-07-26 18:35:54 +00:00
Weblate Admin a4c7cf3b8a Translated using Weblate (Spanish)
Currently translated at 82.5% (704 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/es/
2022-07-26 18:35:53 +00:00
Weblate Admin f06ddec06b Translated using Weblate (Esperanto)
Currently translated at 82.5% (704 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/eo/
2022-07-26 18:35:53 +00:00
Weblate Admin 37ece31b94 Translated using Weblate (German)
Currently translated at 81.9% (699 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/de/
2022-07-26 18:35:53 +00:00
Weblate Admin 650898fdc4 Translated using Weblate (Catalan)
Currently translated at 82.5% (704 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ca/
2022-07-26 18:35:53 +00:00
Weblate Admin 3572d5edba Translated using Weblate (Chinese (Simplified))
Currently translated at 82.0% (700 of 853 strings)

Translation: Pleroma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/zh_Hans/
2022-07-26 18:35:53 +00:00
FloatingGhost 017197cd28 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 85.5% (730 of 853 strings)

Translation: Akkoma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ja_PEDANTIC/
2022-07-26 18:24:45 +00:00
Weblate Admin 0c9de801f7 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 85.4% (729 of 853 strings)

Translation: Akkoma fe/pleroma-fe
Translate-URL: http://translate.akkoma.dev/projects/akkoma-fe/pleroma-fe/ja_PEDANTIC/
2022-07-26 18:11:39 +00:00
floatingghost d85d9c26b1 Merge pull request 'Merge disabled boost and quote buttons on private posts' (#63) from sfr/pleroma-fe:hide-quote-button into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/63
2022-07-26 13:22:09 +00:00
floatingghost 0746682763 Merge pull request 'Change quoted status link to router-link' (#60) from sfr/pleroma-fe:fix/quote-links into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/60
2022-07-26 12:45:44 +00:00
Sol Fisher Romanoff 1201418bec
Align quote timestamp to right 2022-07-26 14:51:07 +03:00
floatingghost 07adab74ec Merge pull request 'i18n: add quote tooltip' (#62) from sfr/pleroma-fe:i18n/quote into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/62
2022-07-26 11:44:55 +00:00
Absturztaube d3d13d50d4 resolve merge conflicts 2022-07-26 12:22:07 +02:00
Absturztaube 6b10df2d89 merged akkoma-fe develop 2022-07-26 10:44:11 +02:00
Sol Fisher Romanoff 55a840ba9d
Merge disabled boost and quote buttons on private posts 2022-07-25 21:44:38 +03:00
Sol Fisher Romanoff 0fdaca8cb2
i18n: add quote tooltip 2022-07-25 21:39:55 +03:00
Sol Fisher Romanoff 86fc043e54
Change quoted status link to router-link 2022-07-25 19:58:55 +03:00
floatingghost a2541bb4e0 Add quotes (#59)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/59
2022-07-25 16:25:41 +00:00
thomate 04bb4112c0 Added some missing French translations, and fixed an adjacent bit of style that didn’t match the rest (#58)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/58
Co-authored-by: thomate <thomas@burdick.fr>
Co-committed-by: thomate <thomas@burdick.fr>
2022-07-25 11:36:34 +00:00
floatingghost c8b2bf96be Merge pull request 'fix time units in poll form' (#56) from poll-times into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/56
2022-07-23 12:47:08 +00:00
FloatingGhost 4d2cf83452 fix time units 2022-07-23 13:40:52 +01:00
floatingghost 12d7e4ea24 Merge pull request 'don't try to parse pong' (#54) from json-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/54
2022-07-22 15:09:06 +00:00
FloatingGhost 3d921c81bd don't try to parse pong 2022-07-22 16:08:29 +01:00
floatingghost e48506844d Merge pull request 'add bubble timeline' (#53) from bubble-keikaku into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/53
2022-07-22 14:55:47 +00:00
FloatingGhost 18fc3a0ad5 add bubble timeline 2022-07-22 15:36:45 +01:00
floatingghost 75024d8501 re-add time direction (#52)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/52
2022-07-21 20:56:30 +00:00
floatingghost 7a0b83cdc9 Merge pull request 'scale custom emoji with mfm' (#50) from mfm-emoji-size into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/50
2022-07-20 15:54:57 +00:00
FloatingGhost 3302ef08ae scale custom emoji with mfm 2022-07-20 16:53:59 +01:00
floatingghost a8c4aec721 purge shout/chat (#49)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/49
2022-07-20 15:36:45 +00:00
floatingghost 9a82e8b097 Merge pull request 'fix up some JP localisations' (#48) from i18n/jp-loc into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/48
2022-07-20 13:36:23 +00:00
FloatingGhost 4714d683d3 fix up some JP localisations 2022-07-20 14:35:45 +01:00
floatingghost 137bf5557c Merge pull request '[#44] i18n/fix-format' (#45) from i18n/fix-format into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/45
2022-07-19 10:12:36 +00:00
FloatingGhost 606e850aad lint 2022-07-19 11:02:49 +01:00
FloatingGhost eb47bb8973 remove debug log 2022-07-19 11:02:08 +01:00
FloatingGhost a32cd0a98c fix time formats 2022-07-19 11:01:24 +01:00
floatingghost cfb55594a5 Merge pull request 'Make private notes actually work' (#43) from sfr/pleroma-fe:notes into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/43
2022-07-19 08:33:20 +00:00
Sol Fisher Romanoff 15b612bad6
Make private notes actually work 2022-07-19 08:56:14 +03:00
floatingghost fab72940c4 announcements (#42)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/42
2022-07-18 13:08:50 +00:00
floatingghost 2977edc04d theme tab: don't crash out on non-colours (#41)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/41
2022-07-17 13:13:51 +00:00
Norm a256931596 Update README with Akkoma stuff (#39)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/39
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-07-17 13:09:44 +00:00
floatingghost 29f3c8a40e Merge pull request 'Allow ctrl+enter posting when focused on alt text' (#33) from sfr/pleroma-fe:attachment-shortcut into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/33
2022-07-17 13:09:10 +00:00
floatingghost e2d064131b Merge pull request 'add mfm cheatsheet link' (#37) from mfm-link into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/37
2022-07-15 13:01:34 +00:00
FloatingGhost ea6f6ec82c add mfm cheatsheet link 2022-07-15 14:00:55 +01:00
floatingghost 35146e3615 Merge pull request 'deploy to a branch' (#36) from branch-artifact into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/36
2022-07-15 10:44:00 +00:00
FloatingGhost bcd32de461 deploy to a branch 2022-07-15 11:42:56 +01:00
floatingghost 985a70c084 Merge pull request 'Add documentation builder' (#35) from stable-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/35
2022-07-15 10:21:48 +00:00
FloatingGhost 0dfde3e92c only build on develop and stable 2022-07-15 11:20:01 +01:00
FloatingGhost 361662b6cf build docs on deploy 2022-07-15 11:11:34 +01:00
FloatingGhost 494d7f49c9 add documentation builder 2022-07-15 11:07:43 +01:00
floatingghost 3ff141a122 Merge pull request 'marked-mfm fixes: spin direction, greentext' (#34) from marked-mfm into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/34
2022-07-15 09:59:22 +00:00
FloatingGhost dba047ce34 Merge branch 'develop' into marked-mfm 2022-07-15 10:58:41 +01:00
sfr 931ed3d3c7 Use Marked and marked-mfm for MFM rendering (#29)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/29
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-07-15 09:57:17 +00:00
FloatingGhost d29bccb7d6 bugfix: spin css, props setting 2022-07-15 10:55:47 +01:00
Sol Fisher Romanoff d480429896
Allow ctrl+enter posting when focused on alt text 2022-07-14 22:36:14 +03:00
floatingghost 28d5a55352 Merge pull request 'Fix path to terms-of-service.html' (#32) from norm/pleroma-fe:norm-patch-1 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/32
2022-07-14 10:28:09 +00:00
Sol Fisher Romanoff a8f9734400
Don't greentext MFM 2022-07-13 20:59:41 +03:00
norm 4d84fd4cf7 Fix path to terms-of-service.html 2022-07-12 20:46:08 +00:00
Sol Fisher Romanoff 8861835580
Fix CSS 2022-07-12 20:36:49 +03:00
Sol Fisher Romanoff 8c9821e444
Parse MFM options with values 2022-07-12 20:36:48 +03:00
Sol Fisher Romanoff f15465f0d3
Use media type to figure out whether to parse MFM 2022-07-12 20:36:25 +03:00
Sol Fisher Romanoff 5e18f1ceeb
Move MFM content rendering to RichContent 2022-07-12 20:36:03 +03:00
sfr 5385797ff1 Smarter scope copy (#28)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/28
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-07-12 09:04:28 +00:00
floatingghost 7d377b8e88 Merge pull request '[#30] increase spacing of icons' (#31) from icon-spacing into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/31
2022-07-10 17:11:44 +00:00
FloatingGhost 67bc9e5ba3 increase spacing of icons 2022-07-10 18:05:55 +01:00
Sol Fisher Romanoff 83a3b37f1f
Use Marked and marked-mfm for MFM rendering 2022-07-09 14:34:59 +03:00
Sol Fisher Romanoff 5f9e3709b3
Update MFM css 2022-07-09 14:34:31 +03:00
floatingghost 3dac486688 Merge pull request 'refactor list search' (#27) from list-searcher into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/27
2022-07-05 13:42:17 +00:00
FloatingGhost 88d04f0af7 also run search on checkbox update 2022-07-05 14:37:26 +01:00
FloatingGhost 617cd7d1f8 refactor list search 2022-07-05 14:28:23 +01:00
sfr 677e5325fa implement Move activities (#26)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/26
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-07-04 16:38:58 +00:00
floatingghost 101f15a078 Merge pull request 'fix search rendering' (#25) from mfm-search into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/25
2022-07-01 12:50:44 +00:00
FloatingGhost 370f3b14fa fix search rendering 2022-07-01 13:50:14 +01:00
floatingghost 6e641a99a2 Show warning if a post has a subject line but is not marked as sensitive (#24)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/24
2022-06-28 13:53:12 +00:00
sfr 716320de35 Respect subject lines in notifications (#23)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/23
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-06-27 16:15:24 +00:00
floatingghost 06343addef Merge pull request 'Render inline code correctly in MFM' (#21) from sfr/pleroma-fe:mfm-code into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/21
2022-06-27 09:33:49 +00:00
Sol Fisher Romanoff eb69fc33f6
Render inline code correctly in MFM 2022-06-27 10:15:57 +03:00
floatingghost 9e13e5d164 Add cleaner message for rate-limited users (#19)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/19
2022-06-26 19:02:49 +00:00
sfr 794906f01e Fix alt text wrap and line breaks (#14)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/14
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-06-26 18:36:04 +00:00
sfr 263ef17816 Use textarea instead of input for composing alt text (#15)
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/15
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-06-26 17:51:13 +00:00
FloatingGhost 7025cb8bb0 Merge branch 'build-on-merge' into develop 2022-06-26 18:20:54 +01:00
FloatingGhost 821460075a also run build on push 2022-06-26 18:20:41 +01:00
floatingghost b87637c611 Merge pull request 'Build and release on merge into develop' (#17) from build-on-merge into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/17
2022-06-26 17:14:52 +00:00
FloatingGhost e10588430f builds on merge into develop for ease of release 2022-06-26 18:13:57 +01:00
floatingghost dda1a2f75c Merge pull request 'Allow boosting own private posts' (#16) from sfr/pleroma-fe:boost-priv into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/16
2022-06-26 17:11:08 +00:00
Yureka cc35202911
Allow boosting own private posts 2022-06-26 07:54:42 +03:00
floatingghost 9827c0e81e Merge pull request 'Remove auto-dismissing notifications' (#13) from sfr/pleroma-fe:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/13
2022-06-24 15:47:48 +00:00
Sol Fisher Romanoff f481cdd00b
Remove auto-dismissing notifications 2022-06-23 22:31:48 +03:00
floatingghost f0e180693e Merge pull request 'Don't show note textarea if logged out' (#12) from sfr/pleroma-fe:notes into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/12
2022-06-23 19:09:57 +00:00
Sol Fisher Romanoff 9f9c5e01f1
Don't show note textarea if logged out 2022-06-23 20:02:47 +03:00
floatingghost c71405ccad Merge pull request 'Add private note field to user profile' (#9) from sfr/pleroma-fe:notes into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/pleroma-fe/pulls/9
2022-06-23 14:33:18 +00:00
Sol Fisher Romanoff 231a4af754
Disable private note for self 2022-06-23 15:04:54 +03:00
Sol Fisher Romanoff 398b2624c8
Add note saving indicator 2022-06-23 15:04:19 +03:00
Sol Fisher Romanoff 4f0eabbd55
api: turn MASTODON_USER_URL into a function 2022-06-23 15:02:43 +03:00
Sol Fisher Romanoff fb2fc686b1
Add debounce to API request 2022-06-22 19:42:27 +03:00
Sol Fisher Romanoff 9923ff587b
Add private note field to user profile 2022-06-22 19:14:06 +03:00
FloatingGhost 261a9da374 remove parsing of sparkle 2022-06-22 11:26:48 +01:00
FloatingGhost ca8689fc88 bugfix: don't error if emoji not found 2022-06-20 14:55:38 +01:00
floatingghost 15ec862da0 Merge pull request 'lists' (#4) from sfr/pleroma-fe:lists into develop
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/4
2022-06-20 13:10:00 +00:00
Sol Fisher Romanoff ba4656312a
Add tests 2022-06-19 00:04:53 +03:00
Sol Fisher Romanoff a6136f6cb2
refactor: don't make API calls directly 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff 9217ca8476
Fetch all users in list before displaying 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff ab7001ed20
Use router for list timeline link 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff 023fcb506f
Lint fixes 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff a66d40e0e8
Clear list timeline on exit 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff a982af771b
Display list title 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff 92fac1cd9f
Allow removing accounts from list 2022-06-19 00:04:52 +03:00
Sol Fisher Romanoff dea803468f
Show already added accounts in search 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff d1af4bdd51
Fix account selection garbage 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff cf33b3295f
Add ability to edit and delete lists 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff bacb6c8fb3
Add list creation functionality 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff 3d18dd7e47
Make the list list page look good 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff d2c82a04d9
Add buttons to menus 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff 6e8c7460a2
Add lists listing page 2022-06-19 00:04:51 +03:00
Sol Fisher Romanoff e18e179a59
Fetch list of lists from the API 2022-06-19 00:04:50 +03:00
Sol Fisher Romanoff d5d464a289
Add list timeline rendering functionality
the list name is missing; this is because the API request to get it is different
to the API request for receiving the list timeline, and is not yet implemented.
2022-06-19 00:04:48 +03:00
floatingghost c1a8dc34da Merge pull request 'Add tests to #3' (#8) from sfr/pleroma-fe:develop into develop
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/8
2022-06-18 12:20:39 +00:00
Sol Fisher Romanoff cea08d41ee
Add tests to #3 2022-06-17 20:40:49 +03:00
floatingghost 3806f579b9 Merge pull request 'Correctly link to BE commit in version tab' (#3) from sfr/pleroma-fe:develop into develop
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/3
2022-06-17 11:56:12 +00:00
FloatingGhost 13048fce76 fix build 2022-06-17 12:23:19 +01:00
FloatingGhost a0ba907f6d build on push 2022-06-17 12:19:12 +01:00
FloatingGhost 35dfb09e6f force popover to be a bit bigger 2022-06-17 12:18:11 +01:00
floatingghost 8c9356b9fd Reuse the emoji picker for reactions (#7)
Fixes #6

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/7
2022-06-16 11:41:08 +00:00
FloatingGhost 52644ec5cb remove IHBA ToS 2022-06-16 11:35:25 +01:00
floatingghost a0305e90f0 fix tests and add CI (#5)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/5
2022-06-15 17:22:02 +00:00
FloatingGhost 1ad17fc2bf run stylelint 2022-06-15 16:58:02 +01:00
Sol Fisher Romanoff adc6b86e6b
Correctly link to BE commit in version tab 2022-06-14 22:13:51 +03:00
FloatingGhost 36309ebe04 don't clip on overflow 2022-06-14 17:28:41 +01:00
FloatingGhost 38d1074992 fix link display 2022-06-14 17:07:46 +01:00
FloatingGhost 9f764a4217 Merge branch 'mfm' into develop 2022-06-14 16:35:18 +01:00
FloatingGhost ef1c3d57b6 fix styling 2022-06-14 16:35:08 +01:00
FloatingGhost 3019dd4801 update gitignore 2022-06-14 15:57:20 +01:00
FloatingGhost ed42c476fb allow MFM authoring 2022-06-14 15:57:02 +01:00
floatingghost 0d85492d57 Merge pull request 'Link to akkoma repos in version tab' (#2) from sfr/pleroma-fe:develop into develop
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/2
2022-06-14 10:56:15 +00:00
Sol Fisher Romanoff dbf045c842
Link to akkoma repos in version tab 2022-06-14 13:52:11 +03:00
floatingghost f0b8468d45 Merge pull request 'i18n: change local posting notice' (#1) from sfr/pleroma-fe:develop into develop
Reviewed-on: http://akkoma.dev/AkkomaGang/pleroma-fe/pulls/1
2022-06-14 08:58:59 +00:00
Sol Fisher Romanoff c768641f09
i18n: change local posting notice 2022-06-14 11:55:29 +03:00
FloatingGhost 8f1aaf617a fix css 2022-06-12 14:13:04 +01:00
FloatingGhost a9f8ec5453 add custom emoji display 2022-06-12 14:11:07 +01:00
floatingghost c66a3e0206 Merge pull request 'Add emoji name as title tag' (#1) from sfr/pleroma-fe:develop into develop
Reviewed-on: https://git.ihatebeinga.live/IHBAGang/pleroma-fe/pulls/1
2022-06-09 13:45:24 +01:00
Sol Fisher Romanoff 58ca9b28fa
Add emoji name as title tag 2022-06-09 15:41:11 +03:00
sadposter d8a52f9cc4 fix width 2022-06-08 19:16:29 +01:00
FloatingGhost f6cf509a04 Merge remote-tracking branch 'upstream/develop' into develop 2022-06-08 18:09:16 +01:00
FloatingGhost a731f046b3 fix emoji sizing 2022-06-08 17:22:45 +01:00
FloatingGhost c65895b328 force width 2022-06-08 12:44:52 +01:00
FloatingGhost 3a1d6a1970 allow custom reactions 2022-06-08 12:37:22 +01:00
FloatingGhost 170a406cad allow customs 2022-06-08 02:40:20 +01:00
FloatingGhost 41991bcac2 fix masto link handling 2022-01-29 13:09:55 +00:00
FloatingGhost 1bc05e87e4 apply patches 2022-01-28 19:07:28 +00:00
FloatingGhost f065fe98b2 Revert "fix hrefs"
This reverts commit aecc59cdc8.
2022-01-28 19:02:42 +00:00
FloatingGhost aecc59cdc8 fix hrefs 2022-01-28 18:45:21 +00:00
sadposter ecefbac4ec fix theme tab 2022-01-19 23:02:06 +00:00
sadposter dfb376cbd4 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into develop 2021-12-30 21:09:22 +00:00
sadposter 1e39dac5ea i18n 2021-12-30 21:09:16 +00:00
sadposter e55f1c58df reduce polling rate 2021-12-05 15:02:10 +00:00
sadposter f150d0a105 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into develop 2021-12-05 14:50:43 +00:00
sadposter fd9f78a7a1 use streaming API by default 2021-12-05 14:50:30 +00:00
sadposter 238ebcf1e4 remove svg 2021-11-20 14:38:01 +00:00
sadposter b141b04a53 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into develop 2021-11-19 13:48:39 +00:00
sadposter e5db1a7e55 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-08-30 22:07:05 +01:00
sadposter feb7090cde Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-08-05 12:59:18 +01:00
FloatingGhost 9cea1bc08c fix preset 2021-07-01 16:47:16 +01:00
sadposter d49434a799 add stuff 2021-07-01 16:06:59 +01:00
sadposter 214d85189c Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-06-25 10:07:29 +01:00
sadposter 28ac9d83c1 Merge branch 'develop' of gitssh.ihatebeinga.live:IHBAGang/pleroma-fe into develop 2021-05-21 11:42:10 +01:00
FloatingGhost 6d47156297 Merge branch 'develop' of https://git.ihatebeinga.live/IHBAGang/pleroma-fe into develop 2021-05-21 11:37:33 +01:00
FloatingGhost cda1819d81 Add domain block components 2021-05-21 11:35:50 +01:00
sadposter dd6fb78913 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-05-12 16:16:18 +01:00
sadposter 350d0b0888 things 2021-05-12 16:16:13 +01:00
sadposter 50d5ef7416 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-03-30 11:48:05 +01:00
sadposter c7c4e2e03e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-03-23 23:01:44 +00:00
sadposter d1bffd7659 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-03-03 13:51:57 +00:00
sadposter 7ed1fe70d1 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-02-20 15:29:27 +00:00
sadposter 87ae0eaa15 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2021-01-23 22:45:25 +00:00
sadposter edb5826072 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-12-29 13:25:38 +00:00
sadposter 7e1b1ec990 :Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-11-15 19:45:52 +00:00
sadposter 804e25084d thing 2020-11-15 19:45:14 +00:00
sadposter e21dd584a9 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-11-01 12:26:14 +00:00
sadposter 3f8845bdad Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-09-15 17:29:57 +01:00
sadposter 098991d767 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-09-09 09:45:48 +01:00
sadposter d44d8f1989 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-08-24 17:29:34 +01:00
sadposter 763d2c0ce4 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-08-13 20:15:30 +01:00
sadposter 66c44b4260 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-08-01 19:41:12 +01:00
sadposter 6f621dd34c Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-07-10 11:27:53 +01:00
sadposter 954d5c05df Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-07-09 22:32:18 +01:00
sadposter 77bd79100b Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-06-19 11:01:06 +01:00
sadposter f99240df69 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-06-06 18:30:38 +01:00
sadposter 78db835fe1 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma-fe into develop 2020-05-20 17:16:21 +01:00
sadposter b4ca079bdb dd nsfw 2020-05-20 17:15:34 +01:00
sadposter 10153e692e ihba updates 2020-05-08 14:38:46 +01:00
396 changed files with 53365 additions and 33144 deletions

41
.drone.yml Normal file
View File

@ -0,0 +1,41 @@
kind: pipeline
type: docker
name: Deploy
clone:
disable: true
steps:
- name: Clone
image: woodpeckerci/plugin-git
settings:
recursive: true
- name: Build
depends_on:
- Clone
image: node:18
commands:
- yarn
- yarn build
when:
event:
- push
- name: Execute deploy script
depends_on:
- Build
image: ubuntu:latest
environment:
SSH_KEY:
from_secret: SSH_KEY
commands:
- apt update && apt install -y openssh-client rsync
- ./ci/add-key.sh
- ./ci/deploy.sh
when:
event:
- push
branch:
- froth
- froth-akkoma

View File

@ -1,17 +1,17 @@
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
sourceType: 'module'
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: [
'standard',
'plugin:vue/recommended'
],
// required to lint *.vue files
plugins: [
'vue'
'vue',
'import'
],
// add your custom rules here
rules: {
@ -21,6 +21,10 @@ module.exports = {
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'vue/require-prop-types': 0
'vue/require-prop-types': 0,
'vue/no-unused-vars': 0,
'no-tabs': 0,
'vue/multi-word-component-names': 0,
'vue/no-reserved-component-names': 0
}
}

View File

@ -0,0 +1,49 @@
name: "Bug report"
about: "Something isn't working as expected"
title: "[bug] "
body:
- type: markdown
attributes:
value: "Thanks for taking the time to file this bug report! Please try to be as specific and detailed as you can, so we can track down the issue and fix it as soon as possible."
- type: input
id: version
attributes:
label: "Version"
description: "Which version of pleroma-fe are you running? If running develop, specify the commit hash."
placeholder: "e.g. 2022.11, 40e86998e6"
- type: textarea
id: attempt
attributes:
label: "What were you trying to do?"
validations:
required: true
- type: textarea
id: expectation
attributes:
label: "What did you expect to happen?"
validations:
required: true
- type: textarea
id: reality
attributes:
label: "What actually happened?"
validations:
required: true
- type: dropdown
id: severity
attributes:
label: "Severity"
description: "Does this issue prevent you from using the software as normal?"
options:
- "I cannot use the software"
- "I cannot use it as easily as I'd like"
- "I can manage"
validations:
required: true
- type: checkboxes
id: searched
attributes:
label: "Have you searched for this issue?"
description: "Please double-check that your issue is not already being tracked on [the forums](https://meta.akkoma.dev) or [the issue tracker](https://akkoma.dev/AkkomaGang/pleroma-fe/issues)."
options:
- label: "I have double-checked and have not found this issue mentioned anywhere."

View File

@ -0,0 +1,29 @@
name: "Feature request"
about: "I'd like something to be added to pleroma-fe"
title: "[feat] "
body:
- type: markdown
attributes:
value: "Thanks for taking the time to request a new feature! Please be as concise and clear as you can in your proposal, so we could understand what you're going for."
- type: textarea
id: idea
attributes:
label: "The idea"
description: "What do you think you should be able to do in pleroma-fe?"
validations:
required: true
- type: textarea
id: reason
attributes:
label: "The reasoning"
description: "Why would this be a worthwhile feature? Does it solve any problems? Have people talked about wanting it?"
validations:
required: true
- type: checkboxes
id: searched
attributes:
label: "Have you searched for this feature request?"
description: "Please double-check that your issue is not already being tracked on [the forums](https://meta.akkoma.dev), [the issue tracker](https://akkoma.dev/AkkomaGang/pleroma-fe/issues), or the one for [the backend](https://akkoma.dev/AkkomaGang/akkoma/issues)."
options:
- label: "I have double-checked and have not found this feature request mentioned anywhere."
- label: "This feature is related to the pleroma-fe Akkoma frontend specifically, and not the backend."

13
.gitignore vendored
View File

@ -7,3 +7,16 @@ test/e2e/reports
selenium-debug.log
.idea/
config/local.json
config/local.*.json
docs/site/
.vscode/
.dccache
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

View File

@ -1,47 +0,0 @@
# 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:
# https://hub.docker.com/r/library/node/tags/
image: node:12
stages:
- lint
- build
- test
- deploy
lint:
stage: lint
script:
- yarn
- npm run lint
- npm run stylelint
test:
stage: test
variables:
APT_CACHE_DIR: apt-cache
script:
- mkdir -pv $APT_CACHE_DIR && apt-get -qq update
- apt install firefox-esr -y --no-install-recommends
- firefox --version
- yarn
- yarn unit
build:
stage: build
script:
- yarn
- npm run build
artifacts:
paths:
- dist/
docs-deploy:
stage: deploy
image: alpine:latest
only:
- develop@pleroma/pleroma-fe
before_script:
- apk add curl
script:
- curl -X POST -F"token=$DOCS_PIPELINE_TRIGGER" -F'ref=master' https://git.pleroma.social/api/v4/projects/673/trigger/pipeline

9
.gitmodules vendored Normal file
View File

@ -0,0 +1,9 @@
[submodule "instance/pleroma-mods/pleroma-mod-syntax"]
path = instance/pleroma-mods/pleroma-mod-syntax
url = https://git.pleroma.social/absturztaube/pleroma-mod-syntax.git
[submodule "instance/pleroma-mods/pleroma-mod-imgsearch"]
path = instance/pleroma-mods/pleroma-mod-imgsearch
url = https://gitlab.com/SamTherapy/pleroma-mod-imgsearch
[submodule "instance/pleroma-mods/pleroma-mod-math"]
path = instance/pleroma-mods/pleroma-mod-math
url = https://git.pleroma.social/absturztaube/pleroma-mod-math

View File

@ -1,19 +1,13 @@
{
"extends": [
"stylelint-rscss/config",
"stylelint-config-recommended-vue/scss",
"stylelint-config-recommended",
"stylelint-config-standard"
],
"customSyntax": "postcss-scss",
"rules": {
"declaration-no-important": true,
"rscss/no-descendant-combinator": false,
"rscss/class-format": [
true,
{
"component": "pascal-case",
"variant": "^-[a-z]\\w+",
"element": "^[a-z]\\w+"
}
]
"selector-class-pattern": null,
"custom-property-pattern": null
}
}

1
.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

View File

@ -4,6 +4,33 @@ 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/).
## Unreleased
### Added
- Implemented remote interaction with statuses
## 2022.09 - 2022-09-10
### Added
- Automatic post translations. Must be configured on the backend in order to work.
- Post editing, including a log of previous edits.
### Changed
- Top bar now has navigation shortcuts. Can be enabled or disabled by admins or users.
- Optional replacement of timeline drop-down with navigation buttons. Also configurable.
- Posts and posts with replies are now separated on user profiles.
- Custom emoji from remote instances on a post can now also be used.
## 2022.08 - 2022-08-12
### Added
- Ability to quote public and unlisted posts
- Bubble timeline
### Changed
- Emoji in emoji picker is separated by packs
### Removed
- Chats, they were half-baked. Just use PMs.
## 2022.07 - 2022-07-16
### Fixed
- AdminFE button no longer scrolls page to top when clicked
- Pinned statuses no longer appear at bottom of user timeline (still appear as part of the timeline when fetched deep enough)
@ -16,6 +43,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Attachments are ALWAYS in same order as user uploaded, no more "videos first"
- Attachment description is prefilled with backend-provided default when uploading
- Proper visual feedback that next image is loading when browsing
- Misskey-Flavoured Markdown support
- Custom emoji reactions
### Changed
- (You)s are optional (opt-in) now, bolding your nickname is also optional (opt-out)
@ -37,6 +66,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Media modal now also displays description and counter position in gallery (i.e. 1/5)
- Ability to rearrange order of attachments when uploading
- Enabled users to zoom and pan images in media viewer with mouse and touch
- Added frontend ui for account migration
## [2.4.2] - 2022-01-09

View File

@ -10,3 +10,5 @@ Contributors of this project.
- shpuld (shpuld@shitposter.club): CSS and styling
- Vincent Guth (https://unsplash.com/photos/XrwVIFy6rTw): Background images.
- hj (hj@shigusegubu.club): Code
- Sean King (seanking@freespeechextremist.com): Code
- Tusooa Zhu (tusooa@kazv.moe): Code

View File

@ -1,8 +1,10 @@
# Pleroma-FE
# Akkoma-FE
> A single column frontend designed for Pleroma.
![English OK](https://img.shields.io/badge/English-OK-blueviolet) ![日本語OK](https://img.shields.io/badge/%E6%97%A5%E6%9C%AC%E8%AA%9E-OK-blueviolet)
![screenshot](/uploads/796c5ecf985ed1e2b0943ee0df131ed0/DJVqSJ0.png)
This is a fork of Akkoma-FE from the Pleroma project, with support for new Akkoma features such as:
- MFM support via [marked-mfm](https://akkoma.dev/sfr/marked-mfm)
- Custom emoji reactions
# Changes in this Fork
@ -19,11 +21,15 @@
# 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.
The [Weblate UI](https://translate.akkoma.dev/projects/akkoma/pleroma-fe/) is recommended for adding or modifying translations for Akkoma-FE.
Alternatively, edit/create `src/i18n/$LANGUAGE_CODE.json` (where `$LANGUAGE_CODE` is the [ISO 639-1 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) for your language), then add your language to [src/i18n/messages.js](https://akkoma.dev/AkkomaGang/pleroma-fe/src/branch/develop/src/i18n/messages.js) if it doesn't already exist there.
Akkoma-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.
# FOR 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.
To use Akkoma-FE in Akkoma, use the [frontend](https://docs.akkoma.dev/stable/administration/CLI_tasks/frontend/) CLI task to install Akkoma-FE, then modify your configuration as described in the [Frontend Management](https://docs.akkoma.dev/stable/configuration/frontend_management/) doc.
## Build Setup
@ -59,4 +65,4 @@ Edit config.json for configuration.
### 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.
```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

@ -28,18 +28,6 @@ var devMiddleware = require('webpack-dev-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' })
// cb()
})
})
// proxy api requests
Object.keys(proxyTable).forEach(function (context) {

View File

@ -2,8 +2,7 @@ var path = require('path')
var config = require('../config')
var utils = require('./utils')
var projectRoot = path.resolve(__dirname, '../')
var ServiceWorkerWebpackPlugin = require('serviceworker-webpack-plugin')
var { VueLoaderPlugin } = require("vue-loader");
var { VueLoaderPlugin } = require('vue-loader')
var env = process.env.NODE_ENV
// check env & config/index.js to decide weither to enable CSS Sourcemaps for the
@ -19,6 +18,7 @@ module.exports = {
app: './src/main.js'
},
output: {
hashFunction: "sha256", // Workaround for builds with OpenSSL 3.
path: config.build.assetsRoot,
publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath,
filename: '[name].js'
@ -29,10 +29,13 @@ module.exports = {
}
},
resolve: {
extensions: ['.js', '.jsx', '.vue'],
extensions: ['.js', '.jsx', '.vue', '.mjs'],
modules: [
path.join(__dirname, '../node_modules')
],
fallback: {
"url": require.resolve("url/"),
},
alias: {
'static': path.resolve(__dirname, '../static'),
'src': path.resolve(__dirname, '../src'),
@ -67,6 +70,11 @@ module.exports = {
path.resolve(__dirname, '../src/i18n')
]
},
{
test: /\.mjs$/,
include: /node_modules/,
type: "javascript/auto"
},
{
test: /\.vue$/,
loader: 'vue-loader',
@ -110,10 +118,6 @@ module.exports = {
]
},
plugins: [
new ServiceWorkerWebpackPlugin({
entry: path.join(__dirname, '..', 'src/sw.js'),
filename: 'sw-pleroma.js'
}),
new VueLoaderPlugin()
]
}

View File

@ -1,6 +1,6 @@
var config = require('../config')
var webpack = require('webpack')
var merge = require('webpack-merge')
var { merge } = require('webpack-merge')
var utils = require('./utils')
var baseWebpackConfig = require('./webpack.base.conf')
var HtmlWebpackPlugin = require('html-webpack-plugin')
@ -16,7 +16,7 @@ module.exports = merge(baseWebpackConfig, {
},
mode: 'development',
// eval-source-map is faster for development
devtool: '#eval-source-map',
devtool: 'eval-source-map',
plugins: [
new webpack.DefinePlugin({
'process.env': config.dev.env,

View File

@ -2,7 +2,8 @@ var path = require('path')
var config = require('../config')
var utils = require('./utils')
var webpack = require('webpack')
var merge = require('webpack-merge')
const WorkboxPlugin = require('workbox-webpack-plugin');
var { merge } = require('webpack-merge')
var baseWebpackConfig = require('./webpack.base.conf')
var MiniCssExtractPlugin = require('mini-css-extract-plugin')
var HtmlWebpackPlugin = require('html-webpack-plugin')
@ -19,7 +20,7 @@ var webpackConfig = merge(baseWebpackConfig, {
module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, extract: true })
},
devtool: config.build.productionSourceMap ? '#source-map' : false,
devtool: 'source-map',
optimization: {
minimize: true,
splitChunks: {
@ -32,6 +33,11 @@ var webpackConfig = merge(baseWebpackConfig, {
chunkFilename: utils.assetsPath('js/[name].[chunkhash].js')
},
plugins: [
new WorkboxPlugin.InjectManifest({
swSrc: path.join(__dirname, '..', 'src/sw.js'),
swDest: 'sw-pleroma.js',
maximumFileSizeToCacheInBytes: 15 * 1024 * 1024,
}),
// http://vuejs.github.io/vue-loader/workflow/production.html
new webpack.DefinePlugin({
'process.env': env,
@ -62,7 +68,7 @@ var webpackConfig = merge(baseWebpackConfig, {
// https://github.com/kangax/html-minifier#options-quick-reference
},
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency'
chunksSortMode: 'auto'
}),
// split vendor js into its own file
// extract webpack runtime and module manifest to its own file in order to

17
ci/add-key.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# only execute this script as part of the pipeline.
[ -z "$CI" ] && echo "missing ci environment variable" && exit 2
# only execute the script when github token exists.
[ -z "$SSH_KEY" ] && echo "missing ssh key" && exit 3
# write the ssh key.
mkdir /root/.ssh
echo -n "${SSH_KEY}" > /root/.ssh/id_ed25519
chmod 600 /root/.ssh/id_ed25519
# add froth.zone to our known hosts.
touch /root/.ssh/known_hosts
chmod 600 /root/.ssh/known_hosts
ssh-keyscan -H froth.zone > /etc/ssh/ssh_known_hosts 2> /dev/null

11
ci/deploy.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
TARGET="pleroma@froth.zone:/opt/pleroma"
#rsync -ra public/ "${TARGET}/instance/static"
#cp dist/index.html "${TARGET}/instance/static/index.html"
rsync --update --delete -Pr dist/ "${TARGET}/instance/static/frontends/pleroma-fe/froth"
# rsync --update -ra dist/static/ "${TARGET}/instance/static/frontends/pleroma-fe/froth"
#rsync --delete -ra images/ "${TARGET}/instance/static/images"
#rsync --delete -ra sounds/ "${TARGET}/instance/static/sounds"
rsync --update -ra instance/ "${TARGET}/instance/static/instance"
#rsync --delete -ra pages/ "${TARGET}/instance/static/pages"

View File

@ -1,4 +1,4 @@
var merge = require('webpack-merge')
var { merge } = require('webpack-merge')
var prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {

4
config/ihba.json Normal file
View File

@ -0,0 +1,4 @@
{
"target": "https://ihatebeinga.live",
"staticConfigPreference": false
}

View File

@ -38,6 +38,11 @@ module.exports = {
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
'/manifest.json': {
target,
changeOrigin: true,
cookieDomainRewrite: 'localhost'
},
'/api': {
target,
changeOrigin: true,
@ -61,7 +66,17 @@ module.exports = {
target,
changeOrigin: true,
cookieDomainRewrite: 'localhost'
}
},
'/static/stickers.json': {
target,
changeOrigin: true,
cookieDomainRewrite: 'localhost'
},
'/static/stickers': {
target,
changeOrigin: true,
cookieDomainRewrite: 'localhost'
},
},
// CSS Sourcemaps off by default because relative paths are "buggy"
// with this option, according to the CSS-Loader README

View File

@ -1,4 +1,4 @@
var merge = require('webpack-merge')
var { merge } = require('webpack-merge')
var devEnv = require('./dev.env')
module.exports = merge(devEnv, {

7
docs/Makefile Normal file
View File

@ -0,0 +1,7 @@
all: install
pipenv run mkdocs build
install:
pipenv install
clean:
rm -rf site

10
docs/Pipfile Normal file
View File

@ -0,0 +1,10 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
mkdocs-material = "*"
markdown-include = "*"

277
docs/Pipfile.lock generated Normal file
View File

@ -0,0 +1,277 @@
{
"_meta": {
"hash": {
"sha256": "926d34630c729228bb015cb958c04f8269c57f5ca1ffc2ceab1dfd1798884772"
},
"pipfile-spec": 6,
"requires": {},
"sources": [
{
"name": "pypi",
"url": "https://pypi.org/simple",
"verify_ssl": true
}
]
},
"default": {
"click": {
"hashes": [
"sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e",
"sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"
],
"markers": "python_version >= '3.7'",
"version": "==8.1.3"
},
"ghp-import": {
"hashes": [
"sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619",
"sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343"
],
"version": "==2.1.0"
},
"importlib-metadata": {
"hashes": [
"sha256:637245b8bab2b6502fcbc752cc4b7a6f6243bb02b31c5c26156ad103d3d45670",
"sha256:7401a975809ea1fdc658c3aa4f78cc2195a0e019c5cbc4c06122884e9ae80c23"
],
"markers": "python_version >= '3.7'",
"version": "==4.12.0"
},
"jinja2": {
"hashes": [
"sha256:31351a702a408a9e7595a8fc6150fc3f43bb6bf7e319770cbc0db9df9437e852",
"sha256:6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61"
],
"markers": "python_version >= '3.7'",
"version": "==3.1.2"
},
"markdown": {
"hashes": [
"sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874",
"sha256:f5da449a6e1c989a4cea2631aa8ee67caa5a2ef855d551c88f9e309f4634c621"
],
"markers": "python_version >= '3.6'",
"version": "==3.3.7"
},
"markdown-include": {
"hashes": [
"sha256:6f5d680e36f7780c7f0f61dca53ca581bd50d1b56137ddcd6353efafa0c3e4a2"
],
"index": "pypi",
"version": "==0.6.0"
},
"markupsafe": {
"hashes": [
"sha256:0212a68688482dc52b2d45013df70d169f542b7394fc744c02a57374a4207003",
"sha256:089cf3dbf0cd6c100f02945abeb18484bd1ee57a079aefd52cffd17fba910b88",
"sha256:10c1bfff05d95783da83491be968e8fe789263689c02724e0c691933c52994f5",
"sha256:33b74d289bd2f5e527beadcaa3f401e0df0a89927c1559c8566c066fa4248ab7",
"sha256:3799351e2336dc91ea70b034983ee71cf2f9533cdff7c14c90ea126bfd95d65a",
"sha256:3ce11ee3f23f79dbd06fb3d63e2f6af7b12db1d46932fe7bd8afa259a5996603",
"sha256:421be9fbf0ffe9ffd7a378aafebbf6f4602d564d34be190fc19a193232fd12b1",
"sha256:43093fb83d8343aac0b1baa75516da6092f58f41200907ef92448ecab8825135",
"sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247",
"sha256:4a33dea2b688b3190ee12bd7cfa29d39c9ed176bda40bfa11099a3ce5d3a7ac6",
"sha256:4b9fe39a2ccc108a4accc2676e77da025ce383c108593d65cc909add5c3bd601",
"sha256:56442863ed2b06d19c37f94d999035e15ee982988920e12a5b4ba29b62ad1f77",
"sha256:671cd1187ed5e62818414afe79ed29da836dde67166a9fac6d435873c44fdd02",
"sha256:694deca8d702d5db21ec83983ce0bb4b26a578e71fbdbd4fdcd387daa90e4d5e",
"sha256:6a074d34ee7a5ce3effbc526b7083ec9731bb3cbf921bbe1d3005d4d2bdb3a63",
"sha256:6d0072fea50feec76a4c418096652f2c3238eaa014b2f94aeb1d56a66b41403f",
"sha256:6fbf47b5d3728c6aea2abb0589b5d30459e369baa772e0f37a0320185e87c980",
"sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b",
"sha256:86b1f75c4e7c2ac2ccdaec2b9022845dbb81880ca318bb7a0a01fbf7813e3812",
"sha256:8dc1c72a69aa7e082593c4a203dcf94ddb74bb5c8a731e4e1eb68d031e8498ff",
"sha256:8e3dcf21f367459434c18e71b2a9532d96547aef8a871872a5bd69a715c15f96",
"sha256:8e576a51ad59e4bfaac456023a78f6b5e6e7651dcd383bcc3e18d06f9b55d6d1",
"sha256:96e37a3dc86e80bf81758c152fe66dbf60ed5eca3d26305edf01892257049925",
"sha256:97a68e6ada378df82bc9f16b800ab77cbf4b2fada0081794318520138c088e4a",
"sha256:99a2a507ed3ac881b975a2976d59f38c19386d128e7a9a18b7df6fff1fd4c1d6",
"sha256:a49907dd8420c5685cfa064a1335b6754b74541bbb3706c259c02ed65b644b3e",
"sha256:b09bf97215625a311f669476f44b8b318b075847b49316d3e28c08e41a7a573f",
"sha256:b7bd98b796e2b6553da7225aeb61f447f80a1ca64f41d83612e6139ca5213aa4",
"sha256:b87db4360013327109564f0e591bd2a3b318547bcef31b468a92ee504d07ae4f",
"sha256:bcb3ed405ed3222f9904899563d6fc492ff75cce56cba05e32eff40e6acbeaa3",
"sha256:d4306c36ca495956b6d568d276ac11fdd9c30a36f1b6eb928070dc5360b22e1c",
"sha256:d5ee4f386140395a2c818d149221149c54849dfcfcb9f1debfe07a8b8bd63f9a",
"sha256:dda30ba7e87fbbb7eab1ec9f58678558fd9a6b8b853530e176eabd064da81417",
"sha256:e04e26803c9c3851c931eac40c695602c6295b8d432cbe78609649ad9bd2da8a",
"sha256:e1c0b87e09fa55a220f058d1d49d3fb8df88fbfab58558f1198e08c1e1de842a",
"sha256:e72591e9ecd94d7feb70c1cbd7be7b3ebea3f548870aa91e2732960fa4d57a37",
"sha256:e8c843bbcda3a2f1e3c2ab25913c80a3c5376cd00c6e8c4a86a89a28c8dc5452",
"sha256:efc1913fd2ca4f334418481c7e595c00aad186563bbc1ec76067848c7ca0a933",
"sha256:f121a1420d4e173a5d96e47e9a0c0dcff965afdf1626d28de1460815f7c4ee7a",
"sha256:fc7b548b17d238737688817ab67deebb30e8073c95749d55538ed473130ec0c7"
],
"markers": "python_version >= '3.7'",
"version": "==2.1.1"
},
"mergedeep": {
"hashes": [
"sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8",
"sha256:70775750742b25c0d8f36c55aed03d24c3384d17c951b3175d898bd778ef0307"
],
"markers": "python_version >= '3.6'",
"version": "==1.3.4"
},
"mkdocs": {
"hashes": [
"sha256:26bd2b03d739ac57a3e6eed0b7bcc86168703b719c27b99ad6ca91dc439aacde",
"sha256:b504405b04da38795fec9b2e5e28f6aa3a73bb0960cb6d5d27ead28952bd35ea"
],
"markers": "python_version >= '3.6'",
"version": "==1.3.0"
},
"mkdocs-material": {
"hashes": [
"sha256:263f2721f3abe533b61f7c8bed435a0462620912742c919821ac2d698b4bfe67",
"sha256:dc82b667d2a83f0de581b46a6d0949732ab77e7638b87ea35b770b33bc02e75a"
],
"index": "pypi",
"version": "==8.3.9"
},
"mkdocs-material-extensions": {
"hashes": [
"sha256:a82b70e533ce060b2a5d9eb2bc2e1be201cf61f901f93704b4acf6e3d5983a44",
"sha256:bfd24dfdef7b41c312ede42648f9eb83476ea168ec163b613f9abd12bbfddba2"
],
"markers": "python_version >= '3.6'",
"version": "==1.0.3"
},
"packaging": {
"hashes": [
"sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb",
"sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"
],
"markers": "python_version >= '3.6'",
"version": "==21.3"
},
"pygments": {
"hashes": [
"sha256:5eb116118f9612ff1ee89ac96437bb6b49e8f04d8a13b514ba26f620208e26eb",
"sha256:dc9c10fb40944260f6ed4c688ece0cd2048414940f1cea51b8b226318411c519"
],
"markers": "python_version >= '3.6'",
"version": "==2.12.0"
},
"pymdown-extensions": {
"hashes": [
"sha256:3ef2d998c0d5fa7eb09291926d90d69391283561cf6306f85cd588a5eb5befa0",
"sha256:ec141c0f4983755349f0c8710416348d1a13753976c028186ed14f190c8061c4"
],
"markers": "python_version >= '3.7'",
"version": "==9.5"
},
"pyparsing": {
"hashes": [
"sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb",
"sha256:5026bae9a10eeaefb61dab2f09052b9f4307d44aee4eda64b309723d8d206bbc"
],
"markers": "python_full_version >= '3.6.8'",
"version": "==3.0.9"
},
"python-dateutil": {
"hashes": [
"sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
"sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
],
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
"version": "==2.8.2"
},
"pyyaml": {
"hashes": [
"sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293",
"sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b",
"sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57",
"sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b",
"sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4",
"sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07",
"sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba",
"sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9",
"sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287",
"sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513",
"sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0",
"sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0",
"sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92",
"sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f",
"sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2",
"sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc",
"sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c",
"sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86",
"sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4",
"sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c",
"sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34",
"sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b",
"sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c",
"sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb",
"sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737",
"sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3",
"sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d",
"sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53",
"sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78",
"sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803",
"sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a",
"sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174",
"sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"
],
"markers": "python_version >= '3.6'",
"version": "==6.0"
},
"pyyaml-env-tag": {
"hashes": [
"sha256:70092675bda14fdec33b31ba77e7543de9ddc88f2e5b99160396572d11525bdb",
"sha256:af31106dec8a4d68c60207c1886031cbf839b68aa7abccdb19868200532c2069"
],
"markers": "python_version >= '3.6'",
"version": "==0.1"
},
"six": {
"hashes": [
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
"sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
],
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
"version": "==1.16.0"
},
"watchdog": {
"hashes": [
"sha256:083171652584e1b8829581f965b9b7723ca5f9a2cd7e20271edf264cfd7c1412",
"sha256:117ffc6ec261639a0209a3252546b12800670d4bf5f84fbd355957a0595fe654",
"sha256:186f6c55abc5e03872ae14c2f294a153ec7292f807af99f57611acc8caa75306",
"sha256:195fc70c6e41237362ba720e9aaf394f8178bfc7fa68207f112d108edef1af33",
"sha256:226b3c6c468ce72051a4c15a4cc2ef317c32590d82ba0b330403cafd98a62cfd",
"sha256:247dcf1df956daa24828bfea5a138d0e7a7c98b1a47cf1fa5b0c3c16241fcbb7",
"sha256:255bb5758f7e89b1a13c05a5bceccec2219f8995a3a4c4d6968fe1de6a3b2892",
"sha256:43ce20ebb36a51f21fa376f76d1d4692452b2527ccd601950d69ed36b9e21609",
"sha256:4f4e1c4aa54fb86316a62a87b3378c025e228178d55481d30d857c6c438897d6",
"sha256:5952135968519e2447a01875a6f5fc8c03190b24d14ee52b0f4b1682259520b1",
"sha256:64a27aed691408a6abd83394b38503e8176f69031ca25d64131d8d640a307591",
"sha256:6b17d302850c8d412784d9246cfe8d7e3af6bcd45f958abb2d08a6f8bedf695d",
"sha256:70af927aa1613ded6a68089a9262a009fbdf819f46d09c1a908d4b36e1ba2b2d",
"sha256:7a833211f49143c3d336729b0020ffd1274078e94b0ae42e22f596999f50279c",
"sha256:8250546a98388cbc00c3ee3cc5cf96799b5a595270dfcfa855491a64b86ef8c3",
"sha256:97f9752208f5154e9e7b76acc8c4f5a58801b338de2af14e7e181ee3b28a5d39",
"sha256:9f05a5f7c12452f6a27203f76779ae3f46fa30f1dd833037ea8cbc2887c60213",
"sha256:a735a990a1095f75ca4f36ea2ef2752c99e6ee997c46b0de507ba40a09bf7330",
"sha256:ad576a565260d8f99d97f2e64b0f97a48228317095908568a9d5c786c829d428",
"sha256:b530ae007a5f5d50b7fbba96634c7ee21abec70dc3e7f0233339c81943848dc1",
"sha256:bfc4d351e6348d6ec51df007432e6fe80adb53fd41183716017026af03427846",
"sha256:d3dda00aca282b26194bdd0adec21e4c21e916956d972369359ba63ade616153",
"sha256:d9820fe47c20c13e3c9dd544d3706a2a26c02b2b43c993b62fcd8011bcc0adb3",
"sha256:ed80a1628cee19f5cfc6bb74e173f1b4189eb532e705e2a13e3250312a62e0c9",
"sha256:ee3e38a6cc050a8830089f79cbec8a3878ec2fe5160cdb2dc8ccb6def8552658"
],
"markers": "python_version >= '3.6'",
"version": "==2.1.9"
},
"zipp": {
"hashes": [
"sha256:56bf8aadb83c24db6c4b577e13de374ccfb67da2078beba1d037c17980bf43ad",
"sha256:c4f6e5bbf48e74f7a38e7cc5b0480ff42b0ae5178957d564d18932525d5cf099"
],
"markers": "python_version >= '3.7'",
"version": "==3.8.0"
}
},
"develop": {}
}

View File

@ -7,9 +7,9 @@
PleromaFE gets its configuration from several sources, in order of preference (the one above overrides ones below it)
1. `/api/statusnet/config.json` - this is generated on Backend and contains multiple things including instance name, char limit etc. It also contains FE/Client-specific data, PleromaFE uses `pleromafe` field of it. For more info on changing config on BE, look [here](../backend/configuration/cheatsheet.md#frontend_configurations)
2. `/static/config.json` - this is a static FE-provided file, containing only FE specific configuration. This file is completely optional and could be removed but is useful as a fallback if some configuration JSON property isn't present in BE-provided config. It's also a reference point to check what default configuration are and what JSON properties even exist. In local dev mode it could be used to override BE configuration, more about that in HACKING.md. File is located [here](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/static/config.json).
3. Built-in defaults. Those are hard-coded defaults that are used when `/static/config.json` is not available and BE-provided configuration JSON is missing some JSON properties. ( [Code](https://git.pleroma.social/pleroma/pleroma-fe/blob/develop/src/modules/instance.js) )
1. `/api/statusnet/config.json` - this is generated on Backend and contains multiple things including instance name, char limit etc. It also contains FE/Client-specific data, PleromaFE uses `pleromafe` field of it. For more info on changing config on BE, look [here](https://docs.akkoma.dev/stable/configuration/cheatsheet.md#frontend_configurations)
2. `/static/config.json` - this is a static FE-provided file, containing only FE specific configuration. This file is completely optional and could be removed but is useful as a fallback if some configuration JSON property isn't present in BE-provided config. It's also a reference point to check what default configuration are and what JSON properties even exist. In local dev mode it could be used to override BE configuration, more about that in HACKING.md. File is located [here](https://akkoma.dev/AkkomaGang/pleroma-fe/src/branch/develop/static/config.json).
3. Built-in defaults. Those are hard-coded defaults that are used when `/static/config.json` is not available and BE-provided configuration JSON is missing some JSON properties. ( [Code](https://akkoma.dev/AkkomaGang/pleroma-fe/src/branch/develop/src/modules/instance.js) )
## Instance-defaults
@ -70,9 +70,6 @@ Default post formatting option (markdown/bbcode/plaintext/etc...)
### `redirectRootNoLogin`, `redirectRootLogin`
These two settings should point to where FE should redirect visitor when they login/open up website root
### `scopeCopy`
Copy post scope (visibility) when replying to a post. Instance-default.
### `sidebarRight`
Change alignment of sidebar and panels to the right. Defaults to `false`.

View File

@ -25,7 +25,7 @@ This could be a bit trickier, you basically need steps 1-4 from *develop 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.
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](https://docs.akkoma.dev/stable/configuration/static_dir/), 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.
### Running production build locally or on a separate server
@ -67,7 +67,7 @@ server {
### API, Data, Operations
In 99% cases PleromaFE uses [MastoAPI](https://docs.joinmastodon.org/api/) with [Pleroma Extensions](../backend/API/differences_in_mastoapi_responses.md) to fetch the data. The rest is either QvitterAPI leftovers or pleroma-exclusive APIs. QvitterAPI doesn't exactly have documentation and uses different JSON structure and sometimes different parameters and workflows, [this](https://twitter-api.readthedocs.io/en/latest/index.html) could be a good reference though. Some pleroma-exclusive API may still be using QvitterAPI JSON structure.
In 99% cases PleromaFE uses [MastoAPI](https://docs.joinmastodon.org/api/) with [Pleroma Extensions](https://docs.akkoma.dev/stable/differences_in_mastoapi_responses.md) to fetch the data. The rest is either QvitterAPI leftovers or pleroma-exclusive APIs. QvitterAPI doesn't exactly have documentation and uses different JSON structure and sometimes different parameters and workflows, [this](https://twitter-api.readthedocs.io/en/latest/index.html) could be a good reference though. Some pleroma-exclusive API may still be using QvitterAPI JSON structure.
PleromaFE supports both formats by transforming them into internal format which is basically QvitterAPI one with some additions and renaming. All data is passed trough [Entity Normalizer](https://git.pleroma.social/pleroma/pleroma-fe/-/blob/develop/src/services/entity_normalizer/entity_normalizer.service.js) which can serve as a reference of API and what's actually used, it's also a host for all the hacks and data transformation.

View File

Before

Width:  |  Height:  |  Size: 491 B

After

Width:  |  Height:  |  Size: 491 B

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

28
docs/docs/css/extra.css Normal file
View File

@ -0,0 +1,28 @@
p, a, li, pre {
font-family: "Tiresias PCFont", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
code,
.codehilite pre {
font-weight: bold;
}
:root > * {
--md-primary-fg-color: #593196;
--md-accent-fg-color: #455a63;
}
@font-face {
font-family: 'Tiresias PCFont';
font-style: normal;
font-weight: 400;
src: local('Tiresias PCFont'), local('Tiresias PCFont'),
url('./fonts/Tiresias_PCfont.ttf') format('truetype')
}
@font-face {
font-family: 'Tiresias Infofont';
font-style: normal;
font-weight: 400;
src: local('Tiresias Infofont'), local('Tiresias Infofont'),
url('./fonts/Tiresias_Infofont.ttf') format('truetype')
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="svg4485"
width="512"
height="512"
viewBox="0 0 512 512"
sodipodi:docname="pleroma_logo_vector_nobg.svg"
inkscape:version="0.92.1 r15371">
<metadata
id="metadata4491">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs4489" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="997"
id="namedview4487"
showgrid="false"
inkscape:zoom="0.70710678"
inkscape:cx="26.131594"
inkscape:cy="235.37499"
inkscape:window-x="1912"
inkscape:window-y="22"
inkscape:window-maximized="1"
inkscape:current-layer="svg4485" />
<g
id="g4612">
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="path4495"
d="M 235,89 V 423 H 152 V 115 l 26,-26 z"
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#009bff;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.17587938" />
<circle
r="26"
cx="178"
cy="115"
id="path4497"
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#009bff;stroke-width:0;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.17587938" />
<circle
r="26"
cx="335"
cy="230"
id="path4497-0"
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#009bff;stroke-width:0;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.17587938" />
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="path4516"
d="M 277,256 V 89 l 84,3e-6 L 361.00002,230 335,256 Z"
style="fill:#fba457;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<circle
r="26"
cx="335"
cy="397"
id="path4497-0-6"
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#009bff;stroke-width:0;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.17587938" />
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="path4516-5"
d="m 277,423 v -83 h 84 l 2e-5,57 L 335,423 Z"
style="opacity:1;fill:#fba457;fill-opacity:1;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

53
docs/docs/stickers.md Normal file
View File

@ -0,0 +1,53 @@
# Adding stickers
Pleroma-fe supports stickers, which are essentially little images stored server-side
which can be selected by a user to automatically attach them to a post.
There's no explicit setting for these, they just rely on the existence of certain files.
## Initialising the sticker config file
You're probably serving pleroma-fe from your instance's `instance/static/` directory -
this directy can also override files served at a given path.
The first thing we need to do is set up our `stickers.json` file. At `instance/static/static/stickers.json`,
put a file that looks like this
```json
{
"myPack": "/static/stickers/myPack"
}
```
This file is a mapping from name to pack directory location. It says "we have a pack called myPack, look for
it at `/static/stickers/myPack`". You can add as many packs as you like in this manner.
## Creating the pack
First, create your pack directory
```bash
mkdir -p instance/static/static/stickers/myPack
```
Now you need to give it some config.
At `instance/static/static/stickers/myPack/pack.json`, put a file that looks like:
```json
{
"title": "myPack",
"author": "me for i am very cool",
"tabIcon": "tab.png",
"stickers": [
"mySticker.png"
]
}
```
This should be relatively self-explanatory, it declares a pack with a title `myPack` which has only one sticker in it.
The `tabIcon` will appear on the sticker picker itself as a representative of the pack.
You can add as many stickers as you like. They should all be in the same directory as your `pack.json`.
Now you should find that there's a sticky note icon on the emoji picker on pleroma-fe that allows you to attach stickers.

View File

@ -65,6 +65,16 @@ If you set the input-method to Markdown, and post this, it will look something l
![example_markdown](../assets/example_markdown.png)
## Misskey markdown
The akkoma version of pleroma-fe includes support for writing and rendering
misskey markdown (MFM). To write this you will need to select "MFM" from
the content type dropdown (if supported), and then you can format text
[in MFM](https://akkoma.dev/sfr/marked-mfm/src/branch/master/docs/syntax.md).
To render MFM, you will need to turn on "Render Misskey Markdown" in
the settings modal.
## Other actions
In addition to posting you can also *favorite* posts also known as *liking* them and *repeat* posts (also known as *retweeting*, *boosting* and even *reprööting*). Favoriting a post increments a counter on it, notifies the post author of your affection towards that post and also adds that post to your "favorited" posts list (in your own profile, "Favorites" tab). Reprööting a post does all that and also repeats this post to your followers and your profile page with a note "*user* repeated post".

View File

@ -6,6 +6,7 @@ You have several timelines to browse trough
- **Bookmarks** all the posts you've bookmarked. You can bookmark a post by clicking the three dots on the bottom right of the post and choose Bookmark.
- **Direct Messages** all posts with `direct` scope addressed to you or mentioning you.
- **Public Timelines** all public posts made by users on the instance you're on
- **Bubble Timeline** all public posts from instances recommended by your admin(s) in the instance settings. This won't appear if they haven't set anything up for it.
- **The Whole Known Network** also known as **TWKN** or **Federated Timeline** - all public posts known by your instance. Due to nature of the network your instance may not know *all* the posts on the network, so only posts known by your instance are shown there.
Note that by default you will see all posts made by other users on your Home Timeline, this contrast behavior of Twitter and Mastodon, which shows you only non-reply posts and replies to people you follow. You can change said behavior in the [settings](settings.md#filtering).

37
docs/mkdocs.yml Normal file
View File

@ -0,0 +1,37 @@
site_name: Pleroma-FE Documentation
theme:
favicon: 'images/pleroma_logo_vector_bg_32.png'
name: 'material'
custom_dir: 'theme'
# Disable google fonts
font: false
logo: 'images/pleroma_logo_vector_nobg.svg'
features:
- tabs
palette:
primary: 'deep purple'
accent: 'blue grey'
extra_css:
- css/extra.css
repo_name: 'AkkomaGang/pleroma-fe'
repo_url: 'https://akkoma.dev/AkkomaGang/pleroma-fe'
extra:
repo_icon: gitea
markdown_extensions:
# Note/warning blocks https://squidfunk.github.io/mkdocs-material/extensions/admonition/
- admonition
- codehilite:
guess_lang: false
# Make it possible to link to every header https://squidfunk.github.io/mkdocs-material/extensions/permalinks/
- toc:
permalink: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.superfences
- pymdownx.tabbed
- pymdownx.details
- markdown_include.include:
base_path: docs

22
docs/requirements.txt Normal file
View File

@ -0,0 +1,22 @@
click==8.1.3
ghp-import==2.1.0
importlib-metadata==4.12.0
Jinja2==3.1.2
Markdown==3.3.7
markdown-include==0.6.0
MarkupSafe==2.1.1
mergedeep==1.3.4
mkdocs==1.3.0
mkdocs-bootswatch==1.1
mkdocs-material==8.1.8
mkdocs-material-extensions==1.0.3
packaging==21.3
Pygments==2.11.2
pymdown-extensions==9.1
pyparsing==3.0.9
python-dateutil==2.8.2
PyYAML==6.0
pyyaml_env_tag==0.1
six==1.16.0
watchdog==2.1.9
zipp==3.8.0

64
docs/theme/partials/source.html vendored Normal file
View File

@ -0,0 +1,64 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->
{% import "partials/language.html" as lang with context %}
<!--
Check whether the repository is hosted on one of the supported code hosting
platforms (GitHub, GitLab or Bitbucket) to show icon.
-->
{% set platform = config.extra.repo_icon or config.repo_url %}
{% if "github" in platform %}
{% set repo_type = "github" %}
{% elif "gitlab" in platform %}
{% set repo_type = "gitlab" %}
{% elif "bitbucket" in platform %}
{% set repo_type = "bitbucket" %}
{% else %}
{% set repo_type = "" %}
{% endif %}
{% if page and page.url.startswith('backend') %}
{% set repo_url = "https://git.pleroma.social/pleroma/pleroma" %}
{% set repo_name = "pleroma/pleroma" %}
{% elif page and page.url.startswith('frontend') %}
{% set repo_url = "https://git.pleroma.social/pleroma/pleroma-fe" %}
{% set repo_name = "pleroma/pleroma-fe" %}
{% else %}
{% set repo_url = config.repo_url %}
{% set repo_name = config.repo_name %}
{% endif %}
<!-- Repository containing source -->
<a href="{{ repo_url }}" title="{{ lang.t('source.link.title') }}"
class="md-source" data-md-source="{{ repo_type }}">
{% if repo_type %}
<div class="md-source__icon">
<svg viewBox="0 0 24 24" width="24" height="24">
<use xlink:href="#__{{ repo_type }}" width="24" height="24"></use>
</svg>
</div>
{% endif %}
<div class="md-source__repository">
{{ repo_name }}
</div>
</a>

View File

@ -3,13 +3,21 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<title>The Froth Zone</title>
<link rel="stylesheet" href="/static/font/tiresias.css">
<link rel="stylesheet" href="/static/font/css/lato.css">
<link rel="stylesheet" href="/static/mfm.css">
<link rel="stylesheet" href="/static/custom.css">
<link rel="stylesheet" href="/static/theme-holder.css" id="theme-holder">
<!--server-generated-meta-->
<link rel="icon" type="image/png" href="/favicon.png">
<link rel="manifest" href="/manifest.json">
</head>
<body class="hidden">
<noscript>To use Pleroma, please enable JavaScript.</noscript>
<noscript>To use The Froth Zone, please enable JavaScript.</noscript>
<div id="app"></div>
<div id="modal"></div>
<!-- built files will be auto injected -->
<script type="text/javascript" src="/instance/pleroma-mod-loader.js"></script>
<!--<script type="text/javascript" src="/instance/pleroma-mod-loader.js"></script>-->
</body>
</html>

BIN
instance/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

39
instance/panel.html Normal file
View File

@ -0,0 +1,39 @@
<div style="margin-left: 12px; margin-right: 12px">
<p style="text-align: center">
Welcome to the Froth Zone! | <a rel="noopener noreferrer nofollow" href="/akkoma/swaggerui/">API Documentation</a>
<br />
<br />
Available on
<a href="https://froth.oz" rel="noopener noreferrer nofollow">OpenNIC</a>
and
<a href="http://froth5px5mpxckho357mtx62v5dmttrlp7prhs7nwppmmi5napuouiad.onion" rel="noopener noreferrer nofollow">Tor</a>
(Functionality not guaranteed)
<br />
<br />
<a href="https://bloat.froth.zone" rel="noopener noreferrer nofollow">Bloat FE</a>
|
<a href="/web" rel="noopener noreferrer nofollow">Masto FE</a>
|
<a href="/main" rel="noopener noreferrer nofollow">Akkoma FE</a>
|
<a href="https://pl.froth.zone" rel="noopener noreferrer nofollow">Pleroma FE</a>
|
<a href="https://z.pl.froth.zone" rel="noopener noreferrer nofollow">Old FE</a>
|
<a href="https://soap.froth.zone" rel="noopener noreferrer nofollow">Soapbox FE</a>
|
<a href="https://treebird.froth.zone" rel="noopener noreferrer nofollow">Treebird FE</a>
<br />
<br />
<a href="https://git.froth.zone" rel="noopener noreferrer nofollow">Gitea</a>
|
<a href="https://funkwhale.samtherapy.net" rel="noopener noreferrer nofollow">Funkwhale</a>
|
<a href="https://mk.froth.zone" rel="noopener noreferrer nofollow">Misskey</a>
|
<a href="https://tube.froth.zone" rel="noopener noreferrer nofollow">PeerTube</a>
<br />
<br />
<a href="https://status.froth.zone/status" rel="noopener noreferrer nofollow">Everything else I host</a>
</p>
</div>

View File

@ -0,0 +1,7 @@
{
"modDirectory": "/instance/pleroma-mods/",
"mods": [
"math",
"syntax"
]
}

View File

@ -0,0 +1,477 @@
class PleromaModLoader {
constructor () {
this.config = {
'modDirectory': '/instance/pleroma-mods/',
'mods': []
}
this.loadConfig()
this.loadedMods = {}
this.classes = {}
}
loadMods () {
this.config.mods.forEach((mod) => {
this.loadMod(mod)
})
}
loadMod (modName) {
return PleromaModLoader.includeScript(
this.config.modDirectory + 'pleroma-mod-' + modName + '/mod.js'
).then(() => {
this.loadedMods[modName] = new this.classes[PleromaModLoader.getClassName(modName)]()
})
}
loadConfig () {
window.fetch('/instance/pleroma-mod-config.json').then((response) => {
return response.json()
}).then((json) => {
Object.keys(json).forEach((key) => {
this.config[key] = json[key]
})
this.loadMods()
}).catch((error) => {
console.error('can\'t load loader config')
console.error(error)
})
}
registerClass (className, object) {
this.classes[className] = object
}
waitUntilReady () {
const postPanel = document.querySelector('.status-container')
const loginPanel = document.querySelector('.login-form')
if (postPanel || loginPanel) {
Object.keys(this.loadedMods).forEach((modName) => {
const settings = document.querySelector('.settings-modal div[label]:first-child')
if (settings) {
if (!settings.querySelector('.mod-settings')) {
this.appendModSettings(settings)
}
}
const mod = this.loadedMods[modName]
if (mod.isEnabled) {
mod.ready()
}
})
this.createObserver()
} else {
console.warn('not ready, trying again in 1s')
window.setTimeout(() => { this.waitUntilReady() }, 1000)
}
}
createCheckbox (label, mod) {
const labelElement = document.createElement('label')
labelElement.classList.add('checkbox')
const input = document.createElement('input')
input.setAttribute('type', 'checkbox')
input.checked = mod.isEnabled
input.addEventListener('change', (event) => {
if (event.target.checked) {
mod.enable()
} else {
mod.disable()
}
})
labelElement.appendChild(input)
const fakeCheckbox = document.createElement('i')
fakeCheckbox.classList.add('checkbox-indicator')
labelElement.appendChild(fakeCheckbox)
const text = document.createElement('span')
text.classList.add('label')
text.innerText = label
labelElement.appendChild(text)
return labelElement
}
appendModSettings (element) {
const container = document.createElement('div')
container.classList.add('setting-item')
container.classList.add('mod-settings')
const title = document.createElement('h2')
title.innerText = 'Pleroma Mods'
container.appendChild(title)
const optionList = document.createElement('ul')
optionList.classList.add('setting-list')
Object.keys(this.loadedMods).sort().forEach((modName) => {
const li = document.createElement('li')
const enable = this.createCheckbox('enable ' + modName, this.loadedMods[modName])
li.appendChild(enable)
const ulConfig = document.createElement('ul')
ulConfig.classList.add('setting-list')
Object.keys(this.loadedMods[modName].config).forEach((key) => {
if (key === 'includes' || key === 'filter') {
return
}
this.loadedMods[modName].onSettingInit(key, ulConfig, document.createElement('li'))
})
li.appendChild(ulConfig)
optionList.appendChild(li)
})
container.appendChild(optionList)
element.appendChild(container)
}
createObserver () {
this.containers = {
main: document.querySelector('.main'),
notifications: document.querySelector('.notifications'),
userPanel: document.querySelector('.user-panel'),
settingsModal: document.querySelector('.settings-modal')
}
const observerConfig = {
subtree: true,
childList: true
}
this.observer = new MutationObserver((mutations, observer) => {
const modal = document.querySelector('.settings-modal div[label]:first-child')
if (modal && !modal.querySelector('.mod-settings')) {
this.appendModSettings(modal)
}
Object.values(this.loadedMods).forEach((mod) => {
if (mod.isEnabled) {
mutations.forEach((mutation) => {
mod.mutate(mutation, observer)
})
}
})
})
this.observer.observe(this.containers.main, observerConfig)
if (this.containers.notifications) {
this.observer.observe(this.containers.notifications, observerConfig)
}
if (this.containers.userPanel) {
this.observer.observe(this.containers.userPanel, observerConfig)
}
if (this.containers.settingsModal) {
this.observer.observe(this.containers.settingsModal, observerConfig)
}
}
static registerMod (mod) {
window.__pleromaModLoader.registerClass(mod.name, mod)
}
static includeScript (src) {
console.log('include ' + src)
return new Promise((resolve) => {
const script = document.createElement('script')
script.setAttribute('src', src)
script.setAttribute('type', 'text/javascript')
script.onload = () => {
resolve()
}
document.querySelector('body').appendChild(script)
})
}
static includeCss (src) {
console.log('include ' + src)
return new Promise((resolve) => {
const link = document.createElement('link')
link.setAttribute('href', src)
link.setAttribute('rel', 'stylesheet')
link.setAttribute('type', 'text/css')
link.onload = () => {
resolve()
}
document.querySelector('head').appendChild(link)
})
}
static excludeScript (src) {
return new Promise((resolve) => {
const script = document.querySelector('script[src=\'' + src + '\']')
if (script) {
script.remove()
}
resolve()
})
}
static excludeCss (src) {
return new Promise((resolve) => {
const link = document.querySelector('link[href=\'' + src + '\']')
if (link) {
link.remove()
}
resolve()
})
}
static getVueScope (element) {
if (!element) {
return null
}
if (element.__vue__) {
console.warn('old vue version, please update pleroma-fe')
return element.__vue__
}
if (element._vnode) {
return element._vnode
}
if (element.__vnode) {
return element.__vnode
}
if (element.parentNode) {
return PleromaModLoader.getVueScope(element.parentNode)
}
return null
}
static getVueComponent (element) {
if (!element) {
return null
}
if (element.__vnode && element.__vnode.component) {
return element.__vnode.component
}
if (element.__vueParentComponent) {
return element.__vueParentComponent.ctx
}
if (element.__vueComponent__) {
return element.__vueComponent__
}
if (element.parentNode) {
return PleromaModLoader.getVueComponent(element.parentNode)
}
return null
}
static getRootVueScope () {
return PleromaModLoader.getVueScope(document.querySelector('#app'))
}
static getToken () {
return PleromaModLoader.getRootVueScope().appContext.provides.store.getters.getUserToken()
}
static getModDir () {
return window.__pleromaModLoader.config.modDirectory
}
static getClassName (name) {
let className = 'PleromaMod'
name.split('-').forEach((namePart) => {
className += namePart.substring(0, 1).toUpperCase()
className += namePart.substring(1)
})
return className
}
static api (method, path, params) {
return new Promise((resolve, reject) => {
const token = PleromaModLoader.getToken()
const xhr = new XMLHttpRequest()
xhr.responseType = 'json'
xhr.open(method, path)
xhr.setRequestHeader('Content-Type', 'application/json')
xhr.setRequestHeader('Authorization', 'Bearer ' + token)
xhr.onreadstatechange = () => {
if (xhr.readyState === 4) {
if (xhr.status !== 200) {
reject(new Error({
status: xhr.status,
response: xhr.response,
xhr: xhr
}))
}
}
}
xhr.onload = () => {
resolve(xhr.response)
}
xhr.send(JSON.stringify(params))
})
}
}
class PleromaMod { // eslint-disable-line no-unused-vars
constructor (name) {
this.name = name
this.config = {}
this.isRunning = false
}
get isEnabled () {
return localStorage.getItem('pleroma_mod_' + this.name + '_enabled') !== 'false' || true
}
getClassName () {
return PleromaModLoader.getClassName(this.name)
}
getModDir () {
return PleromaModLoader.getModDir() + this.name + '/'
}
ready () {
this.onReady()
this.run()
}
destroy () {
this.isRunning = false
if (this.config.includes) {
const styles = this.config.includes.css || []
const scripts = this.config.includes.js || []
Promise.all(styles.map((style) => {
return this.excludeCss(style)
}).concat(scripts.map((script) => {
return this.excludeScript(script)
}))).then(() => {
this.onDestroy()
})
return
}
this.onDestroy()
}
run () {
if (this.config.includes) {
const styles = this.config.includes.css || []
const scripts = this.config.includes.js || []
Promise.all(styles.map((style) => {
return this.includeCss(style)
}).concat(scripts.map((script) => {
return this.includeScript(script)
})).concat([
this.loadConfig(),
this.onCreate()
])).then(() => {
this.isRunning = true
this.onRun()
})
return
}
this.isRunning = true
this.onRun()
}
mutate (mutation, observer) {
if (this.isRunning) {
this.onMutation(mutation, observer)
}
}
saveConfig () {
const storedConfig = {}
Object.keys(this.config).filter((key) => {
return key !== 'includes' && key !== 'filter'
}).forEach((key) => {
storedConfig[key] = this.config[key]
})
localStorage.setItem(this.name + '_config', JSON.stringify(storedConfig))
}
mergeConfig (newConfig) {
Object.keys(newConfig).forEach((key) => {
this.config[key] = JSON.parse(JSON.stringify(newConfig[key]))
})
}
loadConfig () {
return new Promise((resolve) => {
// TODO: use structuredClone when its more supported
this.defaultConfig = JSON.parse(JSON.stringify(this.config))
const storedConfig = JSON.parse(localStorage.getItem(this.name + '_config'))
this.onConfigLoad().then((json) => {
this.mergeConfig(json)
if (storedConfig) {
this.mergeConfig(storedConfig)
}
this.saveConfig()
resolve()
})
})
}
onReady () {}
onCreate () {
return new Promise((resolve) => {
resolve()
})
}
onDestroy () {}
onRun () {}
onMutation (mutation, observer) {}
onConfigLoad () {
return new Promise((resolve) => {
resolve({})
})
}
onSettingInit (key, ul, li) {}
includeCss (src) {
return PleromaModLoader.includeCss(PleromaModLoader.getModDir() + this.name + '/' + src)
}
includeScript (src) {
return PleromaModLoader.includeScript(PleromaModLoader.getModDir() + this.name + '/' + src)
}
excludeCss (src) {
return PleromaModLoader.excludeCss(PleromaModLoader.getModDir() + this.name + '/' + src)
}
excludeScript (src) {
return PleromaModLoader.excludeScript(PleromaModLoader.getModDir() + this.name + '/' + src)
}
fetchJson (src) {
console.log('loading ' + src)
return window.fetch(PleromaModLoader.getModDir() + this.name + '/' + src).then((response) => {
return response.json()
})
}
api (method, path, params) {
return PleromaModLoader.api(method, path, params)
}
enable () {
this.ready()
localStorage.setItem('pleroma_mod_' + this.name + '_enabled', true)
}
disable () {
this.destroy()
localStorage.setItem('pleroma_mod_' + this.name + '_enabled', false)
}
}
window.__pleromaModLoader = new PleromaModLoader()
window.__pleromaModLoader.waitUntilReady()

@ -0,0 +1 @@
Subproject commit cfd4dd6404d2df6e07e646aff5ff1d606ed48228

@ -0,0 +1 @@
Subproject commit 5d7ac570770bd7f1d5cba1279c444b53626add3c

@ -0,0 +1 @@
Subproject commit 440dd5dcb4c97d58726a2a52abbe9c54a8b2f3fb

View File

@ -1,7 +1,7 @@
{
"name": "pleroma_fe",
"version": "1.0.0",
"description": "A Qvitter-style frontend for certain GS servers.",
"version": "3.5.0",
"description": "A frontend for Akkoma instances",
"author": "Roger Braun <roger@rogerbraun.net>",
"private": true,
"scripts": {
@ -11,41 +11,44 @@
"unit:watch": "karma start test/unit/karma.conf.js --single-run=false",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"stylelint": "npx stylelint src/components/status/status.scss",
"stylelint": "stylelint src/**/*.scss",
"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"
},
"dependencies": {
"@babel/runtime": "7.17.8",
"@chenfengyuan/vue-qrcode": "2.0.0",
"@floatingghost/pinch-zoom-element": "^1.3.1",
"@fortawesome/fontawesome-svg-core": "1.3.0",
"@fortawesome/free-regular-svg-icons": "5.15.4",
"@fortawesome/free-solid-svg-icons": "5.15.4",
"@fortawesome/vue-fontawesome": "3.0.0-5",
"@kazvmoe-infra/pinch-zoom-element": "1.2.0",
"@vuelidate/core": "2.0.0-alpha.41",
"@vuelidate/validators": "2.0.0-alpha.27",
"@fortawesome/free-regular-svg-icons": "^6.1.2",
"@fortawesome/free-solid-svg-icons": "^6.2.0",
"@fortawesome/vue-fontawesome": "3.0.1",
"@vuelidate/core": "^2.0.0",
"@vuelidate/validators": "^2.0.0",
"blurhash": "^2.0.4",
"body-scroll-lock": "2.7.1",
"chromatism": "3.0.0",
"click-outside-vue3": "4.0.1",
"cropperjs": "1.5.12",
"diff": "3.5.0",
"escape-html": "1.0.3",
"iso-639-1": "^2.1.15",
"js-cookie": "^3.0.1",
"localforage": "1.10.0",
"parse-link-header": "1.0.1",
"parse-link-header": "^2.0.0",
"phoenix": "1.6.2",
"punycode.js": "2.1.0",
"qrcode": "1",
"ruffle-mirror": "2021.12.31",
"url": "^0.11.0",
"vue": "^3.2.31",
"vue-i18n": "^9.2.0-beta.34",
"vue-i18n": "^9.2.2",
"vue-router": "4.0.14",
"vue-template-compiler": "2.6.11",
"vuex": "4.0.2"
},
"devDependencies": {
"@babel/core": "7.17.8",
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/preset-env": "7.16.11",
"@babel/register": "7.17.7",
@ -54,36 +57,33 @@
"@vue/babel-helper-vue-jsx-merge-props": "1.2.1",
"@vue/babel-plugin-jsx": "1.1.1",
"@vue/compiler-sfc": "^3.1.0",
"@vue/test-utils": "2.0.0-rc.17",
"@vue/test-utils": "^2.0.2",
"autoprefixer": "6.7.7",
"babel-eslint": "7.2.3",
"babel-loader": "8.2.4",
"babel-loader": "^9.1.0",
"babel-plugin-lodash": "3.3.4",
"chai": "3.5.0",
"chai": "^4.3.7",
"chalk": "1.1.3",
"chromedriver": "87.0.7",
"connect-history-api-fallback": "1.6.0",
"copy-webpack-plugin": "6.4.1",
"cross-spawn": "4.0.2",
"css-loader": "0.28.11",
"custom-event-polyfill": "1.0.7",
"eslint": "5.16.0",
"eslint-config-standard": "12.0.0",
"eslint-friendly-formatter": "2.0.7",
"eslint-loader": "2.2.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "7.0.1",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
"eslint-plugin-vue": "5.2.3",
"chromedriver": "^107.0.3",
"connect-history-api-fallback": "^2.0.0",
"cross-spawn": "^7.0.3",
"css-loader": "^6.7.2",
"custom-event-polyfill": "^1.0.7",
"eslint": "^7.32.0",
"eslint-config-standard": "^17.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^9.7.0",
"eventsource-polyfill": "0.9.6",
"express": "4.17.3",
"file-loader": "3.0.1",
"file-loader": "^6.2.0",
"function-bind": "1.1.1",
"html-webpack-plugin": "3.2.0",
"html-webpack-plugin": "^5.5.0",
"http-proxy-middleware": "0.21.0",
"inject-loader": "2.0.1",
"iso-639-1": "2.1.13",
"isparta-loader": "2.0.0",
"json-loader": "0.5.7",
"karma": "6.3.17",
@ -94,7 +94,7 @@
"karma-sinon-chai": "2.0.2",
"karma-sourcemap-loader": "0.3.8",
"karma-spec-reporter": "0.0.33",
"karma-webpack": "4.0.2",
"karma-webpack": "^5.0.0",
"lodash": "4.17.21",
"lolex": "1.6.0",
"mini-css-extract-plugin": "0.12.0",
@ -102,29 +102,33 @@
"nightwatch": "0.9.21",
"opn": "4.0.2",
"ora": "0.4.1",
"postcss-html": "^1.5.0",
"postcss-loader": "3.0.0",
"postcss-sass": "^0.5.0",
"raw-loader": "0.5.1",
"sass": "1.20.1",
"sass-loader": "7.2.0",
"sass": "^1.56.0",
"sass-loader": "^13.2.0",
"selenium-server": "2.53.1",
"semver": "5.7.1",
"serviceworker-webpack-plugin": "1.0.1",
"shelljs": "0.8.5",
"sinon": "2.4.1",
"sinon-chai": "2.14.0",
"stylelint": "13.6.1",
"stylelint-config-standard": "20.0.0",
"stylelint-rscss": "0.4.0",
"url-loader": "1.1.2",
"vue-loader": "^16.0.0",
"vue-style-loader": "4.1.2",
"webpack": "4.46.0",
"webpack-dev-middleware": "3.7.3",
"webpack-hot-middleware": "2.24.3",
"webpack-merge": "0.20.0"
"stylelint": "^14.15.0",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-standard-scss": "^6.1.0",
"stylelint-rscss": "^0.4.0",
"url-loader": "^4.1.1",
"vue-loader": "^17.0.0",
"vue-style-loader": "^4.1.2",
"webpack": "^5.75.0",
"webpack-dev-middleware": "^5.3.3",
"webpack-hot-middleware": "^2.25.1",
"webpack-merge": "^5.8.0",
"workbox-webpack-plugin": "^6.5.4"
},
"engines": {
"node": ">= 4.0.0",
"node": ">= 16.0.0",
"npm": ">= 3.0.0"
}
}

View File

@ -6,12 +6,15 @@ import WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_pan
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 ModModal from './components/mod_modal/mod_modal.vue'
import SideDrawer from './components/side_drawer/side_drawer.vue'
import MobilePostStatusButton from './components/mobile_post_status_button/mobile_post_status_button.vue'
import MobileNav from './components/mobile_nav/mobile_nav.vue'
import DesktopNav from './components/desktop_nav/desktop_nav.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 StatusHistoryModal from './components/status_history_modal/status_history_modal.vue'
import GlobalNoticeList from './components/global_notice_list/global_notice_list.vue'
import { windowWidth, windowHeight } from './services/window_utils/window_utils'
import { mapGetters } from 'vuex'
@ -33,8 +36,11 @@ export default {
MobileNav,
DesktopNav,
SettingsModal,
ModModal,
UserReportingModal,
PostStatusModal,
EditStatusModal,
StatusHistoryModal,
GlobalNoticeList
},
data: () => ({
@ -90,6 +96,7 @@ export default {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || this.layoutType === 'mobile'
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
editingAvailable () { return this.$store.state.instance.editingAvailable },
shoutboxPosition () {
return this.$store.getters.mergedConfig.alwaysShowNewPostButton || false
},

View File

@ -1,6 +1,7 @@
// stylelint-disable rscss/class-format
@import './_variables.scss';
@import '@fortawesome/fontawesome-svg-core/styles.css';
@import '@floatingghost/pinch-zoom-element/dist/pinch-zoom.css';
:root {
--navbar-height: 3.5rem;
--post-line-height: 1.4;
@ -310,7 +311,6 @@ nav {
border-top-right-radius: 0;
}
.underlay,
#sidebar,
#notifs-column {
display: none;
@ -469,7 +469,7 @@ textarea,
color: $fallback--lightText;
color: var(--inputText, $fallback--lightText);
font-family: sans-serif;
font-family: var(--inputFont, sans-serif);
font-family: var(--interfaceFont, sans-serif);
font-size: 1em;
margin: 0;
box-sizing: border-box;

View File

@ -15,8 +15,12 @@
class="app-layout container"
:class="classes"
>
<div class="underlay"/>
<div id="sidebar" class="column -scrollable" :class="{ '-show-scrollbar': showScrollbars }">
<div class="underlay" />
<div
id="sidebar"
class="column -scrollable"
:class="{ '-show-scrollbar': showScrollbars }"
>
<user-panel />
<template v-if="layoutType !== 'mobile'">
<nav-panel />
@ -26,7 +30,11 @@
<div id="notifs-sidebar" />
</template>
</div>
<div id="main-scroller" class="column main" :class="{ '-full-height': isChats }">
<div
id="main-scroller"
class="column main"
:class="{ '-full-height': isChats }"
>
<div
v-if="!currentUser"
class="login-hint panel panel-default"
@ -40,7 +48,11 @@
</div>
<router-view />
</div>
<div id="notifs-column" class="column -scrollable" :class="{ '-show-scrollbar': showScrollbars }"/>
<div
id="notifs-column"
class="column -scrollable"
:class="{ '-show-scrollbar': showScrollbars }"
/>
</div>
<media-modal />
<shout-panel
@ -52,8 +64,10 @@
<MobilePostStatusButton />
<UserReportingModal />
<PostStatusModal />
<EditStatusModal v-if="editingAvailable" />
<StatusHistoryModal v-if="editingAvailable" />
<SettingsModal />
<div id="modal" />
<ModModal />
<GlobalNoticeList />
</div>
</template>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -1,8 +1,11 @@
import Cookies from 'js-cookie'
import { createApp } from 'vue'
import { createRouter, createWebHistory } from 'vue-router'
import vClickOutside from 'click-outside-vue3'
import { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome'
import { config } from '@fortawesome/fontawesome-svg-core';
config.autoAddCss = false
import App from '../App.vue'
import routes from './routes'
@ -50,6 +53,20 @@ const preloadFetch = async (request) => {
}
}
const resolveLanguage = (instanceLanguages) => {
// First language in navigator.languages that is listed as an instance language
// falls back to first instance language
const navigatorLanguages = navigator.languages.map((x) => x.split('-')[0])
for (const navLanguage of navigatorLanguages) {
if (instanceLanguages.includes(navLanguage)) {
return navLanguage
}
}
return instanceLanguages[0]
}
const getInstanceConfig = async ({ store }) => {
try {
const res = await preloadFetch('/api/v1/instance')
@ -60,6 +77,10 @@ const getInstanceConfig = async ({ store }) => {
store.dispatch('setInstanceOption', { name: 'textlimit', value: textlimit })
store.dispatch('setInstanceOption', { name: 'accountApprovalRequired', value: data.approval_required })
// don't override cookie if set
if (!Cookies.get('userLanguage')) {
store.dispatch('setOption', { name: 'interfaceLanguage', value: resolveLanguage(data.languages) })
}
if (vapidPublicKey) {
store.dispatch('setInstanceOption', { name: 'vapidPublicKey', value: vapidPublicKey })
@ -126,7 +147,14 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
copyInstanceOption('hideBotIndication')
copyInstanceOption('hideUserStats')
copyInstanceOption('hideFilteredStatuses')
copyInstanceOption('hideSiteName')
copyInstanceOption('hideSiteFavicon')
copyInstanceOption('showWiderShortcuts')
copyInstanceOption('showNavShortcuts')
copyInstanceOption('showPanelNavShortcuts')
copyInstanceOption('stopGifs')
copyInstanceOption('logo')
copyInstanceOption('conversationDisplay')
store.dispatch('setInstanceOption', {
name: 'logoMask',
@ -147,15 +175,14 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
copyInstanceOption('redirectRootNoLogin')
copyInstanceOption('redirectRootLogin')
copyInstanceOption('showInstanceSpecificPanel')
copyInstanceOption('minimalScopesMode')
copyInstanceOption('hideMutedPosts')
copyInstanceOption('collapseMessageWithSubject')
copyInstanceOption('scopeCopy')
copyInstanceOption('subjectLineBehavior')
copyInstanceOption('postContentType')
copyInstanceOption('alwaysShowSubjectInput')
copyInstanceOption('showFeaturesPanel')
copyInstanceOption('hideSitename')
copyInstanceOption('renderMisskeyMarkdown')
copyInstanceOption('sidebarRight')
return store.dispatch('setTheme', config['theme'])
@ -251,10 +278,14 @@ const getNodeInfo = async ({ store }) => {
store.dispatch('setInstanceOption', { name: 'safeDM', value: features.includes('safe_dm_mentions') })
store.dispatch('setInstanceOption', { name: 'shoutAvailable', value: features.includes('chat') })
store.dispatch('setInstanceOption', { name: 'pleromaChatMessagesAvailable', value: features.includes('pleroma_chat_messages') })
store.dispatch('setInstanceOption', { name: 'pleromaCustomEmojiReactionsAvailable', value: features.includes('pleroma_custom_emoji_reactions') || features.includes('custom_emoji_reactions') })
store.dispatch('setInstanceOption', { name: 'quotePostsAvailable', value: features.includes('quote_posting') })
store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') })
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: 'mailerEnabled', value: metadata.mailerEnabled })
store.dispatch('setInstanceOption', { name: 'translationEnabled', value: features.includes('akkoma:machine_translation') })
const uploadLimits = metadata.uploadLimits
store.dispatch('setInstanceOption', { name: 'uploadlimit', value: parseInt(uploadLimits.general) })
@ -290,6 +321,7 @@ const getNodeInfo = async ({ store }) => {
})
store.dispatch('setInstanceOption', { name: 'federationPolicy', value: federation })
store.dispatch('setInstanceOption', { name: 'localBubbleInstances', value: metadata.localBubbleInstances })
store.dispatch('setInstanceOption', {
name: 'federating',
value: typeof federation.enabled === 'undefined'
@ -297,6 +329,9 @@ const getNodeInfo = async ({ store }) => {
: federation.enabled
})
store.dispatch('setInstanceOption', { name: 'publicTimelineVisibility', value: metadata.publicTimelineVisibility })
store.dispatch('setInstanceOption', { name: 'federatedTimelineAvailable', value: metadata.federatedTimelineAvailable })
const accountActivationRequired = metadata.accountActivationRequired
store.dispatch('setInstanceOption', { name: 'accountActivationRequired', value: accountActivationRequired })
@ -371,7 +406,6 @@ const afterStoreSetup = async ({ store, i18n }) => {
])
// Start fetching things that don't need to block the UI
store.dispatch('fetchMutes')
getTOS({ store })
getStickers({ store })
@ -380,8 +414,9 @@ const afterStoreSetup = async ({ store, i18n }) => {
routes: routes(store),
scrollBehavior: (to, _from, savedPosition) => {
if (to.matched.some(m => m.meta.dontScroll)) {
return false
return {}
}
return savedPosition || { left: 0, top: 0 }
}
})

View File

@ -2,6 +2,7 @@ import PublicTimeline from 'components/public_timeline/public_timeline.vue'
import PublicAndExternalTimeline from 'components/public_and_external_timeline/public_and_external_timeline.vue'
import FriendsTimeline from 'components/friends_timeline/friends_timeline.vue'
import TagTimeline from 'components/tag_timeline/tag_timeline.vue'
import BubbleTimeline from 'components/bubble_timeline/bubble_timeline.vue'
import BookmarkTimeline from 'components/bookmark_timeline/bookmark_timeline.vue'
import ConversationPage from 'components/conversation-page/conversation-page.vue'
import Interactions from 'components/interactions/interactions.vue'
@ -20,6 +21,12 @@ import ShoutPanel from 'components/shout_panel/shout_panel.vue'
import WhoToFollow from 'components/who_to_follow/who_to_follow.vue'
import About from 'components/about/about.vue'
import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue'
import Lists from 'components/lists/lists.vue'
import ListTimeline from 'components/list_timeline/list_timeline.vue'
import ListEdit from 'components/list_edit/list_edit.vue'
import AnnouncementsPage from 'components/announcements_page/announcements_page.vue'
import RegistrationRequestSent from 'components/registration_request_sent/registration_request_sent.vue'
import AwaitingEmailConfirmation from 'components/awaiting_email_confirmation/awaiting_email_confirmation.vue'
export default (store) => {
const validateAuthenticatedRoute = (to, from, next) => {
@ -41,6 +48,7 @@ export default (store) => {
},
{ name: 'public-external-timeline', path: '/main/all', component: PublicAndExternalTimeline },
{ name: 'public-timeline', path: '/main/public', component: PublicTimeline },
{ name: 'bubble-timeline', path: '/main/bubble', component: BubbleTimeline },
{ name: 'friends', path: '/main/friends', component: FriendsTimeline, beforeEnter: validateAuthenticatedRoute },
{ name: 'tag-timeline', path: '/tag/:tag', component: TagTimeline },
{ name: 'bookmarks', path: '/bookmarks', component: BookmarkTimeline },
@ -55,10 +63,12 @@ export default (store) => {
component: RemoteUserResolver,
beforeEnter: validateAuthenticatedRoute
},
{ name: 'external-user-profile', path: '/users/:id', component: UserProfile },
{ name: 'external-user-profile', path: '/users/:id', component: UserProfile, meta: { dontScroll: true } },
{ name: 'interactions', path: '/users/:username/interactions', component: Interactions, beforeEnter: validateAuthenticatedRoute },
{ name: 'dms', path: '/users/:username/dms', component: DMs, beforeEnter: validateAuthenticatedRoute },
{ name: 'registration', path: '/registration', component: Registration },
{ name: 'registration-request-sent', path: '/registration-request-sent', component: RegistrationRequestSent },
{ name: 'awaiting-email-confirmation', path: '/awaiting-email-confirmation', component: AwaitingEmailConfirmation },
{ name: 'password-reset', path: '/password-reset', component: PasswordReset, props: true },
{ name: 'registration-token', path: '/registration/:token', component: Registration },
{ name: 'friend-requests', path: '/friend-requests', component: FollowRequests, beforeEnter: validateAuthenticatedRoute },
@ -69,7 +79,11 @@ export default (store) => {
{ 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: 'about', path: '/about', component: About },
{ name: 'user-profile', path: '/:_(users)?/:name', component: UserProfile }
{ name: 'lists', path: '/lists', component: Lists },
{ name: 'list-timeline', path: '/lists/:id', component: ListTimeline },
{ name: 'list-edit', path: '/lists/:id/edit', component: ListEdit },
{ name: 'announcements', path: '/announcements', component: AnnouncementsPage },
{ name: 'user-profile', path: '/:_(users)?/:name', component: UserProfile, meta: { dontScroll: true } }
]
if (store.state.instance.pleromaChatMessagesAvailable) {

View File

@ -3,6 +3,7 @@ import FeaturesPanel from '../features_panel/features_panel.vue'
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
import StaffPanel from '../staff_panel/staff_panel.vue'
import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
import LocalBubblePanel from '../local_bubble_panel/local_bubble_panel.vue'
const About = {
components: {
@ -10,7 +11,8 @@ const About = {
FeaturesPanel,
TermsOfServicePanel,
StaffPanel,
MRFTransparencyPanel
MRFTransparencyPanel,
LocalBubblePanel
},
computed: {
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
@ -18,6 +20,9 @@ const About = {
return this.$store.state.instance.showInstanceSpecificPanel &&
!this.$store.getters.mergedConfig.hideISP &&
this.$store.state.instance.instanceSpecificPanelContent
},
showLocalBubblePanel () {
return this.$store.state.instance.localBubbleInstances.length > 0
}
}
}

View File

@ -3,12 +3,13 @@
<instance-specific-panel v-if="showInstanceSpecificPanel" />
<staff-panel />
<terms-of-service-panel />
<LocalBubblePanel v-if="showLocalBubblePanel" />
<MRFTransparencyPanel />
<features-panel v-if="showFeaturesPanel" />
</div>
</template>
<script src="./about.js" ></script>
<script src="./about.js"></script>
<style lang="scss">
</style>

View File

@ -1,6 +1,7 @@
import { mapState } from 'vuex'
import ProgressButton from '../progress_button/progress_button.vue'
import Popover from '../popover/popover.vue'
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
import { library } from '@fortawesome/fontawesome-svg-core'
import {
faEllipsisV
@ -15,13 +16,25 @@ const AccountActions = {
'user', 'relationship'
],
data () {
return { }
return {
showingConfirmBlock: false
}
},
components: {
ProgressButton,
Popover
Popover,
ConfirmModal
},
methods: {
refetchRelationship () {
return this.$store.dispatch('fetchUserRelationship', this.user.id)
},
showConfirmBlock () {
this.showingConfirmBlock = true
},
hideConfirmBlock () {
this.showingConfirmBlock = false
},
showRepeats () {
this.$store.dispatch('showReblogs', this.user.id)
},
@ -29,14 +42,33 @@ const AccountActions = {
this.$store.dispatch('hideReblogs', this.user.id)
},
blockUser () {
if (!this.shouldConfirmBlock) {
this.doBlockUser()
} else {
this.showConfirmBlock()
}
},
doBlockUser () {
this.$store.dispatch('blockUser', this.user.id)
this.hideConfirmBlock()
},
unblockUser () {
this.$store.dispatch('unblockUser', this.user.id)
},
removeUserFromFollowers () {
this.$store.dispatch('removeUserFromFollowers', this.user.id)
},
reportUser () {
this.$store.dispatch('openUserReportingModal', { userId: this.user.id })
},
muteDomain () {
this.$store.dispatch('muteDomain', this.user.screen_name.split('@')[1])
.then(() => this.refetchRelationship())
},
unmuteDomain () {
this.$store.dispatch('unmuteDomain', this.user.screen_name.split('@')[1])
.then(() => this.refetchRelationship())
},
openChat () {
this.$router.push({
name: 'chat',
@ -45,6 +77,9 @@ const AccountActions = {
}
},
computed: {
shouldConfirmBlock () {
return this.$store.getters.mergedConfig.modalOnBlock
},
...mapState({
pleromaChatMessagesAvailable: state => state.instance.pleromaChatMessagesAvailable
})

View File

@ -6,7 +6,7 @@
:bound-to="{ x: 'container' }"
remove-padding
>
<template v-slot:content>
<template #content>
<div class="dropdown-menu">
<template v-if="relationship.following">
<button
@ -28,6 +28,13 @@
class="dropdown-divider"
/>
</template>
<button
v-if="relationship.followed_by"
class="btn button-default btn-block dropdown-item"
@click="removeUserFromFollowers"
>
{{ $t('user_card.remove_follower') }}
</button>
<button
v-if="relationship.blocking"
class="btn button-default btn-block dropdown-item"
@ -48,6 +55,20 @@
>
{{ $t('user_card.report') }}
</button>
<button
v-if="relationship.domain_blocking"
class="btn button-default btn-block dropdown-item"
@click="unmuteDomain"
>
{{ $t('user_card.domain_muted') }}
</button>
<button
v-else-if="!user.is_local"
class="btn button-default btn-block dropdown-item"
@click="muteDomain"
>
{{ $t('user_card.mute_domain') }}
</button>
<button
v-if="pleromaChatMessagesAvailable"
class="btn button-default btn-block dropdown-item"
@ -57,7 +78,7 @@
</button>
</div>
</template>
<template v-slot:trigger>
<template #trigger>
<button class="button-unstyled ellipsis-button">
<FAIcon
class="icon"
@ -66,6 +87,27 @@
</button>
</template>
</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>
</div>
</template>

View File

@ -0,0 +1,105 @@
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
}),
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,136 @@
<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="currentUser && currentUser.role === 'admin'"
class="btn button-default"
@click="enterEditMode"
>
{{ $t('announcements.edit_action') }}
</button>
<button
v-if="currentUser && currentUser.role === 'admin'"
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">
@import "../../variables";
.announcement {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: var(--border, $fallback--border);
border-radius: 0;
padding: var(--status-margin, $status-margin);
.heading, .body {
margin-bottom: var(--status-margin, $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,60 @@
<template>
<div class="announcement-editor">
<textarea
ref="textarea"
v-model="announcement.content"
class="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"
: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"
: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,55 @@
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
}
},
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,79 @@
<template>
<div class="panel panel-default announcements-page">
<div class="panel-heading">
<div class="title">
{{ $t('announcements.page_header') }}
</div>
</div>
<div class="panel-body">
<section
v-if="currentUser && currentUser.role === 'admin'"
>
<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">
@import "../../variables";
.announcements-page {
.post-form {
padding: var(--status-margin, $status-margin);
.heading, .body {
margin-bottom: var(--status-margin, $status-margin);
}
.post-button {
min-width: 10em;
}
}
}
</style>

View File

@ -17,6 +17,7 @@ import {
faPencilAlt,
faAlignRight
} from '@fortawesome/free-solid-svg-icons'
import Blurhash from '../blurhash/Blurhash.vue'
library.add(
faFile,
@ -61,7 +62,8 @@ const Attachment = {
},
components: {
StillImage,
VideoAttachment
VideoAttachment,
Blurhash
},
computed: {
classNames () {
@ -82,6 +84,9 @@ const Attachment = {
useContainFit () {
return this.$store.getters.mergedConfig.useContainFit
},
useBlurhash () {
return this.$store.getters.mergedConfig.useBlurhash
},
placeholderName () {
if (this.attachment.description === '' || !this.attachment.description) {
return this.type.toUpperCase()
@ -124,9 +129,15 @@ const Attachment = {
videoTag () {
return this.useModal ? 'button' : 'span'
},
statusForm () {
return this.$parent.$parent
},
...mapGetters(['mergedConfig'])
},
watch: {
'attachment.description' (newVal) {
this.localDescription = newVal
},
localDescription (newVal) {
this.onEdit(newVal)
}
@ -197,6 +208,29 @@ const Attachment = {
const width = image.naturalWidth
const height = image.naturalHeight
this.$emit('naturalSizeLoad', { id: this.attachment.id, width, height })
},
resize (e) {
const target = e.target || e
if (!(target instanceof window.Element)) { return }
// Reset to default height for empty form, nothing else to do here.
if (target.value === '') {
target.style.height = null
this.$emit('resize')
return
}
const paddingString = getComputedStyle(target)['padding']
// remove -px suffix
const padding = Number(paddingString.substring(0, paddingString.length - 2))
target.style.height = 'auto'
const newHeight = Math.floor(target.scrollHeight - padding * 2)
target.style.height = `${newHeight}px`
this.$emit('resize', newHeight)
},
postStatus (event) {
this.statusForm.postStatus(event, this.statusForm.newStatus)
}
}
}

View File

@ -16,7 +16,7 @@
.attachment-wrapper {
flex: 1 1 auto;
height: 100%;
height: 200px;
position: relative;
overflow: hidden;
}
@ -26,6 +26,7 @@
display: flex;
padding-top: 0.5em;
z-index: 1;
max-height: 50%;
p {
flex: 1;
@ -33,9 +34,10 @@
line-height: 1.5;
padding: 0.5em;
margin: 0;
white-space: nowrap;
white-space: pre-line;
word-break: break-word;
text-overflow: ellipsis;
overflow: hidden;
overflow: scroll;
}
&.-static {
@ -52,6 +54,19 @@
.description-field {
flex: 1;
min-width: 0;
box-sizing: content-box;
overflow: hidden;
transition: min-height 200ms 100ms;
padding-bottom: var(--_padding);
height: calc(var(--post-line-height) * 1em);
min-height: calc(var(--post-line-height) * 1em);
resize: none;
&.scrollable-form {
overflow-y: auto;
}
}
& .placeholder-container,

View File

@ -64,7 +64,15 @@
:title="attachment.description"
@click.prevent.stop="toggleHidden"
>
<Blurhash
v-if="useBlurhash && attachment.blurhash"
:height="512"
:width="1024"
:hash="attachment.blurhash"
:punch="1"
/>
<img
v-else
:key="nsfwImage"
class="nsfw"
:src="nsfwImage"
@ -248,14 +256,16 @@
class="description-container"
:class="{ '-static': !edit }"
>
<input
<textarea
v-if="edit"
v-model="localDescription"
type="text"
class="description-field"
:placeholder="$t('post_status.media_description')"
@keydown.enter.prevent=""
>
rows="1"
cols="1"
@keydown.ctrl.enter="postStatus()"
@input="resize"
/>
<p v-else>
{{ localDescription }}
</p>

View File

@ -14,7 +14,7 @@
</div>
</template>
<script src="./avatar_list.js" ></script>
<script src="./avatar_list.js"></script>
<style lang="scss">
@import '../../_variables.scss';

View File

@ -0,0 +1,4 @@
export default {
computed: {
}
}

View File

@ -0,0 +1,12 @@
<template>
<div class="panel panel-default">
<div class="panel-heading">
<h4>{{ $t('registration.awaiting_email_confirmation_title') }}</h4>
</div>
<div class="panel-body">
<p>{{ $t('registration.awaiting_email_confirmation') }}</p>
</div>
</div>
</template>
<script src="./awaiting_email_confirmation.js"></script>

View File

@ -0,0 +1,66 @@
<template>
<canvas
ref="canvas"
class="blurhash"
/>
</template>
<script>
import { decode } from "blurhash";
export default {
name: 'Blurhash',
props: {
hash: {
type: String,
required: true,
},
width: {
type: Number,
required: true,
},
height: {
type: Number,
required: true,
},
punch: {
type: Number,
default: null,
},
},
data() {
return {
canvas: null,
ctx: null,
};
},
mounted() {
this.canvas = this.$refs.canvas;
this.ctx = this.canvas.getContext('2d');
this.canvas.width = 1024;
this.canvas.height = 512;
this.draw();
},
methods: {
draw() {
const pixels = decode(this.hash, this.width, this.height, this.punch);
const imageData = this.ctx.createImageData(this.width, this.height);
imageData.data.set(pixels);
this.ctx.putImageData(imageData, 0, 0);
fetch("/static/blurhash-overlay.png")
.then((response) => response.blob())
.then((blob) => {
const img = new Image();
img.src = URL.createObjectURL(blob);
img.onload = () => {
this.ctx.drawImage(img, 0, 0, this.width, this.height);
};
});
},
}
}
</script>
<style scoped>
</style>

View File

@ -0,0 +1,18 @@
import Timeline from '../timeline/timeline.vue'
const PublicTimeline = {
components: {
Timeline
},
computed: {
timeline () { return this.$store.state.statuses.timelines.bubble }
},
created () {
this.$store.dispatch('startFetchingTimeline', { timeline: 'bubble' })
},
unmounted () {
this.$store.dispatch('stopFetchingTimeline', 'bubble')
}
}
export default PublicTimeline

View File

@ -0,0 +1,9 @@
<template>
<Timeline
:title="$t('nav.bubble_timeline')"
:timeline="timeline"
:timeline-name="'bubble'"
/>
</template>
<script src="./bubble_timeline.js"></script>

View File

@ -23,7 +23,7 @@
class="timeline"
>
<List :items="sortedChatList">
<template v-slot:item="{item}">
<template #item="{item}">
<ChatListItem
:key="item.id"
:compact="false"

View File

@ -50,7 +50,7 @@
@show="menuOpened = true"
@close="menuOpened = false"
>
<template v-slot:content>
<template #content>
<div class="dropdown-menu">
<button
class="button-default dropdown-item dropdown-item-icon"
@ -60,7 +60,7 @@
</button>
</div>
</template>
<template v-slot:trigger>
<template #trigger>
<button
class="button-default menu-icon"
:title="$t('chats.more')"
@ -75,7 +75,7 @@
:status="messageForStatusContent"
:full-content="true"
>
<template v-slot:footer>
<template #footer>
<span
class="created-at"
>
@ -96,7 +96,7 @@
</div>
</template>
<script src="./chat_message.js" ></script>
<script src="./chat_message.js"></script>
<style lang="scss">
@import './chat_message.scss';

View File

@ -4,8 +4,8 @@
:title="title"
>
<router-link
class="avatar-container"
v-if="withAvatar && user"
class="avatar-container"
:to="getUserProfileLink(user)"
>
<UserAvatar

View File

@ -22,12 +22,12 @@
<script>
export default {
emits: ['update:modelValue'],
props: [
'modelValue',
'indeterminate',
'disabled'
]
],
emits: ['update:modelValue']
}
</script>

View File

@ -28,7 +28,7 @@
flex: 0 0 2em;
min-width: 2em;
align-self: center;
height: 100%;
height: 2em;
}
}
.computedIndicator,

View File

@ -46,7 +46,6 @@
</div>
</div>
</template>
<style lang="scss" src="./color_input.scss"></style>
<script>
import Checkbox from '../checkbox/checkbox.vue'
import { hex2rgb } from '../../services/color_convert/color_convert.js'
@ -108,6 +107,7 @@ export default {
}
}
</script>
<style lang="scss" src="./color_input.scss"></style>
<style lang="scss">
.color-control {

View File

@ -0,0 +1,37 @@
import DialogModal from '../dialog_modal/dialog_modal.vue'
/**
* This component emits the following events:
* cancelled, emitted when the action should not be performed;
* accepted, emitted when the action should be performed;
*
* The caller should close this dialog after receiving any of the two events.
*/
const ConfirmModal = {
components: {
DialogModal
},
props: {
title: {
type: String
},
cancelText: {
type: String
},
confirmText: {
type: String
}
},
computed: {
},
methods: {
onCancel () {
this.$emit('cancelled')
},
onAccept () {
this.$emit('accepted')
}
}
}
export default ConfirmModal

View File

@ -0,0 +1,39 @@
<template>
<dialog-modal
v-body-scroll-lock="true"
class="confirm-modal"
:on-cancel="onCancel"
>
<template #header>
<span v-text="title" />
</template>
<slot />
<template #footer>
<button
class="btn button-default"
@click.prevent="onCancel"
v-text="cancelText"
/>
<button
class="btn button-default button-positive"
@click.prevent="onAccept"
v-text="confirmText"
/>
</template>
</dialog-modal>
</template>
<script src="./confirm_modal.js"></script>
<style lang="scss" scoped>
@import '../../_variables';
.confirm-modal {
.button-positive {
border: 3px solid var(--accent, $fallback--link);
border-radius: var(--btnRadius, $fallback--btnRadius);
}
}
</style>

View File

@ -1,6 +1,8 @@
import { reduce, filter, findIndex, clone, get } from 'lodash'
import Status from '../status/status.vue'
import ThreadTree from '../thread_tree/thread_tree.vue'
import { WSConnectionStatus } from '../../services/api/api.service.js'
import { mapGetters, mapState } from 'vuex'
import { library } from '@fortawesome/fontawesome-svg-core'
import {
@ -77,6 +79,9 @@ const conversation = {
const maxDepth = this.$store.getters.mergedConfig.maxDepthInThread - 2
return maxDepth >= 1 ? maxDepth : 1
},
streamingEnabled () {
return this.mergedConfig.useStreamingApi && this.mastoUserSocketStatus === WSConnectionStatus.JOINED
},
displayStyle () {
return this.$store.getters.mergedConfig.conversationDisplay
},
@ -339,7 +344,11 @@ const conversation = {
},
maybeHighlight () {
return this.isExpanded ? this.highlight : null
}
},
...mapGetters(['mergedConfig']),
...mapState({
mastoUserSocketStatus: state => state.api.mastoUserSocketStatus
})
},
components: {
Status,
@ -395,6 +404,11 @@ const conversation = {
setHighlight (id) {
if (!id) return
this.highlight = id
if (!this.streamingEnabled) {
this.$store.dispatch('fetchStatus', id)
}
this.$store.dispatch('fetchFavsAndRepeats', id)
this.$store.dispatch('fetchEmojiReactionsBy', id)
},

View File

@ -31,8 +31,8 @@
keypath="status.show_all_conversation_with_icon"
tag="button"
class="button-unstyled -link"
@click.prevent="diveToTopLevel"
scope="global"
@click.prevent="diveToTopLevel"
>
<template #icon>
<FAIcon

View File

@ -1,36 +1,54 @@
import SearchBar from 'components/search_bar/search_bar.vue'
import ConfirmModal from '../confirm_modal/confirm_modal.vue'
import { library } from '@fortawesome/fontawesome-svg-core'
import {
publicTimelineVisible,
federatedTimelineVisible,
bubbleTimelineVisible,
} from '../../lib/timeline_visibility'
import {
faSignInAlt,
faSignOutAlt,
faHome,
faComments,
faBell,
faUserPlus,
faBullhorn,
faSearch,
faTachometerAlt,
faCog,
faInfoCircle
faGlobe,
faBolt,
faUsers,
faCommentMedical,
faBookmark,
faInfoCircle,
faUserTie
} from '@fortawesome/free-solid-svg-icons'
import { mapState } from 'vuex'
library.add(
faSignInAlt,
faSignOutAlt,
faHome,
faComments,
faBell,
faUserPlus,
faBullhorn,
faSearch,
faTachometerAlt,
faCog,
faInfoCircle
faGlobe,
faBolt,
faUsers,
faCommentMedical,
faBookmark,
faInfoCircle,
faUserTie
)
export default {
components: {
SearchBar
SearchBar,
ConfirmModal
},
data: () => ({
searchBarHidden: true,
@ -40,7 +58,8 @@ export default {
window.CSS.supports('-moz-mask-size', 'contain') ||
window.CSS.supports('-ms-mask-size', 'contain') ||
window.CSS.supports('-o-mask-size', 'contain')
)
),
showingConfirmLogout: false
}),
computed: {
enableMask () { return this.supportsMask && this.$store.state.instance.logoMask },
@ -65,25 +84,50 @@ export default {
})
},
logo () { return this.$store.state.instance.logo },
mergedConfig () {
return this.$store.getters.mergedConfig
},
sitename () { return this.$store.state.instance.name },
showNavShortcuts () {
return this.mergedConfig.showNavShortcuts
},
showWiderShortcuts () {
return this.mergedConfig.showWiderShortcuts
},
hideSiteFavicon () {
return this.mergedConfig.hideSiteFavicon
},
hideSiteName () {
return this.mergedConfig.hideSiteName
},
hideSitename () { return this.$store.state.instance.hideSitename },
logoLeft () { return this.$store.state.instance.logoLeft },
currentUser () { return this.$store.state.users.currentUser },
privateMode () { return this.$store.state.instance.private }
privateMode () { return this.$store.state.instance.private },
shouldConfirmLogout () {
return this.$store.getters.mergedConfig.modalOnLogout
},
showBubbleTimeline () {
return this.$store.state.instance.localBubbleInstances.length > 0
},
...mapState({
publicTimelineVisible,
federatedTimelineVisible,
bubbleTimelineVisible,
})
},
methods: {
scrollToTop () {
window.scrollTo(0, 0)
},
logout () {
this.$router.replace('/main/public')
this.$store.dispatch('logout')
},
onSearchBarToggled (hidden) {
this.searchBarHidden = hidden
},
openSettingsModal () {
this.$store.dispatch('openSettingsModal')
},
openModModal () {
this.$store.dispatch('openModModal')
}
}
}

View File

@ -3,6 +3,10 @@
.DesktopNav {
width: 100%;
input {
color: var(--inputTopbarText, var(--inputText));
}
a {
color: var(--topBarLink, $fallback--link);
}
@ -11,16 +15,16 @@
display: grid;
grid-template-rows: var(--navbar-height);
grid-template-columns: 2fr auto 2fr;
grid-template-areas: "sitename logo actions";
grid-template-areas: "nav-left logo actions";
box-sizing: border-box;
padding: 0 1.2em;
margin: auto;
max-width: 980px;
max-width: 1110px;
}
&.-logoLeft .inner-nav {
grid-template-columns: auto 2fr 2fr;
grid-template-areas: "logo sitename actions";
grid-template-areas: "logo nav-left actions";
}
.button-default {
@ -85,14 +89,43 @@
height: 100%;
text-align: center;
&.router-link-active {
font-size: 1.2em;
margin-top: 0.05em;
.svg-inline--fa {
font-weight: bolder;
color: $fallback--text;
color: var(--selectedMenuText, $fallback--text);
--lightText: var(--selectedMenuLightText, $fallback--lightText);
}
}
.svg-inline--fa {
color: $fallback--link;
color: var(--topBarLink, $fallback--link);
}
}
.sitename {
grid-area: sitename;
.-wide {
.nav-icon {
margin-left: 0.7em;
}
}
.left {
padding-left: 5px;
display: flex;
}
.nav-left-wrapper {
grid-area: nav-left;
.favicon {
height: 28px;
vertical-align: middle;
padding-right: 5px;
}
}
.actions {

View File

@ -5,16 +5,81 @@
:class="{ '-logoLeft': logoLeft }"
@click="scrollToTop()"
>
<div class="inner-nav">
<div class="item sitename">
<div
class="inner-nav"
:class="{ '-wide': showWiderShortcuts }"
>
<div class="item nav-left-wrapper">
<router-link
v-if="!hideSitename"
class="site-name"
class="site-brand"
:to="{ name: 'root' }"
active-class="home"
>
{{ sitename }}
<img
v-if="!hideSiteFavicon"
class="favicon"
src="/favicon.png"
>
<span
v-if="!hideSiteName"
class="site-name"
>
{{ sitename }}
</span>
</router-link>
<div
v-if="(currentUser || !privateMode) && showNavShortcuts"
class="nav-items left"
>
<router-link
v-if="currentUser"
:to="{ name: 'friends' }"
class="nav-icon"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="home"
:title="$t('nav.home_timeline')"
/>
</router-link>
<router-link
v-if="publicTimelineVisible"
:to="{ name: 'public-timeline' }"
class="nav-icon"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="users"
:title="$t('nav.public_tl')"
/>
</router-link>
<router-link
v-if="bubbleTimelineVisible"
:to="{ name: 'bubble-timeline' }"
class="nav-icon"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="circle"
:title="$t('nav.bubble_timeline')"
/>
</router-link>
<router-link
v-if="federatedTimelineVisible"
:to="{ name: 'public-external-timeline' }"
class="nav-icon"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="globe"
:title="$t('nav.twkn')"
/>
</router-link>
</div>
</div>
<router-link
class="logo"
@ -36,6 +101,47 @@
@toggled="onSearchBarToggled"
@click.stop
/>
<div
v-if="(currentUser || !privateMode) && showNavShortcuts"
class="nav-items right"
>
<router-link
v-if="currentUser"
class="nav-icon"
:to="{ name: 'interactions', params: { username: currentUser.screen_name } }"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="bolt"
:title="$t('nav.interactions')"
/>
</router-link>
<router-link
v-if="currentUser"
:to="{ name: 'lists' }"
class="nav-icon"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="list"
:title="$t('nav.lists')"
/>
</router-link>
<router-link
v-if="currentUser"
:to="{ name: 'bookmarks' }"
class="nav-icon"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="bookmark"
:title="$t('nav.bookmarks')"
/>
</router-link>
</div>
<button
class="button-unstyled nav-icon"
@click.stop="openSettingsModal"
@ -47,6 +153,18 @@
:title="$t('nav.preferences')"
/>
</button>
<button
v-if="currentUser && currentUser.role === 'admin' || currentUser.role === 'moderator'"
class="button-unstyled nav-icon"
@click.stop="openModModal"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="user-tie"
:title="$t('nav.moderation')"
/>
</button>
<a
v-if="currentUser && currentUser.role === 'admin'"
href="/pleroma/admin/#/login-pleroma"
@ -61,20 +179,20 @@
:title="$t('nav.administration')"
/>
</a>
<button
v-if="currentUser"
class="button-unstyled nav-icon"
@click.prevent="logout"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="sign-out-alt"
:title="$t('login.logout')"
/>
</button>
</div>
</div>
<teleport to="#modal">
<confirm-modal
v-if="showingConfirmLogout"
:title="$t('login.logout_confirm_title')"
:confirm-text="$t('login.logout_confirm_accept_button')"
:cancel-text="$t('login.logout_confirm_cancel_button')"
@accepted="doLogout"
@cancelled="hideConfirmLogout"
>
{{ $t('login.logout_confirm') }}
</confirm-modal>
</teleport>
</nav>
</template>
<script src="./desktop_nav.js"></script>

View File

@ -39,7 +39,7 @@
right: 0;
top: 0;
background: rgba(27,31,35,.5);
z-index: 99;
z-index: 2000;
}
}
@ -51,9 +51,10 @@
margin: 15vh auto;
position: fixed;
transform: translateX(-50%);
z-index: 999;
z-index: 2001;
cursor: default;
display: block;
width: max-content;
background-color: $fallback--bg;
background-color: var(--bg, $fallback--bg);

View File

@ -9,7 +9,7 @@
class="btn button-default"
>
{{ $t('domain_mute_card.unmute') }}
<template v-slot:progress>
<template #progress>
{{ $t('domain_mute_card.unmute_progress') }}
</template>
</ProgressButton>
@ -19,7 +19,7 @@
class="btn button-default"
>
{{ $t('domain_mute_card.mute') }}
<template v-slot:progress>
<template #progress>
{{ $t('domain_mute_card.mute_progress') }}
</template>
</ProgressButton>

View File

@ -0,0 +1,75 @@
import PostStatusForm from '../post_status_form/post_status_form.vue'
import Modal from '../modal/modal.vue'
import statusPosterService from '../../services/status_poster/status_poster.service.js'
import get from 'lodash/get'
const EditStatusModal = {
components: {
PostStatusForm,
Modal
},
data () {
return {
resettingForm: false
}
},
computed: {
isLoggedIn () {
return !!this.$store.state.users.currentUser
},
modalActivated () {
return this.$store.state.editStatus.modalActivated
},
isFormVisible () {
return this.isLoggedIn && !this.resettingForm && this.modalActivated
},
params () {
return this.$store.state.editStatus.params || {}
}
},
watch: {
params (newVal, oldVal) {
if (get(newVal, 'statusId') !== get(oldVal, 'statusId')) {
this.resettingForm = true
this.$nextTick(() => {
this.resettingForm = false
})
}
},
isFormVisible (val) {
if (val) {
this.$nextTick(() => this.$el && this.$el.querySelector('textarea').focus())
}
}
},
methods: {
doEditStatus ({ status, spoilerText, sensitive, media, contentType, poll }) {
const params = {
store: this.$store,
statusId: this.$store.state.editStatus.params.statusId,
status,
spoilerText,
sensitive,
poll,
media,
contentType
}
return statusPosterService.editStatus(params)
.then((data) => {
return data
})
.catch((err) => {
console.error('Error editing status', err)
return {
error: err.message
}
})
},
closeModal () {
this.$store.dispatch('closeEditStatusModal')
}
}
}
export default EditStatusModal

View File

@ -0,0 +1,48 @@
<template>
<Modal
v-if="isFormVisible"
class="edit-form-modal-view"
@backdropClicked="closeModal"
>
<div class="edit-form-modal-panel panel">
<div class="panel-heading">
{{ $t('post_status.edit_status') }}
</div>
<PostStatusForm
class="panel-body"
v-bind="params"
:disable-polls="true"
:disable-visibility-selector="true"
:post-handler="doEditStatus"
@posted="closeModal"
/>
</div>
</Modal>
</template>
<script src="./edit_status_modal.js"></script>
<style lang="scss">
.modal-view.edit-form-modal-view {
align-items: flex-start;
}
.edit-form-modal-panel {
flex-shrink: 0;
margin-top: 25%;
margin-bottom: 2em;
width: 100%;
max-width: 700px;
@media (orientation: landscape) {
margin-top: 8%;
}
.form-bottom-left {
max-width: 6.5em;
.emoji-icon {
justify-content: right;
}
}
}
</style>

View File

@ -0,0 +1,133 @@
const EMOJI_SIZE = 32 + 8
const GROUP_TITLE_HEIGHT = 24
const BUFFER_SIZE = 3 * EMOJI_SIZE
const EmojiGrid = {
props: {
groups: {
required: true,
type: Array
}
},
data () {
return {
containerWidth: 0,
containerHeight: 0,
scrollPos: 0,
resizeObserver: null
}
},
mounted () {
const rect = this.$refs.container.getBoundingClientRect()
this.containerWidth = rect.width
this.containerHeight = rect.height
this.resizeObserver = new ResizeObserver((entries) => {
for (const entry of entries) {
this.containerWidth = entry.contentRect.width
this.containerHeight = entry.contentRect.height
}
})
this.resizeObserver.observe(this.$refs.container)
},
beforeUnmount () {
this.resizeObserver.disconnect()
this.resizeObserver = null
},
watch: {
groups () {
// Scroll to top when grid content changes
if (this.$refs.container) {
this.$refs.container.scrollTo(0, 0)
}
},
activeGroup (group) {
this.$emit('activeGroup', group)
}
},
methods: {
onScroll () {
this.scrollPos = this.$refs.container.scrollTop
},
onEmoji (emoji) {
this.$emit('emoji', emoji)
},
scrollToItem (itemId) {
const container = this.$refs.container
if (!container) return
for (const item of this.itemList) {
if (item.id === itemId) {
container.scrollTo(0, item.position.y)
return
}
}
}
},
computed: {
// Total height of scroller content
gridHeight () {
if (this.itemList.length === 0) return 0
const lastItem = this.itemList[this.itemList.length - 1]
return (
lastItem.position.y +
('title' in lastItem ? GROUP_TITLE_HEIGHT : EMOJI_SIZE)
)
},
activeGroup () {
const items = this.itemList
for (let i = items.length - 1; i >= 0; i--) {
const item = items[i]
if ('title' in item && item.position.y <= this.scrollPos) {
return item.id
}
}
return null
},
itemList () {
const items = []
let x = 0
let y = 0
for (const group of this.groups) {
items.push({ position: { x, y }, id: group.id, title: group.text })
if (group.text.length) {
y += GROUP_TITLE_HEIGHT
}
for (const emoji of group.emojis) {
items.push({
position: { x, y },
id: `${group.id}-${emoji.displayText}`,
emoji
})
x += EMOJI_SIZE
if (x + EMOJI_SIZE > this.containerWidth) {
y += EMOJI_SIZE
x = 0
}
}
if (x > 0) {
y += EMOJI_SIZE
x = 0
}
}
return items
},
visibleItems () {
const startPos = this.scrollPos - BUFFER_SIZE
const endPos = this.scrollPos + this.containerHeight + BUFFER_SIZE
return this.itemList.filter((i) => {
return i.position.y >= startPos && i.position.y < endPos
})
},
scrolledClass () {
if (this.scrollPos <= 5) {
return 'scrolled-top'
} else if (this.scrollPos >= this.gridHeight - this.containerHeight - 5) {
return 'scrolled-bottom'
} else {
return 'scrolled-middle'
}
}
}
}
export default EmojiGrid

View File

@ -0,0 +1,60 @@
.emoji {
&-grid {
flex: 1 1 1px;
position: relative;
overflow: auto;
user-select: none;
mask: linear-gradient(to top, white 0, transparent 100%) bottom no-repeat,
linear-gradient(to bottom, white 0, transparent 100%) top no-repeat,
linear-gradient(to top, white, white);
transition: mask-size 150ms;
mask-size: 100% 20px, 100% 20px, auto;
// Autoprefixed seem to ignore this one, and also syntax is different
-webkit-mask-composite: xor;
mask-composite: exclude;
&.scrolled {
&-top {
mask-size: 100% 20px, 100% 0, auto;
}
&-bottom {
mask-size: 100% 0, 100% 20px, auto;
}
}
margin-left: 5px;
min-height: 200px;
}
&-group-title {
position: absolute;
font-size: 0.85em;
width: 100%;
margin: 0;
height: 24px;
display: flex;
align-items: end;
&.disabled {
display: none;
}
}
&-item {
position: absolute;
width: 32px;
height: 32px;
box-sizing: border-box;
display: flex;
font-size: 32px;
align-items: center;
justify-content: center;
margin: 4px;
cursor: pointer;
img {
object-fit: contain;
max-width: 100%;
max-height: 100%;
}
}
}

View File

@ -0,0 +1,48 @@
<template>
<div
ref="container"
class="emoji-grid"
:class="scrolledClass"
@scroll.passive="onScroll"
>
<div
:style="{
height: `${gridHeight}px`,
}"
>
<template v-for="item in visibleItems">
<h6
v-if="'title' in item && item.title.length"
:key="'title-' + item.id"
class="emoji-group-title"
:style="{
top: item.position.y + 'px',
left: item.position.x + 'px'
}"
>
{{ item.title }}
</h6>
<span
v-else-if="'emoji' in item"
:key="'emoji-' + item.id"
class="emoji-item"
:title="item.emoji.displayText"
:style="{
top: item.position.y + 'px',
left: item.position.x + 'px'
}"
@click.stop.prevent="onEmoji(item.emoji)"
>
<span v-if="!item.emoji.imageUrl">{{ item.emoji.replacement }}</span>
<img
v-else
:src="item.emoji.imageUrl"
>
</span>
</template>
</div>
</div>
</template>
<script src="./emoji_grid.js"></script>
<style lang="scss" src="./emoji_grid.scss"></style>

View File

@ -178,7 +178,7 @@ const EmojiInput = {
textAtCaret: async function (newWord) {
const firstchar = newWord.charAt(0)
this.suggestions = []
if (newWord === firstchar) return
if (newWord === firstchar && firstchar !== '$') return
const matchedSuggestions = await this.suggest(newWord)
// Async: cancel if textAtCaret has changed during wait
if (this.textAtCaret !== newWord) return
@ -205,7 +205,6 @@ const EmojiInput = {
},
triggerShowPicker () {
this.showPicker = true
this.$refs.picker.startEmojiLoad()
this.$nextTick(() => {
this.scrollIntoView()
this.focusPickerInput()
@ -223,7 +222,6 @@ const EmojiInput = {
this.showPicker = !this.showPicker
if (this.showPicker) {
this.scrollIntoView()
this.$refs.picker.startEmojiLoad()
this.$nextTick(this.focusPickerInput)
}
},
@ -277,7 +275,6 @@ const EmojiInput = {
},
replaceText (e, suggestion) {
const len = this.suggestions.length || 0
if (this.textAtCaret.length === 1) { return }
if (len > 0 || suggestion) {
const chosenSuggestion = suggestion || this.suggestions[this.highlighted]
const replacement = chosenSuggestion.replacement
@ -491,11 +488,10 @@ const EmojiInput = {
},
setPlacement (container, target, offsetBottom) {
if (!container || !target) return
target.style.top = offsetBottom + 'px'
target.style.bottom = 'auto'
if (this.placement === 'top' || (this.placement === 'auto' && this.overflowsBottom(container))) {
if (this.placement === 'bottom' || (this.placement === 'auto' && !this.overflowsBottom(container))) {
target.style.top = offsetBottom + 'px'
target.style.bottom = 'auto'
} else {
target.style.top = 'auto'
target.style.bottom = this.input.offsetHeight + 'px'
}

View File

@ -42,7 +42,10 @@
:class="{ highlighted: index === highlighted }"
@click.stop.prevent="onClick($event, suggestion)"
>
<span class="image">
<span
v-if="!suggestion.mfm"
class="image"
>
<img
v-if="suggestion.img"
:src="suggestion.img"

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