Commit Graph

1878 Commits (9c54b00c13c57a5abf9418e9a5a6241bb1b272cb)

Author SHA1 Message Date
Sasha Sorokin 18722c2809 [Glitch] Fix following_counter plural to include "one"
Port 7b682ceb13 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-22 13:50:58 +02:00
ThibG f450e52085 [Glitch] Fix audio player controls color in mastodon-light theme
Port 027491a518 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-22 13:50:15 +02:00
ThibG 98223df18c [Glitch] Fix error when closing a playing audio or video modal
Port ddd69f3ae9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-16 14:44:53 +02:00
Thibaut Girka ea49c41a6e Fix style of visibility icon in boost modal 2020-07-15 16:04:56 +02:00
han@highemelry fd6fdf63c4 [Glitch] Add a visibility icon to boost modal
Port fbbc66f53e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-15 15:50:09 +02:00
Eugen Rochko 24cd580add [Glitch] Fix audio and video items in account gallery in web UI
Port ece8405ebd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-15 15:48:24 +02:00
ThibG ed69b4909d [Glitch] Fix block/mute pagination in WebUI
Port e793d71486 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 18:49:33 +02:00
Sasha Sorokin c952cc3115 [Glitch] Improve safety of Blurhash component
Port 66f9bd08da to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 17:08:31 +02:00
ThibG f2d0bd912c [Glitch] Audio player visualization improvements
Port c2f5593be0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 17:07:41 +02:00
ThibG 1681c7c028 [Glitch] Freeze scroll position when a dropdown menu is open in the TL
Port bf40d331e6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 17:05:44 +02:00
Sasha Sorokin 2e73171628 [Glitch] Replace repetitive blurhash code with component (#14267)
Port 7418e0e613 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-10 16:59:53 +02:00
Thibaut Girka 3876df0390 Fix clicking the audio player also opening toots in detailed view 2020-07-10 10:28:05 +02:00
Thibaut Girka fc05a7fb1f Change styling of account note editing buttons
Co-Authored-By: Mélanie Chauvel (ariasuni) <perso@hack-libre.org>
2020-07-09 12:19:43 +02:00
ThibG 527f8abfa2 [Glitch] Fix new accent color not refreshing when changing thumbnail for audio uploads
Port 06f67cfca0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-08 15:26:28 +02:00
ThibG 1271de96f0 [Glitch] Fix WebUI crash on sensitive preview card with no preview thumbnail
Port 5a6b0ce051 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-08 15:26:02 +02:00
ThibG 72aeeb2b34 [Glitch] Fix WebUI crash on sensitive preview card with no preview thumbnail
Port ad1b26b4bc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-08 15:25:31 +02:00
ThibG 12a7717e66 Merge pull request #1372 from ThibG/glitch-soc/fixes/local-only-public-option
Add option to show local-only toots in public timeline
2020-07-07 19:58:12 +02:00
Thibaut Girka 52eaecaef7 Change styling and layout of account notes UI 2020-07-07 19:25:42 +02:00
Thibaut Girka 3c8a8a0b45 Change account note placeholder name since the design has diverged upstream 2020-07-07 19:25:42 +02:00
Thibaut Girka 22c04b63cb Fix being unable to add account notes 2020-07-07 19:25:42 +02:00
Sasha Sorokin 1144767ca8 [Glitch] Replace shortNumberFormat with <ShortNumber>
Port 55969e3bc2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-07 19:25:06 +02:00
Eugen Rochko 409d00d256 [Glitch] Add ability to choose media thumbnail in web UI
Port 825f73c3f9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-07 15:58:49 +02:00
ThibG f0aee465d9 [Glitch] Fix hashtag column options styling
Port aa7142b9e2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-07 15:58:49 +02:00
Thibaut Girka edd7bd26f6 Add UI option to show local-only toots in public timeline 2020-07-06 21:12:06 +02:00
Eugen Rochko 3c51c7dd3e [Glitch] Add color extraction for audio thumbnails
Port 8517a5fdb4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-05 20:18:51 +02:00
Eugen Rochko 26227204df [Glitch] Fix audio modals not using blurhash and poster
Port 6163518115 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-05 20:18:51 +02:00
Eugen Rochko e282f9b671 [Glitch] Add customizable thumbnails for audio and video attachments
Port a3ce01a102 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
Eugen Rochko b907cc66e1 [Glitch] Fix various issues around OpenGraph representation of media
Port audio player changes from 12ac904a33 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
Eugen Rochko 9d737108a6 [Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
Port d0dc37eadb to glitch-soc

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
Eugen Rochko 27becaa9df [Glitch] Change volume control and download buttons in web UI
Port ce34c13aff to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
ThibG a67ad4ffce [Glitch] Fix audio player not working when media files are hosted on a different domain
Port 90477d7e4d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
Eugen Rochko a135f3bd98 [Glitch] Change design of audio players in web UI
Port 563a77d0b4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 17:31:09 +02:00
Takeshi Umeda cd95fd8105 [Glitch] Fix the conditions for incomplete remote content
Port 911c385f2f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-02 13:58:50 +02:00
Ariel 98aa197c07 [Glitch] Fix cursor type in statuses
Port eee8b314af to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-01 20:18:07 +02:00
ThibG 0f633143eb [Glitch] Fix lock icon not being shown when locking account in profile settings
Port 9e14647df8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-07-01 20:13:51 +02:00
ThibG 50f439db96 [Glitch] Add user notes on accounts
Port 3afc7977b1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-30 23:32:02 +02:00
trwnh 9dcd3388f6 [Glitch] Fix padding on account header
Port 41acf83cdf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-30 23:10:44 +02:00
ThibG a11fac77f3 [Glitch] Fix read marker state not being udpated internally
Port 8b7066dc61 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-30 23:09:39 +02:00
ThibG 1c3764c6f8 [Glitch] Change sensitive preview cards to not blur text
Port c92278aa1c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-30 23:08:24 +02:00
Thibaut Girka 5ea65bfe13 Fix public page CSS to match upstream's changes
Kind of a port of 1aed75c2d0 to glitch-soc
2020-06-26 13:45:40 +02:00
Mélanie Chauvel 2700043e34 [Glitch] Improve appearence consistency of settings pages
Port 2fca9d3715 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-26 13:31:17 +02:00
ThibG 00283fe6ab [Glitch] Fix design issues with sensitive preview cards
Port 907fe2996c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-26 13:28:52 +02:00
ThibG 4500435bb1 [Glitch] Fix avatar size in public page detailed status
Port 528c103fc6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-26 13:27:39 +02:00
Eugen Rochko 03273b3c7b [Glitch] Fix various issues around OpenGraph representation of media
Port front-end changes (except for audio player) from 12ac904a33 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-26 13:23:56 +02:00
ThibG c0ad588857 [Glitch] Fix very wide media attachments resulting in too thin a thumbnail
Port 90445230cd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-24 16:01:28 +02:00
Takeshi Umeda 26778b8c30 [Glitch] Fix modifier key to keep the EmojiPicker on macOS
Port c0b52ac871 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-24 15:56:43 +02:00
fuyu 2e48c4ae55 [Glitch] Fix unnecessary gap under of video modal
Port 88cbcb5804 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-24 15:55:53 +02:00
Thibaut Girka a6ce37528e Simplify filtering condition 2020-06-23 16:09:36 +02:00
ash lea 3489cb87b7 never filter own posts from timeline 2020-06-23 16:09:36 +02:00
Eugen Rochko aeba0f513d [Glitch] Add hints about incomplete remote content to web UI
Port 32b7d341b7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-17 17:48:04 +02:00
ThibG 743cef53d8 [Glitch] Fix initial audio volume not corresponding to what's displayed
Port 3f5fa64211 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-17 17:20:14 +02:00
fuyu 14272c3a0e [Glitch] Fixed emoji detection problem to append border
Port 4a3af0386b to glitch-soc

Co-authored-by: ThibG <thib@sitedethib.com>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-17 17:18:42 +02:00
Thibaut Girka 86a8a599c2 [Glitch] Fix WebUI crash when loading account data before page is loaded 2020-06-09 11:55:07 +02:00
ThibG f6ce71e81c [Glitch] Add hotkey for toggling content warning composer field
Port 56d1dafdc4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 11:14:20 +02:00
ThibG a203f596f3 [Glitch] Improve rendering of emoji which do not contrast with background
Port f55fe1a5ee to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 11:07:32 +02:00
Ben Lubar a8ef7570a1 [Glitch] FIX: filters ignore media descriptions
Port da59204700 to glitch-soc

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 11:02:24 +02:00
ThibG 4eca2093d9 [Glitch] Hide sensitive preview cards with blurhash
Port eda9bb35f1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 11:01:31 +02:00
Yamagishi Kazutoshi 6112ad677d [Glitch] Fix ref attr for react-textarea-autozsize
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 10:55:52 +02:00
Christopher Choi dba59712ca [Glitch] Adjust flash alert contrast for better readability
Port 2b1a6e7597 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-01 18:31:45 +02:00
Brian C. Lindner f8980d714a [Glitch] Allow Ctrl-click to keep EmojiPicker window open
Port f8f195b8c2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-06-01 18:31:42 +02:00
ariasuni dfc9dd7c99 Improve appearance of notification cleaning UI
- Use smaller font-size for consistency with the rest of the UI
- Make better use of the horizontal space when available
2020-06-01 12:28:27 +02:00
ThibG ed6300f3c5 [Glitch] Fix timeline markers in Firefox
Port 366942b60f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-29 20:02:30 +02:00
ThibG 948f988a04 [Glitch] Fix timeline markers not working on Chrome
Port bf68cd3bf0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-29 20:02:30 +02:00
Thibaut Girka cedf9b81e4 Fix local-only hashtag columns 2020-05-28 15:21:16 +02:00
Thibaut Girka 4e225a769a Fix one import being made on mastodon's codebase instead of glitch-soc's 2020-05-28 15:14:12 +02:00
Mélanie Chauvel 437f457b9f [Glitch] Change wording from “Hide media” to “Hide image/images” in Web UI
Port 006af53406 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-28 14:08:05 +02:00
Takeshi Umeda 1420db7e2d [Glitch] Fix local streaming of hashtag timelines
Port 8dd03cf8f2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-28 14:05:21 +02:00
Thibaut Girka 22f2f6f43b Fix Cmd-Enter not working to send toot
Fixes #1333
2020-05-26 10:15:35 +02:00
Eugen Rochko 55f1aec9c4 [Glitch] Fix regression in sparkline style in web UI
Port bb9edd6321 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-14 18:50:57 +02:00
ThibG 5b9ed6e0c1 [Glitch] Change “hide/show boosts from …” menu to be hidden when the account is muted
Port 9af0613629 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-13 23:17:10 +02:00
ThibG ab970f996b [Glitch] Fix some account avatars on public pages having incorrect size
Port e93c08ab96 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-13 23:17:10 +02:00
ThibG 80b1201644 [Glitch] Fix first poll option not being focused when adding a poll
Port 60dc5738cb to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-13 23:17:10 +02:00
Takeshi Umeda 885b2e3d86 [Glitch] Add remote only to public timeline
Port 861661100c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-10 16:19:59 +02:00
ThibG 5a2f0de845 [Glitch] Fix use of inline CSS in public pages
Port 20ffc12cda to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-10 16:19:59 +02:00
ThibG 8b8add863e [Glitch] Fix admin-facing uses of inline CSS
Port a30829deee to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:47:58 +02:00
ThibG 3da2cd21fd [Glitch] Fix page incorrectly scrolling when bringing up dropdown menus
Port e88a05f707 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:47:11 +02:00
ThibG 2ac3e3dc07 [Glitch] Fix end-user-facing uses of inline CSS
Port 3b7373ed4c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:44:43 +02:00
ThibG f261370e7c [Glitch] Refactor/cleanup TIMELINE_DELETE-related code
Port df5867f072 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:42:13 +02:00
ThibG e869a257d8 [Glitch] Fix messed up z-index when NoScript blocks media/previews
Port f53bd1bef6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-05-03 21:41:15 +02:00
Thibaut Girka dfa13deaa1 Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- `app/controllers/statuses_controller.rb`:
  Upstream disabled the embed controller for reblogs.
  Not a real conflict, but glitch-soc has an extra line to deal
  with its theming system.
  Ported upstream changes.
- `app/javascript/packs/public.js`:
  Upstream made changes to get rid of most inline CSS, this changes
  javascript for public pages, which in glitch are split between
  different files. Ported those changes.
- `app/models/status.rb`:
  Upstream changed the block check in `Status#permitted_for` to
  include domain-block checks. Not a real conflict with glitch-soc,
  but our scope is slightly different, as our scope for
  unauthenticated access do not include instance-local toots.
  Ported upstream changes.
- `app/serializers/rest/instance_serializer.rb`:
  Not a real conflict, upstream added a new field to the instance
  serializer, the conflict is one line above since we added more of
  that.
  Ported upstream changes.
- `app/views/settings/profiles/show.html.haml`:
  Upstream got rid of most inline CSS and moved hidden elements
  to data attributes in the process, in fields were we have
  different values.
  Ported upstream changes while keeping our glitch-specific
  values.
- `app/views/statuses/_simple_status.html.haml`:
  Upstream got rid of inline CSS on an HAML line we treat
  differently, stripping empty text nodes.
  Ported upstream changes to the style attribute, keeping
  the empty text node stripping behavior.
2020-05-03 21:23:49 +02:00
ThibG 2e92d55b64 [Glitch] Fix uninformative error message when uploading unsupported image files
Port cd3a0a17bc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:29:01 +02:00
ThibG ed2267b78e [Glitch] Fix expanded video player issues
Port 3526163340 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:28:16 +02:00
Irie Aoi 1e1b72ff72 [Glitch] Set max-width and max-height to gif video
Port cf1bf9dda9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:26:42 +02:00
ThibG 7195bca890 [Glitch] Fix and refactor keyboard navigation in dropdown menus
Port 69696c62b1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-25 15:24:02 +02:00
D Anzorge 0b8c354379 [Glitch] Update Twemoji to 12.1.5
Port emoji_map.json changes from 945c8e207e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-20 16:54:01 +02:00
Takeshi Umeda 6556bd1f67 [Glitch] Add local only to hashtag timeline
Port front-end changes from f5606cdab4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-20 16:52:56 +02:00
ThibG f41a61965a [Glitch] Fix uploaded image orientation in some browsers
Port 2444658e4b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-18 15:48:15 +02:00
ThibG 2c92697ec8 [Glitch] Fix not being able to vote
Port 0f3317fbe2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-17 22:04:10 +02:00
Gurgen Hayrapetyan f451095c04 [Glitch] Fix Poll fetchPoll action not being debounced.
Port 53f9f8a4ce to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-17 20:20:06 +02:00
ThibG 9e12c3f3a7 [Glitch] Fix WebUI pagination of following, followers, follow requests, blocks and mutes lists
Port 9d57af78d2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-12 17:01:41 +02:00
Thibaut Girka 6d3e240aa9 Clean up some dead code 2020-04-10 14:47:06 +02:00
Thibaut Girka 79e5f368ed Fix deprecated use of createBrowserHistory 2020-04-09 17:03:05 +02:00
Thibaut Girka c13682bc0d Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- `app/javascript/packs/public.js`:
  Upstream modified code that we split between multiple files due
  to glitch-soc's theming system.
  Ported those changes.
2020-04-05 18:32:06 +02:00
ThibG 08e4bed98c [Glitch] Add explanation as to why unlocked accounts may have follow requests
Port ffd6f3fa8a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-04 21:59:49 +02:00
Eugen Rochko 04839f5dda [Glitch] Add ability to filter audit log in admin UI
Port 6932e0e2af to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-04 21:53:31 +02:00
Sasha Sorokin 56dba219d1 [Glitch] Improve polls: option lengths & redesign
Port abbc0c6a87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:52:53 +02:00
Mélanie Chauvel (ariasuni) 660a3d2b7a [Glitch] Improve toot clicking areas
Port part of 899ff914da to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:49:43 +02:00
ThibG 0a02eade54 [Glitch] Fix content warning being unnecessarily cleared when enabling/disabling CW
Port 41ca3cdb37 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:45:46 +02:00
Mélanie Chauvel (ariasuni) 989f819191 [Glitch] Fix wrong color for ellipsis in boost confirmation dialog in Web UI
Port 5a211c478d  to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:45:03 +02:00
ThibG 61052dfa33 [Glitch] Fix 404 and 410 API errors being silently discarded in WebUI
Port front-end changes from 1a993f9675 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-04-02 20:39:44 +02:00
ThibG 5dbcafb998 [Glitch] Fix frontend crash when deleting announcements
Port 15c02a7160 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-27 22:06:42 +01:00
ThibG 6adb571c21 [Glitch] Change poll option hover/active styling to be less confusing
Port 421a3a8f08 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-27 22:06:06 +01:00
Daniel Sockwell 5e3049158e [Glitch] Fix frontend crash when deleting announcements
Port 577f74ad87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-22 16:31:01 +01:00
ThibG e9338c7640 [Glitch] Fix regression in “Edit media” modal in web UI
Port c5731b4dc7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-22 16:30:19 +01:00
mayaeh 24e4647483 [Glitch] Change the string "hidden" to "blocked" in WebUI
Port 4a87cebf48 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-22 16:29:51 +01:00
Eugen Rochko 3e87f56ab3 [Glitch] Change local media attachments to perform heavy processing asynchronously
Port front-end part of f459919552 to glitch-soc

[API] This makes use of a new media posting API (/api/v2/media), supporting
background processing of uploaded files. For Pleroma's purposes, this could
be handled the same as /api/v1/media since afaik Pleroma doesn't do any
transcoding.

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-22 16:26:26 +01:00
Thibaut Girka 99fc46d023 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
Thibaut Girka e16832bc9c Fix missing media description dialog when sending toots with keyboard shortcuts 2020-03-14 14:59:14 +01:00
Thibaut Girka 03309b0dc5 Fix posting privacy on secondary button with missing description confirmation dialog 2020-03-14 12:33:50 +01:00
Thibaut Girka 9af4ed237c Fix privacy icon being displayed twice in glitch-soc Web UI
Fixes #1298
2020-03-11 23:25:15 +01:00
ThibG 96df38d753 [Glitch] Add support for links to statuses in announcements to be opened in web UI
Port a67fd2fbe1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:46:15 +01:00
Mélanie Chauvel (ariasuni) 8dede28b01 [Glitch] Change the tooltip "Toggle visibility" to "Hide media" in web UI
Port 399fa48f8e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:45:36 +01:00
Bèr Kessels 96b18a705f [Glitch] Code style improvements in JavaScript
Port b5d7ec71ef to glitch-soc

* JS-linter: fix trailing comma's

* Configure eslinter to ignore this onchange error.

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:43:53 +01:00
Mélanie Chauvel (ariasuni) ce8d13d2fb [Glitch] Change description of privacy levels to be more intuitive in web UI
Port 263bedff9e to glitch-soc

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:37:13 +01:00
Mélanie Chauvel (ariasuni) 5325a14430 [Glitch] Fix text area above/right of emoji picker being accidentally clickable in web UI
Port 38a26d5314 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:19:08 +01:00
ThibG 71d28dcfb9 [Glitch] Fix too large announcements not being scrollable in web UI
Port 1eae25af56 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:16:43 +01:00
koyu 6a7c4c26f0 [Glitch] Change GIF label to be displayed even when autoplay is enabled in web UI
Port e899e0dc98 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:15:11 +01:00
ThibG d668512e64 [Glitch] Change the string "Hide everything from …" to "Block domain …" in web UI
Port 03d2704430 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 20:14:20 +01:00
Mélanie Chauvel (ariasuni) 787b4748dc [Glitch] Add tooltips to audio/video player buttons
Port 635812f9ea to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-03-08 19:59:42 +01:00
ThibG aaee86e276 [Glitch] Fix `/web` redirecting to `/web/web` in web UI
Port 13c00dc42c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-25 14:30:43 +01:00
Thibaut Girka c4b1ae964b Document alt+enter 2020-02-22 23:07:29 +01:00
Thibaut Girka b4be41e4c4 [Glitch] Add source-mapped stacktrace to error message in web UI
Port 729fe5bfd6 to glitch-soc
2020-02-19 23:31:15 +01:00
ThibG 2f977ac8f3 [Glitch] Fix old browsers crashing because of missing `finally` polyfill in web UI
Port 3cdaa34783 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-19 23:10:37 +01:00
Thibaut Girka f9a919ab3e Fix clicking on the “TOOT” button send bogus visibility parameter 2020-02-16 00:10:45 +01:00
Thibaut Girka 23bf32d2b5 Fix alt+enter changing visibility setting without sending toot when toot is empty 2020-02-14 22:38:24 +01:00
Thibaut Girka b93d4d2b2a Fix boosting private toots in detailed view 2020-02-09 22:15:49 +01:00
Eugen Rochko 01a6fa0771 [Glitch] Fix unread indicator on announcements not being aligned with text in web UI
Port d85b330558 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-09 12:30:29 +01:00
ThibG b7008b2cd5 [Glitch] Fix native share button not being displayed for unlisted toots
Port 2dae01ff25 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-09 12:29:51 +01:00
ThibG d0a1423daf [Glitch] Fix dates (without time) being rendered as datetimes in public pages
Port f7deab10a5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-06 21:41:50 +01:00
fuyu 0c266be79b [Glitch] Don't display toggle reveal button in video modal when full screen
Port b8db3b4cdf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-06 21:39:26 +01:00
Thibaut Girka c6b587b115 Fix poll compose form being broken on single-column layout 2020-02-03 11:56:31 +01:00
ThibG e571f7005e [Glitch] Change how unread announcements are handled
Port 99cf92a3cf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-03 09:31:32 +01:00
Sasha Sorokin f0aef12b12 [Glitch] Add "Show thread" button to public profiles
Port 864c9a2141 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-03 09:30:13 +01:00
Eugen Rochko 77e5732816 [Glitch] Fix mascot being too large, and a code style issue
Port 7774ac36e5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-02-03 09:27:51 +01:00
Thibaut Girka 947645c355 When submitting markers, use last displayed notification, not last received one 2020-02-01 19:53:01 +01:00
Thibaut Girka 8c5689775f Fetch last read notification id to update unread notification count on load 2020-02-01 19:53:01 +01:00
Thibaut Girka 26c449515e Add support for xmpp: and magnet: URIs to misleading link detection code 2020-01-28 20:25:56 +01:00
Eugen Rochko 4dc279fb9e [Glitch] Fix design of announcements in admin UI
Port 6c643bed6a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-28 19:17:47 +01:00
Eugen Rochko 3ecc114ec6 [Glitch] Change announcements to be collapsed on page load in web UI
Port 5bc109eeb7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-28 19:17:06 +01:00
Eugen Rochko f64a9ae775 [Glitch] Change number animations direction based on decrease or increase
Port d67f2c1c25 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 16:06:03 +01:00
Eugen Rochko 4a882562c6 [Glitch] Add animations to announcement reactions
Port 1130c5167c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 16:05:37 +01:00
ThibG 51bd2205a1 [Glitch] Change last_status_at to be a date, not datetime
Port d9cdd58423 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 16:03:24 +01:00
Eugen Rochko c7cdca7afb [Glitch] Fix link colors in announcements
Port 3ae0b03603 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 16:01:46 +01:00
Eugen Rochko a20b14b6b4 [Glitch] Add streaming API updates for announcements being modified or deleted
Port dd68e44cfa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 16:01:06 +01:00
ThibG 042964971f [Glitch] Fix status overflowing in report dialog
Port 8f37f20ff9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-27 15:59:25 +01:00
Thibaut Girka 9f924a3283 Refactor notifications cleaning mode 2020-01-26 14:55:03 +01:00
ThibG f6b0fc204d [Glitch] Fix “new items glow” being displayed above settings and announcements
Port 234f1be486 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 20:05:36 +01:00
ThibG 2b7a2e2b7a [Glitch] Fix spurious error and incorrect state change when adding a reaction twice
Port 1c85e84b4e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 19:53:04 +01:00
ThibG 17b9f1efb7 [Glitch] Improve announcements design
Port ab01849287 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 16:57:03 +01:00
Eugen Rochko 8caa94f566 [Glitch] Add limit of 8 different reaction types per announcement
Port 150c13c4e0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 10:36:27 +01:00
Eugen Rochko ac320c111c [Glitch] Add number animations
Port 8ca6f2d3b2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 10:36:27 +01:00
Eugen Rochko c97d41eada [Glitch] Change font size of announcements to be the same as statuses
Port b169901439 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 10:21:13 +01:00
Sasha Sorokin 481b2e5df4 [Glitch] Fix unlocalized dropdown button title
Port 51f376aee3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 10:20:05 +01:00
Thibaut Girka 4c312ad79d Rename DropdownMenu's ariaLabel to title, to reduce unnecessary changes with upstream 2020-01-25 10:17:13 +01:00
Ben Lubar cac596b275 [Glitch] minor server-sent events fixes
Port front-end changes from 6598ab989b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-25 10:13:56 +01:00
Thibaut Girka 17f0a69cc8 Fix emoji button styling in glitch-soc 2020-01-24 16:45:29 +01:00
Eugen Rochko 30470b53d6 [Glitch] Add announcements
Port front-end changes from f95fd62bac to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 16:45:29 +01:00
ThibG 4668a06255 [Glitch] Add “account timeline” filter category
Port JS changes from 691b14aaf8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 15:27:15 +01:00
ThibG d1498df663 [Glitch] Fix unfollow confirmations in account directory
Port 5416a793c1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 15:25:48 +01:00
Ben Lubar 8a33acc6a9 [Glitch] Add transparent support for EventSource streaming.
Port ad7f9fe438 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-24 15:25:19 +01:00
Thibaut Girka 6719b9daa5 Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- `app/javascript/packs/public.js`:
  Upstream removed an unused function in code that has
  been refactored a bit. Removed that function in the corresponding
  places.
2020-01-20 18:31:11 +01:00
Thibaut Girka aa29b38f7c Add glitch-soc front-end support for many upstream translations 2020-01-20 16:43:18 +01:00
Eugen Rochko d6235f63a5 [Glitch] Change reported media attachments to always be hidden in admin UI
Port e499b6ad7e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-20 15:30:45 +01:00
Sasha Sorokin 645dd06193 [Glitch] Correct margins for heading actions
Port SCSS changes from c43a59d5a8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-12 16:05:09 +01:00
Sasha Sorokin 3f14653f9e [Glitch] Use heading actions and placeholders in settings
Port SCSS changes from 03f81f7118 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-12 16:04:42 +01:00
Thibaut Girka 40e87be793 Make prepending “re: ” to CWs on reply optional 2020-01-07 19:05:31 +01:00
ThibG 34f9541c3d [Glitch] Fix reuse of detailed status components
Port cfaeea1779 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-07 16:30:53 +01:00
Takeshi Umeda cc7c74f63c [Glitch] Fix shortNumberFormat to within 3 chars without units
Port ed1226c8c8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2020-01-04 23:04:52 +01:00
ThibG 8ec56fc796 [Glitch] Fix manual scrolling issue on Firefox/Windows
Port dd8debffab to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-19 14:43:47 +01:00
Sasha Sorokin 870a69dec0 [Glitch] Improve report page structure
Port 65b17826c9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-19 14:37:12 +01:00
Thibaut Girka 42c357d6bb Fix various issues caused by wrong `unread` key being updated 2019-12-17 15:55:10 +01:00
Thibaut Girka 35f15cfd1b Fix edit filter link in filtered “Show why” dialog 2019-12-12 16:32:47 +01:00
Thibaut Girka a9cece1403 Fix erroneous inclusion of upstream code 2019-12-07 15:53:04 +01:00
Hinaloe e3cac8df6d [Glitch] Highlight border when focusing poll-form footer
Port 26dedf7857 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 15:48:26 +01:00
Takeshi Umeda 5ccd525287 [Glitch] Add basic support for group actors
Port 58dd9698c3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 15:48:26 +01:00
ThibG 2674dd5701 [Glitch] Fix poll options not being selectable via keyboard
Port c53ba20166 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 15:48:26 +01:00
ThibG 8bc0822716 [Glitch] Add follow_request notification type
Port 60d26cabf0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-07 15:48:26 +01:00
Shlee 1fb108c696 [Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2
Port 80a3e8e0e4 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
Eugen Rochko 9de10c16d7 [Glitch] Fix conversations not having an unread indicator in web UI
Fix d15b346826 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-01 12:21:55 +01:00
ThibG df04f885a5 [Glitch] Fix lost focus when modals open/close
Port 6041cfb13d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-12-01 12:19:06 +01:00
Sasha Sorokin 2169e61bc9 [Glitch] Fix counter sizing
Port 67a2dfa8ee to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:52:12 +01:00
ThibG 55d1f5c78c [Glitch] Add hotkey for opening media files
Port af891f82be to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:52:12 +01:00
ThibG d9f15fb6ed [Glitch] Fix pending upload count not being decremented on error
Port 9b3ebf9166 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:37:16 +01:00
ThibG 95164e759b [Glitch] Fix OCR with delete & redraft
Port c872f1cdb6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-30 17:36:49 +01:00
Thibaut Girka 510f98c7c2 Link move target account 2019-11-27 17:37:01 +01:00
Thibaut Girka b78c9e0980 Show acct of target account 2019-11-27 17:37:01 +01:00
Thibaut Girka 5bf65f4e97 Add moved account warning 2019-11-27 17:37:01 +01:00
ThibG c3afeaf0fc [Glitch] Fix blur behind closed registration message
Port SCSS changes from d1eebde0ff to glitch flavour

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-23 19:08:46 +01:00
ThibG d72c04a88e [Glitch] Change media description label to be context-sensitive
Port ed940a3a4a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-23 19:07:23 +01:00
ThibG 333b93e632 [Glitch] Fix unread toot indicator not honoring onlyMedia in public and community timelines
Port 6364adba64 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-20 17:56:35 +01:00
Thibaut Girka 1fa2d96434 [Glitch] Minor improvements to poll composing UI
Port aa21aeb838 to glitch-soc
2019-11-07 14:43:07 +01:00
ThibG c98e2faa41 [Glitch] Fix WebUI allowing to upload more items than the limit
Port 83a88426ca to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-07 14:31:53 +01:00
Thibaut Girka 00af41825f [Glitch] Fix notification message for own poll
Port d99acc9587 and 3df536ec92 to glitch-soc
2019-11-06 15:06:53 +01:00
Nolan Lawson 2030c85cfa [Glitch] fix: support KaiOS arrow navigation on public pages
Port 425da2dbaa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:59:57 +01:00
ThibG 24bbe94224 [Glitch] Fix filtered out items being counted as pending items
Port 572d9863ab to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:55:12 +01:00
Gabriel Rubens be32d811d1 [Glitch] Use inert polyfill
Port 84e3b5a358 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:52:22 +01:00
ThibG b9cf415165 [Glitch] Add support for submitting media description with ctrl+enter
Port 0e5be902e9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:50:54 +01:00
Hinaloe 4825d33aef [Glitch] dont crash with null-ref
Port f28877756e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:50:27 +01:00
Takeshi Umeda 0a29988edf [Glitch] Fix an issue where polls with 'expires_at' not set expired
Port 6665362f10 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-11-06 14:49:43 +01:00
Thibaut Girka 1208c64bae Fix download button icon color 2019-10-28 11:41:26 +01:00
ThibG b807087b88 [Glitch] Replace fav icon animation with CSS
Port ae2684a90f to glitch-soc

And extend that to collapse button

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 21:10:24 +01:00
Nima Boscarino 6800ddd649 [Glitch] Add download button to audio and video players
Port 3a451c820c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 15:41:22 +01:00
Nima Boscarino 8ef3379c6d [Glitch] Unliking a post updates like count on front end
Port 092103cf4e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:44:27 +01:00
ThibG f94af5dc67 [Glitch] Fix volume slider in chromium 🤷
Port 2ac808a85d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:42:44 +01:00
umonaca 55757b245d [Glitch] Improve swipe experience
Port a13368b8dd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:41:37 +01:00
Hinaloe 8082b021a7 [Glitch] don't show outline of full-screen video
Port 37b3dc5188 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:38:49 +01:00
ThibG b3a5da3cba [Glitch] Fix batch actions being hidden from mobile view
Port SCSS changes from 2106aaf283 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:37:17 +01:00
BSKY e02b77a1f4 [Glitch] Add noopener and/or noreferrer
Port 483cf4d52a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 14:36:25 +01:00
dependabot-preview[bot] e055b72963 [Glitch] Bump react-select from 2.4.4 to 3.0.5
Port 9483a56c04 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-27 12:25:15 +01:00
Thibaut Girka 6db7f94284 Fix media components being cropped 2019-10-26 17:51:22 +02:00
Thibaut Girka 6272dc1136 Hide overflowing characters from reply indicator too 2019-10-26 17:51:22 +02:00
Thibaut Girka 1445a99c15 Avoid toot text bleeding out of the content div 2019-10-26 17:51:22 +02:00
Thibaut Girka 05499cd36b Change filter logic to keep filtered toots, but not mark them as unread
Keeping them in the TL fixes the front-end not being able to properly keep
track of pagination. Furthermore, filtered toots are not counted as unread
content, whether they are dropped or not.
2019-10-24 22:09:55 +02:00
Thibaut Girka bd1fc2f989 Fix notification filters not applying to poll options 2019-10-17 11:43:58 +02:00
Thibaut Girka a96bc45649 Refactor timeline filtering code 2019-10-17 11:43:58 +02:00
Thibaut Girka 1c99164bcb Drop filtered messages if the filter is “irreversible”
… instead of adding them to the timelines and then not showing them.
This fixes timelines showing new items when the only new items are
“irreversibly” filtered toots. This may be an edge case in Mastodon/glitch-soc,
but it is not in Pleroma, which does no filtering server-side whatsoever.
2019-10-17 11:43:58 +02:00
ThibG 1b1c7353a8 [Glitch] Fix crash when switching back/from mobile layout
Port 2673b89971 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-11 22:40:52 +02:00
Eugen Rochko 4ed9f70c95 [Glitch] Fix media editing modal changing dimensions when image loads
Port 53afb61c84 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-10 21:00:13 +02:00
Eugen Rochko 0450cec6ce [Glitch] Remove `lang` attribute from individual statuses
Port f3ca2825e5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-10 21:00:13 +02:00
trwnh eab7fac6e0 [Glitch] Add missing back button header for invalid account
Port 028758a768 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-10 21:00:13 +02:00
Eugen Rochko bee8c9112f [Glitch] Fix performance of home feed regeneration
Port front-end changes from c453888616 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-10 21:00:13 +02:00
Thibaut Girka 8eeb4f612c 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
Thibaut Girka 263f51edd1 Apply scroll changes to Bookmark column 2019-10-06 00:32:06 +02:00
Eugen Rochko f378f52030 [Glitch] Add refresh button to list of rebloggers/favouriters in web UI
Port b7b91d3597 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Yamagishi Kazutoshi 35e165c1db [Glitch] Do not add margin light when opening modal on mobile
Port 03e29f4c51 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Eugen Rochko 150a9f09d0 [Glitch] Fix left side of single column layout being cropped on smaller screens
Port bd3e1b383e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Eugen Rochko 69bcef3525 [Glitch] Fix thread column showing pin button
Port 35bc382e57 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Eugen Rochko 96469fb187 [Glitch] Fix scroll position resetting when opening media modals in web UI
Port ad91a0578b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Eugen Rochko 8193445a3d [Glitch] Fix loading bar being obscured by other elements in web UI
Port f4802e5c51 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Eugen Rochko 3134aa0097 [Glitch] Fix scroll to top in single column UI
Port 293f789239 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-06 00:32:06 +02:00
Eugen Rochko 2d701e88f5 [Glitch] Fix column header scrolling with the page
Port cf45e39dd5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-05 22:53:20 +02:00
Eugen Rochko e0b973c5d3 [Glitch] Fix tabs bar scrolling along with content on mobile
Port 5e0ccb3020 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-05 22:53:20 +02:00
ThibG 73ba3a51da [Glitch] Fix scrolling in single-column mode on Chrome
Port 1635e401b6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-05 22:53:20 +02:00
Eugen Rochko 4fdae72eeb [Glitch] Change single-column mode to scroll the whole page
Port de4ead8fc6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-05 22:53:20 +02:00
Thibaut Girka a6262c37cf Fix audio modal closing immediately 2019-10-04 21:07:45 +02:00
Eugen Rochko 193bdbb4b0 [Glitch] Fix audio attachments opening in video modal from media tab in web UI
Port 9c4f1fb4e1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-04 19:25:25 +02:00
Jeong Arm d5827dd85f [Glitch] Scroll into search bar when focus
Port c388ed5630 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-04 19:22:11 +02:00
Eugen Rochko 29880b8566 [Glitch] Fix issues in RTL layout in web UI
Port 4137247274 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-04 19:16:41 +02:00
Eugen Rochko 8824642f78 [Glitch] Fix media editing modal and profile directory in light theme
Port f9c94be74c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-04 19:12:54 +02:00
Jeong Arm a230f5879a [Glitch] Fix drag and drop link to composebox
Port 345898e920 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:35:17 +02:00
Cutls ddf497ede4 [Glitch] Fix bad word breaking on conversations
Port 27817baca5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:34:43 +02:00
ThibG eb6039b401 [Glitch] Fix typo in mute confirmation dialog
Port cdce1328a7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:33:38 +02:00
ThibG 3c90dcf546 [Glitch] Fix custom emoji animation on hover in conversations view
Port 66f85e540c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:30:32 +02:00
ThibG de2a936748 [Glitch] Fix missing propType for conversation delete
Port 147f2e0d06 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:28:03 +02:00
Eugen Rochko 0331a92de8 [Glitch] Fix long domain block descriptions breaking table layout
Port SCSS changes from 8811f37949 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:20:13 +02:00
Eugen Rochko 93ad0adf82 [Glitch] Fix delete conversation action not being reflected in web UI
Port 6bf6f5e06c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:19:03 +02:00
Cutls 99f011243a [Glitch] Fix and remove ugly css around the conversation component
Port 7c6fef81a4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-10-03 13:18:08 +02:00
Thibaut Girka 6abbda28fe Improve styling of DM view in glitch-soc 2019-09-30 17:01:16 +02:00
Thibaut Girka 254f94cb6b Fix menu in settings/admin pages 2019-09-30 17:01:16 +02:00
Cutls 5c53017f7e [Glitch] Fix overflow on conversations
Port 45bdb2cea4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 17:01:16 +02:00
Eugen Rochko 779423204a [Glitch] Change conversations UI
Port 5d5af651f1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 17:01:16 +02:00
Thibaut Girka af4934f742 Fix using wrong component in ColumnBackButtonSlim 2019-09-30 15:58:29 +02:00
ThibG 1aa14b5873 [Glitch] Add voters count support
Port front-end changes from f088e090e4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
koyu 6e8131d46c [Glitch] Change at icon in notification filter to reply-all
Port ac007dfb83 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 56ca0d8b1c [Glitch] Add explanation to mute dialog, refactor and clean up mute/block UI
Port fdd1848c7c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 8c38db77c1 [Glitch] Change vote results to display ex-aequo leading options as leading
Port 812a7828d1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
trwnh 9fda70ac63 [Glitch] Fix muted text color not applying to all text
Port e4289a50fc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko a70911807c [Glitch] Fix follower/following lists resetting on back-navigation in web UI
Port aadf3981fa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko 89d0173516 [Glitch] Fix public list of domain blocks being too verbose on about page
Port SCSS from 7b7c50f124 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG c8030f582c [Glitch] Fix vote checkmark in poll results
Port 03d3481688 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 11d07fae3b [Glitch] Change silences to always require approval on follow
Port front-end changes from 70990720c5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 82548d9403 [Glitch] Avoid storing audio and video file data in memory
Port f3d4db653c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG c77eb90fa6 [Glitch] Use blob URL for Tesseract to avoid CORS issues
Port d6b6267c27 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko 526d24423c [Glitch] Fix emoji search not showing custom emoji when none are uncategorized
Port 25c70115c1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko adc53b625e [Glitch] Revert "Change timelines to add new items to pending items when scrolled down #11867"
Port 69b44ba726 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
ThibG 404dbc5e96 [Glitch] Show user what options they have voted
Port front-end changes from c596206f8c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Jeong Arm 4c318264bb [Glitch] Fix ugly TOC when title is too long
Port ffbd6a2f27 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko 14e8ba0f07 [Glitch] Fix page body not being scrollable in admin layout
Port SCSS changes from 53ceb703b3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 15:58:29 +02:00
Eugen Rochko f9de1ff756 [Glitch] Fix placeholder colors for inputs not being explicitly defined
Port 21cca10a6e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 13:57:18 +02:00
Eugen Rochko c523096a7c [Glitch] Add table of contents to about page
Port SCSS changes from 61442032a2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 13:44:38 +02:00
Eugen Rochko eedd66257b [Glitch] Add password challenge to 2FA settings, e-mail notifications
Port SCSS changes from 1781358bd9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 13:43:06 +02:00
Eugen Rochko 97ddda8bcd [Glitch] Change unconfirmed user login behaviour
Port SCSS changes from 6be7b414e2

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-30 13:42:22 +02:00
nzws✨ 44a47b5324 [Glitch] Fix eslint error of import/no-extraneous-dependencies
Port 7bfef64877 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
ThibG bbb3e8fe9b [Glitch] Fix “load more” adding older toots/notifications to pending items
Port 266f26f23b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
Yamagishi Kazutoshi 43d6f6d842 [Glitch] Check existence of timeline state in community timeline
Port dabb03467e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
ThibG c3fb59c49a [Glitch] Change timelines to add new items to pending items when scrolled down
Port 57c7ce5e7f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
Eugen Rochko d9d3828140 [Glitch] Fix web UI allowing uploads past status limit via drag & drop
Port 4e39d575dc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
ThibG 627a01fe9d [Glitch] Fix poll options checkboxes/radio buttons not being vertically centered
Port df8b1b3547 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
ThibG 073df8d25b [Glitch] Fix “slow mode” issues
Port 7f7f8cac37 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:51 +02:00
ThibG a0c4e5b0fd [Glitch] Fix expiring polls not being displayed as such in the WebUI
Port ba7a1f9f75 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:26 +02:00
ThibG 81aed1ba0b [Glitch] Fix media description button being disabled at 420 characters instead of 1500
Port 20f209452e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:23 +02:00
Eugen Rochko 4c71288ccb [Glitch] Fix profile fields overflowing page width
Port c5836cc5de to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:20 +02:00
Thibaut Girka 1a7df2f80a Fix build issues due to the “pt” locale being renamed to “pt-PT”
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-18 17:27:12 +02:00
Thibaut Girka 1da97e86a4 Fix composer dropdown toggle buttons (threaded mode and local-only) not working 2019-09-18 00:11:03 +02:00
Thibaut Girka 4cc3570f49 Fix boost confirmation modal for description-less media not working 2019-09-17 21:46:36 +02:00
Eugen Rochko caa2fc89b3 [Glitch] Add timeline read markers API
Port 89989b6255 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 20:28:22 +02:00
Eugen Rochko 47bfd278c1 [Glitch] Change max length of media descriptions from 420 to 1500 characters
Port 9301574423 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 18:38:37 +02:00
ThibG 7de74d2e1b [Glitch] Fix display of long poll options
Port f8e09ac4a8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 18:36:22 +02:00
Eugen Rochko f369837caa [Glitch] Fix unused CSS
Port 8352a0f352 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 18:36:00 +02:00
Eugen Rochko d3da04be54 [Glitch] Add batch actions and categories to admin UI for custom emojis
Port SCSS changes from 25fb124ee6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 18:35:20 +02:00
ThibG 6251d7dd76 [Glitch] Add account bio to account admin view
Port SCSS changes from fef7f3b6d5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 18:34:55 +02:00
Eugen Rochko 8dfd8dcbb0 [Glitch] Add batch approve/reject for pending hashtags in admin UI
Port SCSS changes from 7799c7c75f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-13 18:34:26 +02:00
Thibaut Girka 8605a25800 Fix wrong icons from last refactoring
Fix regressions from 6b45aa450b
2019-09-10 14:56:08 +02:00
Thibaut Girka 9b0b130299 Use the `Icon` component instead of directly using `i` tag 2019-09-09 19:00:20 +02:00
Thibaut Girka 6b45aa450b Use upstream's Icon component
Rework the codebase to avoid unnecessary differences with upstream
2019-09-09 19:00:20 +02:00
Thibaut Girka 080bdf6949 Move “export” before decorators
As this is what upstream does.

See also https://github.com/tc39/proposal-decorators/issues/69
2019-09-09 18:36:43 +02:00
Rey Tucker aa6ef7acd0 glitch: fix webpack build failure in columns_area.js (#1212)
Fixes #1212 by copying what works in the mainline flavor.
2019-09-09 09:56:37 +02:00
Eugen Rochko 0e090952d2 [Glitch] Fix line breaks in hashtag autosuggestions in web UI
Port f6cd27f41f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:14:42 +02:00
Mostafa Ahangarha 1eef666521 [Glitch] Exclude URLs from text analysis
Port 6899564a76 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:13:03 +02:00
Eugen Rochko f0806c8de1 [Glitch] Fix wrong sum of usage in hashtag component in web UI
Port b5651654f7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:12:18 +02:00
Eugen Rochko 2e2795a887 [Glitch] Fix wrong pluralization in hashtag component in web UI
Port 17df40e74e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:11:52 +02:00
Eugen Rochko e7c79b11e5 [Glitch] Change hashtag component in web UI to show numbers for 2 last days
Port 8d61ef6dda to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:02:54 +02:00
Eugen Rochko 8f54a3efe0 [Glitch] Fix uncached media in web UI not being clickable
Port acf168f1a2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 14:02:04 +02:00
mayaeh a3186bbf67 [Glitch] Integrate translation strings for the Profile Directory.
Port 80fe7fa415 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:55:14 +02:00
ThibG 27072dc7b0 [Glitch] Fix Mastodon logo style on hover on public pages' footer
Port 06f49d9cf2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:53:23 +02:00
ThibG 0ce0028b61 [Glitch] Fix height of dashboard counters
Port c5e4f4e0c1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:52:53 +02:00
ThibG dc41c64d81 [Glitch] Fix custom emoji animation on hover in WebUI directory bios
Port 1443f2bd3c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:52:07 +02:00
Eugen Rochko 8ecdf54a75 [Glitch] Add "not available" label on unknown media attachments
Port 59d873e1e5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-05 13:06:41 +02:00
Thibaut Girka 8d587eafe5 Fix loading more items in account following/followers 2019-09-04 17:58:31 +02:00
Eugen Rochko 24611e1076 [Glitch] Add header to trends section and change refresh rate to 15 minutes
Port cf56532ced to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
ThibG 7d388731dc [Glitch] Restore hashtag suggestions from local tag history
Port d94a4763f6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
ThibG 66925dce64 [Glitch] Fix trending hashtags being fetched every 36 seconds instead of every hour (#11631)
Port db5c84ce4b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Thibaut Girka fe085973a3 Fix trending hashtags spacing in single-column mode 2019-09-02 10:57:44 +02:00
Eugen Rochko 4d0d1bf65f [Glitch] Add trends to public pages sidebar
Port 87df04d94c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko 62c1003b41 [Glitch] Fix hashtag autosuggestions line breaks for long suggestions
Port 193df2e8cb to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Sasha Sorokin c43fb46d0c [Glitch] Fix trending counter width
Port 406f2f7d57 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko 157d78dd44 [Glitch] Add trends UI with admin and user settings
Port 191392e5c3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Eugen Rochko f0c559250c [Glitch] Fix emoji autosuggestions
Port 32d2260a8c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Thibaut Girka c3c61f3011 Refactor SCSS to better match upstream 2019-09-02 10:57:44 +02:00
Eugen Rochko cc3ca37cda [Glitch] Add autosuggestions for hashtags
Port 450b8a70a5 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-09-02 10:57:44 +02:00
Thibaut Girka fab9d261c1 Properly hide follower count in profile directory 2019-08-31 18:23:24 +02:00
Thibaut Girka 90ac926b1c Update backend links and fix hardcoded ones 2019-08-31 18:23:24 +02:00
Thibaut Girka 2743b33722 Fix imports importing modules from vanilla flavour instead of glitch 2019-08-31 18:23:24 +02:00
Eugen Rochko c4aa608971 [Glitch] Change layout of public profile directory to be the same as in web UI
Port b47119eb61 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:24 +02:00
Eugen Rochko 2cdbfb39e8 [Glitch] Add profile directory to web UI
Port 79922ae20f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-31 18:23:23 +02:00
ThibG fce59abade [Glitch] Change detailed status child ordering to sort self-replies on top
Port accac63c88 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-30 13:45:46 +02:00
Thibaut Girka c544962ee9 Fix clicking on the new audioplayer opening the toot in detailed view 2019-08-29 17:32:22 +02:00
ThibG 854a990d3c [Glitch] Change window resize handler to switch to/from mobile layout as soon as needed
Port 15a82d48ea to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko 478fa5f839 [Glitch] Fix more visual issues with the audio player
Port eaa759ffd4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko 08ad511c36 [Glitch] Fix public page crash due to audio player, fix unpause in audio player
Port c8df53b75f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Eugen Rochko 024b9a24e0 [Glitch] Add audio player
Port f13761d84b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
ThibG bbc1e15f39 [Glitch] Add special alert for throttled requests
Port 6fc1a84958 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
ThibG 47ffc93705 [Glitch] Add confirmation modal when logging out from the web app
Port d255ce2f1a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-29 17:32:22 +02:00
Thibaut Girka d212159f06 Remove sign out link from getting started columns, as it is already in the footer 2019-08-29 14:56:40 +02:00
Thibaut Girka ee6653adcf Fix crashes from favico.js crashing the entire web app 2019-08-29 12:03:05 +02:00
Thibaut Girka ed4dbca6bc Refactor the Columns Area code to be closer to upstream 2019-08-29 12:02:20 +02:00
Thibaut Girka 5de49ea272 Add option to rewrite mentions to mentioned user's username or acct
Fixes #666
2019-08-29 11:59:29 +02:00
ThibG e9106c361f Fix typo 2019-08-20 21:44:09 +02:00
Haelwenn (lanodan) Monnier 64aa99b3a2 Add support for <sup> formatting element
This is based of 81c9377c7d

Related: https://git.pleroma.social/pleroma/pleroma/issues/1191
2019-08-20 21:44:09 +02:00
ThibG c36ee7b85f [Glitch] Fix handling of audio files in account media gallery
Port 73b23ef7be to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-20 20:38:42 +02:00
Thibaut Girka c2ecfa969b Add button to edit media description from missing description confirmation dialog 2019-08-20 11:33:35 +02:00
Thibaut Girka cec23a0de6 Remove code for giving focus to first media without description
Since the textarea is in a modal, now…
2019-08-20 10:55:03 +02:00
Thibaut Girka e81a8dcd85 Fix composer options colors in glitch-soc light theme 2019-08-19 22:18:43 +02:00
Thibaut Girka 2d84897916 Move character counter to the options box to match upstream styling 2019-08-19 21:56:25 +02:00
Thibaut Girka 558aa2bcfd [Glitch] Fix hidden statuses losing focus
Port d8153b99b3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG ec9ae03ad7 [Glitch] Improve focal point modal on mobile
Port dc83169865 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG e27d8efacf [Glitch] Allow clicking behind preview
Port a886bf3808 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko 6f3f392e8a [Glitch] Fix edit media modal on small screens, touch events
Port 375f2f3864 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko 66af3222be [Glitch] Fix tesseract.js being part of the common chunk
Port fe52fca65c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko b3f63b601a [Glitch] Add OCR tool to media editing modal
Port 41b188dce6  to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Thibaut Girka f20d417448 Refactor character counter to match upstream 2019-08-19 21:56:25 +02:00
Eugen Rochko 4982885bfa [Glitch] Add media editing modal
Port da208e7d9b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko 199d7ce136 [Glitch] Add explanation to featured hashtags page and profile
Port SCSS changes from 8e76c759c1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG 98df5f8fc2 [Glitch] Add public blocks to /about/blocks
Port SCSS changes from 867b9f3e9c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG 150d3f7104 [Glitch] Fix client-side resizing of image uploads
Port 0fd7f8315f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:49:39 +02:00
Eugen Rochko 1d666bf95b [Glitch] Fix short number formatting for numbers above million in web UI
Port 954840740e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:49:39 +02:00
Thibaut Girka 13faa1daa0 Honor `system_emoji_font` in the Emoji Picker 2019-08-12 23:01:37 +02:00
Thibaut Girka 97c3cec2f8 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
Eugen Rochko 284233f309 [Glitch] Fix "cancel follow request" button having unreadable text in web UI
Port aed7dca53b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-12 16:49:12 +02:00
Eugen Rochko 37294ee595 [Glitch] Fix hashtag links always being lowercase
Port 277acb8772 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-07 15:35:44 +02:00
ThibG ceed029a36 [Glitch] Improve focus handling with dropdown menus
Port b169874828 to glitch-soc
2019-08-07 15:11:59 +02:00
Thibaut Girka 558628eb6d Implement keyboard navigation in glitch-soc composer 2019-08-06 16:36:18 +02:00
Thibaut Girka 3dedb60da6 Refactor composer Dropdown's component a bit to make it closer to upstream 2019-08-06 15:09:30 +02:00
ThibG 779cd27948 [Glitch] Fix image uploads being perfectly white when canvas read access is blocked
Port 54e8f2b08a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG c9a755c8a0 [Glitch] Port changes to IconButton
Port changes to IconButton from 13811f4d7b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG 5df5ab88f5 [Glitch] Improve dropdown menu keyboard navigation
Port 61f7ff6522 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG 2ff69c95ce [Glitch] Trap tab in modals
Port 0da8fdc438 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
Thibaut Girka bd0a478252 Fix up try/catch block in invalid URL handling 2019-08-06 13:09:49 +02:00
Thibaut Girka e6272f1af0 Remove href attribute of invalid links instead of crashing 2019-08-06 12:32:06 +02:00
Thibaut Girka 06a5239a2c Fix color of dropdown icons 2019-08-05 14:25:48 +02:00
ThibG 56734351d3 [Glitch] Change icon button styles to make hover/focus states more obvious
Port ebc78b6f2b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 14:20:21 +02:00
ThibG e96d040e58 [Glitch] Disable list title validation button when list title is empty
Port 5d32e422c0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 13:22:27 +02:00
Thibaut Girka 50553e097d Remove link rewriting option as it is easily bypassable 2019-08-04 22:25:56 +02:00
Thibaut Girka aad48a1d5b Perform case-insensitive comparison for international domain names
Note: this uses `toLowerCase()` instead of doing proper case folding
2019-08-04 22:25:56 +02:00
Thibaut Girka ac64cdae72 Perform case-insensitive comparison of non-International domain names 2019-08-04 22:25:56 +02:00
Thibaut Girka 2e15f54778 Make link target domain tag just a bit smaller 2019-08-04 22:25:56 +02:00
Thibaut Girka 69c03e0ef4 Ensure link rewriting setting changes are immediately applied 2019-08-04 22:25:56 +02:00
Thibaut Girka 9e2e7f6628 Handle Mastodon-generated links for targets starting with “www.” properly 2019-08-04 22:25:56 +02:00
Thibaut Girka 2f4cb78803 Add options to highlight misleading links in statuses
Fixes #1162
2019-08-04 22:25:56 +02:00
Thibaut Girka d84045c9ca Move decodeIDNA to app/javascript/flavours/glitch/util 2019-08-04 22:25:56 +02:00
ThibG e2ac47141f [Glitch] Fix crash when expanding search results for hashtags
Port e85805138a to glitch-soc
2019-07-30 12:31:02 +02:00
ThibG a7a6563f22 Merge pull request #1179 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-07-29 23:37:14 +02:00
Thibaut Girka ce25139d5d Fix crash in /web/lists
Fixes #1181
2019-07-29 00:34:39 +02:00
Eugen Rochko a71d66ab0e [Glitch] Add search results pagination to web UI (#11409)
Port 5119a0608d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 17:10:52 +02:00
ThibG 1c3117f682 [Glitch] Change contrast of status links that are not mentions nor hashtags
Port 6701b9329d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:47:36 +02:00
Eugen Rochko 16b5fe3ac3 [Glitch] Change account domain block to clear out notifications and follows
Port 93a6ab5a32 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:45:36 +02:00
Thibaut Girka df7b27753c Fix links in status media having their title rewritten 2019-07-24 21:46:09 +02:00
Thibaut Girka bf93e0c7c0 Handle animated emoji on mouse hover in CWs and poll options 2019-07-23 16:24:21 +02:00
ThibG b01e5e372f [Glitch] Play animated custom emoji on hover
Port 99b3dd5b00 to glitch-soc
2019-07-23 16:24:21 +02:00
Thibaut Girka 09a68ce895 Refactor DisplayName component to make it closer to upstream 2019-07-23 10:51:12 +02:00
Thibaut Girka 4eb0c50699 [Glitch] Display custom emoji in bio field names
Port 2582701b72 to glitch-soc
2019-07-23 10:51:12 +02:00
Thibaut Girka f447eef7cd Clean up redundant shouldUpdateScroll definitions 2019-07-21 20:57:42 +02:00
Eugen Rochko 06990c0ece [Glitch] Fix mutes, blocks, domain blocks and follow requests not paginating
Port 8ff757ed6a  to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
ThibG 9b58e25df5 [Glitch] Fix followers and followings on account profiles
Partial fix from 513f59726a

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Jakub Mendyk 1d58c95a8b [Glitch] Fix followers/follows layout issues from #8418
Port 816384cf32 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Thibaut Girka b67c436220 Add empty column message to bookmarks column 2019-07-21 20:57:42 +02:00
Jakub Mendyk be07e0038c [Glitch] Add messages informing that collections are empty
Port 6fae7f6a04 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
ThibG c0f0a24e27 Merge pull request #1158 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-07-21 00:53:28 +02:00
Thibaut Girka 4daf8b17e3 Fix filtering behaviors 2019-07-19 19:21:20 +02:00
ThibG 8dd730a71d [Glitch] Add ActivityPub actor representing the entire server
Port SCSS changes from c2126e3f98

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-19 18:35:45 +02:00
Eugen Rochko 6c5f339573 Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id`
Port SCSS changes from fbbcbd940d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-19 18:27:26 +02:00
Thibaut Girka 3f7c78d821 Fix timestamp display in boost/fav modals in RTL locales 2019-07-18 20:56:20 +02:00
Thibaut Girka 97643292bb Fixups 2019-07-18 20:56:20 +02:00
Thibaut Girka 307ef1231f Public pages RTL fixes 2019-07-18 20:56:20 +02:00
Thibaut Girka a5bcce0795 Unfiy status__prepend with upstream 2019-07-18 20:56:20 +02:00
Thibaut Girka bb8fa5568c RTL fixes 2019-07-18 20:56:20 +02:00
Thibaut Girka a12190368e Fix some SCSS for RTL behavior 2019-07-18 20:56:20 +02:00
Thibaut Girka e60632a915 Minor fixup 2019-07-18 20:56:20 +02:00
Eugen Rochko 4a32302acd [Glitch] Fix RTL layout of status display names
Port e29581a150 to glitch-soc
2019-07-18 20:56:20 +02:00
Masoud Abkenar 15783e6568 [Glitch] RTL: fix settings button margins in column headers
Port 35b461c0ae to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-18 20:56:20 +02:00
Thibaut Girka 30ca4a6772 Make width breakpoint for removing margins consistent and match upstream
Fixes #1136
2019-07-18 20:55:38 +02:00
Thibaut Girka 1e3372feb9 Fix *another* typo and crash in StatusIcons 2019-07-18 09:54:59 +02:00
Thibaut Girka 0530c8d3b8 Fix typo and crash in StatusIcons 2019-07-18 09:42:22 +02:00
Thibaut Girka 5eca68102a Shorten status icon tooltip text 2019-07-17 21:35:34 +02:00
Thibaut Girka 0b139b1df4 Add status icon for local-only toots 2019-07-17 21:35:34 +02:00
Thibaut Girka 85654916b7 Add tooltips to status icons 2019-07-17 21:35:34 +02:00
Eugen Rochko f1de5093fb [Glitch] Add option to disable real-time updates in web UI
Port c56e6fd7a1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka 025cfdf901 Add link to edit each listed filter 2019-07-15 00:48:28 +02:00
Thibaut Girka af4979e321 Make some strings translatable 2019-07-15 00:48:28 +02:00
Thibaut Girka 9339b4634e Minor refactoring 2019-07-15 00:48:28 +02:00
Thibaut Girka 59b8573907 Move the “Show why” button inline 2019-07-15 00:48:28 +02:00
Thibaut Girka fde918bf92 Implement feature to add filtered phrases to content warnings 2019-07-15 00:48:28 +02:00
Thibaut Girka 0b23403d58 Implement option to completely hide filtered toots 2019-07-15 00:48:28 +02:00
Thibaut Girka 6476b7dabe Add options to configure filtering behavior 2019-07-15 00:48:28 +02:00
Thibaut Girka 67d1b0c997 Add a way to know why a status has been filtered, and show it anyway 2019-07-15 00:48:28 +02:00
Thibaut Girka 79e97d71d4 Do not keep polls pre-filled in thread mode 2019-07-15 00:41:09 +02:00
Thibaut Girka 4eb6457889 Fix error boundary CSS 2019-07-15 00:28:31 +02:00
Thibaut Girka 8184a7407d Fix report dialog crashing when a toot gets deleted
Fixes #1155
2019-07-10 19:53:31 +02:00
ThibG e2c93b4b34 [Glitch] Only scroll to the compose form if it's not horizontally in the viewport
Port 64909cf0d9 to glitch-soc
2019-07-07 14:03:12 +02:00
ThibG 447e13fec3 [Glitch] Memoize ancestorIds and descendantIds in detailed status view
Port eda4094171 to glitch-soc
2019-07-04 16:26:17 +02:00
ThibG b8d7f860ca [Glitch] When deleting & redrafting a poll, fill in closest expires_in
Port a55fd40802 to glitch-soc
2019-07-04 16:24:48 +02:00
Thibaut Girka 1181f84c79 Minor cleanup and maybe minor performance improvements 2019-07-01 19:31:21 +02:00
Thibaut Girka 65b1946489 Minor optimization regarding regexp filtering in timelines 2019-07-01 19:31:21 +02:00
Thibaut Girka bcbc9ed7f6 Use strict equality rather than Immutable.is as the compared props are values 2019-07-01 19:31:10 +02:00
Thibaut Girka e4ffc42c8c Assume children of visible IntersectionObserverArticle always change
This fixes multiple issues, while adding few computations
2019-07-01 19:31:10 +02:00
Thibaut Girka b9ae9c7205 Revert to using upstream's optimisations
This *does* break things, as `shouldComponentUpdate` assume the
children to never change!
2019-07-01 19:31:10 +02:00
Thibaut Girka 081790f04b Fix error boundary DOM 2019-07-01 19:30:59 +02:00
Thibaut Girka edad7f2a6c Fix some React warnings 2019-07-01 19:30:59 +02:00
Thibaut Girka 6b21ce2daa [Glitch] When sending a toot, ensure a CW is only set if the CW field is visible
Partial port of fa7866c9c8 to glitch-soc

It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.
2019-06-30 14:35:03 +02:00
ThibG c49a57e989 [Glitch] Optimize makeGetStatus
Port ff65c494a6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:06:04 +02:00
ThibG 68e998de21 [Glitch] Use ScrollToOptions for smooth scrolling if supported
Port 20b1f8dcf6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:01:01 +02:00
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>
2019-06-28 21:42:37 +02:00
ThibG 284ff65022 [Glitch] Fix swiping columns on mobile sometimes failing
Port 9668e42afd to glitch-soc
2019-06-28 21:38:34 +02:00
ThibG a393529547 [Glitch] Add message telling FTS is disabled when no toot can be found because of this
Port 0943e994dd to glitch-soc
2019-06-28 18:54:56 +02:00
Thibaut Girka ad4ebd172a Change search components classes and styling to match upstream 2019-06-28 11:13:41 +02:00
ThibG dd97db20d0 [Glitch] Add option to disable blurhash previews
Port 4b3d91dc2c to glitch-soc
2019-06-26 23:19:26 +02:00
PatOnTheBack 426758b619 [Glitch] Removed extra pipes from regex.
Port 9a216634a1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-26 23:19:26 +02:00
ThibG 105d248fea [Glitch] Apply filters to poll options in WebUI
Port 42c803fe61 to glitch-soc
2019-06-26 23:19:26 +02:00
Thibaut Girka 883160b769 Scroll to compose form rather than reply indicator on focus 2019-06-26 10:46:11 +02:00
Thibaut Girka b99f77bd31 Use a different icon for audio attachments 2019-06-24 16:16:16 +02:00