PatOnTheBack
383136d9bb
[Glitch] Removed extra pipes from regex.
...
Port 5b20284f6f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-26 23:19:26 +02:00
Thibaut Girka
b191861e15
Use forceSingleColumn only in automatic layout mode
2019-06-13 22:15:31 +02:00
Thibaut Girka
47307e6c13
Default to multiple column mode if backend doesn't have appropriate seting
2019-06-13 22:15:31 +02:00
Eugen Rochko
d99a661f08
[Glitch] Add responsive panels to the single-column layout
...
Port 1e5532e693
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
7fb76999af
Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
...
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
2019-05-24 16:08:09 +02:00
Thibaut Girka
56245a2a72
Export fallback content type and use it as default in WebUI
2019-05-17 23:51:14 +02:00
Thibaut Girka
eed2c9dd44
Rename flavours/glitch/features/drawer to flavours/glitch/features/compose
2019-04-22 20:15:47 +02:00
Thibaut Girka
355d384d8d
Revert "[Glitch] fix: update to emoji-mart 2.10.0"
...
This reverts commit 49bea8c46b
.
2019-03-27 14:04:52 +01:00
Hinaloe
872eab5784
[Glitch] Do not set CSRF Token when no csrf header
...
Port 68f2211f00
to glitch-soc
2019-03-26 16:12:46 +01:00
Nolan Lawson
49bea8c46b
[Glitch] fix: update to emoji-mart 2.10.0
...
Port db06b25376
to glitch-soc
2019-03-16 21:39:13 +01:00
Eugen Rochko
6fe48dd050
[Glitch] Fix public timelines being broken by new toots when they are not mounted
...
Port be1c634b2b
to glitch-soc
2019-03-08 01:00:14 +01:00
Thibaut Girka
235be596bc
Use server-provided poll limits instead of hardcoded ones
...
Also does not enable polls if no limits are provided by the server
2019-03-06 23:56:53 +01:00
Thibaut Girka
6b2eefc7bf
[Glitch] Add WebP support
...
Port 5092d17f29
to glitch-soc
2019-02-10 21:13:17 +01:00
Thibaut Girka
762e4fdf55
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.
2019-02-01 12:37:28 +01:00
Thibaut Girka
e77ceb1b29
[Glitch] Update dependencies for Node.js (2018-12-31)
...
Port compatibility changes from 8f5fdab5bf
to glitch-soc
2019-01-02 16:07:33 +01:00
Thibaut Girka
9b606cb24c
[Glitch] Update emoji codepoint mappings to v11.0
...
Port 2ee779dcd3
to glitch-soc
2019-01-02 15:36:59 +01:00
Thibaut Girka
6073195a7d
[Glitch] Display customized mascot in web UI
...
Port relevant parts of 9d4541c612
to glitch-soc
2018-12-20 18:39:05 +01:00
Thibaut Girka
b3ff35a75c
Move URLs to backend in their own file
2018-11-19 15:56:38 +01:00
Thibaut Girka
bf92e7aaa6
[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
2b2facbbdf
[Glitch] Port some of upstream's getting started footer links
2018-10-31 10:07:41 +01:00
Thibaut Girka
ee1f1a2ec9
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
70d346ea95
Fix auto-unfold CWs when no regexp is set
...
Fixes #778
2018-10-12 23:34:26 +02:00
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489d
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
6ad7dac791
Let the front-end know the current account is a moderator
2018-09-03 18:19:11 +02:00
Thibaut Girka
b3fdd166e8
[Glitch] Skip VS15 (Emoji textual presentation)
...
Port a060beee72
to glitch-soc
2018-09-03 18:18:50 +02:00
Thibaut Girka
c6942a5283
Add option to not automatically unfold content warnings matching a regexp
...
Fixes #678
2018-08-31 18:35:03 +02:00
Thibaut Girka
70c308c4aa
[Glitch] When search enabled, display hint in search popout
...
Port 7901f9f63e
to glitch-soc
2018-08-31 18:33:46 +02:00
Thibaut Girka
24b6811a6e
[Glitch] Implement tag auto-completion by history
...
Port 460e380d38
to glitch-soc
2018-08-28 19:52:28 +02:00
Thibaut Girka
e3246cd13b
Preserve hashtag casing in threaded mode
...
Inspired by f9b23a5d62
2018-08-28 19:52:28 +02:00
Thibaut Girka
478f70a0e6
Update poylfills ( fixes #662 )
2018-08-23 22:58:25 +02:00
Thibaut Girka
801919fc9b
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
360fbf1bd4
Add pinned accounts editor
2018-08-22 16:18:23 +02:00
Thibaut Girka
88b593a63f
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
1bae4c4f83
[Glitch] Resize images by area instead of fixed dimensions
...
Port WebUI part of 0fb0037ca7
to glitch-soc
2018-07-30 19:30:38 +02:00
Thibaut Girka
d8b13b46f7
Move privacyPreference to utils
2018-07-12 15:31:42 +02:00
Thibaut Girka
26c20a4ec7
[Glitch] Preserve newlines in delete & redraft and desktop notifications
...
Port c75493755f
to glitch-soc
2018-06-16 15:09:28 +02:00
David Yip
8cafeedc25
Port 85470ec872
to glitch emoji picker.
...
Fixes #541 .
2018-06-15 22:10:50 +02:00
David Yip
fac6e392e9
Port emojimart 2.6.1 changes to glitch flavour
...
See also the following commits:
- 0c3ce41031
- 268d90e810
2018-06-12 17:43:50 -05:00
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.
2018-05-31 14:39:02 +02:00
Thibaut Girka
cc589d6ec0
[Glitch] Use randomized setTimeout when fallback-polling and re-add since_id
...
Port dafd7afc5e
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
4b38ac3bed
[Glitch] Fix comparing id
...
Port 0ba49eca8b
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
0ad3eedd4c
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 9a1a55ce52
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
1fa3586db5
[Glitch] Use streaming API for standalone timelines on /about and /tag pages
...
Port 0128b86d30
to glitch-soc
2018-05-27 20:39:25 +02:00
Thibaut Girka
c2e528916c
Implement client-size image resizing from upstream
2018-05-27 11:02:54 +02:00
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
2018-05-10 14:11:23 +02:00
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 76f3d5d16b
to glitch-soc
2018-04-14 12:27:14 +02:00
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.
2018-04-11 21:05:34 +02:00
Thibaut Girka
afa813d71f
Add basic domain block UI
2018-03-30 10:07:33 +02:00
Thibaut Girka
f00af46d70
[Glitch] Add "Toots/Toots with replies/Media" tab below profile header
...
Port 5131012505
to glitch
2018-03-16 23:16:20 +01:00
David Yip
708ec07e27
Style fixes to make eslint happier, hopefully
2018-01-18 09:13:07 -06:00
David Yip
095a00ef3d
Merge pull request #316 from glitch-soc/fix-async
...
Fix glitch async chunks
2018-01-09 18:30:45 -06:00
kibigo!
35be02f21d
Renamed glitch async chunks
2018-01-09 16:26:14 -08:00
cwm
aef4b1af66
Refactor /api/web APIs to use the centralized axios instance (tootsuite pr #6223 )
2018-01-09 10:51:14 -06:00
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 .
2018-01-08 09:45:59 -06:00
beatrix
a251c42192
Merge pull request #296 from glitch-soc/thread-mode
...
Threaded mode~
2018-01-06 11:28:36 -05:00
beatrix
fa92e88fb2
appease eslint
2018-01-06 10:30:49 -05:00
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.)
2018-01-06 03:01:11 -06:00
kibigo!
e4bc013d6f
Threaded mode~
2018-01-05 21:16:43 -08:00
beatrix
f441770e50
Merge pull request #290 from chriswmartin/web-push-updates
...
Web push updates
2018-01-05 18:29:57 -05:00
kibigo!
d7ce339c2e
WIP <Compose> Refactor; Fin~
2018-01-04 21:17:30 -08:00
kibigo!
42f50049ff
WIP <Compose> Refactor; 1000 tiny edits
2018-01-04 18:33:13 -08:00
kibigo!
3c29f57404
WIP <Compose> Refactor; <Drawer> ed.
2018-01-04 18:21:59 -08:00
kibigo!
924ffe81d4
WIPgit status <Compose> Refactor; <Composer> ed.
2018-01-04 18:21:59 -08:00
cwm
72b99f6ee4
bug fix (tootsuite pr #6120 )
2017-12-31 08:26:50 -06:00
cwm
0dce26b82b
web push updates (tootsuite PRs #5879 , #5941 , #6047 )
2017-12-30 11:45:01 -06:00
cwm
9042f9a813
add keyboard shortcuts to getting started ( fixes #275 )
2017-12-20 09:50:29 -06:00
cwm
37ced4c903
add components to getting started column
2017-12-12 00:01:17 -06:00
cwm
072ab191cc
pulled master, moved locale entry to new location
2017-12-10 15:22:15 -06:00
cwm
abe95b614b
add initial components based off of tootsuite pr #1507
2017-12-09 10:26:22 -06:00
cwm
47157e07b2
merged tootsuite pr #5811 into glitch flavour
2017-12-08 20:13:08 -06:00
cwm
f44c8fd130
merged tootsuite pr #5750 into glitch flavour
2017-12-08 19:40:49 -06:00
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
2017-12-03 23:26:40 -08:00