Commit graph

413 commits

Author SHA1 Message Date
d6f0023cc9 Add birthday reminder notification
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-20 22:39:58 +01:00
7aef1d923b Merge remote-tracking branch 'origin/develop' into account-endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-13 22:29:32 +01:00
Alex Gleason
e94acbc44f
MFA: setupMfa/confirmMfa, throw errors to component, don't be optimistic 2022-01-12 11:22:46 -06:00
0a160f4422 User endorsements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-12 18:20:27 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
marcin mikołajczak
e1475e0ba5 Merge branch 'scheduled' into 'develop'
Scheduled statuses improvements

Closes #797

See merge request soapbox-pub/soapbox-fe!974
2022-01-08 12:45:11 +00:00
8114f7ed95 Do not insert pending statuses for scheduled statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-08 13:28:33 +01:00
Alex Gleason
93ee2a6ab7
Replying-to: fix order of mentions 2022-01-07 17:09:43 -06:00
Alex Gleason
d270e92927
Developers: add ability to edit raw settings JSON 2022-01-07 15:59:50 -06:00
Alex Gleason
2fd5e5cd35
Refactor MFA setup, fixes #792 2022-01-07 14:26:19 -06:00
b0477ac1e1 fix broken modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-07 00:50:32 +01:00
marcin mikołajczak
3dffc46fc1 Support explicit addressing 2022-01-04 20:06:08 +00:00
c36a47fd17 Interactions: optimistic unreblogs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-04 16:57:01 +01:00
Alex Gleason
a6dc420b70 Merge branch 'profile-directory' into 'develop'
Profile directory

See merge request soapbox-pub/soapbox-fe!927
2021-12-26 22:23:56 +00:00
marcin mikołajczak
955687d719 Merge branch 'search-race-condition' into 'develop'
Fix another race condition in search results

See merge request soapbox-pub/soapbox-fe!929
2021-12-26 10:54:47 +00:00
b79e760b65 Fix another race condition in search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-26 11:39:05 +01:00
10f7339e5c Profile directories, adapted from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-22 21:22:29 +01:00
Alex Gleason
ff26336f3a Merge branch 'chats-pagination' into 'develop'
use `/api/v2/pleroma/chats`

