Commit graph

799 commits

Author SHA1 Message Date
042e8c78dc feat: Add "Default post language" option
Refs 
2024-04-20 16:07:03 +03:00
ed0b403c33 Merge pull request 'Auto-approve followbacks (frontend part)' () from Oneric/akkoma-fe:followbacks-fe into develop
Reviewed-on: 
2024-02-20 16:24:37 +00:00
050c7df2e6 Display profile background of other users
And add a new frontend setting to hide other people's background.
2024-02-14 18:44:57 +01:00
a77a9e04d9 Expose new server-side permit_followback setting
Added to backend in 
2024-02-04 22:19:14 +01:00
81c82e11bc Merge pull request 'Explicitly set SameSite attribute for cookies' () from Oneric/akkoma-fe:cookie-samesite into develop
Reviewed-on: 
2023-12-15 11:54:15 +00:00
c524a47e6f Drop broken "@ symbol as icon" setting
It was merged into pleroma-fe on 2022-02-03 in
76547fe66d and imported
into akkoma-fe on 2022-06-08 with the merge commit
f6cf509a04.

However, something went wrong in the merge and while the setting
and its infrastructure exist, it is never used anywhere and @ is
always displayed as text.

Given it existed in this broken state for nearly one and a half years,
never worked on akkoma-fe and no bugs were filed about this, it appears
nobody cares, so let’s just remove it.
2023-11-15 23:36:19 +01:00
ab250c2f3a Explicitly set SameSite attribute for cookies
Modern browsers start to tighten down on third-party access to cookies.
E.g. in current Firefox, a warning about the userLanguage cookie was
shown since it did not yet explicitly set the SameSite attribute and the
default is about to change.

The cookie name being referred to as BACKEND_LANGUAGE_COOKIE_NAME
suggests it should be readable by the actual Akkoma backend, which can
live at a different domain than akkoma-fe. Thus explicitly enable
sharing with third-party sites.

No warnings were shown for other cookies, so I assume
this was the only one not yet setting SameSite.
2023-10-19 01:05:59 +02:00
6a1409e09b
Do not copy all emojis in recentEmoji getter 2023-09-03 16:19:06 +02:00
tusooa
29cfdcbbcd Add load more to blocks/mutes 2023-08-04 15:54:04 +01:00
c540764408 ensure we only fetch reports when we're an admin
Ref 
2023-04-14 17:43:05 +01:00
9f7f9e2798 Remove unused bits and bobs 2023-03-15 23:00:31 +00:00
6fdef479d0 add recently used emojis panel to emoji picker ()
~~(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: 
Co-authored-by: flisk <akkomadev.mvch71fq@flisk.xyz>
Co-committed-by: flisk <akkomadev.mvch71fq@flisk.xyz>
2023-03-10 19:10:42 +00:00
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
88d5149db5 paginate-follow-requests ()
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: 
2023-02-04 21:09:09 +00:00
d973396c96 Remove console.log 2023-01-01 21:06:02 +00:00
62287fffae add follow/unfollow to followed tags list 2023-01-01 21:05:25 +00:00
e9f16af82d Add list of followed hashtags to profile 2023-01-01 20:11:07 +00:00
313ddcebcb Add blurhash support 2022-12-30 04:57:23 +00:00
014f8b0dd2 Make minimum width for 3-column layout 1280px () ()
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: 

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: 
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-12-30 03:01:17 +00:00
c39332c1bf Revert "Revert "use v1 urls""
This reverts commit 8c6cf86de3.
2022-12-14 09:39:01 +00:00
8c6cf86de3 Revert "use v1 urls"
This reverts commit 909271c764.
2022-12-14 09:38:46 +00:00
909271c764 use v1 urls 2022-12-14 09:38:07 +00:00
eb49295422 Add hashtag following button ()
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: 
2022-12-04 17:31:41 +00:00
c01c62f149 Redirect users to "awaiting approval" message on register ()
Ref  - 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: 
2022-11-22 14:44:44 +00:00
db46879a8f Big 'ol set of patches and dep maintenance ()
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: 
2022-11-15 15:47:32 +00:00
sfr
15bac1e401 Add reports management ()
implements part of , other parts will come later

Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com>
Reviewed-on: 
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-11-06 21:26:05 +00:00
d8643b5b4a Take instance stopGifs value 2022-10-29 22:08:25 +01:00
7df49720de ensure we sync settings whilst tab is open 2022-10-08 11:55:48 +01:00
Sean King
2453a338be Added support for removing users from followers 2022-10-06 17:06:53 +01:00
4f837f75ea setting-sync ()
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: 
2022-10-06 15:59:16 +00:00
87683052e8 add hacky reply filtering, turn off streaming by default 2022-09-20 16:27:17 +01:00
aedd0794a4 Remote interaction with posts ()
From: https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1419

This is the frontend side of  (merged in a6d85003fe).

Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: 
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-09-19 17:39:21 +00:00
2da92fcd13 editing ()
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: 
2022-09-06 19:25:03 +00:00
6084cbbb00 collapse statuses with CWs by default ()
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: 
2022-09-06 17:00:15 +00:00
ae1b6ad887 Customisation of default profile tab, clean up settings ()
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: 
2022-09-05 17:02:16 +00:00
48826ede36 Separated Posts & Replies () ()
Co-authored-by: David <dmgf2008@hotmail.com>
Reviewed-on: 
Co-authored-by: Mergan <mergan@noreply.akkoma>
Co-committed-by: Mergan <mergan@noreply.akkoma>
2022-08-31 15:28:09 +00:00
7dc0464094 split translation language by source and dest 2022-08-30 17:46:54 +01:00
6440e51b7e allow translating to any other language 2022-08-30 15:43:57 +01:00
ef50c63dc7 use supported languages from service 2022-08-30 14:37:36 +01:00
e7c21ffbd7 allow selecting languages for translation 2022-08-29 22:16:59 +01:00
48a11cb9d1 add translation options 2022-08-29 20:02:34 +01:00
776bee889e Confirmation dialogs ()
supercedes 

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: 
2022-08-26 11:58:33 +00:00
2d85ee6a08 use-server-side-mfm ()
Reviewed-on: 
2022-08-18 03:14:38 +00:00
e61228b031 use akkoma-specific source for MFM unless asked not to ()
Reviewed-on: 
2022-08-17 09:34:50 +00:00
64fdde52f6 timeline panel nav ()
Reviewed-on: 
2022-08-17 08:41:36 +00:00
ca0b730605 Redo desktop nav, add options for site name and favicon ()
Reviewed-on: 
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-14 23:24:59 +00:00
9ede66fcc0 enable misskey markdown by default
fixes 
2022-08-11 10:21:00 +01:00
d4f8934e8a New option: Pause MFM animations until status hover ()
Reviewed-on: 
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-08 15:47:06 +00:00
f474763151 Commit list accounts state after difference in removed accounts is determined ()
Reviewed-on: 
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 ()
Reviewed-on: 
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-07-31 21:47:25 +00:00