Commit graph

6908 commits

Author SHA1 Message Date
47fc082fb9
Fix floating point error for poll expiry
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
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
7e1b1e79f4 simplify timeline vibility checks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-18 20:22:47 +00:00
b92b2f74a4 add timeline visibility setting parsing 2023-03-18 20:01:05 +00:00
7361f4e77e Add checks for currentUser on sidebar
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-16 16:41:37 +00:00
9f7f9e2798 Remove unused bits and bobs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-15 23:00:31 +00:00
42ab3eada4 Remove links from navs if we can't see the timeline
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-15 22:20:54 +00:00
6fdef479d0 add recently used emojis panel to emoji picker (#283)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
~~(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
fe08691f05 Merge pull request 'support Misskey's oblong reactions' (#284) from yheuhtozr/pleroma-fe:oblong-reactions into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #284
2023-03-10 18:57:38 +00:00
6a9764951f Merge pull request 'fix realtime updates in 'following' replies filter' (#285) from flisk/akkoma-fe:fix-realtime-reply-filter into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #285
2023-03-10 18:56:31 +00:00
0f33b1cd79 Merge pull request 'Post drafting' (#282) from solidsanek/pleroma-fe:drafts into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #282
2023-03-10 18:55:03 +00:00
999c38594e fix realtime updates in 'following' replies filter
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
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
626c880038 oblong emoji in status
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-22 10:20:25 +09:00
6d7761c7e5 perhaps more graceful cqw
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-20 23:27:41 +09:00
996ce3dde3 support oblong reactions 2023-02-20 23:18:04 +09:00
solidsanek
2c007f06e3 Post: remove debug logs
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-19 18:58:53 +01:00
solidsanek
00704bd88c Post: Add drafting feature
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-17 13:56:01 +01:00
6a9d169e24 Merge pull request 'components: emoji_reactions: force custom emoji reaction height' (#280) from a1batross/akkoma-fe:a1batross-patch-1 into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #280
2023-02-11 10:41:00 +00:00
581c53a15e components: emoji_reactions: force custom emoji reaction height
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Prevents the usage of too long emoji reactions
2023-02-10 23:28:46 +00:00
9e04e4fd80 Improve emoji picker performance (#275)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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: #275
Co-authored-by: yanchan09 <yan@omg.lol>
Co-committed-by: yanchan09 <yan@omg.lol>
2023-02-04 21:10:06 +00:00
88d5149db5 paginate-follow-requests (#277)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #277
2023-02-04 21:09:09 +00:00
b4b13d777f Merge pull request 'Add indicator to user card if user blocks you' (#274) from eris/pleroma-fe:block-indicator into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #274
2023-01-27 10:08:17 +00:00
7f4dd9ff03 Disable follow button if blocked by user
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-01-27 00:30:47 +00:00
a9a95e9120 Add indicator if user blocks you 2023-01-27 00:30:30 +00:00
56fd2e773b Merge branch 'languages' into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-15 17:59:50 +00:00
42dc1a027a add language input 2023-01-15 17:59:32 +00:00
236bc2c762 Merge pull request 'Only show "keep open" emoji checkbox on post form' (#269) from sfr/pleroma-fe:fix/keepopen into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #269
2023-01-09 22:20:31 +00:00
Sol Fisher Romanoff
e9f47509ae
Only show "keep open" emoji checkbox on post form
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-01-03 16:04:26 +02:00
f288d0c219 Make everything work with a strict CSP
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-02 15:16:42 +00:00
d973396c96 Remove console.log
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-01 21:06:02 +00:00
62287fffae add follow/unfollow to followed tags list
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-01-01 21:05:25 +00:00
e9f16af82d Add list of followed hashtags to profile 2023-01-01 20:11:07 +00:00
dfba8be134 Fall back to nsfw image if no blurhash
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-30 05:03:25 +00:00
313ddcebcb Add blurhash support
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-30 04:57:23 +00:00
236b19e854 Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma-fe into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-30 03:20:30 +00:00
ea941d7cfa remove IHBA assets 2022-12-30 03:20:12 +00:00
2e5001e5de Allow follow(er) lists to be acessible by account owner even if follower counts are disabled (#246)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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: #246
Co-authored-by: Beefox <bee@beefox.xyz>
Co-committed-by: Beefox <bee@beefox.xyz>
2022-12-30 03:04:15 +00:00
014f8b0dd2 Make minimum width for 3-column layout 1280px (#255) (#256)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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
dd403b295f Merge pull request 'Remove stray debug log' (#265) from sfr/pleroma-fe:del-log into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #265
2022-12-30 03:00:49 +00:00
Sol Fisher Romanoff
9cd62fe08d
Remove stray debug log
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-12-30 01:03:31 +02:00
f668455dff Merge branch 'link-verification' into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-29 20:56:22 +00:00
5a4315384e force CI build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-29 15:25:03 +00:00
401dfa8fa6 update readme
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-12-29 15:22:06 +00:00
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
da491f3278 add verification of links
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-29 15:17:35 +00:00
d00e28d5e9 fix emoji picker in replies in notifications
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-22 05:43:01 +00:00
7ff17ab722 don't crash out if notification status is null
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-20 13:20:13 +00:00
b009428814 Merge pull request 'Revert "Revert "use v1 urls""' (#254) from v1-urls into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#254
2022-12-14 12:09:03 +00:00
7bec96a1bf Merge pull request 'Fix user moderation dropdown clipping' (#249) from sfr/pleroma-fe:fix/dropdown into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#249
2022-12-14 12:08:27 +00:00
0b5793c1e0 Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#250
2022-12-14 12:08:08 +00:00
72ef2e7454 Merge pull request 'Fix 404 when reacting with Keycap Number Sign' (#252) from fef/pleroma-fe:develop into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: AkkomaGang/pleroma-fe#252
2022-12-14 12:07:27 +00:00