Commit graph

1106 commits

Author SHA1 Message Date
Thibaut Girka
a855f38086 Make bold text bolder 2019-04-24 22:40:17 +02:00
Thibaut Girka
ad30895262 Remove margins around p tags in lists 2019-04-24 22:40:17 +02:00
Thibaut Girka
ce2da44c2c Rename status__text to status__content__text for consistency with upstream 2019-04-24 22:40:17 +02:00
Thibaut Girka
facc95f71a Fix status header display in toot mobile menu 2019-04-24 20:21:19 +02:00
Thibaut Girka
b43cfd3eb3 Fix upload progressbar when image resizing is involved 2019-04-24 20:19:23 +02:00
Thibaut Girka
4a95bfe919 Hide media upload form if no media are attached 2019-04-24 19:47:11 +02:00
Thibaut Girka
07367bc6ec Fix file upload 2019-04-24 07:57:28 +02:00
Thibaut Girka
86108e7af7 Fix settings modal 2019-04-23 18:31:13 +02:00
Thibaut Girka
9aeb714b7a Add support for lists in statuses 2019-04-22 23:07:14 +02:00
Thibaut Girka
fea727c61a Do not switch to italic for status media buttons 2019-04-22 23:07:14 +02:00
Thibaut Girka
22ad8c89b2 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
4ce6358787 [Glitch] Fix modal items cannot scroll on touch devices
Port 92ced1e94b to glitch-soc
2019-04-22 22:57:39 +02:00
Thibaut Girka
1b8d2af1f9 Fix ReferenceError in dropdown 2019-04-22 20:15:47 +02:00
Thibaut Girka
25cfabce26 Fix broken reference to handleSubmit 2019-04-22 20:15:47 +02:00
Thibaut Girka
041e27bd2d Cleanup 2019-04-22 20:15:47 +02:00
Thibaut Girka
2ee26ba420 Move ComposerPublisher to Compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
bf8b0394b7 Add OptionsContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
ef17da32f9 Move composer Dropdown from features/composer to features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
a6bb49adf1 Move ComposerTextareaIcons to TextareaIcons 2019-04-22 20:15:47 +02:00
Thibaut Girka
08faf16d66 ComposerTextarea → AutosuggestTextarea 2019-04-22 20:15:47 +02:00
Thibaut Girka
513547ba57 ComposerUploadForm → UploadForm + UploadFormContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
f7d1772fc8 Move PollForm from features/composer to features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
2021f14e8f Inline spoiler input 2019-04-22 20:15:47 +02:00
Thibaut Girka
3529f6f4ae ComposerReply → ReplyIndicator 2019-04-22 20:15:47 +02:00
Thibaut Girka
ad6166f0ef Refactor Compose*Warning → ContainerWarning
Regression: only one warning at a time
2019-04-22 20:15:47 +02:00
Thibaut Girka
5e4588524b features/composer/index.js → ComposeForm 2019-04-22 20:15:47 +02:00
Thibaut Girka
8ea0e64864 DrawerHeader → Header + HeaderContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
2f2381a400 DrawerAccount → NavigationBar + NavigationContainer 2019-04-22 20:15:47 +02:00
Eugen Rochko
7acc035cbe [Glitch] Show suggested follows on search screen in mobile layout
Port 541fda5fc8 to glitch-soc
2019-04-22 20:15:47 +02:00
Thibaut Girka
4aee182cd3 DrawerResults → SearchResults + SearchResultsContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
7c2cc9d681 Rework DrawerResults to make them closer to upstream 2019-04-22 20:15:47 +02:00
Thibaut Girka
5264424b71 Move DrawerSearch to Search + SearchContainer 2019-04-22 20:15:47 +02:00
Thibaut Girka
7fa3320516 Inline DrawerSearchPopout in DrawerSearch 2019-04-22 20:15:47 +02:00
Thibaut Girka
a55e1c1d49 Refactor a bit DrawerSearch to make it closer to upstream 2019-04-22 20:15:47 +02:00
Thibaut Girka
e41c4ad61b Rename flavours/glitch/features/drawer to flavours/glitch/features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
2da3b24eb8 [Glitch] Allow modal secondary button to shrink and allow wider confirmation modals
Port a6fe7ae53c to glitch-soc
2019-04-19 10:48:54 +02:00
Thibaut Girka
619d55358f Shift+click on column Back button to return to last pinable column 2019-04-17 18:40:40 +02:00
Thibaut Girka
a4db307b6a When selecting a toot via keyboard, ensure it is scrolled into view 2019-04-17 10:07:33 +02:00
Thibaut Girka
ae88690fa6 Fix opening/closing gifv sometimes making the timeline scroll 2019-04-16 22:20:23 +02:00
Eugen Rochko
771dc9235a [Glitch] Fix glitched out "not found" message for non-existing profiles in web UI
Port 403338108e to glitch-soc
2019-04-10 09:33:47 +02:00
Eugen Rochko
c97a40647a [Glitch] Add "why do you want to join" field to invite requests
Port SCSS changes from 7eb05b8724 to glitch-soc
2019-04-10 09:22:45 +02:00
Thibaut Girka
0405e42c4a Add column title to “Favourited by” and “Boosted by” columns 2019-04-08 21:59:30 +02:00
ashleyhull-versent
85a9a248f9 [Glitch] Duplicate values
Port 8037fa7d2e to glitch-soc
2019-04-08 16:22:20 +02:00
Eugen Rochko
2b965f8d17 [Glitch] Port SCSS changes from "Improve blocked view of profiles"
Port public pages SCSS changes from c84c30c542
2019-04-08 16:20:46 +02:00
ThibG
3964cc964d Merge pull request #981 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-04-04 15:13:18 +02:00
ThibG
729b3841c3 [Glitch] Update poll remaining time just like with status timestamps
Port 6e024f0d7a to glitch-soc
2019-04-04 14:58:11 +02:00
Thibaut Girka
b83e693c40 Do not handle clicks in detailed status content 2019-04-03 19:58:18 +02:00
Eugen Rochko
a547a214fd [Glitch] Fix transparent avatars showing underlying elements in avatar stack and profile
Port 9a12568a33 to glitch-soc
2019-03-30 18:19:40 +01:00
Eugen Rochko
2393504c23 [Glitch] Fix search in web UI not setting a limit, restore limit of 10
Port 20769a332a 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
d1b617374c [Glitch] squashed identity proof updates
Port JS from be7c92061c to glitch-soc
2019-03-29 10:13:44 +01:00
Thibaut Girka
b29731bb10 Fix background color transition in destructive buttons 2019-03-28 20:45:10 +01:00
ThibG
4211c9b8d3 [Glitch] Fix opacity of relationship tags
Port ddd7a9e44b to glitch-soc
2019-03-28 19:56:40 +01:00
Thibaut Girka
773c600c26 Fix left border of profile navigation tab 2019-03-28 19:56:40 +01:00
Thibaut Girka
751739337d Add fa-info-circle to disclaimer 2019-03-28 19:56:40 +01:00
Thibaut Girka
a23e513f79 Fix double border for account disclaimer 2019-03-28 19:56:40 +01:00
slice
5900b0b206 [Glitch] Add rel='noopener' to redesigned profile column header avatar link
Port da47c30eac to glitch-soc
2019-03-28 19:56:40 +01:00
ThibG
fb17e24352 [Glitch] Move the account dropdown menubar to the right, make sure it doesn't move
Port 2e5ec8b7c8 to glitch-soc
2019-03-28 19:56:40 +01:00
Aditoo17
6df0d0fd51 [Glitch] Make clicking on avatar open public profile in new tab
Port 70a78d968f to glitch-soc
2019-03-28 19:56:40 +01:00
mayaeh
a338bde550 [Glitch] Fix menu items that don't action
Port 798d9a6b4a to glitch-soc
2019-03-28 19:56:40 +01:00
Eugen Rochko
cfbadfa392 [Glitch] Redesign profile column in web UI to match design on public pages
Port 858bc12635 to glitch-soc
2019-03-28 19:56:40 +01:00
Thibaut Girka
22d45fe6b9 Fix centering on public pages 2019-03-28 19:56:03 +01:00
Thibaut Girka
177a0ef2ec Fix padding and centering of display names 2019-03-28 19:56:03 +01:00
Thibaut Girka
1476826aba Port search results styling to glitch-soc 2019-03-28 19:56:03 +01:00
Thibaut Girka
d72bc923e9 Revert "[Glitch] fix: update to emoji-mart 2.10.0"
This reverts commit b0e478fcc5.
2019-03-27 14:04:52 +01:00
ThibG
5ca976c776 [Glitch] Add a “Block & Report” button to the block confirmation dialog
Port 36a6089a22 to glitch-soc
2019-03-26 17:44:00 +01:00
Hinaloe
824dc7c6b9 [Glitch] Do not set CSRF Token when no csrf header
Port cc670c3234 to glitch-soc
2019-03-26 16:12:46 +01:00
Eugen Rochko
36daf28215 [Glitch] Change icons of features on admin dashboard to remove bias
Port SCSS changes from 88a85f2574 to glitch-soc
2019-03-26 16:11:30 +01:00
Eugen Rochko
f6767a00d4 [Glitch] Add lang attribute to statuses in web UI
Port JS changes from 0e730974cd to glitch-soc
2019-03-26 16:09:59 +01:00
ThibG
a1cc930335 [Glitch] Do not empty timeline of blocked users on block
Port 248de99443 to glitch-soc
2019-03-26 16:07:47 +01:00
Eugen Rochko
f37800e097 [Glitch] Add custom closed registrations message to landing page when set
Port SCSS changes from b4c64dcccc to glitch-soc
2019-03-26 16:01:59 +01:00
ThibG
5c8d15326f [Glitch] Add support for custom emojis in poll options
Fixes #956

