about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util/initial_state.js
AgeCommit message (Collapse)Author
2022-10-11Move flavours/glitch/util/initial_state to flavours/glitch/initial_stateClaire
2022-10-09[Glitch] Add server banner to web appEugen Rochko
Port d2528b26b6da34f34b5d7a392e263428d3c09d69 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09[Glitch] Add dynamic document title to WebUIEugen Rochko
Port part of 43b5d5e38d2b8ad8f1d1ad0911c3c1718159c912 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09[Glitch] Add sign-up button to logged-out web UIEugen Rochko
Port e623c302d5d4dfc05689eb8fb8e051e30fc38ec8 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-09Fix logged-out UI not using single-column interfaceClaire
2022-10-09[Glitch] Add logged-out access to the web UIEugen Rochko
Port part of 43b5d5e38d2b8ad8f1d1ad0911c3c1718159c912 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-07-05[Glitch] Add customizable user rolesEugen Rochko
Port front-end changes from 44b2ee3485ba0845e5910cefcb4b1e2f84f34470 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-16[Glitch] Add language dropdown to compose in web UIEugen Rochko
Port 0cdb07757050825725cac76f1c9cf11cf64acc0a to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-05-15Use upstream's settings for CW auto-expand and column swiping (#1770)Claire
* Use Mastodon server-side settings for automatically expanding toots with CWs * Add modal warning about settings changes * Use Mastodon server-side settings for disabling swiping
2021-09-08Fix glitch-soc front-end not linking to the provided SOURCE_URLClaire
2021-06-30[Glitch] Hide /about/more footer link in limited federation modeDavid Sterry
Port 7c27ccb8d8fda060f3c5b234f7c81fc29b5fc915 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2019-09-02[Glitch] Add trends UI with admin and user settingsEugen Rochko
Port 9072fe5ab6464cc9c7a871d388464c7afcf41cd0 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31[Glitch] Add profile directory to web UIEugen Rochko
Port cb447b28c403c7db32e3e3d7c2510004287edfda to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-12Add option to disable emoji replacementsThibaut Girka
Fixes #647 The option is found in `/settings` (because that was easier to write it this way) but only affects the glitch-soc front-end.
2019-07-16[Glitch] Add option to disable real-time updates in web UIEugen Rochko
Port 729723f857d11434c0f78d63fe16537d77f1c77c to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-26[Glitch] Add option to disable blurhash previewsThibG
Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc
2019-06-13Default to multiple column mode if backend doesn't have appropriate setingThibaut Girka
2019-06-13[Glitch] Add responsive panels to the single-column layoutEugen Rochko
Port 1e5532e693d9533ee37f553aeb191e284178fa52 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17Export fallback content type and use it as default in WebUIThibaut Girka
2019-03-06Use server-provided poll limits instead of hardcoded onesThibaut Girka
Also does not enable polls if no limits are provided by the server
2018-12-20[Glitch] Display customized mascot in web UIThibaut Girka
Port relevant parts of 9d4541c612b506889675c4c19ced5cd17ad3710f to glitch-soc
2018-10-31[Glitch] Port some of upstream's getting started footer linksThibaut Girka
2018-10-01[Glitch] Add support for new display_media settingThibaut Girka
Port f7a6f9489da9b2a1820366654df47b8a52f5c5bc 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"
2018-09-03Let the front-end know the current account is a moderatorThibaut Girka
2018-08-31[Glitch] When search enabled, display hint in search popoutThibaut Girka
Port 7901f9f63e156732ab10154c34f3c2d188471a9d to glitch-soc
2018-04-14[Glitch] Handle preference to always display sensitive mediaThibaut Girka
Port the UI part of 76f3d5d16be2fb97d2252909589510165ec05e12 to glitch-soc
2018-01-08When pulling out max_toot_chars, handle nullsDavid Yip
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.
2018-01-06appease eslintbeatrix
2018-01-06Read max_toot_chars from root object. Fixes #297.David Yip
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.)
2018-01-04WIPgit status <Compose> Refactor; <Composer> ed.kibigo!
2017-12-09add initial components based off of tootsuite pr #1507cwm
2017-12-03Rename themes -> flavours ? ?kibigo!