Commit graph

882 commits

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