Thibaut Girka
794b2dad99
Fix auto-unfold CWs when no regexp is set
...
Fixes #778
6 years ago
Thibaut Girka
536d95ae7c
[Glitch] Add support for new display_media setting
...
Port bb8afc4608
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
d937c65f2c
Let the front-end know the current account is a moderator
6 years ago
Thibaut Girka
c50c4d4a8f
[Glitch] Skip VS15 (Emoji textual presentation)
...
Port f21c1c58ce
to glitch-soc
6 years ago
Thibaut Girka
ff18ba0d2b
Add option to not automatically unfold content warnings matching a regexp
...
Fixes #678
6 years ago
Thibaut Girka
000b9f7b03
[Glitch] When search enabled, display hint in search popout
...
Port a91ef56e80
to glitch-soc
6 years ago
Thibaut Girka
acdb5b43da
[Glitch] Implement tag auto-completion by history
...
Port bada0436b3
to glitch-soc
6 years ago
Thibaut Girka
2bd0a71b0c
Preserve hashtag casing in threaded mode
...
Inspired by 81df5716b9
6 years ago
Thibaut Girka
d864885728
Update poylfills ( fixes #662 )
6 years ago
Thibaut Girka
30d88cee78
Add hashtag trendline support to glitch-soc flavour
...
Port Mastodon's hashtag stats thing to glitch-soc.
This doesn't change how hashtags are ordered, and doesn't add a trending
hashtags section, but it does change how hashtag searches are rendered,
displaying a trend line alongside each hashtag.
6 years ago
Thibaut Girka
dcb7f34684
Add pinned accounts editor
6 years ago
Thibaut Girka
4277328e9c
Drop glitch-style account bio fields
...
Upstream's implementation has been merged a while ago and is the preferred
way to set fields, as it is the only one compatible with upstream and is
more user-friendly.
This commit deletes the legacy glitch-soc FrontMatter functionality in order
to clean up the code and make it easier to maintain.
6 years ago
Thibaut Girka
f5b880a429
[Glitch] Resize images by area instead of fixed dimensions
...
Port WebUI part of 91aadec929
to glitch-soc
6 years ago
Thibaut Girka
694b9c5b54
Move privacyPreference to utils
6 years ago
Thibaut Girka
c60f97f116
[Glitch] Preserve newlines in delete & redraft and desktop notifications
...
Port 5d419119de
to glitch-soc
7 years ago
David Yip
c3202b66f2
Port bf508b9f74
to glitch emoji picker.
...
Fixes #541 .
7 years ago
David Yip
4cc75efb7b
Port emojimart 2.6.1 changes to glitch flavour
...
See also the following commits:
- ae0b751a30
- 2e4a1d3109
7 years ago
Thibaut Girka
37dc96b71b
Use history.state to decide whether we should goBack() or go to / ( fixes #247 )
...
So far, glitch-soc used history.length to decide whether to call `goBack()` or
go to / in order to not leave the webUI. This made clicking the “Back” button
go to the “Getting started” column instead of going back in the browser's
history when such an action would leave the web UI, but also when:
- The WebUI is refreshed (F5)
- A tab is restored
- The history length reaches its maximum (e.g., 50 in Firefox)
This commit fixes these shortcomings by checking `window.history.state`.
Indeed, we only want to go back in the browser's history when the current
location has been reached from within the WebUI, which only happens via
`pushState` as far as I know. Since browser store the serialized state in
the browser history, this also survives page reload and session restoration.
7 years ago
Thibaut Girka
14961cc8ee
[Glitch] Use randomized setTimeout when fallback-polling and re-add since_id
...
Port 4b5cde3f2d
to glitch-soc
7 years ago
Thibaut Girka
27cf820859
[Glitch] Fix comparing id
...
Port 9dff61a5ba
to glitch-soc
7 years ago
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
7 years ago
Thibaut Girka
b2a316bc16
[Glitch] Use streaming API for standalone timelines on /about and /tag pages
...
Port 895e3c2e6c
to glitch-soc
7 years ago
Thibaut Girka
185bc62a15
Implement client-size image resizing from upstream
7 years ago
Thibaut Girka
3c7d7ec228
[Glitch] Use plaintext value for field value tooltips in web UI
...
Port 8b63d39427
to glitch-soc
This doesn't change anything for glitch-style fields, but those will go
away eventually
7 years ago
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
7 years ago
Thibaut Girka
8b3d03067b
Add glitch-soc front-end support for bookmarks
...
Unlike boosts and like, there is no confirmation dialog as misclicking
can be recovered without another user seeing it.
7 years ago
Thibaut Girka
d2b9747a50
Add basic domain block UI
7 years ago
Thibaut Girka
ce24c3186b
[Glitch] Add "Toots/Toots with replies/Media" tab below profile header
...
Port ca9d8402c3
to glitch
7 years ago
David Yip
dfcee78446
Style fixes to make eslint happier, hopefully
7 years ago
David Yip
dbf88612e3
Merge pull request #316 from glitch-soc/fix-async
...
Fix glitch async chunks
7 years ago
kibigo!
c4d63ba442
Renamed glitch async chunks
7 years ago
cwm
12469bed1b
Refactor /api/web APIs to use the centralized axios instance (tootsuite pr #6223 )
7 years ago
David Yip
75cbeb775f
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
ed5d06c7e7
Merge pull request #296 from glitch-soc/thread-mode
...
Threaded mode~
7 years ago
beatrix
34b7208e3f
appease eslint
7 years ago
David Yip
2e3bb24ed6
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!
e5a10a1fd3
Threaded mode~
7 years ago
beatrix
5500346b79
Merge pull request #290 from chriswmartin/web-push-updates
...
Web push updates
7 years ago
kibigo!
55ead6a4b2
WIP <Compose> Refactor; Fin~
7 years ago
kibigo!
7a9aaf28c4
WIP <Compose> Refactor; 1000 tiny edits
7 years ago
kibigo!
49d8d72192
WIP <Compose> Refactor; <Drawer> ed.
7 years ago
kibigo!
f87cce9e28
WIPgit status <Compose> Refactor; <Composer> ed.
7 years ago
cwm
d5770ef7ac
bug fix (tootsuite pr #6120 )
7 years ago
cwm
093c27fe46
web push updates (tootsuite PRs #5879 , #5941 , #6047 )
7 years ago
cwm
ca77c18c24
add keyboard shortcuts to getting started ( fixes #275 )
7 years ago
cwm
975d888f5c
add components to getting started column
7 years ago
cwm
34630e00cb
pulled master, moved locale entry to new location
7 years ago
cwm
41bbfeec7c
add initial components based off of tootsuite pr #1507
7 years ago
cwm
0fbf7f2838
merged tootsuite pr #5811 into glitch flavour
7 years ago
cwm
f6634f4fdc
merged tootsuite pr #5750 into glitch flavour
7 years ago