Commit Graph

1621 Commits

Author SHA1 Message Date
ThibG
5971ea7466 [Glitch] Add public blocks to /about/blocks
Port SCSS changes from 9b6a5ed109 to glitch-soc

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

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

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:49:39 +02:00
Thibaut Girka
b859eb0017 Honor system_emoji_font in the Emoji Picker 2019-08-12 23:01:37 +02:00
Thibaut Girka
597ea5687a Add option to disable emoji replacements
Fixes #647

The option is found in `/settings` (because that was easier to write it this
way) but only affects the glitch-soc front-end.
2019-08-12 23:01:37 +02:00
Eugen Rochko
42588ed460 [Glitch] Fix "cancel follow request" button having unreadable text in web UI
Port e823b49214 to glitch-soc

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

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-07 15:35:44 +02:00
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
Thibaut Girka
a29ab6f1bd Fix composer buttons overflowing the composer box in single-column 2019-06-16 15:55:55 +02:00
Eugen Rochko
b6f76d1306 [Glitch] Change full logo to use primary text color of the given theme
Port 20dda5cca0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-15 18:49:44 +02:00
Thibaut Girka
e433386545 Fix replying not automatically switching to compose form on mobile 2019-06-14 20:37:54 +02:00
ThibG
7b68e1725c [Glitch] List attachments in boost modal
Port dd45c63921 to glitch-soc
2019-06-13 22:28:51 +02:00
ThibG
80849812d2 [Glitch] Fix ordering of keyboard access between CW field, textarea and emoji picker
Port b4d67fe57a to glitch-soc
2019-06-13 22:15:31 +02:00
ThibG
d1edbfaed3 [Glitch] Only show profile directory link when it's enabled
Port 1b4dcc3f78 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
ThibG
983cbd558d [Glitch] Fix border-bottom of active tab bars
Port faafc3ae25 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
0f41be5581 Fix notification badge 2019-06-13 22:15:31 +02:00
Thibaut Girka
0ccc06b87f Fix multiple-column padding 2019-06-13 22:15:31 +02:00
Thibaut Girka
a773d02946 Add hints to make local settings about layout more explicit 2019-06-13 22:15:31 +02:00
Thibaut Girka
44b1a39682 Replace link to favourites with link to bookmarks 2019-06-13 22:15:31 +02:00
Thibaut Girka
9400ec43cc Fix navigation panel 2019-06-13 22:15:31 +02:00
Thibaut Girka
127ead34c4 Restore navigation bar position glitch-soc setting 2019-06-13 22:15:31 +02:00
Thibaut Girka
b191861e15 Use forceSingleColumn only in automatic layout mode 2019-06-13 22:15:31 +02:00
Thibaut Girka
47307e6c13 Default to multiple column mode if backend doesn't have appropriate seting 2019-06-13 22:15:31 +02:00
Thibaut Girka
b222d1ae26 Fix and refactor SCSS 2019-06-13 22:15:31 +02:00
Thibaut Girka
7fd8797d20 Add app settings link to single-column mode 2019-06-13 22:15:31 +02:00
Eugen Rochko
1b130f964f [Glitch] Fix position of search icon
Port 9add88a920 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
362f3973be [Glitch] Fix some React warnings
Port cc8f6b3cda to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
3485acefed [Glitch] Fix margins on profile metadata in single column mode
Port ed19f33440 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Wenceslao Páez Chávez
867d1233c7 [Glitch] Fix overlap of emoji button on search popup
Port fe3bf3b0fc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Takeshi Umeda
8f924eb961 [Glitch] Fix emoji picker being always displayed
Port c402c291f4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
a5398c3df8 [Glitch] Add profile directory link to single column navigation panel
Port 6077eca240 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Takeshi Umeda
1329308bc7 [Glitch] Improvement variable height in single column layout
Port d93b82af87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Hanage999
02d6187894 [Glitch] Center 2-columns layout without side effect
Port 7c1ca0c37b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
763735f92e [Glitch] Refactor footers in web UI into a single component
Port 451e5980b6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
abcang
9bb4f796db [Glitch] Display notifications count on a new single column
Port 3593b85423 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Hanage999
c095eed121 [Glitch] Fix wrong redirect from getting started to home in advanced Web UI
Port 4a818ac2de to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
ff88387a4a [Glitch] Improvements to the single column layout
Port 0e445ebb13 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
d99a661f08 [Glitch] Add responsive panels to the single-column layout
Port 1e5532e693 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
0bd9f23e6d [Glitch] Various improvements to single column layout
Port 84dc21d55d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
610b4b44c4 [Glitch] Add single-column mode
Port 9ddeb30f90 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
fe5c4f976c Fix clicking on the elefriend 2019-06-13 13:49:05 +02:00
Thibaut Girka
32bdff09c1 Properly handle unboosting statuses from detailed view
Fixes #1106
2019-06-12 10:12:51 +02:00
Eugen Rochko
82899b3d2e [Glitch] Fix list not being automatically unpinned when it returns 404 in web UI
Port 92b572e2a3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-11 21:57:32 +02:00
Eugen Rochko
fc6d27daf3 [Glitch] Fix RTL layout not being RTL within the columns area
Port 25f93f4097 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-10 18:59:59 +02:00
Eugen Rochko
59d214e54b [Glitch] Change preferences page into appearance, notifications, and other
Port SCSS changes from 1db4117030 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-10 18:59:59 +02:00
Thibaut Girka
b45f555a0c Minor cleanup 2019-06-10 16:24:09 +02:00
Thibaut Girka
b551d8aa53 Fix unboost confirmation dialog not showing up on detailed statuses 2019-06-10 16:24:09 +02:00
Thibaut Girka
ccfb48d3eb Add option to display a warning before boosting toots lacking media descriptions 2019-06-10 16:24:09 +02:00
Thibaut Girka
d61a6271c6 Add DM conversations mode similar to upstream 2019-06-10 16:23:42 +02:00
Eugen Rochko
aec3fa35fd [Glitch] Fix not being able to directly switch between list timelines in web UI
Port 5bfd802c57 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-07 17:39:46 +02:00
ThibG
417989ae34 [Glitch] Fix “mark as sensitive” not being used in delete & redraft
Port 2657765d2a to glitch-soc
2019-06-07 17:39:46 +02:00
Jeong Arm
b32a62fe95 [Glitch] Scroll to compose form when focus
Port 8f3c32e29c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-07 17:39:46 +02:00
Thibaut Girka
01aae33a5f [Glitch] Fix refreshing featured toots when the new collection is empty
Port d34a3a2cc7 to glitch-soc
2019-06-07 17:05:32 +02:00
Thibaut Girka
8360019896 Fix display of alt-text when a media attachment is not available 2019-06-07 16:39:07 +02:00
Thibaut Girka
a7f6e72b30 Fix CW field automatically getting the focus when it is always enabled 2019-06-06 13:26:42 +02:00
Jeong Arm
8eb7c3304e [Glitch] Fix profile picture preview
Port e13e4b28db to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-03 20:20:33 +02:00
Thibaut Girka
5b92910664 Fix expanding status from menu modal in glitch-soc
Fixes #1085
2019-06-02 14:11:32 +02:00
slice
22130a0947 Fix incorrect PropType in Glitch AutosuggestInput 2019-05-30 09:04:00 +02:00
slice
e04724296b Remove isRequired from Glitch ReplyIndicator status
This can be null under normal circumstances, which isRequired doesn't
like.
2019-05-30 09:04:00 +02:00
Eugen Rochko
56d8faab18 [Glitch] Use <use /> to render transparent SVG logo instead of inserting it
Port SCSS changes from 8d5dcc9301 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-28 17:50:21 +02:00
Thibaut Girka
6d60701bfa Fix video player regressions introduced by blurhash merge 2019-05-27 19:43:15 +02:00
Thibaut Girka
b4d4138cf9 [Glitch] Add keyboard shortcut to hide/show media
Port a472190729 and 988342a56c to glitch-soc
2019-05-27 19:43:15 +02:00
りんすき
fdb3952b20 [Glitch] Fix composer route opening when not needed
Port c1e77b56a9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-26 13:50:15 +02:00
Thibaut Girka
7fb76999af Use Sec-WebSocket-Protocol instead of query string to pass WebSocket token
Inspired by https://github.com/kubevirt/kubevirt/issues/1242
2019-05-24 16:08:09 +02:00
nzws
a1143a19c0 [Glitch] Fix stacking order of emoji picker
Port 8a378d4c3d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-23 19:16:42 +02:00
Thibaut Girka
0744d6e571 Make headers font size proportional 2019-05-23 12:41:38 +02:00
Thibaut Girka
4fbce23992 Refactor contentType selection in glitch composer 2019-05-20 10:27:31 +02:00
Thibaut Girka
2cd7bfac23 Use glitch-soc's poll component instead of upstream's 2019-05-19 23:24:53 +02:00
Thibaut Girka
56245a2a72 Export fallback content type and use it as default in WebUI 2019-05-17 23:51:14 +02:00
Thibaut Girka
9df1ef87c2 Hide content-type dropdown by default 2019-05-17 23:51:14 +02:00
Haelwenn (lanodan) Monnier
c2fa36bbae Content-Type Dropdown: use the selected option icon for the menu
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17 23:51:14 +02:00
Thibaut Girka
93d98f62a8 Support proper content-type in Delete & Redraft 2019-05-17 23:51:14 +02:00
KokaKiwi
f34a402a94 Add status content type dropdown to compose box.
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17 23:51:14 +02:00
Thibaut Girka
4bab7d7640 Fix rich text style in reply indicator 2019-05-13 17:13:02 +02:00
Thibaut Girka
87d16698c2 Fix rich text styling on public pages 2019-05-13 17:13:02 +02:00
Thibaut Girka
cd534830ad Fix text color of some formatted elements in notifications 2019-05-12 19:23:32 +02:00
ThibG
93085c273c [Glitch] Use raw content if available on Delete & Redraft
Port front-end changes from 6d44f2441b to glitch-soc
2019-05-11 21:46:23 +02:00
Thibaut Girka
3ea5c045d7 Use a checkbox for the “Mark media as sensitive” composer button
Fixes #1039
2019-05-11 12:35:38 +02:00
ThibG
fe00f7a7e4
Merge pull request #1043 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-05-11 12:35:25 +02:00
Maciek Baron
14d855c429 [Glitch] Improve poll link accessibility
Port 0402c52f28 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-10 19:05:57 +02:00
nzws
78ff7e3821 [Glitch] Fix some colors of high contrast theme
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-10 18:59:12 +02:00
Aurélien Reeves
96f0747afe [Glitch] Add confirm modal for unboosting toots
Port fe8a8f779e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-10 18:56:01 +02:00
Thibaut Girka
d4d4e84324 Fix media description confirmation modal
Fixes #1040
2019-05-10 11:49:00 +02:00
Thibaut Girka
3191c3b349 Fix tabs bar on mobile
Fixes #1037
2019-05-08 00:32:53 +02:00
Thibaut Girka
2c767f44bf Fix front-end crash when a video has a blurhash and is hidden behind a CW 2019-05-07 22:33:37 +02:00
Thibaut Girka
89d2859296 Fix content warning button displaying a link icon when no status card is set 2019-05-05 21:47:05 +02:00
Kirishima21
8383222026 fix pinned columns ’s Media-only button
Media-only toggles could not be used on pinned columns.
The commit fixes this problem.
2019-05-05 20:54:21 +02:00
Baptiste Gelez
eef8802325 [Glitch] Make sure the instance banner is never cropped
Port 21209c2b52 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-05 12:29:06 +02:00
Thibaut Girka
f2cf8144b4 Minor style fixes 2019-05-04 23:05:43 +02:00
Eugen Rochko
9b1ef58c95 [Glitch] Change font weight of sensitive button to 500
Port 63b1388fef to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 20:41:21 +02:00
Eugen Rochko
f59973cc85 [Glitch] Make the "mark media as sensitive" button more obvious in web UI
Port 05ef3462ba to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 20:41:21 +02:00
Thibaut Girka
b1ab4d5ebe Add visibility icon back in media gallery 2019-05-04 20:06:17 +02:00
Thibaut Girka
cbda1b8b66 Add back description on hover 2019-05-04 20:03:37 +02:00
ThibG
8e221cd22b [Glitch] Fix transition: all
Port 7aa749ab46 to glitch-soc
2019-05-04 19:53:09 +02:00
ThibG
b7f69beebe [Glitch] Make the cursor icon consistant across media types in account media gallery 2019-05-04 19:16:51 +02:00
Eugen Rochko
bc97fd641f [Glitch] Add button to view context to media modal
Port eb63217210 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 19:10:24 +02:00
Eugen Rochko
209c080280 [Glitch] Fix alignment of items in the account gallery in web UI and load more per page
Port 967e419f8f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:59:11 +02:00
Eugen Rochko
a5da59f140 [Glitch] Change account gallery in web UI
Port 3f143606fa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:54:57 +02:00
Thibaut Girka
373dd1fdf1 Minor CSS fixes 2019-05-04 18:18:15 +02:00
Eugen Rochko
ccf4f3240a [Glitch] Add blurhash
Port front-end changes from fba96c808d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00
ThibG
1149ddd3da Fix glitch SCSS for links in error messages in admin interface
Port SCSS changes from 011b032300
2019-05-04 16:43:08 +02:00
Thibaut Girka
9f25ab9792 Fix polls icon not showing in CW button in detailed statuses 2019-05-03 21:55:50 +02:00
Thibaut Girka
7617f78359 Fix crash in onboarding modal
Fixes #1027
2019-05-03 19:24:54 +02:00
Thibaut Girka
cc5a81b7d8 Make hi-color privacy icons opt-in instead of opt-out 2019-05-01 20:23:25 +02:00
Thibaut Girka
ac54292d69 Add high color privacy icons
Fixes #1015
2019-05-01 16:38:01 +02:00
Thibaut Girka
d4c95e6a8a When selecting a toot via keyboard, ensure it is scrolled into view
Fixes detailed status column
2019-04-29 20:28:38 +02:00
Thibaut Girka
3e095cab83 Add support for missing formatting tags 2019-04-29 19:31:09 +02:00
Thibaut Girka
67fb9a8679 Add keyboard shortcut to collapse/uncollapse toots 2019-04-28 20:23:04 +02:00
Thibaut Girka
f3acf8f414 Add hotkey for bookmarking a toot 2019-04-28 20:23:04 +02:00
Thibaut Girka
cd9a284702 Fix regression with textarea's caret position when selecting a suggestion 2019-04-27 21:40:42 +02:00
Thibaut Girka
aa1832ac4d Hide suggestions by default
They will be enabled if the input has focus
2019-04-26 22:38:03 +02:00
Thibaut Girka
fddd8251dd Attempt to fix CSS 2019-04-26 22:38:03 +02:00
Thibaut Girka
d7e4be285a Add emoji suggestion to poll options 2019-04-26 22:38:03 +02:00
Thibaut Girka
df52004fe6 Add suggestions in CW field 2019-04-26 22:38:03 +02:00
Thibaut Girka
3a671470ec Refactor selectComposeSuggestion so that different paths can be updated 2019-04-26 22:38:03 +02:00
Thibaut Girka
1c0402c103 Do not ask to register web intent handler 2019-04-24 23:05:11 +02:00
Thibaut Girka
b13c90f3e3 Fix color of muted statuses content not wrapped in a p tag 2019-04-24 22:40:17 +02:00
Thibaut Girka
e4b65e6349 Redesign blockquote styling 2019-04-24 22:40:17 +02:00
Thibaut Girka
8753e5317f Better distinguish titles from text 2019-04-24 22:40:17 +02:00
Thibaut Girka
3631c3314a Remove extra margin in paragraphs inside blockquotes 2019-04-24 22:40:17 +02:00
Thibaut Girka
9b86707b1e Make bold text bolder 2019-04-24 22:40:17 +02:00
Thibaut Girka
5a8495dabe Remove margins around p tags in lists 2019-04-24 22:40:17 +02:00
Thibaut Girka
ef249a2718 Rename status__text to status__content__text for consistency with upstream 2019-04-24 22:40:17 +02:00
Thibaut Girka
adbb174c9c Fix status header display in toot mobile menu 2019-04-24 20:21:19 +02:00
Thibaut Girka
ef1504d625 Fix upload progressbar when image resizing is involved 2019-04-24 20:19:23 +02:00
Thibaut Girka
ffab9d626a Hide media upload form if no media are attached 2019-04-24 19:47:11 +02:00
Thibaut Girka
416aa832e5 Fix file upload 2019-04-24 07:57:28 +02:00
Thibaut Girka
3d722b0c4e Fix settings modal 2019-04-23 18:31:13 +02:00
Thibaut Girka
27e8354914 Add support for lists in statuses 2019-04-22 23:07:14 +02:00
Thibaut Girka
659f972bed Do not switch to italic for status media buttons 2019-04-22 23:07:14 +02:00
Thibaut Girka
2e3640ecbb Accept richer text from remote statuses
Support abbr, del, pre, blockquote, code, strong, b, em, i, and h1…h5
HTML elements in remote statuses, add corresponding CSS.
2019-04-22 23:07:14 +02:00
kedama
039e35560c [Glitch] Fix modal items cannot scroll on touch devices
Port d763d39d26 to glitch-soc
2019-04-22 22:57:39 +02:00
Thibaut Girka
c3fa4e8e07 Fix ReferenceError in dropdown 2019-04-22 20:15:47 +02:00
Thibaut Girka
d779ec1f0e Fix broken reference to handleSubmit 2019-04-22 20:15:47 +02:00
Thibaut Girka
e949861176 Cleanup 2019-04-22 20:15:47 +02:00
Thibaut Girka
faff152ae5 Move ComposerPublisher to Compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
df951c319c Add OptionsContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
14028655df Move composer Dropdown from features/composer to features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
4c6221929f Move ComposerTextareaIcons to TextareaIcons 2019-04-22 20:15:47 +02:00
Thibaut Girka
47faf47ed5 ComposerTextarea → AutosuggestTextarea 2019-04-22 20:15:47 +02:00
Thibaut Girka
a243567a3e ComposerUploadForm → UploadForm + UploadFormContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
c5f49a92dc Move PollForm from features/composer to features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
f1a22e33e2 Inline spoiler input 2019-04-22 20:15:47 +02:00
Thibaut Girka
8fd599fb40 ComposerReply → ReplyIndicator 2019-04-22 20:15:47 +02:00
Thibaut Girka
f72af5794d Refactor Compose*Warning → ContainerWarning
Regression: only one warning at a time
2019-04-22 20:15:47 +02:00
Thibaut Girka
1bc4b8a0a5 features/composer/index.js → ComposeForm 2019-04-22 20:15:47 +02:00
Thibaut Girka
281a82d878 DrawerHeader → Header + HeaderContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
9a2f10fe8b DrawerAccount → NavigationBar + NavigationContainer 2019-04-22 20:15:47 +02:00
Eugen Rochko
9b9816aba6 [Glitch] Show suggested follows on search screen in mobile layout
Port ad510db3a1 to glitch-soc
2019-04-22 20:15:47 +02:00
Thibaut Girka
149aa07409 DrawerResults → SearchResults + SearchResultsContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
67771e6d65 Rework DrawerResults to make them closer to upstream 2019-04-22 20:15:47 +02:00
Thibaut Girka
ab3e8fc542 Move DrawerSearch to Search + SearchContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
c92ab35b19 Inline DrawerSearchPopout in DrawerSearch 2019-04-22 20:15:47 +02:00
Thibaut Girka
c19b983986 Refactor a bit DrawerSearch to make it closer to upstream 2019-04-22 20:15:47 +02:00
Thibaut Girka
eed2c9dd44 Rename flavours/glitch/features/drawer to flavours/glitch/features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
8b7b65e995 [Glitch] Allow modal secondary button to shrink and allow wider confirmation modals
Port 7f75792bf3 to glitch-soc
2019-04-19 10:48:54 +02:00
Thibaut Girka
e3c1472040 Shift+click on column Back button to return to last pinable column 2019-04-17 18:40:40 +02:00
Thibaut Girka
8d57c0e70e When selecting a toot via keyboard, ensure it is scrolled into view 2019-04-17 10:07:33 +02:00
Thibaut Girka
fbec0edf08 Fix opening/closing gifv sometimes making the timeline scroll 2019-04-16 22:20:23 +02:00
Eugen Rochko
92e1950194 [Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
Port 56f29c38b6 to glitch-soc
2019-04-10 09:33:47 +02:00
Eugen Rochko
fa4b51a110 [Glitch] Add "why do you want to join" field to invite requests
Port SCSS changes from 8b69a66380 to glitch-soc
2019-04-10 09:22:45 +02:00
Thibaut Girka
cb410f80a4 Add column title to “Favourited by” and “Boosted by” columns 2019-04-08 21:59:30 +02:00
ashleyhull-versent
ac071d65de [Glitch] Duplicate values
Port bd365cc38b to glitch-soc
2019-04-08 16:22:20 +02:00
Eugen Rochko
df42de68e5 [Glitch] Port SCSS changes from "Improve blocked view of profiles"
Port public pages SCSS changes from 67b3b62b98
2019-04-08 16:20:46 +02:00
ThibG
30500dff7c
Merge pull request #981 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-04-04 15:13:18 +02:00
ThibG
be6885eb93 [Glitch] Update poll remaining time just like with status timestamps
Port daab45d4ae to glitch-soc
2019-04-04 14:58:11 +02:00
Thibaut Girka
14bad3f472 Do not handle clicks in detailed status content 2019-04-03 19:58:18 +02:00
Eugen Rochko
b9b472d519 [Glitch] Fix transparent avatars showing underlying elements in avatar stack and profile
Port 79227d153b to glitch-soc
2019-03-30 18:19:40 +01:00
Eugen Rochko
59551ece31 [Glitch] Fix search in web UI not setting a limit, restore limit of 10
Port 379c3e237f to glitch-soc, but changing
the 5 limit to 10, since that's what we had previously
2019-03-30 12:56:34 +01:00
Alex Gessner
b6fa500806 [Glitch] squashed identity proof updates
Port JS from 69141dca26 to glitch-soc
2019-03-29 10:13:44 +01:00
Thibaut Girka
a74d300b68 Fix background color transition in destructive buttons 2019-03-28 20:45:10 +01:00
ThibG
f4b038f779 [Glitch] Fix opacity of relationship tags
Port 58667072d9 to glitch-soc
2019-03-28 19:56:40 +01:00
Thibaut Girka
0318b23395 Fix left border of profile navigation tab 2019-03-28 19:56:40 +01:00
Thibaut Girka
ab39ffb175 Add fa-info-circle to disclaimer 2019-03-28 19:56:40 +01:00
Thibaut Girka
6c58367f36 Fix double border for account disclaimer 2019-03-28 19:56:40 +01:00
slice
6fdd829d8c [Glitch] Add rel='noopener' to redesigned profile column header avatar link
Port 73f5711fb8 to glitch-soc
2019-03-28 19:56:40 +01:00
ThibG
841d2c9f23 [Glitch] Move the account dropdown menubar to the right, make sure it doesn't move
Port a91acf79b5 to glitch-soc
2019-03-28 19:56:40 +01:00
Aditoo17
37ad0478ef [Glitch] Make clicking on avatar open public profile in new tab
Port 6f6abc369f to glitch-soc
2019-03-28 19:56:40 +01:00
mayaeh
cf3f063e10 [Glitch] Fix menu items that don't action
Port 186f7bcbb6 to glitch-soc
2019-03-28 19:56:40 +01:00
Eugen Rochko
00f251b8fe [Glitch] Redesign profile column in web UI to match design on public pages
Port a96181f16f to glitch-soc
2019-03-28 19:56:40 +01:00
Thibaut Girka
abb53fa338 Fix centering on public pages 2019-03-28 19:56:03 +01:00
Thibaut Girka
60fc04756a Fix padding and centering of display names 2019-03-28 19:56:03 +01:00
Thibaut Girka
58da5e93c0 Port search results styling to glitch-soc 2019-03-28 19:56:03 +01:00
Thibaut Girka
355d384d8d Revert "[Glitch] fix: update to emoji-mart 2.10.0"
This reverts commit 49bea8c46b.
2019-03-27 14:04:52 +01:00
ThibG
9e80b34a95 [Glitch] Add a “Block & Report” button to the block confirmation dialog
Port 6df4a82969 to glitch-soc
2019-03-26 17:44:00 +01:00
Hinaloe
872eab5784 [Glitch] Do not set CSRF Token when no csrf header
Port 68f2211f00 to glitch-soc
2019-03-26 16:12:46 +01:00
Eugen Rochko
89a0fa3053 [Glitch] Change icons of features on admin dashboard to remove bias
Port SCSS changes from e117964325 to glitch-soc
2019-03-26 16:11:30 +01:00
Eugen Rochko
614bd3f8d4 [Glitch] Add lang attribute to statuses in web UI
Port JS changes from e6cfa7ab89 to glitch-soc
2019-03-26 16:09:59 +01:00
ThibG
d680c61993 [Glitch] Do not empty timeline of blocked users on block
Port 94aceb85ad to glitch-soc
2019-03-26 16:07:47 +01:00
Eugen Rochko
648cf8bfd5 [Glitch] Add custom closed registrations message to landing page when set
Port SCSS changes from 55a9658ad8 to glitch-soc
2019-03-26 16:01:59 +01:00
ThibG
8b5b686f08 [Glitch] Add support for custom emojis in poll options
Fixes #956

Port 80f0910e21 to glitch-soc
2019-03-20 17:34:32 +01:00
ThibG
803c350ef5 [Glitch] Reduce padding around logo on landing page
Port 158c31b9df to glitch-soc
2019-03-20 14:54:52 +01:00
Eugen Rochko
4d01d9c46f [Glitch] Add Keybase integration
Port SCSS changes from 9c4cbdbafb to glitch-soc
2019-03-20 14:54:19 +01:00
Eugen Rochko
2a93c88015 [Glitch] Disable real-time updates on public pages to improve readability
Port 42c581c458 to glitch-soc
2019-03-20 14:51:25 +01:00
Eugen Rochko
841b920af5 [Glitch] Fix relationship manager on narrow screens
Port 7130d6e512 to glitch-soc
2019-03-18 18:07:03 +01:00
ThibG
200cd3b5a7 [Glitch] Save quick filter settings when selecting a different filter
Port 7477db7268 to glitch-soc
2019-03-18 18:06:26 +01:00
Nolan Lawson
49bea8c46b [Glitch] fix: update to emoji-mart 2.10.0
Port db06b25376 to glitch-soc
2019-03-16 21:39:13 +01:00
Eugen Rochko
e900b03e38 [Glitch] Fix scrollbar styles on compose textarea, small bugs
Port 6a3f08661f to glitch-soc
2019-03-16 21:07:50 +01:00
Thibaut Girka
0fbe90e2d3 Fix settings/flavours
Update theming system to use new paths for media files
2019-03-16 16:21:20 +01:00
Eugen Rochko
47c8707f01 [Glitch] Add relationship manager UI
Port SCSS changes from 1c113fd72d to glitch-soc
2019-03-16 14:36:29 +01:00
Eugen Rochko
338f1327e9 [Glitch] Admission-based registrations mode
Port SCSS changes from 51e154f5e8 to glitch-soc
2019-03-14 17:54:44 +01:00
Eugen Rochko
d8b43f4bd6 [Glitch] Improve invites list with click-to-copy inputs
Port 6e3936aa6f to glitch-soc
2019-03-14 17:44:39 +01:00
ThibG
931ecc8824 [Glitch] Add UI for enabling/disabling poll notifications 2019-03-13 22:21:52 +01:00
Eugen Rochko
387f253f31 [Glitch] Add muted style for polls in web UI
Port 5b50c2cbaa to glitch-soc
2019-03-13 16:02:36 +01:00
Eugen Rochko
458db4333a [Glitch] Fix public timeline page not paginating correctly
Port da45b8b4c9 to glitch-soc
2019-03-13 15:56:51 +01:00
Eugen Rochko
bbb9ff0e84 [Glitch] Redesign landing page
Port 65fffeac3f to glitch-soc
2019-03-13 15:53:00 +01:00
Thibaut Girka
a1c6e6de1b Remove leftover console.log 2019-03-11 14:39:45 +01:00
Thibaut Girka
4849eb8e7f Make clicking on the account and status column headers scroll to top 2019-03-11 14:19:16 +01:00
ThibG
45e4c90a23
Merge pull request #953 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-03-11 13:23:54 +01:00
Thibaut Girka
9c620fc5c8 [Glitch] Add support for poll ending notifications
Port front-end parts of 3a92885a86 to glitch-soc
2019-03-11 13:08:21 +01:00
ash lea
f534f4869e add local setting to auto reveal media behind cw 2019-03-11 12:14:45 +01:00
Kirishima21
1bf035fb67 fix poll fotter layout
画面の幅が充分でないときに
表示外にまでボタンが拡大されてしまわないように修正。
2019-03-11 12:09:30 +01:00
Eugen Rochko
ca45198ccb [Glitch] Fix NaN in Poll component
Port 75cb93676b to glitch-soc
2019-03-08 01:01:19 +01:00
Eugen Rochko
6fe48dd050 [Glitch] Fix public timelines being broken by new toots when they are not mounted
Port be1c634b2b to glitch-soc
2019-03-08 01:00:14 +01:00
Thibaut Girka
84c807a0dc Allow setting whether this is a single choice poll or multiple choices one 2019-03-06 23:56:53 +01:00
Thibaut Girka
cb6e351f4d Disable file upload when there is a poll 2019-03-06 23:56:53 +01:00
Thibaut Girka
235be596bc Use server-provided poll limits instead of hardcoded ones
Also does not enable polls if no limits are provided by the server
2019-03-06 23:56:53 +01:00
Thibaut Girka
8fe86cebaa [Glitch] Port polls creation UI from upstream 2019-03-06 23:56:53 +01:00
ThibG
6e295beab2 [Glitch] Disable the underlying button element when an ItemButton is disabled
Port b3668a79ec to glitch-soc
2019-03-06 22:40:17 +01:00
Thibaut Girka
1bb23100b1 Add an icon to highlight polls behind a Content Warning 2019-03-06 13:01:27 +01:00
Eugen Rochko
94a0149ff3 Fix poll options not rendering text after vote/refresh
Port fd128b9c7a to glitch-soc
2019-03-06 11:44:27 +01:00
Eugen Rochko
94f1a751bf Avoid line breaks in poll options
Port 57643557b6 to glitch-soc
2019-03-06 11:43:14 +01:00
Eugen Rochko
7f32d675b0 Render unicode emoji in polls using emoji pack
Port 4407f07014 to glitch-soc
2019-03-06 11:42:25 +01:00
Thibaut Girka
e80fabfd84 Fix toots opening in dynamic column when trying to interact with them
This fixes inline preview cards and polls, preventing them from opening
the toot in detailed view when clicking on an interactive element.
2019-03-06 00:20:43 +01:00
Thibaut Girka
ff827c1f38 [Glitch] Perform deep comparison for card data when receiving new props
Prevents embedded players from resetting when interacting with the toot
2019-03-05 23:22:29 +01:00
Eugen Rochko
ba6ca3cd69 Fix various issues in polls
Port front-end changes from a198add83b to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
7f27ee35a8 Display closed polls as such
Port cda6ece760 to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
530151466e Fixes to the polls UI
Port 4ced609497 to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
f14eda23e9 Fix web UI crash on page load when detailed status has a poll
Port 5dfa433698 to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
2156765448 Insert polls in redux stores before statuses so it avoids crashes
Port 26c56d0c10 to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
8d70a8a19b Add polls
Port front-end parts of 230a012f00 to glitch-soc
2019-03-05 21:35:03 +01:00
Thibaut Girka
0d19fcc2fb Port upstream refactoring of reducers and actions
Also includes 9e45b051cf
2019-03-05 21:35:03 +01:00
Eugen Rochko
cce1c3252f Fix home timeline perpetually reloading when empty
Port 3e0ed36e8e to glitch-soc
2019-03-05 19:30:11 +01:00
Mélanie Chauvel (ariasuni)
2a4ce7458a [Glitch] Fix errors found by eslint
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-01 14:01:51 +01:00
Mélanie Chauvel (ariasuni)
282ac61500 [Glitch] Make the column header of profile view look like the others, too
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-01 14:01:51 +01:00
Mélanie Chauvel (ariasuni)
12a0dd71be [Glitch] Make the column header of toot/thread view look like the others
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-03-01 14:01:51 +01:00
Thibaut Girka
76ed481aa7 Port public page mastodon-light fixes from upstream 2019-02-27 16:24:57 +01:00
Eugen Rochko
1e06ca1c0a Fix web UI not removing notifications after block (#10108)
Regression from #7311
2019-02-26 19:33:59 +01:00
abcang
7209a8b32f Keep notification when muting_notifications is true (#7311)
* Keep notification when muting_notifications is true

* Retrun mute object

* Fix test
2019-02-26 19:33:42 +01:00
Thibaut Girka
d82de360c1 Fix non-numeric account identifiers leading to /web/accounts/NaN
I'm not sure what purpose these “+” served?!
2019-02-22 17:52:21 +01:00
Thibaut Girka
896beb16c5 [Glitch] Internationalize unexpected error message
Port 4e71b104e6 to glitch-soc,
fixing a crash in the process
2019-02-18 19:49:06 +01:00
Eugen Rochko
be9352266c Fix hashtag column not subscribing to stream on mount (#10040)
Fix #9895
2019-02-18 18:16:35 +01:00
Thibaut Girka
d974988541 Fix video player width not being updated to fit container width 2019-02-18 10:44:37 +01:00
Ben Lubar
fa9635c741 Allow multi-line image descriptions. (Glitch) 2019-02-17 15:19:12 +01:00
Thibaut Girka
e31fc2b458 [Glitch] Fix crash on public hashtag pages when streaming fails
Port 041ff5fa9a to glitch-soc
2019-02-17 14:28:25 +01:00
Thibaut Girka
91c9cb6022 [Glitch] Change buttons on timeline preview to open the interaction dialog
Port 71e28ba399 to glitch-soc
2019-02-17 12:39:44 +01:00
Thibaut Girka
9a47f2cbdf Port upstream's javascript to the error page 2019-02-17 12:27:01 +01:00
Eugen Rochko
59fa38a4f6 Fix style regressions on landing page (#10030) 2019-02-15 18:22:06 +01:00
Thibaut Girka
a151c5566a [Glitch] Fix hashtags select styling in default and high contrast skins
Port 169b9d4428 to glitch-soc
2019-02-15 18:21:00 +01:00
Eugen Rochko
4dcb04b888 Fix color of static page links in high contrast theme (#10028) 2019-02-15 18:10:26 +01:00
Thibaut Girka
2769b54466 [Glitch] Fix occasional crash in detailed toot view
Port f9a338b473 to glitch-soc
2019-02-15 17:34:15 +01:00
Thibaut Girka
614ea184bb [Glitch] Add "copy link" item to status action bars
Port 3cfadd875c to glitch-soc
2019-02-13 07:29:57 +01:00
Thibaut Girka
e230b176fb [Glitch] Don't focus spoiler input when disabled spoiler
Inspired by 0e513ff862
2019-02-12 21:16:02 +01:00
ThibG
a3ba28eb17
Merge pull request #913 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-02-12 20:29:55 +01:00
Thibaut Girka
b89e003c4d Handle deletion of filtered toots 2019-02-10 22:54:25 +01:00
Thibaut Girka
7c0728c776 Minor fix to timeline jump avoiding behavior 2019-02-10 22:54:25 +01:00
Thibaut Girka
dfe1d548a5 Adjust scroll when statuses above the current scroll position are deleted 2019-02-10 22:54:25 +01:00
Thibaut Girka
0b91322762 Adjust scroll if previewCard appeared 2019-02-10 22:54:25 +01:00
Thibaut Girka
049c9a3b97 Avoid two-step rendering of statuses as much as possible
Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.
2019-02-10 22:54:25 +01:00
Thibaut Girka
68f3d003d6 Refactor intersection observer article code 2019-02-10 22:54:25 +01:00
Thibaut Girka
e49e54a5ff Cleanup redundant markup for hidden statuses 2019-02-10 22:54:25 +01:00
Thibaut Girka
405ef5ad37 Hide items rendered out-of-frame (once they have been rendered at least once) 2019-02-10 22:54:25 +01:00
Thibaut Girka
b47a53f902 [Glitch] Rename from instance to server.
Port 46e806cd2f to glitch-soc
2019-02-10 22:19:26 +01:00
Thibaut Girka
14a1bb703a [Glitch] Fix not showing custom emojis in share page emoji picker
Port e02a13f64e to glitch-soc
2019-02-10 21:54:43 +01:00
Thibaut Girka
b7fbcb21b3 [Glitch] Add featured hashtags to profiles
Port SCSS changes from 364f2ff9aa
2019-02-10 21:50:42 +01:00
Thibaut Girka
7ed2aeb6e9 [Glitch] Allow multiple files upload through web UI, including drag & drop
Port 750c67660d to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka
a963ea67dd [Glitch] Add missing rejection handling for Promises
Port missing parts from 2c51bc0ca5 to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka
6b2eefc7bf [Glitch] Add WebP support
Port 5092d17f29  to glitch-soc
2019-02-10 21:13:17 +01:00
Thibaut Girka
1a70fca168 Fix CW unfolding not triggering re-layout in public hashtag page 2019-02-06 15:32:48 +01:00
Thibaut Girka
3ce34ce7a2 Fix unfolding CWs on public hashtag page
Fixes #909
2019-02-06 14:37:57 +01:00
Thibaut Girka
c9d261753a Remove redundant “options” from “Compose box options”
Thanks @ariasuni.
2019-02-03 01:02:39 +01:00
Marek Ľach
a0a8203a0b Minor description corrections 2019-02-03 00:30:34 +01:00
Eugen Rochko
663593b508 Fix link color in high-contrast theme, add underlines (#9949)
Improve sorting of default themes in the dropdown
2019-02-01 16:23:13 +01:00
Thibaut Girka
2e93f87c9f [Glitch] Replace unlock-alt icon with unlock
Port 6513f6c953 to glitch-soc
2019-02-01 16:15:44 +01:00
Thibaut Girka
f611da4899 Do not mark toots as sensitive if they don't have any media attached 2019-02-01 15:55:28 +01:00
Thibaut Girka
762e4fdf55 Fix hashtag processing when sending toots
This fixes crashes in pleroma when writing toots with a content warning,
since pleroma inserts a “nsfw” hashtag that isn't part of the toot's text.
2019-02-01 12:37:28 +01:00
Thibaut Girka
f35d790480 [Glitch] Fix initial value of volume slider in video player and handle volume changes
Port a53dcaa298 to glitch-soc
2019-01-27 22:02:59 +01:00
trwnh
8ef0498f1c Fix Firefox scrollbar color regression in #9210 (#9908)
In #9210 the track color was changed to transparent for no apparent reason. This PR restores the previous color selections implemented in #8653 while keeping the updated property name. Per https://github.com/tootsuite/mastodon/pull/9210#issuecomment-441788776 there is no particular reason for the color change in #9210.
2019-01-25 11:48:27 +01:00
Jeong Arm
77394156dd Apply style for .landing-page strong (#9892) 2019-01-25 11:48:02 +01:00
Thibaut Girka
c30da25c5f Fix crash in Direct Messages column settings
Fixes #892
2019-01-23 18:29:18 +01:00
Thibaut Girka
5145c81620 [Glitch] Fix public hashtag timeline width on mobile, fix scrollbar width compensation
Port 3b3a4d8a17 to glitch-soc
2019-01-20 11:56:21 +01:00
Thibaut Girka
e9060b04d4 [Glitch] Hide floating action button on search and getting started pages
Port 30af4ee65f to glitch-soc
2019-01-20 11:54:38 +01:00
tmm576
9b5810b3e9 Allow event defaults on index for text data transfer (#9840) 2019-01-20 11:53:22 +01:00
Thibaut Girka
a93cb340bd [Glitch] Fix new hashtag page's items not being full-width on mobile
Port b506ce1197 to glitch-soc
2019-01-20 11:52:06 +01:00
Thibaut Girka
8001a9b97b [Glitch] Add information about how to opt-in to the directory on the directory
Port SCSS changes from a492a9bcd3 to glitch-soc
2019-01-20 11:50:19 +01:00
Mélanie Chauvel (ariasuni)
6dbb10c4b7 Fix slightly cropped font on settings page dropdowns when using system font (#9839) 2019-01-20 11:49:27 +01:00
Thibaut Girka
02295257b3 [Glitch] Improve the public hashtag page
Port 8b19903559 to glitch-soc
2019-01-20 11:47:17 +01:00
Thibaut Girka
3e8b623975 [Glitch] Redesign public hashtag page to use a masonry layout
Port bc642ac24b to glitch flavour
2019-01-20 11:38:09 +01:00
Thibaut Girka
5684cd090c [Glitch] make draggingOver state off correctly
Port d6433b3931 to glitch-soc
2019-01-16 14:50:17 +01:00
Thibaut Girka
92830029ca [Glitch] Make hashtag search results link to the hashtag URL
Port 6cfb357940 to glitch-soc
2019-01-16 14:25:58 +01:00
Thibaut Girka
ad32896a93 [Glitch] Fix hashtag timeline on mobile
Port c5b8824a3e to glitch-soc
2019-01-16 14:24:23 +01:00
Thibaut Girka
4cec7a77c3 [Glitch] Adjust admin UI right panel size
Port 9ee9cb549b to glitch-soc
2019-01-13 20:41:38 +01:00
Thibaut Girka
2c5f0f12ac [Glitch] change height on narrow view to take 100% of screen
Port 1183246043 to glitch-soc
2019-01-13 20:40:46 +01:00
Thibaut Girka
278ff1318f [Glitch] Add attachment list fallback to public pages
Port JS changes from 4fb94c758e to glitch-soc
2019-01-13 14:42:50 +01:00
Thibaut Girka
394525e329 [Glitch] Postpone scroll-to-detailed status after react components are loaded
Port 70801b850c to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
7cc800d0df [Glitch] Redesign admin instances area
Port SCSS changes from 1c6588accc
2019-01-10 21:00:33 +01:00
Thibaut Girka
e03813cf0a [Glitch] Stop gifv timeline preview explicitly when open the media gallery
Port cf3c0fc38c to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
147f4f9fd2 [Glitch] refactored account.js
Port 57c91fbbed to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
ec441e0299 [Glitch] Fix embed play icons regression
Port bd5a8c7765 to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
2b2584a37b [Glitch] Display fallback link card thumbnail when none is given
Port 1512af2811 to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
d1da0a1086 Port a few public.js changes from upstream, move some code around
glitch-soc's public.js was a bit out of date, and code was put inappropriately
to the common public.js
2019-01-10 18:45:17 +01:00
Thibaut Girka
e8ae77236b [Glitch] Only consider mouse move in scrolling on item insertion
Port cc1f13dfd0 to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
825decbf9e [Glitch] Identify manual scrolling to cancel scroll to top reset on mouse idle
Port 2f86fc5e0a to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
19c64a49f7 [Glitch] Cancel list scroll reset after mouse move on wheel scroll
Port 9cfd610484 to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
21f27e6579 [Glitch] Temporarily hold timeline if mouse moved recently
Port 6a1216d2cd to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
20fd855830 Update glitch-soc admin page style from upstream
Port SCSS changes from e55dce3176 to glitch-soc
2019-01-08 20:20:35 +01:00
ash lea
dc501c4134 add list title editing 2019-01-06 13:03:57 +01:00
Thibaut Girka
7baf15675f Add local setting to disable swipe-to-change-columns 2019-01-05 21:47:48 +01:00
Thibaut Girka
e77ceb1b29 [Glitch] Update dependencies for Node.js (2018-12-31)
Port compatibility changes from 8f5fdab5bf to glitch-soc
2019-01-02 16:07:33 +01:00
Thibaut Girka
1464620ddb [Glitch] Improve admin UI for account view
Port SCSS changes from 6e49907ecf to glitch-soc
2019-01-02 15:38:48 +01:00
Thibaut Girka
9b606cb24c [Glitch] Update emoji codepoint mappings to v11.0
Port 2ee779dcd3 to glitch-soc
2019-01-02 15:36:59 +01:00
Thibaut Girka
1b35ca17a9 Fix some image paths in SCSS files 2019-01-02 15:36:59 +01:00
Thibaut Girka
b300948526 Fix crash when clearing uninitialized timeline
Fixes #875
2018-12-30 16:56:55 +01:00
Thibaut Girka
d126240129 Immediately go back in browser history upon successfully sending toot 2018-12-30 14:07:57 +01:00
Thibaut Girka
cb98e7dbd3 [Glitch] Add moderation warnings
Port SCSS changes from 3c033c4352 to glitch-soc
2018-12-23 12:54:09 +01:00
Thibaut Girka
82088f0d7d [Glitch] Remove links to bridge.joinmastodon.org (non-functional)
Port bb62827c16 to glitch-soc
2018-12-23 11:43:47 +01:00
Thibaut Girka
c5c4450fdd Remove file added by error 2018-12-23 11:43:25 +01:00
Thibaut Girka
22dedb676b [Glitch] Fix unnecessary loadMore calls when the end of a timeline has been reached
Port 8389b496ba to glitch flavour
2018-12-23 11:40:52 +01:00
Thibaut Girka
1a3088364f Fix composer not getting focus after reply confirmation dialog
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
2018-12-21 20:00:49 +01:00
Thibaut Girka
0605c004a5 Fix incorrect and duplicate onConfirm callback 2018-12-21 20:00:49 +01:00
Thibaut Girka
6166751f9e [Glitch] Fix that translation is not applied to "joining hashtags"
Port bfec030a4e to glitch-soc
2018-12-21 19:54:54 +01:00
Thibaut Girka
3611ea02e2 [Glitch] Deep compare tags for hashtag column reload
Port 4fdefffb99 to glitch-soc
2018-12-21 19:54:54 +01:00
Thibaut Girka
4be7313298 [Glitch] Allow joining several hashtags in a single column
Port 4c03e05a4e to glitch-soc

This introduces new requirements in the API:

  `/api/v1/timelines/tag/:tag` now accepts new params: `any`, `all` and `none`
  It now returns status matching tag :tag or any of the :any, provided that
  they also include all tags in `all` and none of `none`.
2018-12-21 19:54:54 +01:00
Thibaut Girka
6073195a7d [Glitch] Display customized mascot in web UI
Port relevant parts of 9d4541c612 to glitch-soc
2018-12-20 18:39:05 +01:00
Thibaut Girka
fb63941c47 Make drawer markup and styling closer to upstream
WARNING: This may break some custom skins!

  `.drawer > .contents` has been moved to
  `.drawer > .drawer__pager > .drawer__iner`, and the waves have been moved
  from `.drawer > .contents` to `.drawer__inner__mastodon`!
2018-12-20 18:39:05 +01:00
Thibaut Girka
5eaf2c9e02 [Glitch] Back to the getting-started when pins the timeline
Port 5bf100f87b to glitch-soc
2018-12-20 14:51:28 +01:00
Thibaut Girka
1b18eb49e3 Hide negative follower counts from glitch flavour 2018-12-20 14:51:12 +01:00
Thibaut Girka
2228655848 [Glitch] Improved appearance of notification filter on safari
Port 2e1b5edfea to glitch-soc
2018-12-19 13:00:08 +01:00
Thibaut Girka
655da1be20 Reword confirm_before_clearing_draft description 2018-12-18 21:54:34 +01:00
Thibaut Girka
9a7201f2ee Allow disabling the reply confirmation dialog 2018-12-18 21:54:34 +01:00
Thibaut Girka
056a8a8ee4 Allow disabling media confirmation from the confirmation dialog itself 2018-12-18 21:54:34 +01:00
Thibaut Girka
490d8fff0b Remove dead code 2018-12-18 21:39:35 +01:00
Thibaut Girka
82b01a6c9f [Glitch] Put "Media Only" option in column settings instead of content area headline
Port 4f42238c29 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
9fc7ad7b9c [Glitch] Always display tab navigation on local/federated timeline even when empty
Port 90b64c0069 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
c644e6ea89 Do not replace history state
This is both for consistency with account timelines and to not mess with
the logic used to decide whether going back in the browser's history is
going to make us leave the WebUI.
2018-12-18 21:39:35 +01:00
Thibaut Girka
200a8bdd3a [Glitch] Enable media timeline
Port 8182b61518 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
a693d6e2f2 [Glitch] Hide section headline for timelines in production
Port 4eeda67727 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
593f88acb1 [Glitch] Change column params on pinned timeline
Port 06252ec71e to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
c03cbb9471 [Glitch] Save onlyMedia prop when pinning column
Port 5ea643b279 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
1a9e78b9bc [Glitch] Add exact attribute to WrappedRoute for community timeline
Port 46061dc041 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
1fb4bf87f7 [Glitch] Add media timeline
Port 7403e5d306 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
0ef2c1415a [Glitch] Make notifications quick-filter use consistent style with profile tabs
Port 12ab15e584 to glitch-soc
2018-12-18 17:23:04 +01:00
Thibaut Girka
06a7c07eda [Glitch] Add notification quick-filter bar in the frontend app
Port 13dce12665 to glitch-soc
2018-12-18 17:22:01 +01:00
Thibaut Girka
a18a46ca6e [Glitch] Responsive design for profile directory
Port SCSS changes from 087e118971 to glitch flavour
2018-12-18 17:03:53 +01:00
Thibaut Girka
36d27e2891 Sandbox toot embeds in the embed modal
It should not be necessary thanks to our Content Security Policy, but best
be sure in case a server's CSP is incorrect. Also, avoids a CSP warning about
loading remote scripts.
2018-12-17 22:22:29 +01:00
Thibaut Girka
30de4e4dfc [Glitch] Minor scrollable list fixes
* Make sure loading indicator has enough vertical space
* Respect reduce_motion setting for loading indicator

Port 4ede51743e to glitch-soc
2018-12-17 22:14:06 +01:00
Thibaut Girka
8266d224ef Split out is_changing_upload from is_submitting
Fixes #855
2018-12-17 13:01:07 +01:00
Thibaut Girka
7238e4ea5f [Glitch] Fix padding on select elements in preferences
Port c58c00651b to glitch-soc
2018-12-16 14:48:15 +01:00
Thibaut Girka
89e4ac67c8 [Glitch] Make animated header resoect auto_play_gif
Port part of 7c48688d85 to glitch-soc
2018-12-16 14:48:15 +01:00
Thibaut Girka
f0505a5b2e On mobile, go back in browser history upon posting, unless threaded mode is enabled 2018-12-14 23:56:53 +01:00
Thibaut Girka
132dd28162 [Glitch] Fix timeline pagination in the WebUI
The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer statuses (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in a timeline, which happens each time
an account's timeline or media gallery is visited.
2018-12-13 21:59:46 +01:00
Thibaut Girka
c20c6c2029 [Glitch] Fix hasMore in notifications 2018-12-13 21:58:48 +01:00
Thibaut Girka
1e656c3632 [Glitch] Fix “load more” button when no data has been fetched 2018-12-13 15:00:36 +01:00
Thibaut Girka
2d097c10d0 [Glitch] Make account media gallery more consistent with account timeline
Display “load more” more consistently, add a loading indicator on first load.
2018-12-13 15:00:36 +01:00
Thibaut Girka
5f581d7c3c [Glitch] Fix LoadMore usage in account media gallery
(Even though that codepath is probably never actually used…)
2018-12-13 15:00:36 +01:00
Thibaut Girka
73ee38f485 [Glitch] Do not display empty message when the list is known to have more elements 2018-12-13 15:00:36 +01:00
Thibaut Girka
39696024ca Minor cleanup in ScrollableList component 2018-12-13 15:00:36 +01:00
Thibaut Girka
480f938511 [Glitch] Fix various things in the directory
Port ecd303c097 to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
0b1bc66695 Port directory CSS changes from upstream
Port 73be8f38c1 to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka
4167ed375b Fix mention links in detailed statuses not opening in the WebUI 2018-12-06 15:31:21 +01:00
Thibaut Girka
4b85bf12ab Fix since_id 2018-12-01 18:59:24 +01:00
Thibaut Girka
76320bf6d8 Scroll to selected toot even if the ancestors happen to be loaded 2018-11-30 22:37:38 +01:00
Thibaut Girka
a10fee3c09 Scroll to detailed status when new ancestors get inserted 2018-11-30 22:37:38 +01:00
Thibaut Girka
31599ad91c [Glitch] Fix bug in order of conversations in web UI
Port e18390cfe6 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka
837ea32c88 [Glitch] Replace recursion in status mapStateToProps
Port dfbadd6837 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka
a28f5695f3 [Glitch] Fix context building in the reducer
Port 7706ed038f to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka
1624a95b2b [Glitch] Introduce flat layout to contexts reducer
Port 023fe5181b to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka
6a264c9379 Improve detailed status component lifecycle
- Move componentWillMount and componentWillReceiveProps logic to
  getDerivedStateFromProps.
- Compute CW auto-unfold status earlier
2018-11-29 18:32:42 +01:00
Thibaut Girka
7e63fb26e0 Do not hardcode preferences link, pleroma doesn't have it 2018-11-28 22:36:01 +01:00
Thibaut Girka
922d05864f Add error boundary component to catch Web UI crashes 2018-11-28 22:36:01 +01:00
Thibaut Girka
39c8a71df8 Do not crash the whole UI when loading an invalid column 2018-11-28 22:36:01 +01:00
Thibaut Girka
c18bb5d245 Switch “cycling” reply policy link to set of radio inputs
Fixes #832
2018-11-28 22:35:42 +01:00
Thibaut Girka
f17a61a916 Add basic UI to set list replies setting in glitch-soc 2018-11-28 14:46:07 +01:00
David Yip
74a281475a
Merge pull request #829 from ThibG/glitch-soc/features/volume-sliders
[Glitch] Volume sliders for videos
2018-11-27 15:27:21 -06:00
Thibaut Girka
3b707bdc12 [Glitch] Volume sliders for videos
Port f978afa487 to glitch-soc
2018-11-27 15:21:57 +01:00
Thibaut Girka
f969eca07e [Glitch] check_boxes label should use display: inline-block
Port 180ae0472a to glitch-soc
2018-11-27 13:29:12 +01:00
Thibaut Girka
6b6e633c09 Update MediaGallery and Video props when folding/unfolding CWs in detailed statuses 2018-11-25 11:29:56 +01:00
Thibaut Girka
b41d60f2d8 Render placeholder when inline video container width isn't known 2018-11-25 11:29:56 +01:00
Thibaut Girka
0d3612482e Render placeholder instead of image when MediaGallery container width isn't known 2018-11-25 11:29:56 +01:00
Thibaut Girka
b3ff35a75c Move URLs to backend in their own file 2018-11-19 15:56:38 +01:00
Thibaut Girka
a77ee0bb6d Fix composer not displaying on iPad 2018-11-16 15:04:32 +01:00
Thibaut Girka
86527024aa In detailed status view, take displayMedia setting into account when changing media
Fixes #819
2018-11-15 16:38:50 +01:00
Thibaut Girka
6ce7e74b46 [Glitch] Fix race condition when interacting with deleted toots
Port c875f19673 to glitch-soc
2018-11-13 16:30:07 +01:00
Thibaut Girka
2fe0cb1623 [Glitch] Prepend account header even when status list is empty
Partially port 90b64c0069
2018-11-13 15:54:04 +01:00
Thibaut Girka
c78c80f807 [Glitch] Fix loading indicator inconsistency
Port 3cecf3e5b9 to glitch-soc
2018-11-13 15:54:04 +01:00
Thibaut Girka
5ebbaffaa3 [Glitch] Use local instead of global loading indicator for timelines, account timelines
Port dd00cd19d2 to glitch-soc
2018-11-13 15:54:04 +01:00
ThibG
09562b0fcc
Merge pull request #806 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-11-09 22:29:52 +01:00
Thibaut Girka
868cace797 [Glitch] Remove unused computation of reblog references from updateTimeline 2018-11-09 21:57:56 +01:00
Thibaut Girka
0e80661e42 [Glitch] Don't remove originals of boosted toots from timeline
Port 2b51b4094c to glitch-soc
2018-11-09 21:57:56 +01:00
Thibaut Girka
44f5f7bab4 Fix drawer waves being displayed in the list editor 2018-11-09 18:00:29 +01:00
Thibaut Girka
c6fc3e0c65 [Glitch] Fix form validation flash message color and input borders
Port ccbdf689e8 to glitch-soc
2018-11-09 15:10:09 +01:00
Thibaut Girka
bf92e7aaa6 [Glitch] Implement adding a user to a list from their profile
Port bb5558de62 to glitch-soc
2018-11-09 14:50:08 +01:00
Thibaut Girka
a2a254625b [Glitch] Update reset.scss from upstream 2018-11-06 16:03:53 +01:00
Thibaut Girka
34209c0340 Fix timestamp position in public pages with RTL languages 2018-10-31 11:37:47 +01:00
Thibaut Girka
b3c1380980 Fix styling of display names in public pages 2018-10-31 11:37:47 +01:00
Thibaut Girka
2b2facbbdf [Glitch] Port some of upstream's getting started footer links 2018-10-31 10:07:41 +01:00
Thibaut Girka
0d6b8f36aa [Glitch] Fix empty display name precedence over username in web UI
Port f59b840549 to glitch-soc
2018-10-30 17:54:50 +01:00
Thibaut Girka
7e18e95716 Add a local setting for inline preview cards 2018-10-30 17:51:06 +01:00
Thibaut Girka
bdc2338833 Add a “link” status icon for toots with a preview card 2018-10-30 17:51:06 +01:00
Thibaut Girka
b21615e957 [Glitch] Fix dimensions of preview cards, fix crash in web UI, fix warning
Port 9c38c5daa3 to glitch-soc
2018-10-30 17:51:06 +01:00
Thibaut Girka
ac9780b844 [Glitch] Include preview cards in status entity in REST API
Port 795f0107d2 to glitch-soc
2018-10-30 17:51:06 +01:00
Masoud Abkenar
3aa2418217 [Glitch] RTL: fix toot privacy preferences radio buttonss
Port e961a763a2 to glitch-soc
2018-10-30 11:24:40 +01:00
Masoud Abkenar
e32a4f55fe [Glitch] RTL: fix preferences page checkbox margins
Port 5ee0b51ac8 to glitch-soc
2018-10-30 11:24:19 +01:00
ThibG
7f22ed0fc9
Merge pull request #794 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-10-28 20:36:55 +01:00
Thibaut Girka
ee1f1a2ec9 When searching for an emoji with multiple separators, consider the full input
e.g., typing “blob_cat_p” used to search for “blob” and “cat”, but not
“blob_cat_p”, which means “blob_cat_patpat” is very unlikely to show up,
although it is likely what the user wanted to type in the first place.
2018-10-27 22:45:11 +02:00
Thibaut Girka
8f4fab65a1 Do not rely on hover for upload form options if touch is used 2018-10-27 19:06:49 +02:00
Thibaut Girka
008f98b304 [Glitch] RTL: fix column-back-button__icon margins/content
Port 6e1a4f85ad to glitch-soc
2018-10-27 18:55:11 +02:00
Thibaut Girka
0c7f710be1 [Glitch] Surround mid-text display names with bdi tags
Port 7861c5f108 to glitch-soc
2018-10-22 18:57:20 +02:00
Thibaut Girka
323ae1403a [Glitch] fix: initial state of PrivacyDropdown is should not be null
Port bebe8ec887 to glitch-soc
2018-10-22 18:41:34 +02:00
Thibaut Girka
1bb23d0407 [Glitch] RTL: fix cardbar margins and alignment
Port c73864c137 to glitch-soc
2018-10-22 18:39:37 +02:00
Thibaut Girka
c9b19e05e2 [Glitch] RTL: fix admin account avatar margin in about page
Port 3a157210c8 to glitch-soc
2018-10-22 18:38:52 +02:00
Thibaut Girka
c14be538a6 [Glitch] RTL: fix column settings toggle label
Port bf58461d36 to glitch-soc
2018-10-22 18:38:11 +02:00
Thibaut Girka
a1f512f18b [Glitch] Fix domain label position and color
Port 25f9ead041 to glitch-soc
2018-10-22 18:37:17 +02:00
Thibaut Girka
9950db2e1c [Glitch] RTL: fix preferences layout
Port 029943d59b to glitch-soc
2018-10-22 18:34:48 +02:00
Thibaut Girka
076f0a0eb6 [Glitch] Fix admin account avatar margin
Port 065b39e7a4 to glitch-soc
2018-10-22 18:33:35 +02:00
Thibaut Girka
aa277ab5fb [Glitch] RTL: fix user stats in about page
Port 301cbcc980 to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka
ef9c11e050 [Glitch] RTL: fix domain append at signup form
Port 65b3804a6c to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka
e18724363d [Glitch] Fixes 8987 broken alignment at "Remote interaction dialog"
Port d35801aaa2 to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka
1139b758c5 [Glitch] RTL: fix admin account margins in about page
Port f8c1b32541 to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka
bf9c4b6d98 [Glitch] undo part of PR 8202 to fix RTL
Port efd09e2ebb to glitch-soc
2018-10-22 18:22:01 +02:00
Thibaut Girka
9f1c9b6135 [Glitch] Improve style of notice/alert messages
Port b972478812 to glitch-soc
2018-10-22 18:20:43 +02:00
Thibaut Girka
04bedd237b Attempt at fixing inline video player 2018-10-21 16:09:07 +02:00
Thibaut Girka
dfa5b0576f Update mediaGallery component's width when opening CWs 2018-10-21 16:09:07 +02:00
Thibaut Girka
e4c3ea1809 Force sensitive content flag when posting a toot with a CW
Indeed, when the “Always enable the Content Warning field” setting is enabled,
sending a content-less toot with a CW would move the CW to the toot's content
and leave the toot not marked as sensitive.
2018-10-20 17:06:21 +02:00
Thibaut Girka
13c3fa8d36 Focus the UI when pressing Escape in the CW field 2018-10-20 15:00:39 +02:00
Thibaut Girka
b13c34de3a Fix fav/boosts hotkeys not working on detailed statuses 2018-10-18 19:00:59 +02:00
Thibaut Girka
b0527a4ce7 Handle alt+enter in the spoiler input as shortcut for secondary post
Fixes #780
2018-10-14 12:00:21 +02:00
Thibaut Girka
70d346ea95 Fix auto-unfold CWs when no regexp is set
Fixes #778
2018-10-12 23:34:26 +02:00
Thibaut Girka
bb1103d974 Really fix HotKeys 2018-10-10 17:40:06 +02:00
Thibaut Girka
269edc0e48 Fix CW icon color in local-settings modal 2018-10-09 18:10:54 +02:00
Thibaut Girka
721aec40cd Define some local-settings hints 2018-10-09 18:10:54 +02:00
Thibaut Girka
26409f3e8e Add support for hints (or extended descriptions) in local-settings pages 2018-10-09 18:10:54 +02:00
Thibaut Girka
5f308a7f05 When screen width is too narrow, hide local-settings page text, keep only icons 2018-10-09 18:10:54 +02:00
Thibaut Girka
6cd793f0ac Change “preferences” icon to match settings page icon 2018-10-09 18:10:54 +02:00
Thibaut Girka
edb9ec8543 Add icons for each of the local-setting pages 2018-10-09 18:10:54 +02:00
Thibaut Girka
d0b1369a85 Fix app-wide hotkeys randomly failing to work 2018-10-09 12:10:51 +02:00
Thibaut Girka
96c3d26870 Move “Show action buttons in collapsed toots” option 2018-10-08 13:49:25 +02:00
Thibaut Girka
faecb35fe0 Switch from selects to radio buttons for local settings, improve styling 2018-10-08 13:49:25 +02:00
Thibaut Girka
a3677a828d [Glitch] Change documentation URL
Port 28401962ca to glitch-soc
2018-10-07 22:56:24 +02:00
Thibaut Girka
b4ba1058b8 [Glitch] RTL: fix margins of public-account-header__tabs
Port 185cb2dc3a to glitch-soc
2018-10-07 22:56:24 +02:00
Thibaut Girka
7cc7843109 Do not scroll timelines when *closing* media modals
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
2018-10-07 12:08:32 +02:00
Thibaut Girka
c6e4c48942 [Glitch] Add a confirmation dialog when hitting reply and the compose box isn't empty 2018-10-05 19:08:52 +02:00
Thibaut Girka
a9e8f98a9d Make hidden media clickable in account media gallery 2018-10-02 22:00:57 +02:00
Thibaut Girka
d82c495c0f Add media description (or status spoiler) in account media gallery 2018-10-02 22:00:57 +02:00
Thibaut Girka
bd1f08fa9a Fix account gallery hidden media background color in mastodon-light 2018-10-02 22:00:57 +02:00
Thibaut Girka
eb85427576 [Glitch] Honour displayMedia setting in accountMedia gallery
Inspired by b79ab15859
2018-10-02 22:00:57 +02:00
Thibaut Girka
6ad7606909 [Glitch] Add support for new display_media setting
Port f7a6f9489d to glitch-soc

[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
2018-10-01 16:48:55 +02:00
Thibaut Girka
15197a831c [Glitch] RTL: fix margins: public-layout.header.nav-button
Port df2f4052b8 to glitch-soc
2018-10-01 14:38:35 +02:00
Thibaut Girka
884a898442 [Glitch] RTL: fix statubar action buttons/counter margins
Port 9f6662fcc9 to glitch-soc
2018-10-01 14:38:32 +02:00
Thibaut Girka
36d426cec9 [Glitch] Separate font-family into variable
Port d0d65b5a28 to glitch-soc
2018-10-01 14:38:29 +02:00
Spencer Alves
4e60a0d543 Add option to hide action bar in collapsed toots 2018-09-30 08:31:50 +02:00