See merge request soapbox-pub/soapbox-fe!911
2021-12-14 15:13:11 +00:00
Alex Gleason
ef17a483ab
Suggestions: don't show suggestions if Home timeline failed 2021-12-13 14:25:06 -05:00
12e4c6c083 wip chat pagination
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-13 18:06:47 +01:00
d66b2e10f2 Fix: Race condition in search
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-12 20:35:45 +01:00
Alex Gleason
92439137c1
v2 Suggestions: add AdminAPI, rearrange sidebars, check instance feature flag 2021-11-26 23:36:17 -06:00
Alex Gleason
b528c4aa63
Contexts: check for cyclical in_reply_tos and prevent stitching them with tombstones 2021-11-23 15:17:12 -06:00
Alex Gleason
0e6fac9286
Web Push fixes 2021-11-18 16:21:52 -05:00
Alex Gleason
7259ed58fb
Offline: persist Soapbox config (eg frontend_configurations or soapbox.json) 2021-11-15 16:56:33 -06:00
Alex Gleason
e46e217d57
Search: don't infer filter from results, leave it alone 2021-11-15 15:20:17 -06:00
Alex Gleason
59db8fb442
Notifications: drop status notifications if status is null 2021-11-12 15:06:37 -06:00
Alex Gleason
a354fd325d
Statuses: optimistic reply counter 2021-11-12 12:18:11 -06:00
3e5f9162c8 Fix search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-03 08:43:00 +01:00
Alex Gleason
2946a7432b
Compose: pull accept content types from backend if available, fallback to all types 2021-10-31 16:14:09 -05:00
Alex Gleason
6b54e88b62
Search: refactor search reducer, add tests 2021-10-28 14:23:54 -04:00
742b1f2b58 Use ScrollableList for search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 19:58:04 +02:00
Alex Gleason
f290b78636
Timelines: push pending statuses into queue 2021-10-23 15:08:21 -05:00
Alex Gleason
e42030daae
Always check error.response before error.response.status 2021-10-20 17:50:35 -05:00
Alex Gleason
0b94774fbe
localforage: remember auth accounts 2021-10-20 16:27:36 -05:00
Alex Gleason
c8cec8fdac
localforage: create custom KVStore instance, refactor Instance actions 2021-10-20 15:17:47 -05:00
Alex Gleason
3c5384f318
localforage: add localforage, remember a fetched instance 2021-10-20 13:18:55 -05:00
Alex Gleason
3bb891adaa
Notifications: skip importing notifications with a null status 2021-10-19 18:14:51 -05:00
Alex Gleason
e19c2d8547
Timelines: push to timeline regardless of if it's "online" 2021-10-09 23:13:20 -05:00
Alex Gleason
379d03a509
Optimistic statuses: prepend with 末 to sort it at the end 2021-10-09 21:16:37 -05:00
Alex Gleason
135b4c4d7b
Optimistic replies: fix duplicated statuses 2021-10-09 21:12:21 -05:00
Alex Gleason
03dbd5bfd2
Optimistic threads 2021-10-09 17:47:25 -05:00
Alex Gleason
50feacbd6b
Optimistic, nonblocking statuses 2021-10-09 17:30:20 -05:00
Alex Gleason
c789fba629
Notifications: use Markers for unread count
This works consistently across all backends
2021-10-04 13:27:05 -05:00
Alex Gleason
1be73d13a1
Suggestions: fix optimistic dismissal 2021-10-02 15:18:27 -05:00
Alex Gleason
86950dde42
Mastodon: clear token on 401 in VERIFY_CREDENTIALS_FAIL 2021-09-26 16:30:45 -05:00
Alex Gleason
209da02b9f
Fix accounts_meta reducer 2021-09-24 18:53:01 -05:00
Alex Gleason
96c2e42ebf
Preload: call verifyCredentials after Mastodon preload to get the "source" parameter of the account 2021-09-24 18:47:22 -05:00
Alex Gleason
c1ed8ed16f
Mastodon: hide notifications counter 2021-09-20 13:00:24 -05:00
Alex Gleason
aeef12acf0
Rip out react-redux-loading-bar 2021-09-18 18:31:22 -05:00
Alex Gleason
1bffa04a99
Suggestions: consolidate actions 2021-09-17 15:42:14 -05:00
Alex Gleason
c92de334e8
Suggestions: consolidate reducers 2021-09-17 15:26:58 -05:00
Alex Gleason
9faff939a0
SuggestionsV2: pull in Mastodon's upstream code 2021-09-16 18:46:04 -05:00
Alex Gleason
65a3ab982c
Preload: import auth credentials from Mastodon's initial-state 2021-09-15 13:34:22 -05:00
Alex Gleason
937782dc62
Rename PRELOAD_IMPORT to PLEROMA_PRELOAD_IMPORT 2021-09-15 12:15:36 -05:00
Alex Gleason
33aaffa22d
Use immutable.js consistently 2021-09-12 11:25:44 -05:00
marcin mikołajczak
495882658a Merge branch 'develop' into 'public-favourites'
# Conflicts:
#   app/soapbox/features/favourited_statuses/index.js
2021-09-11 17:25:49 +00:00
125f446eed rename, add Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 12:41:42 +02:00
marcin mikołajczak
c2fc7a0331 Merge branch 'develop' into 'reactions-page'
# Conflicts:
#   app/soapbox/utils/features.js
2021-09-09 20:48:30 +00:00
3672d9faa5 Show user likes to others if hide_favorites===false
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 20:05:54 +02:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY 2021-09-05 13:21:39 -05:00
Alex Gleason
390cdf4c5e
Authenticated fetch: make the instance appear censored 2021-09-04 14:47:11 -05:00
Alex Gleason
905e160749
Subdirectory: namespace auth to FE_BASE_PATH 2021-09-04 14:18:47 -05:00
Alex Gleason
c624afdfb7
Standalone: add external accounts, refresh on logout 2021-08-30 16:54:04 -07:00
Thibaut Girka
64665df236 Improve dropdown menu keyboard navigation
* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes
2021-08-28 15:22:43 +02:00
Alex Gleason
56462d8a9a
Add accounts_meta reducer to support storing source data for multiple accounts 2021-08-23 17:51:32 -05:00
Alex Gleason
d2a6a90757
Mastodon: fix edit profile source rendering 2021-08-23 16:03:35 -05:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Alex Gleason
74f4c59004
Auth: refactor OAuth token actions 2021-08-21 19:45:45 -05:00
Alex Gleason
463b3ba085
Auth: store users by their ActivityPub ID instead of their primary key 2021-08-21 17:38:19 -05:00
Alex Gleason
b53b031720
Lint fix 2021-08-11 12:22:06 -05:00
Alex Gleason
bde53541b7 Merge branch 'account-aliases' into 'develop'
Account aliases

See merge request soapbox-pub/soapbox-fe!663
2021-08-11 17:02:56 +00:00
Alex Gleason
66ece5251e
Nuke LoadGap 2021-08-09 21:02:00 -05:00
b157530ebf No account search results message
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-08 16:17:29 +02:00
d36ec10c6a Auto select search tab that has results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:57:22 +02:00
403d6ae48c Search results improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:42:39 +02:00
f203a4d389 WIP: Account aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-05 15:31:29 +02:00
Alex Gleason
dcd964dba9 Merge branch 'eslint-recommended' into 'develop'
eslint: extend 'eslint:recommended'

See merge request soapbox-pub/soapbox-fe!661
2021-08-03 19:57:41 +00:00
Alex Gleason
497b6b08d4 Merge branch 'store-current-search-tab' into 'develop'
Keep selected search results tab

See merge request soapbox-pub/soapbox-fe!657
2021-08-03 19:39:09 +00:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
f8dcafae98 update tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:10:41 +02:00
bd16715763 Keep active search results tab
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 20:51:15 +02:00
Alex Gleason
e7813e178a Merge branch 'search-tabs' into 'develop'
Tabbed, paginated search results

See merge request soapbox-pub/soapbox-fe!652
2021-07-30 23:16:31 +00:00
e7d122dc95 No more items if there are less than 20 results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 21:49:28 +02:00
d0f3fe6771 Tabbed, paginated search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 17:51:43 +02:00
Alex Gleason
e4dd720d51
EditFederationModal: use ConfigDB directly instead of /api/v1/instance 2021-07-28 17:06:21 -05:00
Alex Gleason
912bb129be Merge branch 'remove-indexeddb-reads' into 'develop'
Remove unused IndexedDB reads

See merge request soapbox-pub/soapbox-fe!624
2021-07-20 20:26:51 +00:00
Alex Gleason
09d7ec3161
Remove unused IndexedDB reads
https://github.com/mastodon/mastodon/pull/14730
2021-07-20 15:05:58 -05:00
0e59139902 Use Mastodon defaults for initial state
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 23:15:42 +02:00
Alex Gleason
5f3b33cce7
Merge remote-tracking branch 'origin/develop' into admin-recent-users 2021-07-14 12:28:36 -05:00
Alex Gleason
b2ebdbcf80
Admin: display latest accounts in dashboard 2021-07-14 12:27:51 -05:00
Alex Gleason
a362e0bbd7
UserIndex: display account joined date when available 2021-07-14 10:22:07 -05:00
Alex Gleason
4d35f16483
Staff promotions: fix race conditions 2021-07-13 19:38:58 -05:00
Alex Gleason
695e64cb1f
Ingest tags from AdminAPI 2021-07-13 18:41:38 -05:00
Alex Gleason
fa91defea0
Rename 'dirty' to 'should_refetch' 2021-07-13 18:35:37 -05:00