Commit Graph

11 Commits (2b2facbbdfb7c0b53e38048e932143d592af401e)

Author SHA1 Message Date
Thibaut Girka 2b2facbbdf [Glitch] Port some of upstream's getting started footer links 7 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"
7 years ago
Thibaut Girka 6ad7dac791 Let the front-end know the current account is a moderator 7 years ago
Thibaut Girka 70c308c4aa [Glitch] When search enabled, display hint in search popout
Port 7901f9f63e to glitch-soc
7 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.
8 years ago
beatrix fa92e88fb2
appease eslint 8 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.)
8 years ago
kibigo! 924ffe81d4 WIPgit status <Compose> Refactor; <Composer> ed. 8 years ago
cwm abe95b614b add initial components based off of tootsuite pr #1507 8 years ago
kibigo! bc4fa6b198 Rename themes -> flavours ? ? 8 years ago