Commit Graph

798 Commits

Author SHA1 Message Date
floatingghost ed0b403c33 Merge pull request 'Auto-approve followbacks (frontend part)' (#365) from Oneric/akkoma-fe:followbacks-fe into develop
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: #365
2024-02-20 16:24:37 +00:00
Oneric 050c7df2e6 Display profile background of other users
ci/woodpecker/pr/woodpecker Pipeline was successful Details
And add a new frontend setting to hide other people's background.
2024-02-14 18:44:57 +01:00
Oneric a77a9e04d9 Expose new server-side permit_followback setting
ci/woodpecker/pr/woodpecker Pipeline was successful Details
Added to backend in AkkomaGang/akkoma#674
2024-02-04 22:19:14 +01:00
floatingghost 81c82e11bc Merge pull request 'Explicitly set SameSite attribute for cookies' (#352) from Oneric/akkoma-fe:cookie-samesite into develop
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: #352
2023-12-15 11:54:15 +00:00
Oneric c524a47e6f Drop broken "@ symbol as icon" setting
ci/woodpecker/pr/woodpecker Pipeline was successful Details
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
Oneric ab250c2f3a Explicitly set SameSite attribute for cookies
ci/woodpecker/pr/woodpecker Pipeline was successful Details
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
sn0w 6a1409e09b
Do not copy all emojis in recentEmoji getter
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2023-09-03 16:19:06 +02:00
tusooa 29cfdcbbcd Add load more to blocks/mutes
ci/woodpecker/push/woodpecker Pipeline failed Details
2023-08-04 15:54:04 +01:00
FloatingGhost c540764408 ensure we only fetch reports when we're an admin
ci/woodpecker/push/woodpecker Pipeline was successful Details
Ref #288
2023-04-14 17:43:05 +01:00
FloatingGhost 9f7f9e2798 Remove unused bits and bobs
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-03-15 23:00:31 +00:00
flisk 6fdef479d0 add recently used emojis panel to emoji picker (#283)
ci/woodpecker/push/woodpecker Pipeline was successful Details
~~(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: #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
flisk 999c38594e fix realtime updates in 'following' replies filter
ci/woodpecker/pr/woodpecker Pipeline was successful Details
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
floatingghost 88d5149db5 paginate-follow-requests (#277)
ci/woodpecker/push/woodpecker Pipeline failed Details
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #277
2023-02-04 21:09:09 +00:00
FloatingGhost d973396c96 Remove console.log
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-01 21:06:02 +00:00
FloatingGhost 62287fffae add follow/unfollow to followed tags list
ci/woodpecker/push/woodpecker Pipeline failed Details
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 313ddcebcb Add blurhash support
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-30 04:57:23 +00:00
Norm 014f8b0dd2 Make minimum width for 3-column layout 1280px (#255) (#256)
ci/woodpecker/push/woodpecker Pipeline was successful Details
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: AkkomaGang/pleroma-fe#255

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

Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com>
Reviewed-on: AkkomaGang/pleroma-fe#186
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-11-06 21:26:05 +00:00
FloatingGhost d8643b5b4a Take instance stopGifs value
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-10-29 22:08:25 +01:00
FloatingGhost 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
floatingghost 4f837f75ea setting-sync (#175)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/pleroma-fe#175
2022-10-06 15:59:16 +00:00
FloatingGhost 87683052e8 add hacky reply filtering, turn off streaming by default
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-09-20 16:27:17 +01:00
Norm aedd0794a4 Remote interaction with posts (#168)
ci/woodpecker/push/woodpecker Pipeline was successful Details
From: https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1419

This is the frontend side of AkkomaGang/akkoma#198 (merged in a6d85003fe).

Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: AkkomaGang/pleroma-fe#168
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2022-09-19 17:39:21 +00:00
floatingghost 2da92fcd13 editing (#158)
ci/woodpecker/push/woodpecker Pipeline was successful Details
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: AkkomaGang/pleroma-fe#158
2022-09-06 19:25:03 +00:00
floatingghost 6084cbbb00 collapse statuses with CWs by default (#157)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/pleroma-fe#157
2022-09-06 17:00:15 +00:00
floatingghost ae1b6ad887 Customisation of default profile tab, clean up settings (#156)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/pleroma-fe#156
2022-09-05 17:02:16 +00:00
Mergan 48826ede36 Separated Posts & Replies (#145) (#148)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Co-authored-by: David <dmgf2008@hotmail.com>
Reviewed-on: AkkomaGang/pleroma-fe#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
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-08-30 17:46:54 +01:00
FloatingGhost 6440e51b7e allow translating to any other language
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-08-30 15:43:57 +01:00
FloatingGhost ef50c63dc7 use supported languages from service 2022-08-30 14:37:36 +01:00
FloatingGhost e7c21ffbd7 allow selecting languages for translation
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-08-29 22:16:59 +01:00
FloatingGhost 48a11cb9d1 add translation options
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-08-29 20:02:34 +01:00
floatingghost 776bee889e Confirmation dialogs (#140)
ci/woodpecker/push/woodpecker Pipeline was successful Details
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: AkkomaGang/pleroma-fe#140
2022-08-26 11:58:33 +00:00
floatingghost 2d85ee6a08 use-server-side-mfm (#133)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#133
2022-08-18 03:14:38 +00:00
floatingghost e61228b031 use akkoma-specific source for MFM unless asked not to (#132)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#132
2022-08-17 09:34:50 +00:00
floatingghost 64fdde52f6 timeline panel nav (#131)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#131
2022-08-17 08:41:36 +00:00
eris ca0b730605 Redo desktop nav, add options for site name and favicon (#83)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#83
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-14 23:24:59 +00:00
FloatingGhost 9ede66fcc0 enable misskey markdown by default
ci/woodpecker/push/woodpecker Pipeline was successful Details
fixes #67
2022-08-11 10:21:00 +01:00
eris d4f8934e8a New option: Pause MFM animations until status hover (#120)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#120
Co-authored-by: eris <femmediscord@gmail.com>
Co-committed-by: eris <femmediscord@gmail.com>
2022-08-08 15:47:06 +00:00
Yukkuri f474763151 Commit list accounts state after difference in removed accounts is determined (#82)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#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)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Reviewed-on: AkkomaGang/pleroma-fe#78
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2022-07-31 21:47:25 +00:00
FloatingGhost 18fc3a0ad5 add bubble timeline
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2022-07-22 15:36:45 +01:00