Commit graph

81 commits

Author SHA1 Message Date
Claire
e668be4cac Fix infinite loading instead of soft 404 for non-existing remote accounts ()
Fixes , 
2022-11-27 20:48:12 +01:00
trwnh
1b9ad6fb4b Change in-app links to keep you in-app ()
* Change in-app links to keep you in-app

* refactor Permalink into Link

* rewrite link hrefs in status content

* please linter

* please linter again
2022-11-13 21:10:20 +01:00
Eugen Rochko
3ff5a02f65 Add option to open original page in dropdowns of remote content in web UI ()
Change profile picture click to open profile picture in modal in web UI
2022-11-10 08:49:35 +01:00
Eugen Rochko
716696cd80 Change design of moved account banner in web UI () 2022-11-05 21:11:24 +01:00
Eugen Rochko
bd9c4ec16d Fix limited account hint referencing "your" server when logged out () 2022-11-04 02:28:37 +01:00
Claire
b0d4b7d956 Fix being unable to withdraw follow request when confirmation modal is disabled ()
* Fix being unable to withdraw follow request when unfollow confirmation modal is disabled

Fixes 

* Fix “unfollow” being inadequately used for withdrawing follow requests from account card
2022-11-03 16:05:39 +01:00
Eugen Rochko
e700e95246 Fix case-sensitive look-up for profiles in web UI () 2022-10-21 10:06:03 +02:00
Eugen Rochko
8e0daf2214 Fix error on profile in web UI () 2022-10-20 14:47:42 +02:00
Eugen Rochko
0fdfbe555e Change public accounts pages to mount the web UI ()
* Change public accounts pages to mount the web UI

* Fix handling of remote usernames in routes

- When logged in, serve web app
- When logged out, redirect to permalink
- Fix `app-body` class not being set sometimes due to name conflict

* Fix missing `multiColumn` prop

* Fix failing test

* Use `discoverable` attribute to control indexing directives

* Fix `<ColumnLoading />` not using `multiColumn`

* Add `noindex` to accounts in REST API

* Change noindex directive to not be rendered by default before a route is mounted

* Add loading indicator for detailed status in web UI

* Fix missing indicator appearing while account is loading in web UI
2022-10-20 14:35:29 +02:00
Eugen Rochko
6ab724918b Change featured hashtags to be displayed in navigation panel () 2022-10-19 11:30:59 +02:00
prplecake
2690a13d0e Don't use "unfollow language" when cancelling follow requests ()
* Don't use "unfollow language" when cancelling follow requests

- Adds two new i18n keys: `confirmations.cancel_follow_request.confirm`
  and `confirmations.cancel_follow_request.message`
- Update the header container to use new language

* "Withdraw follow request" instead of "cancel follow request"
2022-10-19 00:12:55 +02:00
Takeshi Umeda
3e88e7ba20 Add featured tags selector for WebUI ()
* Add featured tags selector for WebUI

* Add title to tag count
2022-10-16 08:43:59 +02:00
Eugen Rochko
9b05f5b2bb Add interaction modal to logged-out web UI () 2022-10-07 10:14:31 +02:00
Eugen Rochko
f4e91041b2 Add ability to filter followed accounts' posts by language () 2022-09-20 23:51:21 +02:00
Eugen Rochko
ac3d6f9a35 Add limited attribute to accounts in REST API and a warning in web UI () 2022-05-10 09:44:35 +02:00
Eugen Rochko
07737bb6d1 Change "Direct" status visibility to "Only people I mention" in web UI ()
- Change name of conversations column in web UI
- Change hotkey for opening conversations column from `g d` to `g c` in web UI
- Remove shortcuts for creating direct-visibility statuses from web UI
2022-04-29 00:24:31 +02:00
Eugen Rochko
4375813ea7 Remove Keybase integration () 2021-11-26 05:58:18 +01:00
Claire
1de7061d5e Add aliases for WebUI routes that were renamed in ()
* Add aliases for some WebUI routes that were renamed in 

Accounts and statuses routes need more work as they use different parameters.

