Thibaut Girka
e7c0ad6ac4
Move URLs to backend in their own file
2018-11-19 15:56:38 +01:00
Thibaut Girka
e48b428ef3
[Glitch] Implement adding a user to a list from their profile
...
Port bb5558de62
to glitch-soc
2018-11-09 14:50:08 +01:00
Thibaut Girka
13567f13af
[Glitch] Port some of upstream's getting started footer links
2018-10-31 10:07:41 +01:00
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.
2018-10-27 22:45:11 +02:00
Thibaut Girka
794b2dad99
Fix auto-unfold CWs when no regexp is set
...
Fixes #778
2018-10-12 23:34:26 +02:00
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"
2018-10-01 16:48:55 +02:00
Thibaut Girka
d937c65f2c
Let the front-end know the current account is a moderator
2018-09-03 18:19:11 +02:00
Thibaut Girka
c50c4d4a8f
[Glitch] Skip VS15 (Emoji textual presentation)
...
Port f21c1c58ce
to glitch-soc
2018-09-03 18:18:50 +02:00
Thibaut Girka
ff18ba0d2b
Add option to not automatically unfold content warnings matching a regexp
...
Fixes #678
2018-08-31 18:35:03 +02:00
Thibaut Girka
000b9f7b03
[Glitch] When search enabled, display hint in search popout
...
Port a91ef56e80
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
acdb5b43da
[Glitch] Implement tag auto-completion by history
...
Port bada0436b3
to glitch-soc
2018-08-28 19:52:28 +02:00
Thibaut Girka
2bd0a71b0c
Preserve hashtag casing in threaded mode
...
Inspired by 81df5716b9
2018-08-28 19:52:28 +02:00
Thibaut Girka
d864885728
Update poylfills ( fixes #662 )
2018-08-23 22:58:25 +02:00
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.
2018-08-22 19:27:06 +02:00
Thibaut Girka
dcb7f34684
Add pinned accounts editor
2018-08-22 16:18:23 +02:00
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.
2018-07-31 16:26:36 +02:00
Thibaut Girka
f5b880a429
[Glitch] Resize images by area instead of fixed dimensions
...
Port WebUI part of 91aadec929
to glitch-soc
2018-07-30 19:30:38 +02:00
Thibaut Girka
694b9c5b54
Move privacyPreference to utils
2018-07-12 15:31:42 +02:00
Thibaut Girka
c60f97f116
[Glitch] Preserve newlines in delete & redraft and desktop notifications
...
Port 5d419119de
to glitch-soc
2018-06-16 15:09:28 +02:00
David Yip
c3202b66f2
Port bf508b9f74
to glitch emoji picker.
...
Fixes #541 .
2018-06-15 22:10:50 +02:00
David Yip
4cc75efb7b
Port emojimart 2.6.1 changes to glitch flavour
...
See also the following commits:
- ae0b751a30
- 2e4a1d3109
2018-06-12 17:43:50 -05:00
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.
2018-05-31 14:39:02 +02:00
Thibaut Girka
14961cc8ee
[Glitch] Use randomized setTimeout when fallback-polling and re-add since_id
...
Port 4b5cde3f2d
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
27cf820859
[Glitch] Fix comparing id
...
Port 9dff61a5ba
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
b2a316bc16
[Glitch] Use streaming API for standalone timelines on /about and /tag pages
...
Port 895e3c2e6c
to glitch-soc
2018-05-27 20:39:25 +02:00
Thibaut Girka
185bc62a15
Implement client-size image resizing from upstream
2018-05-27 11:02:54 +02:00
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
2018-05-10 14:11:23 +02:00
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
2018-04-14 12:27:14 +02:00
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.
2018-04-11 21:05:34 +02:00
Thibaut Girka
d2b9747a50
Add basic domain block UI
2018-03-30 10:07:33 +02:00
Thibaut Girka
ce24c3186b
[Glitch] Add "Toots/Toots with replies/Media" tab below profile header
...
Port ca9d8402c3
to glitch
2018-03-16 23:16:20 +01:00
David Yip
dfcee78446
Style fixes to make eslint happier, hopefully
2018-01-18 09:13:07 -06:00
David Yip
dbf88612e3
Merge pull request #316 from glitch-soc/fix-async
...
Fix glitch async chunks
2018-01-09 18:30:45 -06:00
kibigo!
c4d63ba442
Renamed glitch async chunks
2018-01-09 16:26:14 -08:00
cwm
12469bed1b
Refactor /api/web APIs to use the centralized axios instance (tootsuite pr #6223 )
2018-01-09 10:51:14 -06:00
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 .
2018-01-08 09:45:59 -06:00
beatrix
ed5d06c7e7
Merge pull request #296 from glitch-soc/thread-mode
...
Threaded mode~
2018-01-06 11:28:36 -05:00
beatrix
34b7208e3f
appease eslint
2018-01-06 10:30:49 -05:00
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.)
2018-01-06 03:01:11 -06:00
kibigo!
e5a10a1fd3
Threaded mode~
2018-01-05 21:16:43 -08:00
beatrix
5500346b79
Merge pull request #290 from chriswmartin/web-push-updates
...
Web push updates
2018-01-05 18:29:57 -05:00
kibigo!
55ead6a4b2
WIP <Compose> Refactor; Fin~
2018-01-04 21:17:30 -08:00
kibigo!
7a9aaf28c4
WIP <Compose> Refactor; 1000 tiny edits
2018-01-04 18:33:13 -08:00
kibigo!
49d8d72192
WIP <Compose> Refactor; <Drawer> ed.
2018-01-04 18:21:59 -08:00
kibigo!
f87cce9e28
WIPgit status <Compose> Refactor; <Composer> ed.
2018-01-04 18:21:59 -08:00
cwm
d5770ef7ac
bug fix (tootsuite pr #6120 )
2017-12-31 08:26:50 -06:00
cwm
093c27fe46
web push updates (tootsuite PRs #5879 , #5941 , #6047 )
2017-12-30 11:45:01 -06:00
cwm
ca77c18c24
add keyboard shortcuts to getting started ( fixes #275 )
2017-12-20 09:50:29 -06:00
cwm
975d888f5c
add components to getting started column
2017-12-12 00:01:17 -06:00