Thibaut Girka
d8b13b46f7
Move privacyPreference to utils
6 years ago
Thibaut Girka
26c20a4ec7
[Glitch] Preserve newlines in delete & redraft and desktop notifications
...
Port c75493755f
to glitch-soc
7 years ago
David Yip
8cafeedc25
Port 85470ec872
to glitch emoji picker.
...
Fixes #541 .
7 years ago
David Yip
fac6e392e9
Port emojimart 2.6.1 changes to glitch flavour
...
See also the following commits:
- 0c3ce41031
- 268d90e810
7 years ago
Thibaut Girka
cc396f085d
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
cc589d6ec0
[Glitch] Use randomized setTimeout when fallback-polling and re-add since_id
...
Port dafd7afc5e
to glitch-soc
7 years ago
Thibaut Girka
4b38ac3bed
[Glitch] Fix comparing id
...
Port 0ba49eca8b
to glitch-soc
7 years ago
Thibaut Girka
0ad3eedd4c
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 9a1a55ce52
to glitch-soc
7 years ago
Thibaut Girka
1fa3586db5
[Glitch] Use streaming API for standalone timelines on /about and /tag pages
...
Port 0128b86d30
to glitch-soc
7 years ago
Thibaut Girka
c2e528916c
Implement client-size image resizing from upstream
7 years ago
Thibaut Girka
f6ec8c4821
[Glitch] Use plaintext value for field value tooltips in web UI
...
Port d185f3ddaf
to glitch-soc
This doesn't change anything for glitch-style fields, but those will go
away eventually
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
Thibaut Girka
acb434b0c9
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
afa813d71f
Add basic domain block UI
7 years ago
Thibaut Girka
f00af46d70
[Glitch] Add "Toots/Toots with replies/Media" tab below profile header
...
Port 5131012505
to glitch
7 years ago
David Yip
708ec07e27
Style fixes to make eslint happier, hopefully
7 years ago
David Yip
095a00ef3d
Merge pull request #316 from glitch-soc/fix-async
...
Fix glitch async chunks
7 years ago
kibigo!
35be02f21d
Renamed glitch async chunks
7 years ago
cwm
aef4b1af66
Refactor /api/web APIs to use the centralized axios instance (tootsuite pr #6223 )
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
a251c42192
Merge pull request #296 from glitch-soc/thread-mode
...
Threaded mode~
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!
e4bc013d6f
Threaded mode~
7 years ago
beatrix
f441770e50
Merge pull request #290 from chriswmartin/web-push-updates
...
Web push updates
7 years ago
kibigo!
d7ce339c2e
WIP <Compose> Refactor; Fin~
7 years ago
kibigo!
42f50049ff
WIP <Compose> Refactor; 1000 tiny edits
7 years ago
kibigo!
3c29f57404
WIP <Compose> Refactor; <Drawer> ed.
7 years ago
kibigo!
924ffe81d4
WIPgit status <Compose> Refactor; <Composer> ed.
7 years ago
cwm
72b99f6ee4
bug fix (tootsuite pr #6120 )
7 years ago
cwm
0dce26b82b
web push updates (tootsuite PRs #5879 , #5941 , #6047 )
7 years ago
cwm
9042f9a813
add keyboard shortcuts to getting started ( fixes #275 )
7 years ago
cwm
37ced4c903
add components to getting started column
7 years ago
cwm
072ab191cc
pulled master, moved locale entry to new location
7 years ago
cwm
abe95b614b
add initial components based off of tootsuite pr #1507
7 years ago
cwm
47157e07b2
merged tootsuite pr #5811 into glitch flavour
7 years ago
cwm
f44c8fd130
merged tootsuite pr #5750 into glitch flavour
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago