Commit Graph

942 Commits

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