ThibG
9d41a410a3
[Glitch] Fix uninformative error message when uploading unsupported image files
...
Port be637146f310d7ec3a49d01e850959514e9e4964 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:29:01 +02:00
D Anzorge
221ea4787f
[Glitch] Update Twemoji to 12.1.5
...
Port emoji_map.json changes from 29f5353f8b7af331d6dddea4ee1888913361a545 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-20 16:54:01 +02:00
ThibG
bf9da1e734
[Glitch] Fix uploaded image orientation in some browsers
...
Port a1ce9cbb67facf705379355b9c8ec19c521b419c to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-18 15:48:15 +02:00
Thibaut Girka
9abb227250
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- `README.md`:
Our README.md files are completely different. Discarded upstream changes.
- `app/javascript/core/admin.js`:
Updating rails-ujs, no real conflict, but a comment to close to changed
code. Various glitch-soc-only files have been updated to match those changes,
though.
- `package.json`:
No real conflict, just an additional dependency in glitch-soc that was too
close to something updated upstream. Took upstream's changes.
2020-03-22 16:10:44 +01:00
ThibG
2f2b48b227
[Glitch] Fix /web
redirecting to /web/web
in web UI
...
Port 0f07218e53bf581127cdcf5fbf12d9c207ace8d7 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-25 14:30:43 +01:00
ThibG
c9166a5943
[Glitch] Fix old browsers crashing because of missing finally
polyfill in web UI
...
Port 1314bba68a5f2d271312bad08f108e1ff56c2c00 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-19 23:10:37 +01:00
Ben Lubar
05351cbffb
[Glitch] minor server-sent events fixes
...
Port front-end changes from 0dfba0884e8885cf242010e0d9da6b328b3560a6 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 10:13:56 +01:00
Ben Lubar
4417e9e1fd
[Glitch] Add transparent support for EventSource streaming.
...
Port 619da5a4dc00e51d28b29bfe5230125a78c1fac9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 15:25:19 +01:00
Takeshi Umeda
83359fef2b
[Glitch] Fix shortNumberFormat to within 3 chars without units
...
Port 0e8c0287d01d270238aeb7f25c6337b2bcb8afba to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-04 23:04:52 +01:00
Shlee
176f1da267
[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2
...
Port f92ed32df4489210ab0ef557f1df90bc5e97d8e6 to glitch-soc
Co-authored-by: hina <hina@hinaloe.net>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 12:54:27 +01:00
Nolan Lawson
ec567337dc
[Glitch] fix: support KaiOS arrow navigation on public pages
...
Port 1e232e455cfa75621264a0b90b783b21ebd5ea87 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:59:57 +01:00
Thibaut Girka
0fbe36e3fb
Partially revert scrollbar handling on mobile, since its width-based and wrong
...
Have to investigate as to whether it was actually needed on mobile, doesn't
seem to be the case from Firefox's Responsive Design Mode
2019-10-06 00:32:06 +02:00
Yamagishi Kazutoshi
7d79e1f31c
[Glitch] Do not add margin light when opening modal on mobile
...
Port 0a49b26793d467589be09305e15ff9cc97cdd200 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
ThibG
88481c9653
[Glitch] Add explanation to mute dialog, refactor and clean up mute/block UI
...
Port 9027bfff0c25a6da1bcef7ce880e5d8211062d1d to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko
4b7c436ae9
[Glitch] Fix emoji search not showing custom emoji when none are uncategorized
...
Port 0d2b60ab8b13a28e99a83e1104e7208de2025304 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Mostafa Ahangarha
bd0bde1da2
[Glitch] Exclude URLs from text analysis
...
Port e974d4923fabd887416609bc6c8ca81ce81d0ff2 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:13:03 +02:00
Eugen Rochko
8b630f7e54
[Glitch] Add trends UI with admin and user settings
...
Port 9072fe5ab6464cc9c7a871d388464c7afcf41cd0 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Thibaut Girka
e519b47da6
Update backend links and fix hardcoded ones
2019-08-31 18:23:24 +02:00
Eugen Rochko
7fe2120dd5
[Glitch] Add profile directory to web UI
...
Port cb447b28c403c7db32e3e3d7c2510004287edfda to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:23 +02:00
Eugen Rochko
3aeaf9b897
[Glitch] Add audio player
...
Port 4190e31626907059aebf32b1be66715dacb989a9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
ThibG
f11e9d5524
[Glitch] Add confirmation modal when logging out from the web app
...
Port fd3d45d38f289815bed0adc7eaa3b15894ddb8fb to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko
5c35c9c409
[Glitch] Fix tesseract.js being part of the common chunk
...
Port dfe60598899738250fc707db91048b871ab09282 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG
4e9794f533
[Glitch] Fix client-side resizing of image uploads
...
Port f178a01c11a4af077926dd035a0c4c44f6b3985c to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:49:39 +02:00
Eugen Rochko
26b249ad2d
[Glitch] Fix short number formatting for numbers above million in web UI
...
Port 0e9668051e58b2ff4e48b82fa7cc17d385c7a5c9 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:49:39 +02:00
Thibaut Girka
597ea5687a
Add option to disable emoji replacements
...
Fixes #647
The option is found in `/settings` (because that was easier to write it this
way) but only affects the glitch-soc front-end.
2019-08-12 23:01:37 +02:00
ThibG
381dbb6569
[Glitch] Fix image uploads being perfectly white when canvas read access is blocked
...
Port 111a0628fc161df4d76967d7dc7116b8a43fe8e2 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
Thibaut Girka
49a28e69a5
Move decodeIDNA to app/javascript/flavours/glitch/util
2019-08-04 22:25:56 +02:00
ThibG
c1231a846a
[Glitch] Play animated custom emoji on hover
...
Port 7de8c51873b51d8450f7a6597a43d454964d0407 to glitch-soc
2019-07-23 16:24:21 +02:00
Eugen Rochko
e91bf82083
[Glitch] Add option to disable real-time updates in web UI
...
Port 729723f857d11434c0f78d63fe16537d77f1c77c to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka
1b074d2a50
Add link to edit each listed filter
2019-07-15 00:48:28 +02:00
ThibG
46829e009e
[Glitch] Use ScrollToOptions for smooth scrolling if supported
...
Port 84ff3938426da348e31651dfad376d83a9784343 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:01:01 +02:00
Eugen Rochko
662252c8f7
[Glitch] Add categories for custom emojis
...
Port front-end changes from e64e6a03dd1e0978fee48f0596dcfbc7fd29958f to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-28 21:42:37 +02:00
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc
2019-06-26 23:19:26 +02:00
PatOnTheBack
383136d9bb
[Glitch] Removed extra pipes from regex.
...
Port 5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff 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 1e5532e693d9533ee37f553aeb191e284178fa52 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 49bea8c46b006d8c86285c8b1158cd700dc2eb45.
2019-03-27 14:04:52 +01:00
Hinaloe
872eab5784
[Glitch] Do not set CSRF Token when no csrf header
...
Port 68f2211f00dfa3f823ad780ed748c1af0078a0cf to glitch-soc
2019-03-26 16:12:46 +01:00
Nolan Lawson
49bea8c46b
[Glitch] fix: update to emoji-mart 2.10.0
...
Port db06b25376ac7e844e86fb9890fa9f1c2edd2d60 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 be1c634b2b4372a525d304d2ff830392f04c5cc5 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 5092d17f2936146fa26e5d8a9b9e391f77010f28 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 8f5fdab5bf681ff45a07965940bc45c9061a2f89 to glitch-soc
2019-01-02 16:07:33 +01:00
Thibaut Girka
9b606cb24c
[Glitch] Update emoji codepoint mappings to v11.0
...
Port 2ee779dcd3aaec4f1384400ba68e2422ea878156 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 9d4541c612b506889675c4c19ced5cd17ad3710f to glitch-soc
2018-12-20 18:39:05 +01:00