Port 2a211ff18c to glitch-soc
2019-03-20 17:34:32 +01:00
ThibG
3db8178355 [Glitch] Reduce padding around logo on landing page
Port 45e43b70f9 to glitch-soc
2019-03-20 14:54:52 +01:00
Eugen Rochko
57b5582301 [Glitch] Add Keybase integration
Port SCSS changes from a3c41f3532 to glitch-soc
2019-03-20 14:54:19 +01:00
Eugen Rochko
b932e50dde [Glitch] Disable real-time updates on public pages to improve readability
Port 9832fbf3c5 to glitch-soc
2019-03-20 14:51:25 +01:00
Eugen Rochko
f7a28fd46d [Glitch] Fix relationship manager on narrow screens
Port 88864708e6 to glitch-soc
2019-03-18 18:07:03 +01:00
ThibG
91419e3b68 [Glitch] Save quick filter settings when selecting a different filter
Port 14901400f3 to glitch-soc
2019-03-18 18:06:26 +01:00
Nolan Lawson
b0e478fcc5 [Glitch] fix: update to emoji-mart 2.10.0
Port e781d842a5 to glitch-soc
2019-03-16 21:39:13 +01:00
Eugen Rochko
26fdcccce3 [Glitch] Fix scrollbar styles on compose textarea, small bugs
Port 55b8a88419 to glitch-soc
2019-03-16 21:07:50 +01:00
Thibaut Girka
0ead513c58 Fix settings/flavours
Update theming system to use new paths for media files
2019-03-16 16:21:20 +01:00
Eugen Rochko
929b66be61 [Glitch] Add relationship manager UI
Port SCSS changes from 4fa2d55d4e to glitch-soc
2019-03-16 14:36:29 +01:00
Eugen Rochko
80ae1f7bcf [Glitch] Admission-based registrations mode
Port SCSS changes from 73fb7bfa0f to glitch-soc
2019-03-14 17:54:44 +01:00
Eugen Rochko
c128abc413 [Glitch] Improve invites list with click-to-copy inputs
Port 2e6c6ce855 to glitch-soc
2019-03-14 17:44:39 +01:00
ThibG
0381a07606 [Glitch] Add UI for enabling/disabling poll notifications 2019-03-13 22:21:52 +01:00
Eugen Rochko
177258aa57 [Glitch] Add muted style for polls in web UI
Port de50bc6def to glitch-soc
2019-03-13 16:02:36 +01:00
Eugen Rochko
ac5169aa31 [Glitch] Fix public timeline page not paginating correctly
Port 3a435fa130 to glitch-soc
2019-03-13 15:56:51 +01:00
Eugen Rochko
21366f9e05 [Glitch] Redesign landing page
Port 56822606f4 to glitch-soc
2019-03-13 15:53:00 +01:00
Thibaut Girka
043978a20e Remove leftover console.log 2019-03-11 14:39:45 +01:00
Thibaut Girka
1e4ea4f391 Make clicking on the account and status column headers scroll to top 2019-03-11 14:19:16 +01:00
ThibG
91045bef61 Merge pull request #953 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-03-11 13:23:54 +01:00
Thibaut Girka
3a7fb657f3 [Glitch] Add support for poll ending notifications
Port front-end parts of 11ce444b8b to glitch-soc
2019-03-11 13:08:21 +01:00
ash lea
00bc35891b add local setting to auto reveal media behind cw 2019-03-11 12:14:45 +01:00
Kirishima21
2172dec88d fix poll fotter layout
画面の幅が充分でないときに
表示外にまでボタンが拡大されてしまわないように修正。
2019-03-11 12:09:30 +01:00
Eugen Rochko
b9a799c343 [Glitch] Fix NaN in Poll component
Port 19cccea89a to glitch-soc
2019-03-08 01:01:19 +01:00
Eugen Rochko
7565b8afa3 [Glitch] Fix public timelines being broken by new toots when they are not mounted
Port 8e9db67a6a to glitch-soc
2019-03-08 01:00:14 +01:00
Thibaut Girka
a9597fd8a6 Allow setting whether this is a single choice poll or multiple choices one 2019-03-06 23:56:53 +01:00
Thibaut Girka
81a92465f2 Disable file upload when there is a poll 2019-03-06 23:56:53 +01:00
Thibaut Girka
49c4e57973 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
e2d56cc90d [Glitch] Port polls creation UI from upstream 2019-03-06 23:56:53 +01:00
ThibG
6b4eb1ac96 [Glitch] Disable the underlying button element when an ItemButton is disabled
Port 365f875f57 to glitch-soc
2019-03-06 22:40:17 +01:00
Thibaut Girka
8d82e153f3 Add an icon to highlight polls behind a Content Warning 2019-03-06 13:01:27 +01:00
Eugen Rochko
9844b44e99 Fix poll options not rendering text after vote/refresh
Port 9cae3a3b48 to glitch-soc
2019-03-06 11:44:27 +01:00
Eugen Rochko
31017d18a5 Avoid line breaks in poll options
Port 0d8890f073 to glitch-soc
2019-03-06 11:43:14 +01:00
Eugen Rochko
3ce4d88e6c Render unicode emoji in polls using emoji pack
Port 73d3bb4a2c to glitch-soc
2019-03-06 11:42:25 +01:00
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
Thibaut Girka
da24c6aced Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- app/serializers/rest/instance_serializer.rb
- app/views/layouts/error.html.haml
- public/oops.png
  Took our version (same as upstream but without the things that only
  make sense in an animation).

Additional changes:
- app/javascript/flavours/vanilla/theme.yml
  Include upstream's javascript in error pages.
2019-02-17 12:26:55 +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