ThibG
e8e980cdac
[Glitch] Improve focus handling with dropdown menus
...
Port 396b8cdd0f
to glitch-soc
2019-08-07 15:11:59 +02:00
Thibaut Girka
d10f6036cf
Implement keyboard navigation in glitch-soc composer
2019-08-06 16:36:18 +02:00
Thibaut Girka
6d2b0fa3f0
Refactor composer Dropdown's component a bit to make it closer to upstream
2019-08-06 15:09:30 +02:00
ThibG
381dbb6569
[Glitch] Fix image uploads being perfectly white when canvas read access is blocked
...
Port 111a0628fc
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG
a4b15e2cf0
[Glitch] Port changes to IconButton
...
Port changes to IconButton from 27a0d02d0d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG
fe1de4e49b
[Glitch] Improve dropdown menu keyboard navigation
...
Port a12f1a0baf
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
ThibG
6afdb6c2b6
[Glitch] Trap tab in modals
...
Port 5c73746b69
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-06 15:09:30 +02:00
Thibaut Girka
3ea7a334d8
Fix up try/catch block in invalid URL handling
2019-08-06 13:09:49 +02:00
Thibaut Girka
cbd75fe128
Remove href attribute of invalid links instead of crashing
2019-08-06 12:32:06 +02:00
Thibaut Girka
68eb58b805
Fix color of dropdown icons
2019-08-05 14:25:48 +02:00
ThibG
f02ffce249
[Glitch] Change icon button styles to make hover/focus states more obvious
...
Port c8fd823327
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 14:20:21 +02:00
ThibG
8b57d704dc
[Glitch] Disable list title validation button when list title is empty
...
Port 089c641020
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 13:22:27 +02:00
Thibaut Girka
ff0ceb28b3
Remove link rewriting option as it is easily bypassable
2019-08-04 22:25:56 +02:00
Thibaut Girka
76b80a1511
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
43b137e1f9
Perform case-insensitive comparison of non-International domain names
2019-08-04 22:25:56 +02:00
Thibaut Girka
a0b6f1665a
Make link target domain tag just a bit smaller
2019-08-04 22:25:56 +02:00
Thibaut Girka
c01de0f721
Ensure link rewriting setting changes are immediately applied
2019-08-04 22:25:56 +02:00
Thibaut Girka
6600da0f7b
Handle Mastodon-generated links for targets starting with “www.” properly
2019-08-04 22:25:56 +02:00
Thibaut Girka
df866a464d
Add options to highlight misleading links in statuses
...
Fixes #1162
2019-08-04 22:25:56 +02:00
Thibaut Girka
49a28e69a5
Move decodeIDNA to app/javascript/flavours/glitch/util
2019-08-04 22:25:56 +02:00
ThibG
d8097ecd2f
[Glitch] Fix crash when expanding search results for hashtags
...
Port 78144f4c79
to glitch-soc
2019-07-30 12:31:02 +02:00
ThibG
f48c7689d2
Merge pull request #1179 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
2019-07-29 23:37:14 +02:00
Thibaut Girka
a4a81c5434
Fix crash in /web/lists
...
Fixes #1181
2019-07-29 00:34:39 +02:00
Eugen Rochko
51411267fd
[Glitch] Add search results pagination to web UI ( #11409 )
...
Port 8a4674f2c3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 17:10:52 +02:00
ThibG
7f147acea6
[Glitch] Change contrast of status links that are not mentions nor hashtags
...
Port 10e78ecf57
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:47:36 +02:00
Eugen Rochko
31fc3be0a4
[Glitch] Change account domain block to clear out notifications and follows
...
Port 4eeff26533
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 16:45:36 +02:00
Thibaut Girka
91da921dbb
Fix links in status media having their title rewritten
2019-07-24 21:46:09 +02:00
Thibaut Girka
48c68eafb7
Handle animated emoji on mouse hover in CWs and poll options
2019-07-23 16:24:21 +02:00
ThibG
c1231a846a
[Glitch] Play animated custom emoji on hover
...
Port 7de8c51873
to glitch-soc
2019-07-23 16:24:21 +02:00
Thibaut Girka
621590b4ab
Refactor DisplayName component to make it closer to upstream
2019-07-23 10:51:12 +02:00
Thibaut Girka
cd8763b600
[Glitch] Display custom emoji in bio field names
...
Port 4bd58b7f2d
to glitch-soc
2019-07-23 10:51:12 +02:00
Thibaut Girka
6db5669818
Clean up redundant shouldUpdateScroll definitions
2019-07-21 20:57:42 +02:00
Eugen Rochko
e58af04287
[Glitch] Fix mutes, blocks, domain blocks and follow requests not paginating
...
Port ea7ad59af2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
ThibG
bd7b1538f1
[Glitch] Fix followers and followings on account profiles
...
Partial fix from 55abff8af7
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Jakub Mendyk
c614abb95d
[Glitch] Fix followers/follows layout issues from #8418
...
Port ceed1ebe5b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Thibaut Girka
b294b5956b
Add empty column message to bookmarks column
2019-07-21 20:57:42 +02:00
Jakub Mendyk
e9f88f4005
[Glitch] Add messages informing that collections are empty
...
Port 5129f6f2aa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
ThibG
f1597e1ab9
Merge pull request #1158 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
2019-07-21 00:53:28 +02:00
Thibaut Girka
249b7c7c12
Fix filtering behaviors
2019-07-19 19:21:20 +02:00
ThibG
490cf3aa03
[Glitch] Add ActivityPub actor representing the entire server
...
Port SCSS changes from 730c4053d6
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-19 18:35:45 +02:00
Eugen Rochko
bf3ab44e77
Remove Atom feeds and old URLs in the form of GET /:username/updates/:id
...
Port SCSS changes from b851456139
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-19 18:27:26 +02:00
Thibaut Girka
f170e0492f
Fix timestamp display in boost/fav modals in RTL locales
2019-07-18 20:56:20 +02:00
Thibaut Girka
4c28511e4e
Fixups
2019-07-18 20:56:20 +02:00
Thibaut Girka
45cee95b14
Public pages RTL fixes
2019-07-18 20:56:20 +02:00
Thibaut Girka
c1752b238f
Unfiy status__prepend with upstream
2019-07-18 20:56:20 +02:00
Thibaut Girka
b021efdefe
RTL fixes
2019-07-18 20:56:20 +02:00
Thibaut Girka
964c78c118
Fix some SCSS for RTL behavior
2019-07-18 20:56:20 +02:00
Thibaut Girka
4199f7fd87
Minor fixup
2019-07-18 20:56:20 +02:00
Eugen Rochko
b743308928
[Glitch] Fix RTL layout of status display names
...
Port d723f2a0a8
to glitch-soc
2019-07-18 20:56:20 +02:00
Masoud Abkenar
bcaea5a9e9
[Glitch] RTL: fix settings button margins in column headers
...
Port ef11347281
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-18 20:56:20 +02:00
Thibaut Girka
fabfa90e6c
Make width breakpoint for removing margins consistent and match upstream
...
Fixes #1136
2019-07-18 20:55:38 +02:00
Thibaut Girka
6ff285d948
Fix *another* typo and crash in StatusIcons
2019-07-18 09:54:59 +02:00
Thibaut Girka
a2df11ebaf
Fix typo and crash in StatusIcons
2019-07-18 09:42:22 +02:00
Thibaut Girka
46687a3cbd
Shorten status icon tooltip text
2019-07-17 21:35:34 +02:00
Thibaut Girka
572009cf56
Add status icon for local-only toots
2019-07-17 21:35:34 +02:00
Thibaut Girka
7db7cb31b1
Add tooltips to status icons
2019-07-17 21:35:34 +02:00
Eugen Rochko
e91bf82083
[Glitch] Add option to disable real-time updates in web UI
...
Port 729723f857
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka
1b074d2a50
Add link to edit each listed filter
2019-07-15 00:48:28 +02:00
Thibaut Girka
f7fa11c4cd
Make some strings translatable
2019-07-15 00:48:28 +02:00
Thibaut Girka
fc8577cf2b
Minor refactoring
2019-07-15 00:48:28 +02:00
Thibaut Girka
707b8d7d75
Move the “Show why” button inline
2019-07-15 00:48:28 +02:00
Thibaut Girka
85f3bc1ab3
Implement feature to add filtered phrases to content warnings
2019-07-15 00:48:28 +02:00
Thibaut Girka
42b59b730b
Implement option to completely hide filtered toots
2019-07-15 00:48:28 +02:00
Thibaut Girka
16b79a6237
Add options to configure filtering behavior
2019-07-15 00:48:28 +02:00
Thibaut Girka
bde7a415b9
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
e9fac2def9
Do not keep polls pre-filled in thread mode
2019-07-15 00:41:09 +02:00
Thibaut Girka
e0bfa685c6
Fix error boundary CSS
2019-07-15 00:28:31 +02:00
Thibaut Girka
0baaee495f
Fix report dialog crashing when a toot gets deleted
...
Fixes #1155
2019-07-10 19:53:31 +02:00
ThibG
64f3bc77ac
[Glitch] Only scroll to the compose form if it's not horizontally in the viewport
...
Port c07cca4727
to glitch-soc
2019-07-07 14:03:12 +02:00
ThibG
47c30be8d8
[Glitch] Memoize ancestorIds and descendantIds in detailed status view
...
Port 99924f282f
to glitch-soc
2019-07-04 16:26:17 +02:00
ThibG
894d82a325
[Glitch] When deleting & redrafting a poll, fill in closest expires_in
...
Port dc88d226e1
to glitch-soc
2019-07-04 16:24:48 +02:00
Thibaut Girka
c94966891a
Minor cleanup and maybe minor performance improvements
2019-07-01 19:31:21 +02:00
Thibaut Girka
9d6b46fe34
Minor optimization regarding regexp filtering in timelines
2019-07-01 19:31:21 +02:00
Thibaut Girka
c49f7d5d16
Use strict equality rather than Immutable.is as the compared props are values
2019-07-01 19:31:10 +02:00
Thibaut Girka
82a76f03a4
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
c0b5ee315d
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
0ef6a114e7
Fix error boundary DOM
2019-07-01 19:30:59 +02:00
Thibaut Girka
82cd138c89
Fix some React warnings
2019-07-01 19:30:59 +02:00
Thibaut Girka
b6e9b7d1cd
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible
...
Partial port of ccc7fe3e1d
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
cbb41e2dad
[Glitch] Optimize makeGetStatus
...
Port f895bf1984
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:06:04 +02:00
ThibG
46829e009e
[Glitch] Use ScrollToOptions for smooth scrolling if supported
...
Port 84ff393842
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-30 11:01:01 +02:00
Eugen Rochko
662252c8f7
[Glitch] Add categories for custom emojis
...
Port front-end changes from e64e6a03dd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-28 21:42:37 +02:00
ThibG
4d964398de
[Glitch] Fix swiping columns on mobile sometimes failing
...
Port 072158ee97
to glitch-soc
2019-06-28 21:38:34 +02:00
ThibG
43698e08ca
[Glitch] Add message telling FTS is disabled when no toot can be found because of this
...
Port ca8944728f
to glitch-soc
2019-06-28 18:54:56 +02:00
Thibaut Girka
6ad870a410
Change search components classes and styling to match upstream
2019-06-28 11:13:41 +02:00
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fd
to glitch-soc
2019-06-26 23:19:26 +02:00
PatOnTheBack
383136d9bb
[Glitch] Removed extra pipes from regex.
...
Port 5b20284f6f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-26 23:19:26 +02:00
ThibG
5c3171e8ea
[Glitch] Apply filters to poll options in WebUI
...
Port 47ef4a6c7a
to glitch-soc
2019-06-26 23:19:26 +02:00
Thibaut Girka
9ef25877df
Scroll to compose form rather than reply indicator on focus
2019-06-26 10:46:11 +02:00
Thibaut Girka
598cdc9542
Use a different icon for audio attachments
2019-06-24 16:16:16 +02:00
Eugen Rochko
d7eb580053
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from 49ebda4d49
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Eugen Rochko
967456b6a9
[Glitch] Add audio uploads
...
Port front-end changes from f7f23b4a19
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Thibaut Girka
38d2882447
Fix NavigationBar styling
2019-06-20 19:19:46 +02:00
Thibaut Girka
bb9459774d
Add NavigationBar to getting started column in single-column mode
...
Fixes #1131
2019-06-20 19:19:46 +02:00
ThibG
3771a993b7
[Glitch] Completely hide toots matched by “irreversible” filters even if they got to the client
2019-06-19 19:16:13 +02:00
Thibaut Girka
f4b008906d
Change preferences link in local settings modal from sliders to cog for consistency
2019-06-19 15:19:23 +02:00
Thibaut Girka
ed2f0f6152
Fix bottom margin of lists in toots
2019-06-19 15:19:03 +02:00
Thibaut Girka
a06e7bc3fb
Change plaintext icon in composer options
2019-06-19 07:03:17 +02:00
Thibaut Girka
f57a0f89a8
Fix styling of poll options on public pages in glitch flavour
2019-06-16 21:33:27 +02:00
Thibaut Girka
d3aaacb6d4
Do not scroll in the compose panel on single-column
2019-06-16 19:13:22 +02:00