Commit graph

569 commits

Author SHA1 Message Date
Eugen Rochko
c84c30c542 Improve blocked view of profiles ()
* Revert "Fix filtering of favourited_by, reblogged_by, followers and following ()"

This reverts commit 0317f37c6f.

* Revert "Hide blocking accounts from blocked users ()"

This reverts commit 4cd944d364.

* Improve blocked view of profiles

- Change "You are blocked" to "Profile unavailable"
- Hide following/followers in API when blocked
- Disable follow button and show "Profile unavailable" on public profile as well
2019-04-07 04:59:13 +02:00
ashleyhull-versent
b0348d0f92 tinyfix 2: unrequired arguments ()
* unrequired argument

* unrequired argument
2019-04-06 12:02:03 +09:00
ashleyhull-versent
8037fa7d2e Duplicate values () 2019-04-04 23:22:55 +09:00
ThibG
4cd944d364 Hide blocking accounts from blocked users ()
* Revert "Add indication that you have been blocked in web UI ()"

This reverts commit d31affe69b.

* Revert "Add `blocked_by` relationship to the REST API ()"

This reverts commit a8bb10633d.

* Hide blocking accounts from search results

* Filter blocking accouts from account followers

* Filter blocking accouts from account's following accounts

* Filter blocking accounts from “reblogged by” and “favourited by” lists

* Remove blocking account from URL search

* Return 410 on trying to fetch user data from a user who blocked us

* Return 410 in /api/v1/account/statuses for suspended or blocking accounts

* Fix status filtering when performing URL search

* Restore some React improvements

Restore some cleanup from d31affe69b

* Refactor by adding `without_blocking` scope
2019-04-01 20:06:13 +02:00
Jeong Arm
1289e86116 Remove unused code () 2019-03-30 15:47:25 +09:00
Eugen Rochko
ed2862e249 Fix emoji-mart crashing web UI on search by reverting the upgrade to 2.10.0 ()
Fix 

This reverts commit e781d842a5.
2019-03-30 01:41:35 +01:00
Eugen Rochko
d31affe69b Add indication that you have been blocked in web UI () 2019-03-30 00:43:29 +01:00
Alex Gessner
be7c92061c squashed identity proof updates () 2019-03-28 18:01:09 +01:00
slice
da47c30eac Add rel='noopener' to redesigned profile column header avatar link () 2019-03-27 17:08:26 +01:00
ThibG
2e5ec8b7c8 Move the account dropdown menubar to the right, make sure it doesn't move ()
* Move the account dropdown menubar to the right, make sure it doesn't move

* Fix margin
2019-03-26 23:05:21 +01:00
ThibG
36a6089a22 Add a “Block & Report” button to the block confirmation dialog () 2019-03-26 17:34:02 +01:00
Aditoo17
70a78d968f Make clicking on avatar open public profile in new tab () 2019-03-26 17:33:07 +01:00
mayaeh
798d9a6b4a Fix menu items that don't action () 2019-03-26 05:31:09 +01:00
Eugen Rochko
858bc12635 Redesign profile column in web UI to match design on public pages ()
* Redesign profile column in web UI to match design on public pages

* Make the tab links text bolder
2019-03-26 00:36:25 +01:00
Eugen Rochko
9832fbf3c5 Disable real-time updates on public pages to improve readability () 2019-03-18 18:34:56 +01:00
Nolan Lawson
e781d842a5 fix: update to emoji-mart 2.10.0 ()
* fix: update to emoji-mart 2.10.0

* remove useless change

* fix CSS style of emoji picker, improve a11y

* fix missing newline in scss

* fix the title and input fonts
2019-03-16 20:13:15 +01:00
Eugen Rochko
55b8a88419 Fix scrollbar styles on compose textarea, small bugs () 2019-03-16 20:10:42 +01:00
Eugen Rochko
eb7cb9555b Show disappointed elephant if web UI crashes ()
* Do not crash the whole UI when loading an invalid column

* Add error boundary component to catch Web UI crashes

* Add stack trace on supported browsers

* Add component stack info, pre-format everything for github

* Make “Reload” a clickable link that calls window.location.reload()

* Remove elephant friend from error boundary, make title stand out more

* Simplify error boundary to only a graphic
2019-03-15 05:35:45 +01:00
ThibG
104c3879aa Add UI for enabling/disabling poll notifications ()
* Add UI for enabling/disabling poll notifications

* Add poll notifications to the (advanced) quick filter bar

* Update poll notification message

“Your poll has ended” → “A poll you have voted in has ended”

* Clear up associated notifications when a poll is deleted
2019-03-13 19:29:54 +01:00
Eugen Rochko
3a435fa130 Fix public timeline page not paginating correctly () 2019-03-12 21:53:56 +01:00
Eugen Rochko
56822606f4 Redesign landing page () 2019-03-12 17:34:00 +01:00
ThibG
11ce444b8b Support pushing and receiving updates to poll tallies ()
* Process incoming poll tallies update

* Send Update on poll vote

* Do not send Updates for a poll more often than once every 3 minutes

* Include voters in people to notify of results update

* Schedule closing poll worker on poll creation

* Add new notification type for ending polls

* Add front-end support for ended poll notifications

* Fix UpdatePollSerializer

* Fix Updates not being triggered by local votes

* Fix tests failure

* Fix web push notifications for closing polls

* Minor cleanup

* Notify voters of both remote and local polls when those close

* Fix delivery of poll updates to mentioned accounts and voters
2019-03-11 00:49:31 +01:00
Eugen Rochko
a15b0dc600 Add UI for creating polls ()
* Add actions and reducers for polls

* Add poll button

* Disable media upload if poll enabled

* Add poll form

* Make delete & redraft work with polls
2019-03-06 04:53:37 +01:00
Eugen Rochko
4a3acdc916 Add polls ()
* Add polls

Fix 

* Add tests

* Fixes

* Change API for creating polls

* Use name instead of content for votes

* Remove poll validation for remote polls

* Add polls to public pages

* When updating the poll, update options just in case they were changed

* Fix public pages showing both poll and other media
2019-03-03 22:18:23 +01:00
Eugen Rochko
0c8d1435c5 Fix home timeline perpetually reloading when empty ()
Regression from 
2019-03-01 11:11:35 +01:00
ThibG
eaba640112 Fix video player width not being updated to fit container width () 2019-02-18 00:10:21 +01:00
ThibG
3547e3e59e Fix crash on public hashtag pages when streaming fails () 2019-02-16 14:53:27 +01:00
Eugen Rochko
8ff757ed6a Fix mutes, blocks, domain blocks and follow requests not paginating ()
Regression from 
2019-02-16 11:56:09 +01:00
Eugen Rochko
dae31d8799 Fix hashtag column not subscribing to stream on mount ()
Fix 
2019-02-14 15:46:42 +01:00
Ben Lubar
a679867d38 Improve image description user experience ()
* Add image descriptions to searchable post content.

* Allow multi-line image descriptions.

* Request image descriptions in the same query as posts when creating the search index.

(see https://github.com/tootsuite/mastodon/pull/10036#discussion_r256551624)
2019-02-14 01:04:43 +01:00
ThibG
793946fadb Add list title editing ()
* Add list title editing

Port changes made by ash for glitch-soc

* Code style fixes
2019-02-13 18:52:02 +01:00
Eugen Rochko
bc9930f59d Fix hashtags select styling in default and high contrast themes () 2019-02-13 18:34:58 +01:00
Hinaloe
6866739387 Don't focus spiler input when disabled spoiler () 2019-02-12 05:10:31 +01:00
ThibG
98642fef2a Fix timeline jumps ()
* 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.

* Adjust scroll when new preview cards appear

* Adjust scroll when statuses above the current scroll position are deleted
2019-02-11 13:19:59 +01:00
Eugen Rochko
12cb694634 Add "copy link" item to status action bars ()
Fix 
2019-02-11 12:19:49 +09:00
mayaeh
f308fb56ab Rename from instance to server. () 2019-02-05 19:11:24 +01:00
mike castleman
be6c12fbea change "finish tutorial" text to "finish toot-orial" () 2019-02-04 04:45:29 +01:00
tmm576
640966f3fc Allow multiple files upload through web UI, including drag & drop ()
* Allow drag and drop uploads of multiple files to compose

* Calculate aggregate upload progress for single action

* Allow multiple uploads to compose through traditional input, consolidate update file limit logic, provide file limit feedback
2019-02-02 20:22:05 +01:00
Eugen Rochko
77dc5cc132 Refactor icons in web UI to use Icon component ()
* Refactor uses of icons to an Icon component in web UI

* Refactor options passed to the Icon component

* Make tests work with absolute component paths
2019-02-01 00:14:05 +01:00
Clar Charr
4fb1d8129d Replace unlock-alt icon with unlock () 2019-01-31 13:45:15 +01:00
ThibG
b5feaa4d54 Fix initial value of volume slider in video player and handle volume changes ()
* Fix initial value of volume slider in video player and handle volume changes

* Clean up dead/incorrect code
2019-01-27 21:18:15 +01:00
ThibG
09f7773e26 Implement missing hotkeys for notifications () 2019-01-27 17:54:54 +01:00
Eugen Rochko
d28a2f7636 Fix new hashtag page's items not being full-width on mobile ()
Fix 
2019-01-18 20:58:11 +01:00
tmm576
393a56d611 Allow event defaults on index for text data transfer () 2019-01-17 23:27:51 +01:00
Eugen Rochko
43014334f8 Improve the public hashtag page ()
- Fix height not updating when clicking show more on public hashtag page
- Add header to the public hashtag page
- Change text size and margins on the public hashtag page
2019-01-17 14:06:08 +01:00
tmm576
180a665f29 Hide floating action button on search and getting started pages () 2019-01-17 09:22:12 +01:00
Eugen Rochko
380b246728 Redesign public hashtag page to use a masonry layout () 2019-01-16 19:47:46 +01:00
Hinaloe
e77cb61481 make draggingOver state off correctly ()
* make draggingOver stat off correctly

* ignore safari and Edge

* Revert "ignore safari and Edge"

This reverts commit b9b93ea3674877670161207a3f9b3a4f82b68a2d.

* Revert "make draggingOver stat off correctly"

This reverts commit f5fd6b94dc1d4b812e0b910b2b4f35792c3ea3a1.

* clear drag stack when drop
2019-01-14 07:44:26 +00:00
mayaeh
a74a1412bd Changed not to display DISCOVER subheader via single column layout. () 2019-01-08 14:32:36 +01:00
Eugen Rochko
922158bcae Move profile directory link in web UI from footer to discover section () 2019-01-07 23:59:06 +01:00