Commit graph

18 commits

Author SHA1 Message Date
Alex Gleason
e04ab557ac
Make emoji reacts more responsive 2020-05-23 20:29:25 -05:00
Alex Gleason
02228d41e5
Make ALLOWED_EMOJI slightly configurable to let tests pass 2020-05-23 11:54:26 -05:00
Alex Gleason
2060f15ebb
Set Like button icon to chosen emoji 2020-05-22 19:04:45 -05:00
Alex Gleason
c0fe85ca29
Fix getReactForStatus(), upgrade immutable.js 2020-05-22 17:45:45 -05:00
Alex Gleason
bf1f744b99
Actually, pleroma.emoji_reactions doesn't return accounts so I can't reduce them to one per account 😩 2020-05-22 17:02:56 -05:00
Alex Gleason
571990b78b
Fix reduceEmoji() test 2020-05-22 15:42:57 -05:00
Alex Gleason
b4f5321c0f
Make oneEmojiPerAccount() work 2020-05-22 14:17:05 -05:00
Alex Gleason
792ca08d03
Implement getReactForStatus(), start oneEmojiPerAccount() 2020-05-21 23:52:10 -05:00
Alex Gleason
21b250c6ea
Add tests for emoji utils 2020-05-21 23:17:11 -05:00
Alex Gleason
cf772753ae
Replace red heart with unicode heart in tests 2020-05-20 16:08:29 -05:00
Alex Gleason
3547fd093a
Don't add like reacts when there are no favourites 2020-05-20 11:55:30 -05:00
Alex Gleason
d562a25c78
Add emojiReact utils with tests 2020-05-20 11:52:02 -05:00
Alex Gleason
269d48c900
Add backend feature checks, fixes #8 2020-05-17 15:57:24 -05:00
Alex Gleason
9f4891fef0
isAdmin and isModerator utils 2020-04-27 15:05:07 -05:00
Alex Gleason
cafa014018
Let isStaff accept an undefined value 2020-04-21 14:00:31 -05:00
Alex Gleason
c6b9968855
Add isStaff utility 2020-04-18 15:09:54 -05:00
Alex Gleason
9a327139fe
Add tests for account utils 2020-04-18 14:18:04 -05:00
Alex Gleason
b1b5dc62db
Initial commit 2020-03-27 15:59:38 -05:00