Commit Graph

16929 Commits (5b69f3db1005bc3c00c7e903fa4638557d15b942)
 

Author SHA1 Message Date
anna 57b7968504
merge nyastodon-specific changes back in
This was caused by an accidental rebase that i
"fixed" by force-pushing, which caused nyastodon
to be even with glitch-soc/main.  oops.
1 year ago
anna e27a610ada
cleanup JS imports and other minor stuff 1 year ago
anna 8ca3b6525d
cleanup JS imports and other minor stuff 1 year ago
anna 49b0f93cf6
remove unnecessary parameter 1 year ago
anna 059cc99934
change reaction api to match other interactions
Status reactions had an API similar to that of
announcement reactions, using PUT and DELETE at a
single endpoint.  I believe that for statuses, it
makes more sense to follow the convention of the
other interactions and use separate POST endpoints
for create and destroy respectively.
1 year ago
anna 30362cb520
fix reaction deletion bug and clean up controller
Turns out the strange error where it would delete
the wrong reaction occurred because I forgot to
pass the emoji name to the query, which resulted
in the database deleting the first reaction it
found.  Also, this removes the unused set_reaction
callback and includes the Authorization module for
the status reactions controller.
1 year ago
anna a1dc767f8c
remove outdated comments 1 year ago
anna 09a85f2504
clean up new imports in vanilla flavour 1 year ago
anna 1922a5d92d
backport emoji reactions to vanilla flavour 1 year ago
anna 3f0eca5f4b
make number of visible reactions a vanilla setting
Reactions will be backported to the vanilla
flavour, which requires all related settings to
be accessible from the vanilla settings page
rather than the glitch specific settings modal.
1 year ago
anna b0ae82beb2
make number of displayed reactions a setting
This adds an extra item to the local settings for
specifying the number of reactions shown in toots.
The detailed status view always shows all
reactions.
1 year ago
anna 7c11bd1df2
change default reaction limit to 1 1 year ago
anna 53c79b8e3a
limit number of reactions displayed
Too many reactions on a single post quickly get
spammy, so they are now sorted by count and only
the first MAX_REACTIONS number of different
emojis are actually displayed.
1 year ago
anna 91ca188f51
fix reaction margins and paddings 1 year ago
anna eb1ecbd7e8
cleanup frontend emoji reaction code 1 year ago
anna 8503bdf46d
cleanup backend emoji reaction code 1 year ago
anna 58869dee10
fix padding for reaction button 1 year ago
anna 02b61f0080
handle misskey reactions properly
misskey federates emoji reactions as likes.
1 year ago
anna 5fe08b76dd
move react button to action bar 1 year ago
anna d3ff2b670e
cherry-pick emoji reaction changes 1 year ago
anna c45431a1b8
make frontend fetch reaction limit
the maximum number of reactions was previously
hardcoded to 8.  this commit also fixes an
incorrect query in StatusReactionValidator where
it didn't count per-user reactions but the total
amount of different ones.
1 year ago
anna ab346f4ba0
make status reaction count limit configurable 1 year ago
anna d43a993f36
remove accidentally created file 1 year ago
anna 9cc751f5f1
federate emoji reactions
this is kind of experimental, but it should work
in theory.  at least i tested it with a remove
akkoma instance and it didn't crash.
1 year ago
anna 852c57c308
show reactions in detailed status view 1 year ago
anna fbf8e3d869
add frontend for emoji reactions
this is still pretty bare bones but hey, it works.
1 year ago
anna 493f746150
add backend support for status emoji reactions
turns out we can just reuse the code for
announcement reactions.
1 year ago
Jeremy Kescher 32600375b3
Merge remote-tracking branch 'upstream/main' into develop 1 year ago
Claire 4ac6601476
Port navigation bar from upstream (#1986)
Fixes #1977
1 year ago
Claire 105d9743ae
Merge pull request #1984 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
1 year ago
Claire fd6f9bf7a7 Merge branch 'main' into glitch-soc/merge-upstream 1 year ago
Nick Schonning 491ab8de89
Fix GitHub form label type (#21833) 1 year ago
Claire 68d1df8bc3
Fix some performance issues with /admin/instances (#21907)
/admin/instances?availability=failing remains wholly unefficient
1 year ago
anna 7a96ae759b
remove unnecessary parameter 1 year ago
anna 58145e775f
bump to nyastodon 1.1.5 1 year ago
anna ca4df02956
merge catcatnya/main into main 1 year ago
anna c8ab12a14a
change reaction api to match other interactions
Status reactions had an API similar to that of
announcement reactions, using PUT and DELETE at a
single endpoint.  I believe that for statuses, it
makes more sense to follow the convention of the
other interactions and use separate POST endpoints
for create and destroy respectively.
1 year ago
anna 6bc368c6ed
fix reaction deletion bug and clean up controller
Turns out the strange error where it would delete
the wrong reaction occurred because I forgot to
pass the emoji name to the query, which resulted
in the database deleting the first reaction it
found.  Also, this removes the unused set_reaction
callback and includes the Authorization module for
the status reactions controller.
1 year ago
anna 87850197b6
remove outdated comments 1 year ago
anna 1953917c19
change reaction api to match other interactions
Status reactions had an API similar to that of
announcement reactions, using PUT and DELETE at a
single endpoint.  I believe that for statuses, it
makes more sense to follow the convention of the
other interactions and use separate POST endpoints
for create and destroy respectively.
1 year ago
anna d99758ba9a
fix reaction deletion bug and clean up controller
Turns out the strange error where it would delete
the wrong reaction occurred because I forgot to
pass the emoji name to the query, which resulted
in the database deleting the first reaction it
found.  Also, this removes the unused set_reaction
callback and includes the Authorization module for
the status reactions controller.
1 year ago
anna 537bd898a0
remove outdated comments 1 year ago
Jeremy Kescher 495da7d1a8
Merge remote-tracking branch 'upstream/main' into develop 1 year ago
Claire fc0e11abdb
Merge pull request #1983 from ClearlyClaire/glitch-soc/features/translation
Port “Translate” feature from upstream
1 year ago
anna 8861470b95
clean up new imports in vanilla flavour 1 year ago
anna 46eaff7d62
clean up new imports in vanilla flavour 1 year ago
Jeremy Kescher bbbf5f1746
Upgrade ruby dependencies 1 year ago
Jeremy Kescher d23e167d0d
Merge remote-tracking branch 'upstream/main' into develop 1 year ago
anna 57e46f4aaf
merge catstodon/main into main 1 year ago
anna 4489c51bb9
bump to nyastodon 1.1.4 1 year ago