Commit Graph

999 Commits (9f30a97e7f35cbd83e8ff368f8ce4c9f224839a1)

Author SHA1 Message Date
Thibaut Girka bd97259b57 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 6ad1fc3254 [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 ec787e4205 Fix various issues in polls
Port front-end changes from 1321801577 to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG 25ef8dffbc Display closed polls as such
Port 674d232cd1 to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG 469e5af537 Fixes to the polls UI
Port 4987602069 to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko c156b6d696 Fix web UI crash on page load when detailed status has a poll
Port 21246d861e to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG e31450e8ad Insert polls in redux stores before statuses so it avoids crashes
Port 6d08fd5170 to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko 342d9d25bb Add polls
Port front-end parts of 4a3acdc916 to glitch-soc
2019-03-05 21:35:03 +01:00
Thibaut Girka 69fd801c8e Port upstream refactoring of reducers and actions
Also includes 4923646361
2019-03-05 21:35:03 +01:00
Eugen Rochko 0dc5c2a4a5 Fix home timeline perpetually reloading when empty
Port 0c8d1435c5 to glitch-soc
2019-03-05 19:30:11 +01:00
Mélanie Chauvel (ariasuni) c02d1558f1 [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) f01d004a1a [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) 2a7690601a [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 bdc5cd092e Port public page mastodon-light fixes from upstream 2019-02-27 16:24:57 +01:00
Eugen Rochko df01d5181e Fix web UI not removing notifications after block (#10108)
Regression from #7311
2019-02-26 19:33:59 +01:00
abcang 6f471916f5 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 fa1b843522 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 8ded9a0c02 [Glitch] Internationalize unexpected error message
Port e8a1d0b4d4 to glitch-soc,
fixing a crash in the process
2019-02-18 19:49:06 +01:00
Eugen Rochko e34c5db19e Fix hashtag column not subscribing to stream on mount (#10040)
Fix #9895
2019-02-18 18:16:35 +01:00
Thibaut Girka 2bf47542f3 Fix video player width not being updated to fit container width 2019-02-18 10:44:37 +01:00
Ben Lubar 9ad1ca9a2b Allow multi-line image descriptions. (Glitch) 2019-02-17 15:19:12 +01:00
Thibaut Girka e8ae6b050b [Glitch] Fix crash on public hashtag pages when streaming fails
Port 3547e3e59e to glitch-soc
2019-02-17 14:28:25 +01:00
Thibaut Girka 09c6d1c534 [Glitch] Change buttons on timeline preview to open the interaction dialog
Port 6534acc019 to glitch-soc
2019-02-17 12:39:44 +01:00
Thibaut Girka 9b89a7b2f2 Port upstream's javascript to the error page 2019-02-17 12:27:01 +01:00
Eugen Rochko 85ef358a0a Fix style regressions on landing page (#10030) 2019-02-15 18:22:06 +01:00
Thibaut Girka f29b69c08b [Glitch] Fix hashtags select styling in default and high contrast skins
Port bc9930f59d to glitch-soc
2019-02-15 18:21:00 +01:00
Eugen Rochko 74d84d2109 Fix color of static page links in high contrast theme (#10028) 2019-02-15 18:10:26 +01:00
Thibaut Girka dabbbe1e71 [Glitch] Fix occasional crash in detailed toot view
Port f9a338b473 to glitch-soc
2019-02-15 17:34:15 +01:00
Thibaut Girka 04d7200ba4 [Glitch] Add "copy link" item to status action bars
Port 12cb694634 to glitch-soc
2019-02-13 07:29:57 +01:00
Thibaut Girka 53cc85871d [Glitch] Don't focus spoiler input when disabled spoiler
Inspired by 6866739387
2019-02-12 21:16:02 +01:00
ThibG 1767bb542c Merge pull request #913 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-02-12 20:29:55 +01:00
Thibaut Girka d486152092 Handle deletion of filtered toots 2019-02-10 22:54:25 +01:00
Thibaut Girka eb6dfe4d8b Minor fix to timeline jump avoiding behavior 2019-02-10 22:54:25 +01:00
Thibaut Girka 7b23d3c657 Adjust scroll when statuses above the current scroll position are deleted 2019-02-10 22:54:25 +01:00
Thibaut Girka f24bd9d629 Adjust scroll if previewCard appeared 2019-02-10 22:54:25 +01:00
Thibaut Girka 3d5ef5c497 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 b05cda87f8 Refactor intersection observer article code 2019-02-10 22:54:25 +01:00
Thibaut Girka 18a540da9f Cleanup redundant markup for hidden statuses 2019-02-10 22:54:25 +01:00
Thibaut Girka f2b7ab4523 Hide items rendered out-of-frame (once they have been rendered at least once) 2019-02-10 22:54:25 +01:00
Thibaut Girka d96df46a63 [Glitch] Rename from instance to server.
Port f308fb56ab to glitch-soc
2019-02-10 22:19:26 +01:00
Thibaut Girka 75187f908a [Glitch] Fix not showing custom emojis in share page emoji picker
Port b037f6cec5 to glitch-soc
2019-02-10 21:54:43 +01:00
Thibaut Girka b3fc70d13e [Glitch] Add featured hashtags to profiles
Port SCSS changes from d2d4d38f22
2019-02-10 21:50:42 +01:00
Thibaut Girka 07f0cf8573 [Glitch] Allow multiple files upload through web UI, including drag & drop
Port 640966f3fc to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka 5946d76d0a [Glitch] Add missing rejection handling for Promises
Port missing parts from d88504ec84 to glitch-soc
2019-02-10 21:44:14 +01:00
Thibaut Girka 538bae9f53 [Glitch] Add WebP support
Port bcf34e31bd  to glitch-soc
2019-02-10 21:13:17 +01:00
Thibaut Girka a9078c18eb Fix CW unfolding not triggering re-layout in public hashtag page 2019-02-06 15:32:48 +01:00
Thibaut Girka d55233da9a Fix unfolding CWs on public hashtag page
Fixes #909
2019-02-06 14:37:57 +01:00
Thibaut Girka dcf363a623 Remove redundant “options” from “Compose box options”
Thanks @ariasuni.
2019-02-03 01:02:39 +01:00
Marek Ľach 43b2f021eb Minor description corrections 2019-02-03 00:30:34 +01:00
Eugen Rochko 252a765368 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 fba0f7dae7 [Glitch] Replace unlock-alt icon with unlock
Port 4fb1d8129d to glitch-soc
2019-02-01 16:15:44 +01:00
Thibaut Girka b0e7af725a Do not mark toots as sensitive if they don't have any media attached 2019-02-01 15:55:28 +01:00
Thibaut Girka afdf789d06 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 00fc362103 [Glitch] Fix initial value of volume slider in video player and handle volume changes
Port b5feaa4d54 to glitch-soc
2019-01-27 22:02:59 +01:00
trwnh 36b6fee96d 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 fdf6c4a63f Apply style for .landing-page strong (#9892) 2019-01-25 11:48:02 +01:00
Thibaut Girka 5e7c9c04e2 Fix crash in Direct Messages column settings
Fixes #892
2019-01-23 18:29:18 +01:00
Thibaut Girka 14c617983d [Glitch] Fix public hashtag timeline width on mobile, fix scrollbar width compensation
Port cbb8399df4 to glitch-soc
2019-01-20 11:56:21 +01:00
Thibaut Girka 8dea30a0c7 [Glitch] Hide floating action button on search and getting started pages
Port 180a665f29 to glitch-soc
2019-01-20 11:54:38 +01:00
tmm576 30f3dad8e8 Allow event defaults on index for text data transfer (#9840) 2019-01-20 11:53:22 +01:00
Thibaut Girka a847f3bec6 [Glitch] Fix new hashtag page's items not being full-width on mobile
Port d28a2f7636 to glitch-soc
2019-01-20 11:52:06 +01:00
Thibaut Girka a205783d1c [Glitch] Add information about how to opt-in to the directory on the directory
Port SCSS changes from 86087f7461 to glitch-soc
2019-01-20 11:50:19 +01:00
Mélanie Chauvel (ariasuni) c4a352bbf6 Fix slightly cropped font on settings page dropdowns when using system font (#9839) 2019-01-20 11:49:27 +01:00
Thibaut Girka eaebfc67d8 [Glitch] Improve the public hashtag page
Port 43014334f8 to glitch-soc
2019-01-20 11:47:17 +01:00
Thibaut Girka 8219940214 [Glitch] Redesign public hashtag page to use a masonry layout
Port 380b246728 to glitch flavour
2019-01-20 11:38:09 +01:00
Thibaut Girka 8ea1a8e033 [Glitch] make draggingOver state off correctly
Port e77cb61481 to glitch-soc
2019-01-16 14:50:17 +01:00
Thibaut Girka 426673f17a [Glitch] Make hashtag search results link to the hashtag URL
Port 65c546f9b0 to glitch-soc
2019-01-16 14:25:58 +01:00
Thibaut Girka 1c67a27069 [Glitch] Fix hashtag timeline on mobile
Port 8044612d15 to glitch-soc
2019-01-16 14:24:23 +01:00
Thibaut Girka 1ceb7b32e3 [Glitch] Adjust admin UI right panel size
Port 6d067302ce to glitch-soc
2019-01-13 20:41:38 +01:00
Thibaut Girka 7fcfe054cc [Glitch] change height on narrow view to take 100% of screen
Port 9b409bf95e to glitch-soc
2019-01-13 20:40:46 +01:00
Thibaut Girka 456c0aa9cc [Glitch] Add attachment list fallback to public pages
Port JS changes from bb2dbd681f to glitch-soc
2019-01-13 14:42:50 +01:00
Thibaut Girka c0c04cd2d4 [Glitch] Postpone scroll-to-detailed status after react components are loaded
Port f6a5894af6 to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka d9abcb4b4b [Glitch] Redesign admin instances area
Port SCSS changes from f2ec1803cb
2019-01-10 21:00:33 +01:00
Thibaut Girka fc64d1d03e [Glitch] Stop gifv timeline preview explicitly when open the media gallery
Port 2a113f0185 to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka e495dc0134 [Glitch] refactored account.js
Port 695de5d134 to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka e950122e06 [Glitch] Fix embed play icons regression
Port 4c99d23df8 to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka 95dcaccb03 [Glitch] Display fallback link card thumbnail when none is given
Port 39d81be7de to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka 3793296fed 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 ba82ff7c12 [Glitch] Only consider mouse move in scrolling on item insertion
Port 4e067b1bd0 to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka 069657286f [Glitch] Identify manual scrolling to cancel scroll to top reset on mouse idle
Port 59ecfbd28c to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka d768d0b851 [Glitch] Cancel list scroll reset after mouse move on wheel scroll
Port 54bc905a57 to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka f4191a8a00 [Glitch] Temporarily hold timeline if mouse moved recently
Port 6e72dda7ef to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka 6fcb487e75 Update glitch-soc admin page style from upstream
Port SCSS changes from 171c20ce72 to glitch-soc
2019-01-08 20:20:35 +01:00
ash lea b22f9c8792 add list title editing 2019-01-06 13:03:57 +01:00
Thibaut Girka 07592234ac Add local setting to disable swipe-to-change-columns 2019-01-05 21:47:48 +01:00
Thibaut Girka 6956a99a98 [Glitch] Update dependencies for Node.js (2018-12-31)
Port compatibility changes from 101a46ac24 to glitch-soc
2019-01-02 16:07:33 +01:00
Thibaut Girka 9b6e4daca7 [Glitch] Improve admin UI for account view
Port SCSS changes from 8958e58bd4 to glitch-soc
2019-01-02 15:38:48 +01:00
Thibaut Girka 7f96b7ec99 [Glitch] Update emoji codepoint mappings to v11.0
Port 36a5585cac to glitch-soc
2019-01-02 15:36:59 +01:00
Thibaut Girka 536dc2cdea Fix some image paths in SCSS files 2019-01-02 15:36:59 +01:00
Thibaut Girka c1b47fe774 Fix crash when clearing uninitialized timeline
Fixes #875
2018-12-30 16:56:55 +01:00
Thibaut Girka 57791a2044 Immediately go back in browser history upon successfully sending toot 2018-12-30 14:07:57 +01:00
Thibaut Girka 9e2ceac0ba [Glitch] Add moderation warnings
Port SCSS changes from 2e0d617b8b to glitch-soc
2018-12-23 12:54:09 +01:00
Thibaut Girka df5e49696f [Glitch] Remove links to bridge.joinmastodon.org (non-functional)
Port eb2994d454 to glitch-soc
2018-12-23 11:43:47 +01:00
Thibaut Girka 89e7274a7f Remove file added by error 2018-12-23 11:43:25 +01:00
Thibaut Girka e5a25656e8 [Glitch] Fix unnecessary loadMore calls when the end of a timeline has been reached
Port 240d41b3ca to glitch flavour
2018-12-23 11:40:52 +01:00
Thibaut Girka d9a6c27f3b 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 e8845f0cb2 Fix incorrect and duplicate onConfirm callback 2018-12-21 20:00:49 +01:00
Thibaut Girka 89db203110 [Glitch] Fix that translation is not applied to "joining hashtags"
Port 88e40d03d9 to glitch-soc
2018-12-21 19:54:54 +01:00
Thibaut Girka 0cac543474 [Glitch] Deep compare tags for hashtag column reload
Port 98c9ad366b to glitch-soc
2018-12-21 19:54:54 +01:00
Thibaut Girka 423c953518 [Glitch] Allow joining several hashtags in a single column
Port d2a9ea58da 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 85dc4507e7 [Glitch] Display customized mascot in web UI
Port relevant parts of 2a36092328 to glitch-soc
2018-12-20 18:39:05 +01:00
Thibaut Girka bbba494092 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 7d437f7fc9 [Glitch] Back to the getting-started when pins the timeline
Port f579f1b10e to glitch-soc
2018-12-20 14:51:28 +01:00
Thibaut Girka 3ba1aa8d2b Hide negative follower counts from glitch flavour 2018-12-20 14:51:12 +01:00
Thibaut Girka ce7ac8c1d7 [Glitch] Improved appearance of notification filter on safari
Port e9ad8044cc to glitch-soc
2018-12-19 13:00:08 +01:00
Thibaut Girka 4b8cb9696e Reword confirm_before_clearing_draft description 2018-12-18 21:54:34 +01:00
Thibaut Girka ba8d23c7cb Allow disabling the reply confirmation dialog 2018-12-18 21:54:34 +01:00
Thibaut Girka 55e3dae600 Allow disabling media confirmation from the confirmation dialog itself 2018-12-18 21:54:34 +01:00
Thibaut Girka 79b793be2a Remove dead code 2018-12-18 21:39:35 +01:00
Thibaut Girka 2bf78186aa [Glitch] Put "Media Only" option in column settings instead of content area headline
Port 9c2fc4d684 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka 677f430f23 [Glitch] Always display tab navigation on local/federated timeline even when empty
Port bc464619f3 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka 7a91431b6f 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 4073773a9f [Glitch] Enable media timeline
Port 590ae5ac66 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka adcfdafc26 [Glitch] Hide section headline for timelines in production
Port ff98de966f to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka 0ea5823484 [Glitch] Change column params on pinned timeline
Port f5421e5309 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka f39c452cab [Glitch] Save onlyMedia prop when pinning column
Port 20c650b644 to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka 498ff2b52e [Glitch] Add exact attribute to WrappedRoute for community timeline
Port 4a0207e3ea to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka 0a87d07f97 [Glitch] Add media timeline
Port ccc240b59c to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka e1f8359ea4 [Glitch] Make notifications quick-filter use consistent style with profile tabs
Port 84385d876f to glitch-soc
2018-12-18 17:23:04 +01:00
Thibaut Girka cdc9dca649 [Glitch] Add notification quick-filter bar in the frontend app
Port df7186e93a to glitch-soc
2018-12-18 17:22:01 +01:00
Thibaut Girka c678e1906a [Glitch] Responsive design for profile directory
Port SCSS changes from 32bd452b56 to glitch flavour
2018-12-18 17:03:53 +01:00
Thibaut Girka e4b9a8da07 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 d16638a116 [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 b19e5cf48d Split out is_changing_upload from is_submitting
Fixes #855
2018-12-17 13:01:07 +01:00
Thibaut Girka 2a9c9fcedb [Glitch] Fix padding on select elements in preferences
Port 708714b01c to glitch-soc
2018-12-16 14:48:15 +01:00
Thibaut Girka 4671179f5f [Glitch] Make animated header resoect `auto_play_gif`
Port part of 70da16b375 to glitch-soc
2018-12-16 14:48:15 +01:00
Thibaut Girka 4760c6e767 On mobile, go back in browser history upon posting, unless threaded mode is enabled 2018-12-14 23:56:53 +01:00
Thibaut Girka 656e2d3121 [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 61cf3bf52a [Glitch] Fix hasMore in notifications 2018-12-13 21:58:48 +01:00
Thibaut Girka 9fd8019854 [Glitch] Fix “load more” button when no data has been fetched 2018-12-13 15:00:36 +01:00
Thibaut Girka 4b2c0e4e73 [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 dda787761b [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 50f8e59820 [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 a68d1d0ee2 Minor cleanup in ScrollableList component 2018-12-13 15:00:36 +01:00
Thibaut Girka 3d859a7c2b [Glitch] Fix various things in the directory
Port ac437d6b25 to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka 6259051853 Port directory CSS changes from upstream
Port fd8ca11f19 to glitch-soc
2018-12-09 16:08:10 +01:00
Thibaut Girka 467786f29b Fix mention links in detailed statuses not opening in the WebUI 2018-12-06 15:31:21 +01:00
Thibaut Girka 606f0df712 Fix since_id 2018-12-01 18:59:24 +01:00
Thibaut Girka a281d3ebd3 Scroll to selected toot even if the ancestors happen to be loaded 2018-11-30 22:37:38 +01:00
Thibaut Girka 8117ba2cb1 Scroll to detailed status when new ancestors get inserted 2018-11-30 22:37:38 +01:00
Thibaut Girka 5a03b30f13 [Glitch] Fix bug in order of conversations in web UI
Port 2af43c3dce to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka ff50412846 [Glitch] Replace recursion in status mapStateToProps
Port 20a23c7d08 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka 45ba4e83e0 [Glitch] Fix context building in the reducer
Port a5c740ba41 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka 05d7c498ba [Glitch] Introduce flat layout to contexts reducer
Port 4e718bbb25 to glitch-soc
2018-11-30 22:37:38 +01:00
Thibaut Girka fc707adcde 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 c37a81a5d7 Do not hardcode preferences link, pleroma doesn't have it 2018-11-28 22:36:01 +01:00
Thibaut Girka cb2822b68a Add error boundary component to catch Web UI crashes 2018-11-28 22:36:01 +01:00
Thibaut Girka c0675a272e Do not crash the whole UI when loading an invalid column 2018-11-28 22:36:01 +01:00
Thibaut Girka 76603a189a Switch “cycling” reply policy link to set of radio inputs
Fixes #832
2018-11-28 22:35:42 +01:00
Thibaut Girka f21f359653 Add basic UI to set list replies setting in glitch-soc 2018-11-28 14:46:07 +01:00
David Yip 50b7d2f002 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 c81ad5a2cb [Glitch] Volume sliders for videos
Port b7229bef1a to glitch-soc
2018-11-27 15:21:57 +01:00
Thibaut Girka a04a39668e [Glitch] check_boxes label should use display: inline-block
Port 057097e8ad to glitch-soc
2018-11-27 13:29:12 +01:00
Thibaut Girka 550c523233 Update MediaGallery and Video props when folding/unfolding CWs in detailed statuses 2018-11-25 11:29:56 +01:00
Thibaut Girka b8018a1bcb Render placeholder when inline video container width isn't known 2018-11-25 11:29:56 +01:00
Thibaut Girka e80f770118 Render placeholder instead of image when MediaGallery container width isn't known 2018-11-25 11:29:56 +01:00
Thibaut Girka e7c0ad6ac4 Move URLs to backend in their own file 2018-11-19 15:56:38 +01:00
Thibaut Girka 7a1ec950a8 Fix composer not displaying on iPad 2018-11-16 15:04:32 +01:00
Thibaut Girka ca163ec35d In detailed status view, take displayMedia setting into account when changing media
Fixes #819
2018-11-15 16:38:50 +01:00
Thibaut Girka a1848008a9 [Glitch] Fix race condition when interacting with deleted toots
Port 7083838a54 to glitch-soc
2018-11-13 16:30:07 +01:00
Thibaut Girka b22501154e [Glitch] Prepend account header even when status list is empty
Partially port bc464619f3
2018-11-13 15:54:04 +01:00
Thibaut Girka 07e0f1023d [Glitch] Fix loading indicator inconsistency
Port 0562e258b3 to glitch-soc
2018-11-13 15:54:04 +01:00
Thibaut Girka f40a7b2616 [Glitch] Use local instead of global loading indicator for timelines, account timelines
Port 9a32abcbac to glitch-soc
2018-11-13 15:54:04 +01:00
ThibG c81ac519ef Merge pull request #806 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-11-09 22:29:52 +01:00
Thibaut Girka de57627588 [Glitch] Remove unused computation of reblog references from updateTimeline 2018-11-09 21:57:56 +01:00
Thibaut Girka d457964527 [Glitch] Don't remove originals of boosted toots from timeline
Port 019c39bf1d to glitch-soc
2018-11-09 21:57:56 +01:00
Thibaut Girka 1dc409ffa6 Fix drawer waves being displayed in the list editor 2018-11-09 18:00:29 +01:00
Thibaut Girka 759005e4d0 [Glitch] Fix form validation flash message color and input borders
Port 718e4752a9 to glitch-soc
2018-11-09 15:10:09 +01:00
Thibaut Girka e48b428ef3 [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 c29da32add [Glitch] Update reset.scss from upstream 2018-11-06 16:03:53 +01:00
Thibaut Girka 235e9b13ff Fix timestamp position in public pages with RTL languages 2018-10-31 11:37:47 +01:00
Thibaut Girka 080a6cb6f3 Fix styling of display names in public pages 2018-10-31 11:37:47 +01:00
Thibaut Girka 13567f13af [Glitch] Port some of upstream's getting started footer links 2018-10-31 10:07:41 +01:00
Thibaut Girka 5ad4bcbece [Glitch] Fix empty display name precedence over username in web UI
Port 4084814d8a to glitch-soc
2018-10-30 17:54:50 +01:00
Thibaut Girka 8bef422043 Add a local setting for inline preview cards 2018-10-30 17:51:06 +01:00
Thibaut Girka 4fe81a99c6 Add a “link” status icon for toots with a preview card 2018-10-30 17:51:06 +01:00
Thibaut Girka 7f023b3b98 [Glitch] Fix dimensions of preview cards, fix crash in web UI, fix warning
Port 766a808de4 to glitch-soc
2018-10-30 17:51:06 +01:00
Thibaut Girka 18870c45f1 [Glitch] Include preview cards in status entity in REST API
Port cf2ab9c394 to glitch-soc
2018-10-30 17:51:06 +01:00
Masoud Abkenar bdcdc35df7 [Glitch] RTL: fix toot privacy preferences radio buttonss
Port 27b5a57f6d to glitch-soc
2018-10-30 11:24:40 +01:00
Masoud Abkenar cecd8b25c4 [Glitch] RTL: fix preferences page checkbox margins
Port 4e034437e3 to glitch-soc
2018-10-30 11:24:19 +01:00
ThibG f945bbac81 Merge pull request #794 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-10-28 20:36:55 +01:00
Thibaut Girka 2ad5e2c933 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 d091159140 Do not rely on hover for upload form options if touch is used 2018-10-27 19:06:49 +02:00
Thibaut Girka f679c8d70d [Glitch] RTL: fix column-back-button__icon margins/content
Port 38bd132c46 to glitch-soc
2018-10-27 18:55:11 +02:00
Thibaut Girka 1a63a8f74e [Glitch] Surround mid-text display names with bdi tags
Port 19aaf0e99f to glitch-soc
2018-10-22 18:57:20 +02:00
Thibaut Girka 6651d4fa7c [Glitch] fix: initial state of PrivacyDropdown is should not be null
Port 8f0c64baf1 to glitch-soc
2018-10-22 18:41:34 +02:00
Thibaut Girka 2159add1d6 [Glitch] RTL: fix cardbar margins and alignment
Port eb62f72990 to glitch-soc
2018-10-22 18:39:37 +02:00
Thibaut Girka f48cff1a95 [Glitch] RTL: fix admin account avatar margin in about page
Port a105bf8516 to glitch-soc
2018-10-22 18:38:52 +02:00
Thibaut Girka 15e3b0f070 [Glitch] RTL: fix column settings toggle label
Port 26c662792c to glitch-soc
2018-10-22 18:38:11 +02:00
Thibaut Girka c47e40cd6e [Glitch] Fix domain label position and color
Port 45b8a91983 to glitch-soc
2018-10-22 18:37:17 +02:00
Thibaut Girka 69d348ed98 [Glitch] RTL: fix preferences layout
Port 6b1f1c32c5 to glitch-soc
2018-10-22 18:34:48 +02:00
Thibaut Girka 7dc82e1eb2 [Glitch] Fix admin account avatar margin
Port 064b26f03c to glitch-soc
2018-10-22 18:33:35 +02:00
Thibaut Girka acd870ccba [Glitch] RTL: fix user stats in about page
Port 4a95304331 to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka 81c0cbaa9e [Glitch] RTL: fix domain append at signup form
Port ec15808edd to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka 0631c9ed7c [Glitch] Fixes 8987 broken alignment at "Remote interaction dialog"
Port 024326e6e6 to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka d779b09ed7 [Glitch] RTL: fix admin account margins in about page
Port 3d51268c4c to glitch-soc
2018-10-22 18:31:50 +02:00
Thibaut Girka d804ed1dd4 [Glitch] undo part of PR 8202 to fix RTL
Port 96696a40ff to glitch-soc
2018-10-22 18:22:01 +02:00
Thibaut Girka 2ecd3d97ba [Glitch] Improve style of notice/alert messages
Port ce6772690f to glitch-soc
2018-10-22 18:20:43 +02:00
Thibaut Girka 3d8c1f6104 Attempt at fixing inline video player 2018-10-21 16:09:07 +02:00
Thibaut Girka 9614abc713 Update mediaGallery component's width when opening CWs 2018-10-21 16:09:07 +02:00
Thibaut Girka 8c2027ebe2 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 1cb7fe932d Focus the UI when pressing Escape in the CW field 2018-10-20 15:00:39 +02:00
Thibaut Girka a8e896af12 Fix fav/boosts hotkeys not working on detailed statuses 2018-10-18 19:00:59 +02:00
Thibaut Girka ccf5ddfd88 Handle alt+enter in the spoiler input as shortcut for secondary post
Fixes #780
2018-10-14 12:00:21 +02:00
Thibaut Girka 794b2dad99 Fix auto-unfold CWs when no regexp is set
Fixes #778
2018-10-12 23:34:26 +02:00
Thibaut Girka bf559a477a Really fix HotKeys 2018-10-10 17:40:06 +02:00
Thibaut Girka f9fc7d7660 Fix CW icon color in local-settings modal 2018-10-09 18:10:54 +02:00
Thibaut Girka d21c9f08e5 Define some local-settings hints 2018-10-09 18:10:54 +02:00
Thibaut Girka c40ba63f42 Add support for hints (or extended descriptions) in local-settings pages 2018-10-09 18:10:54 +02:00
Thibaut Girka c598692cdf When screen width is too narrow, hide local-settings page text, keep only icons 2018-10-09 18:10:54 +02:00
Thibaut Girka 56773bc55c Change “preferences” icon to match settings page icon 2018-10-09 18:10:54 +02:00
Thibaut Girka 065a19b18b Add icons for each of the local-setting pages 2018-10-09 18:10:54 +02:00
Thibaut Girka e968dcea13 Fix app-wide hotkeys randomly failing to work 2018-10-09 12:10:51 +02:00
Thibaut Girka 3f68e9ed11 Move “Show action buttons in collapsed toots” option 2018-10-08 13:49:25 +02:00
Thibaut Girka caa56b01a9 Switch from selects to radio buttons for local settings, improve styling 2018-10-08 13:49:25 +02:00
Thibaut Girka 58cbb9ef8f [Glitch] Change documentation URL
Port 7635a136c9 to glitch-soc
2018-10-07 22:56:24 +02:00
Thibaut Girka 52f97080e7 [Glitch] RTL: fix margins of public-account-header__tabs
Port e2065ceead to glitch-soc
2018-10-07 22:56:24 +02:00
Thibaut Girka b4bab7eb35 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 72305816ea [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 1476e653ec Make hidden media clickable in account media gallery 2018-10-02 22:00:57 +02:00
Thibaut Girka c2f963256c Add media description (or status spoiler) in account media gallery 2018-10-02 22:00:57 +02:00
Thibaut Girka a62e47672e Fix account gallery hidden media background color in mastodon-light 2018-10-02 22:00:57 +02:00
Thibaut Girka e9f2659066 [Glitch] Honour displayMedia setting in accountMedia gallery
Inspired by aeca336e22
2018-10-02 22:00:57 +02:00
Thibaut Girka 536d95ae7c [Glitch] Add support for new display_media setting
Port bb8afc4608 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 56714ef14c [Glitch] RTL: fix margins: public-layout.header.nav-button
Port bf20094a3f to glitch-soc
2018-10-01 14:38:35 +02:00
Thibaut Girka 9bec970736 [Glitch] RTL: fix statubar action buttons/counter margins
Port b837c636ac to glitch-soc
2018-10-01 14:38:32 +02:00
Thibaut Girka 9617c07724 [Glitch] Separate font-family into variable
Port 8913189055 to glitch-soc
2018-10-01 14:38:29 +02:00
Spencer Alves 981a41ca2c Add option to hide action bar in collapsed toots 2018-09-30 08:31:50 +02:00
David Yip d698c06aa8 Merge pull request #681 from ThibG/glitch-soc/fixes/accessibility
Port various accessibility improvements from upstream
2018-09-29 19:01:19 -05:00
David Yip 278d21bb0b Merge pull request #755 from ThibG/glitch-soc/features/optional-reply-selection
Make pre-selection of usernames optional when replying to a toot
2018-09-29 19:01:05 -05:00
David Yip dc8da22a73 Merge pull request #754 from ThibG/glitch-soc/fixes/scroll-compose-into-view
Scroll to textarea when composing a toot
2018-09-29 19:00:31 -05:00
David Yip a469f72e3b Merge pull request #745 from ThibG/glitch-soc/fixes/grey-out-button
Disable the “TOOT” button (and secondary toot button) if the toot text is empty
2018-09-29 19:00:06 -05:00
Thibaut Girka e7ddcf50ab Make pre-selection of usernames optional when replying to a toot
Fixes #751
2018-09-28 21:01:09 +02:00
Thibaut Girka 39b29ae6eb Fix styling issue in “Compose box options” local settings page 2018-09-28 18:55:44 +02:00
Thibaut Girka d27b7d7645 Scroll to textarea when composing a toot 2018-09-28 18:44:55 +02:00
Thibaut Girka c454db6f11 [Glitch] Adjust beforeUnload conditions
Port 05f90e3695 to glitch-soc
2018-09-28 17:09:25 +02:00
Thibaut Girka 0081bf3784 Disable the “TOOT” button (and secondary toot button) if the toot text is empty 2018-09-21 23:20:06 +02:00
Thibaut Girka 840cf21a3c Fix background being transparent for verified link fields 2018-09-21 12:56:42 +02:00
Thibaut Girka b865cf7018 [Glitch] Display verified links in glitch flavor
Port front-end changes from d3105031f8 to glitch-soc
2018-09-21 12:56:42 +02:00
Thibaut Girka c25d8949e3 [Glitch] Add edit profile action button to profile
Port some parts from 931c88b0aa
2018-09-21 12:56:42 +02:00
Thibaut Girka cb333daa72 [Glitch] Fix “Toots” tab highlighting for replies and media timelines
Port front-end changes from 060a4af2d1
2018-09-21 12:56:29 +02:00
Thibaut Girka 6af379cf53 Prevent clicks on video from initiating selections 2018-09-21 12:56:13 +02:00
霧島ひなた 92919b25d7 change translation glitch's features [ja] 2018-09-21 10:55:44 +02:00
霧島ひなた 368d8beaf8 translation glitch's features [ja] 2018-09-21 10:55:44 +02:00
Thibaut Girka ac4daca235 [Glitch] Redesign forms, verify link ownership with rel="me"
Port SCSS changes from d3105031f8
2018-09-20 18:23:53 +02:00
Thibaut Girka 6c042828e2 [Glitch] Port SCSS changes from upstream
Port SCSS changes from:
- f91fa10804
- d171801898
- 34fdf77f48
- aa606281f1
- 3570ce319b
- 801b0f583f
- 94b7dddeac
2018-09-20 18:23:16 +02:00
Thibaut Girka fa3520721b [Glitch] Group reports by target account
Port SCSS from 50978383f9 to glitch-soc
2018-09-20 17:54:04 +02:00
Thibaut Girka 495b50e3ab Fix thread CW expansion not being reset when changing threads 2018-09-16 12:41:20 +02:00
Igor Galić e02703bb91 prepend re: to replies to spoiler-text
if spoiler-text doesn't already start with re:, we prepend `re: `
ourselves in replies.

This implements https://github.com/tootsuite/mastodon/issues/8667
Following Plemora's example: https://git.pleroma.social/pleroma/pleroma-fe/merge_requests/318
2018-09-13 22:32:03 +02:00
Thibaut Girka 85befb90b2 Improve keyboard VS mouse navigation of dropdown menus 2018-09-13 20:32:08 +02:00