Thibaut Girka
235be596bc
Use server-provided poll limits instead of hardcoded ones
...
Also does not enable polls if no limits are provided by the server
6 years ago
Thibaut Girka
6073195a7d
[Glitch] Display customized mascot in web UI
...
Port relevant parts of 9d4541c612
to glitch-soc
6 years ago
Thibaut Girka
2b2facbbdf
[Glitch] Port some of upstream's getting started footer links
6 years ago
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489d
to glitch-soc
[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
6 years ago
Thibaut Girka
6ad7dac791
Let the front-end know the current account is a moderator
6 years ago
Thibaut Girka
70c308c4aa
[Glitch] When search enabled, display hint in search popout
...
Port 7901f9f63e
to glitch-soc
6 years ago
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 76f3d5d16b
to glitch-soc
7 years ago
David Yip
2dc4fbbd1a
When pulling out max_toot_chars, handle nulls
...
flavours/glitch/util/initial_state is used in places where we want to
exhibit different behavior based on user preferences. This means that
it's used in places where no preference is defined, i.e. on an
unauthenticated access. All values exported from that module must
therefore expect that case; previously, the max chars value didn't.
Addresses #306 .
7 years ago
beatrix
fa92e88fb2
appease eslint
7 years ago
David Yip
2eed4ace11
Read max_toot_chars from root object. Fixes #297 .
...
max_toot_chars is present in the root of the initial state object.
(Previously, we were trying to read it from the meta child object.)
7 years ago
kibigo!
924ffe81d4
WIPgit status <Compose> Refactor; <Composer> ed.
7 years ago
cwm
abe95b614b
add initial components based off of tootsuite pr #1507
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago