Commit graph

16930 commits

Author SHA1 Message Date
fef
4489c51bb9
bump to nyastodon 1.1.4 2022-11-30 16:30:42 +00:00
fef
8d4a196109
backport emoji reactions to vanilla flavour 2022-11-30 17:28:00 +01:00
fef
ad67d0dd00
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.
2022-11-30 17:26:38 +01:00
fef
1ab64b9f2a
backport emoji reactions to vanilla flavour 2022-11-30 16:25:36 +00:00
fef
4571ee9da6
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.
2022-11-30 14:59:37 +00:00
Claire
e64909d8bf Move translate button above media attachments/preview cards 2022-11-30 15:03:47 +01:00
Claire
afdd75e1f9 Fix translate button not being shown when the toot has no Content Warning 2022-11-30 14:44:06 +01:00
fef
cf5659a254
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.
2022-11-30 14:21:43 +01:00
fef
96cd869dad
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.
2022-11-30 13:20:20 +00:00
Claire
620b079a78 Fix inconsistent with “translate” button padding 2022-11-30 13:53:38 +01:00
Eugen Rochko
f7684a31fe [Glitch] Change design of translations in web UI
Port fcca781aae to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Claire
44c0ba445a [Glitch] Add mention of the translation provider when translating a post
Port 30453fab80 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Claire
47bd934061 [Glitch] Change “Translate” button to only show up when a translation backend is configured
Port 8046cf34d6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Eugen Rochko
e8d0a1b320 [Glitch] Fix showing translate button when status has no language in web UI
Port 4adb267f91 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Eugen Rochko
5e143db13a [Glitch] Don't show translate button to logged-out users
Port part of e623c302d5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Eugen Rochko
b5ee275ed9 [Glitch] Fix translations not being formatted, other issues in web UI
Port 55a2e9b5be to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
Eugen Rochko
a3052dad04 [Glitch] Add user content translations with configurable backends
Port 0d6b878808 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-30 13:53:38 +01:00
fef
ca11266df2
change default reaction limit to 1 2022-11-30 13:18:04 +01:00
fef
273ba5a060
change default reaction limit to 1 2022-11-30 12:01:34 +00:00
Claire
f3ce9653eb
Merge pull request #1982 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
2022-11-30 11:13:58 +01:00
Claire
fe111a8bad Merge branch 'main' into glitch-soc/merge-upstream 2022-11-30 10:29:19 +01:00
fef
7653e59355
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.
2022-11-30 10:10:26 +01:00
fef
b780c63420
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.
2022-11-30 09:06:14 +00:00
mhkhung
1122697b37
3.0.5 version of cimg/ruby:3.0-node upgraded to node 18 (#21873)
Node 18 caused build to fail
2022-11-30 09:56:27 +01:00
fef
6c76351408
fix reaction margins and paddings 2022-11-29 10:19:27 +01:00
fef
8cbaf188fc
cleanup frontend emoji reaction code 2022-11-29 10:19:26 +01:00
fef
1d98def00e
cleanup backend emoji reaction code 2022-11-29 10:19:26 +01:00
fef
a7b3b83fdb
fix padding for reaction button 2022-11-29 10:19:25 +01:00
fef
0bb782d8d8
handle misskey reactions properly
misskey federates emoji reactions as likes.
2022-11-29 10:19:25 +01:00
fef
d259f95fab
move react button to action bar 2022-11-29 10:19:24 +01:00
fef
448c24cc59
cherry-pick emoji reaction changes 2022-11-29 10:19:23 +01:00
fef
b9a3f1aa82
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.
2022-11-29 10:17:22 +01:00
fef
b537cadac4
make status reaction count limit configurable 2022-11-29 10:17:22 +01:00
fef
9eed50e48f
remove accidentally created file 2022-11-29 10:17:21 +01:00
fef
bc1d27ca5b
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.
2022-11-29 10:17:21 +01:00
fef
718c92513e
show reactions in detailed status view 2022-11-29 10:17:21 +01:00
fef
e1298d0931
add frontend for emoji reactions
this is still pretty bare bones but hey, it works.
2022-11-29 10:17:21 +01:00
fef
535d9fb62d
add backend support for status emoji reactions
turns out we can just reuse the code for
announcement reactions.
2022-11-29 10:17:15 +01:00
fef
df19e54334
fix reaction margins and paddings 2022-11-29 09:07:10 +00:00
fef
80a2f84334
cleanup frontend emoji reaction code 2022-11-29 08:54:35 +00:00
fef
9b0f46f808
cleanup backend emoji reaction code 2022-11-29 08:15:52 +00:00
fef
67e379059c
make homogay body background a little lighter 2022-11-29 06:42:45 +00:00
fef
42f34cfb81
fix padding for reaction button 2022-11-29 06:25:43 +00:00
fef
ddeda89821
bump to nyastodon 1.1.3 2022-11-29 05:38:15 +00:00
fef
f33b10fe0d
handle misskey reactions properly
misskey federates emoji reactions as likes.
2022-11-29 05:21:53 +00:00
fef
4e041d1e00
bump to nyastodon 1.1.2 2022-11-29 04:38:41 +00:00
fef
96471c9398
move react button to action bar 2022-11-29 04:37:44 +00:00
fef
7f157c35cf
bump to nyastodon 1.1.1 2022-11-29 03:32:54 +00:00
fef
6d86e8a3be
add a little extra movement to fav animation 2022-11-29 03:32:09 +00:00
fef
d6e3a9f17f
send reaction notifications 2022-11-29 03:31:22 +00:00