Commit graph

1391 commits

Author SHA1 Message Date
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