Eugen Rochko
a3cd9e432d
[Glitch] Add categories for custom emojis
...
Port front-end changes from 1c612f24e4
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
dd97db20d0
[Glitch] Add option to disable blurhash previews
...
Port 4b3d91dc2c
to glitch-soc
5 years ago
PatOnTheBack
426758b619
[Glitch] Removed extra pipes from regex.
...
Port 9a216634a1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
428a1603e2
Use forceSingleColumn only in automatic layout mode
5 years ago
Thibaut Girka
210610386f
Default to multiple column mode if backend doesn't have appropriate seting
5 years ago
Eugen Rochko
04edd3fbdb
[Glitch] Add responsive panels to the single-column layout
...
Port a1bceb2cb6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
57911e10c5
Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
...
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
6 years ago
Thibaut Girka
b83cdc9b02
Export fallback content type and use it as default in WebUI
6 years ago
Thibaut Girka
e41c4ad61b
Rename flavours/glitch/features/drawer to flavours/glitch/features/compose
6 years ago
Thibaut Girka
d72bc923e9
Revert "[Glitch] fix: update to emoji-mart 2.10.0"
...
This reverts commit b0e478fcc5
.
6 years ago
Hinaloe
824dc7c6b9
[Glitch] Do not set CSRF Token when no csrf header
...
Port cc670c3234
to glitch-soc
6 years ago
Nolan Lawson
b0e478fcc5
[Glitch] fix: update to emoji-mart 2.10.0
...
Port e781d842a5
to glitch-soc
6 years ago
Eugen Rochko
7565b8afa3
[Glitch] Fix public timelines being broken by new toots when they are not mounted
...
Port 8e9db67a6a
to glitch-soc
6 years ago
Thibaut Girka
49c4e57973
Use server-provided poll limits instead of hardcoded ones
...
Also does not enable polls if no limits are provided by the server
6 years ago
Thibaut Girka
538bae9f53
[Glitch] Add WebP support
...
Port bcf34e31bd
to glitch-soc
6 years ago
Thibaut Girka
afdf789d06
Fix hashtag processing when sending toots
...
This fixes crashes in pleroma when writing toots with a content warning,
since pleroma inserts a “nsfw” hashtag that isn't part of the toot's text.
6 years ago
Thibaut Girka
6956a99a98
[Glitch] Update dependencies for Node.js (2018-12-31)
...
Port compatibility changes from 101a46ac24
to glitch-soc
6 years ago
Thibaut Girka
7f96b7ec99
[Glitch] Update emoji codepoint mappings to v11.0
...
Port 36a5585cac
to glitch-soc
6 years ago
Thibaut Girka
85dc4507e7
[Glitch] Display customized mascot in web UI
...
Port relevant parts of 2a36092328
to glitch-soc
6 years ago
Thibaut Girka
e7c0ad6ac4
Move URLs to backend in their own file
6 years ago
Thibaut Girka
e48b428ef3
[Glitch] Implement adding a user to a list from their profile
...
Port bb5558de62
to glitch-soc
6 years ago
Thibaut Girka
13567f13af
[Glitch] Port some of upstream's getting started footer links
6 years ago
Thibaut Girka
2ad5e2c933
When searching for an emoji with multiple separators, consider the full input
...
e.g., typing “blob_cat_p” used to search for “blob” and “cat”, but not
“blob_cat_p”, which means “blob_cat_patpat” is very unlikely to show up,
although it is likely what the user wanted to type in the first place.
6 years ago
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
kibigo!
882055afd0
Rename themes -> flavours ? ?
7 years ago