* Add aliases for /statuses/* routes

* Add aliases for /accounts/* WebUI routes

Does not correctly set the “active” state on the navigation tabs but this is
a minor issue.

* Fix some routes

* Fix /accounts/:id/{media,followers,following} not loading on legacy routes
2021-09-27 07:23:48 +02:00
Eugen Rochko
ce84967ee4 Change routing paths to use usernames in web UI () 2021-09-26 05:46:13 +02:00
Claire
628e5823c3 Improve modal flow and back button handling ()
* Refactor shouldUpdateScroll passing

So far, shouldUpdateScroll has been manually passed down from the very top of
the React component hierarchy even though it is a static function common to
all ScrollContainer instances, so replaced that with a custom class extending
ScrollContainer.

* Generalize “press back to close modal” to any modal and to public pages

* Fix boost confirmation modal closing media modal
2021-07-13 15:45:17 +02:00
Eugen Rochko
2d8ee84ed6 Change "Profile unavailable" string to "Account suspended" in web UI () 2020-12-14 09:08:09 +01:00
Eugen Rochko
02c4c91faa Add option to be notified when a followed user posts ()
* Add bell button

Fix 

* Remove duplicate type from post-deployment migration

* Fix legacy class type mappings

* Improve query performance with better index

* Fix validation

* Remove redundant index from notifications
2020-09-18 17:26:45 +02:00
Eugen Rochko
acbb99f7e5 Change web UI to show empty profile for suspended accounts () 2020-09-10 00:07:19 +02:00
ThibG
9a709d63c2 Fix wrong proptypes for onEditAccountNote ()
Also add missing PropTypes to the correct component

Fixes 
2020-08-02 11:20:02 +02:00
Eugen Rochko
0d9599ee02 Fix unnecessary second connection to user stream from account timeline in web UI ()
Fix regression from 
2020-07-24 14:55:14 +02:00
Ariel
ac1a3386bd Fix/14021 behaviour on add or remove toots ()
* Add toot send by current user at local state after send a new toot

Related to 

* Decrement toot counter at profile when remove a toot

Related to 

* Remove semicolon at end of line
2020-07-19 17:04:02 +02:00
Eugen Rochko
b6b2d8b8a3 Change design of account notes in web UI ()
* Change design of account notes in web UI

* Fix `for` -> `htmlFor`
2020-07-07 01:24:03 +02:00
Takeshi Umeda
911c385f2f Fix the conditions for incomplete remote content () 2020-07-01 23:38:44 +02:00
ThibG
3afc7977b1 Add user notes on accounts ()
* Add UserNote model

* Add UI for user notes

* Put comment in relationships entity

* Add API to create user notes

* Copy user notes to new account when receiving a Move activity

* Address some of the review remarks

* Replace modal by inline edition

* Please CodeClimate

* Button design changes

* Change design again

* Cancel note edition when pressing Escape

* Fixes

* Tweak design again

* Move “Add note” item, and allow users to add notes to themselves

* Rename UserNote into AccountNote, rename “comment” Relationship attribute to “note”
2020-06-30 19:19:50 +02:00
Eugen Rochko
32b7d341b7 Add hints about incomplete remote content to web UI () 2020-06-14 22:29:40 +02:00
ThibG
691b14aaf8 Add “account timeline” filter category ()
* Add “account timeline” filter category

Previously, no filter category applied to account timelines.

* Rename “Account timelines” into “Profiles”
2020-01-23 21:32:00 +01:00
trwnh
028758a768 Add missing back button header for invalid account ()
Should fix 
2019-10-07 04:33:31 +02:00
ThibG
fdd1848c7c Add explanation to mute dialog, refactor and clean up mute/block UI ()
* Add some explanation to the mute modal dialog

* Remove `isSubmitting` from mute modal code, this wasn't used

* Refactor block modal

Signed-off-by: Thibaut Girka <thib@sitedethib.com>

* Refactor SCSS a bit

* Put mute modal toggle to the same side as in the report dialog for consistency

* Reword mute explanation

* Fix mute explanation styling

* Left-align all text in mute confirmation modal
2019-09-29 21:46:05 +02:00
Eugen Rochko
293f789239 Fix scroll to top in single column UI () 2019-08-01 19:17:17 +02:00
Eugen Rochko
de4ead8fc6 Change single-column mode to scroll the whole page ()
Fix 
2019-07-19 09:25:22 +02:00
Eugen Rochko
403338108e Fix glitched out "not found" message for non-existing profiles in web UI () 2019-04-09 05:02:48 +02:00
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
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
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
ThibG
36a6089a22 Add a “Block & Report” button to the block confirmation dialog () 2019-03-26 17:34:02 +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
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
Eugen Rochko
9a32abcbac Use local instead of global loading indicator for timelines, account timelines ()
So that opening a profile feels faster. Also, pinned toots are not
shown before other toots have loaded. Also, if no toots are loaded,
added empty message
2018-11-08 21:35:06 +01:00
namelessGonbai
43bfd0a7d0 Implement adding a user to a list from their profile ()
* Add add user to list from thier profile

* Fix listAdderCss
2018-11-05 18:52:38 +01:00
Eugen Rochko
ad0670fe87 Revert Font Awesome 5 upgrade ()
* Revert "Fix some icon names changed by the Font Awesome 5. ()"

This reverts commit c8a1e945d9.

* Revert "Migrate to font-awesome 5.0. ()"

This reverts commit ae20afbc80.

* Revert "Fix some icons names, unavailable in fontawesome5 (free license). ()"

This reverts commit 30b1bb0704.

* Revert "Update the icon name changed by the Font Awesome 5. ()"

This reverts commit 84bcf89764.

* Revert "Add bot icon to bot avatars and migrate to newer version of Font Awesome ()"

This reverts commit cc784f3c16.
2018-09-28 02:11:14 +02:00
Naoki Kosaka
ae20afbc80 Migrate to font-awesome 5.0. () 2018-09-27 17:08:56 +02:00
Yamagishi Kazutoshi
23ab704b2b Upgrade Babel to version 7.0.0 () 2018-09-14 17:59:48 +02:00
Eugen Rochko
6e3cb11f3c Public profile endorsements (accounts picked by profile owner) () 2018-08-09 09:56:53 +02:00