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
kibigo!
882055afd0
Rename themes -> flavours ? ?
7 years ago