Commit Graph

717 Commits (396c1a4c83c7407957983d75b45fc2f76556ecca)

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