Commit graph

1384 commits

Author SHA1 Message Date
Angelina Filippova
b039968517 Add api functions for modifying instance docs 2020-11-29 20:52:45 +03:00
Angelina Filippova
6069a95768 Add tests for fetching media proxy settings, evicting single and multiple urls 2020-11-29 20:52:45 +03:00
Angelina Filippova
e1b9ccdef1 First green test 2020-11-29 20:52:45 +03:00
Angelina Filippova
14a46f7719 Dispatch URL Search when removing and purging urls 2020-11-29 20:52:45 +03:00
Angelina Filippova
b251f1034d Add ability to enable media proxy and invalidation from Media proxy tab 2020-11-29 20:52:45 +03:00
Angelina Filippova
ac1864c46f Fetch media proxy settings and render form if it's enabled 2020-11-29 20:52:44 +03:00
Angelina Filippova
dd88974338 Fix fetching MRF data in case it's undefined 2020-11-29 20:52:44 +03:00
Angelina Filippova
72ceba63e6 Move :restrict_unauthenticated settings to Instance tab 2020-11-29 20:52:44 +03:00
Angelina Filippova
e3d5d5b625 Add form for creating new tag 2020-11-29 20:52:44 +03:00
Angelina Filippova
2d70096f51 Add dropdown item and dialog window for creating custom tag 2020-11-29 20:52:44 +03:00
Angelina Filippova
a0d0d25bfd Add on confirm success message 2020-11-29 20:46:55 +03:00
Angelina Filippova
a99fe3833a Fix moderation dropdown menu width 2020-11-29 20:46:55 +03:00
Angelina Filippova
fc4a48c1d1 Rename tagPolicies to mrfPolicies 2020-11-29 20:46:55 +03:00
Angelina Filippova
bf5f6beb75 Return config with TagPolicy 2020-11-29 20:46:54 +03:00
Angelina Filippova
9eb5a1b347 Mock fetching and updating settings for users tests 2020-11-29 20:46:54 +03:00
Angelina Filippova
58ba64b87a Add confirmation message for enabling MRF policies from moderation dropdown 2020-11-29 20:46:54 +03:00
Angelina Filippova
92079893fa Add action that enables MRF TagPolicy, update storage of tagPolicies in state 2020-11-29 20:46:54 +03:00
Angelina Filippova
b5a3a29539 Add option to enable TagPolicy from moderation dropdown 2020-11-29 20:46:54 +03:00
Angelina Filippova
9de860eaac Update Multiple users moderation 2020-11-29 20:46:54 +03:00
Angelina Filippova
8b4fe37a60 Disable tags actions in multiple moderation dropdown when TagPolicy is disabled 2020-11-29 20:46:54 +03:00
Angelina Filippova
d19aef2e94 Disable tags actions in moderation dropdown when TagPolicy is disabled 2020-11-29 20:46:54 +03:00
Angelina Filippova
0fa2d2f267 Save tag policy status in state 2020-11-29 20:46:54 +03:00
Angelina Filippova
27f11164d8 Fix wrapping :icons setting and parsing tuples in settings with key :headers 2020-11-18 17:52:17 +03:00
Angelina Filippova
06fb9178b7 Update keys for PurgeExpiredActivity and RemoteIp settings 2020-11-18 15:14:14 +03:00
Angelina Filippova
08417331ed Add Media Preview Proxy settings 2020-11-18 15:11:33 +03:00
Angelina Filippova
ea26e75e77 Fix setting remote emoji packs 2020-08-26 00:17:37 +03:00
Angelina Filippova
aecd05fb94 Add Pleroma.Web.Preload settings on Frontend tab 2020-08-24 22:50:01 +03:00
Angelina Filippova
cd92dfa695 Add test for updating actor_type 2020-08-24 00:31:38 +03:00
Angelina Filippova
d8b3e9e9df Show actor type on user show page and manage it from that page 2020-08-22 03:04:16 +03:00
Angelina Filippova
a55b76208e Add ability to change actor type from moderation dropdown 2020-08-22 01:33:40 +03:00
Angelina Filippova
a5ab8ceb47 Add select for actor type, remove default select styles 2020-08-20 20:29:58 +03:00
Angelina Filippova
d2107a7101 Fix mobile UI 2020-08-19 02:56:05 +03:00
Angelina Filippova
0a146aef7f Fix optimistic update when unfollowing a relay 2020-08-19 01:02:56 +03:00
Angelina Filippova
7e72078f29 Fix adding new relay 2020-08-19 00:53:02 +03:00
Angelina Filippova
04c10cf5e6 Fix fetching relays, add Followed Back field 2020-08-19 00:47:07 +03:00
Angelina Filippova
2eb1d2b840 Update relay URL when unfollowing a relay 2020-08-17 23:44:29 +03:00
Lorenzo Ancora
7cea3012cd Disable pointer events on active menu tab and text selection on all menu tabs. 2020-08-15 12:41:00 +00:00
Angelina Filippova
2dc4a93f18 Merge branch 'develop' into 'feature/mediaproxy-cache-pagination-and-search'
# Conflicts:
#   CHANGELOG.md
2020-08-14 00:27:48 +00:00
Angelina Filippova
e4ba720a7d Fix width 2020-08-14 03:17:50 +03:00
Angelina Filippova
7638fa71bd Implement Search for MediaproxyCache 2020-08-14 03:06:51 +03:00
Angelina Filippova
997a9a6d47 Add search input 2020-08-13 15:37:25 +03:00
Angelina Filippova
37df2725ac Merge branch 'feature/add-missing-settings' into 'develop'
Add missing settings

Closes #132

See merge request pleroma/admin-fe!151
2020-08-13 11:51:04 +00:00
Angelina Filippova
4405537fe7 Implement pagination for banned MediaProxy URLs 2020-08-12 03:15:59 +03:00
Angelina Filippova
c9ce3cf231 Update function that removes opposite filters to work with need_approval filter 2020-08-10 01:59:00 +03:00
Angelina Filippova
6bf096b4c8 Fix tag display 2020-08-10 00:39:30 +03:00
Angelina Filippova
ab37ebb00b Update confimation messages for rejecting accounts 2020-08-09 15:37:35 +03:00
Angelina Filippova
7815274d17 Create separate table column for registration reason when need_approval filter activated 2020-08-09 03:04:04 +03:00
Angelina Filippova
efee8997f8 Rename need_approval tag 2020-08-09 01:59:14 +03:00
Angelina Filippova
4fff76a531 Merge branch 'fix-mobile-styles' into 'develop'
Fix message box width on the setting tab in mobile-UI

See merge request pleroma/admin-fe!153
2020-08-07 23:46:37 +00:00
Angelina Filippova
e85d5123a5 Fix rendering settings that have type ['string', 'image'] 2020-08-07 21:01:31 +03:00
MK Fain
ea8374adb7 Admin manage pending accounts 2020-08-05 22:53:23 +00:00
Angelina Filippova
8ce0e8073f Fix message box width 2020-08-06 01:11:51 +03:00
Angelina Filippova
39ef13ff7c Merge branch 'tagnames' into 'develop'
Use tag names from TagPolicy, fixes #134

Closes #134

See merge request pleroma/admin-fe!152
2020-08-05 22:02:02 +00:00
Angelina Filippova
996c493f21 Merge branch 'patch-1' into 'develop'
Fix overflowing text in See Documentation button

See merge request pleroma/admin-fe!149
2020-08-05 21:56:09 +00:00
Alex Gleason
e0bfc95a00
Use tag names from TagPolicy, fixes #134 2020-08-04 13:47:06 -05:00
Angelina Filippova
b9f1c93f65 Add :frontends settings on Frontend tab 2020-08-04 03:02:32 +03:00
Angelina Filippova
8e1825ae1a Fix parsing and wrapping tuple values in Args setting inside Pleroma.Upload.Filter.Mogrify 2020-08-03 22:31:53 +03:00
Angelina Filippova
3d1087986f Add parsing Sender settings value 2020-08-03 21:12:13 +03:00
Angelina Filippova
54c8c2ddeb Add special input for Sender setting in Welcome setting group 2020-08-02 03:21:39 +03:00
Angelina Filippova
c12d3c0451 Add favicons and welcome messages settings on Instance tab 2020-07-31 23:29:16 +03:00
Angelina Filippova
b60cd76350 Add :restrict_unauthenticated setting on Authentication tab 2020-07-31 20:10:44 +03:00
Angelina Filippova
198ac3e035 Add Pools, Connections pools and Hackney pools settings on Job Queue tab 2020-07-31 19:44:39 +03:00
Angelina Filippova
7f7a1813c9 Add :modules and Pleroma.Web.ApiSpec.CastAndValidate settings 2020-07-31 19:32:21 +03:00
Lorenzo Ancora
54ccd71b91 Prevent accidental deletion of settings from the database by clicking on the Delete Setting buttons labels. 2020-07-31 13:17:38 +00:00
Lorenzo Ancora
dbe0ad7209 Fix overflowing text in See Documentation button. 2020-07-31 12:29:34 +00:00
Angelina Filippova
11da7c9c7f Fix link formatter tab issue 2020-07-30 00:41:09 +03:00
Angelina Filippova
b3423fcf85 Fix styles 2020-07-28 21:32:40 +03:00
Angelina Filippova
065efcab7f Enable active and local filters on users tab by default 2020-07-28 21:04:21 +03:00
Angelina Filippova
fdb2b6d257 Merge branch 'develop' into 'feature/cache-invalidation'
# Conflicts:
#   CHANGELOG.md
#   src/views/settings/components/Inputs.vue
#   src/views/settings/components/tabs.js
2020-07-27 22:29:37 +00:00
Angelina Filippova
92881ead81 Fix wrapping atoms that should be prepended with colon 2020-07-27 22:42:44 +03:00
Angelina Filippova
e5f037dc46 Fix search for Auto Linker 2020-07-27 19:35:21 +03:00
Angelina Filippova
4339a3a961 Add input for new type ['atom', 'boolean'] 2020-07-26 01:26:34 +03:00
Angelina Filippova
b36e8693b5 Remove partial update check 2020-07-26 01:01:31 +03:00
Angelina Filippova
3cc934efdc Rename Auto Linker input to Link Formatter Input 2020-07-25 01:12:27 +03:00
Angelina Filippova
0c80942777 Rename Auto linker to Link Formatter 2020-07-24 23:29:12 +03:00
Angelina Filippova
81177cc96e Show only those MRF settings that are enabled in MRF policies 2020-07-22 17:36:52 +03:00
Angelina Filippova
94e07f1ead Fix shortening MRF policies on the new tab 2020-07-21 13:29:54 +03:00
Angelina Filippova
98e5fa5d36 Save Rate limit values as Numbers instead Strings 2020-07-18 23:08:23 +03:00
Angelina Filippova
75b6f027a2 Update parsing and wrapping editable map values 2020-07-18 22:27:10 +03:00
Angelina Filippova
d7eaf61a95 Merge branch 'feature/confirm-delete-user' into 'develop'
Add confirmation message when deleting a user

Closes #125

See merge request pleroma/admin-fe!144
2020-07-17 21:46:20 +00:00
Angelina Filippova
240340ff83 Update confirmation message 2020-07-18 00:28:04 +03:00
Angelina Filippova
d211d4f934 Fix optimistc update for deleting users 2020-07-17 14:15:39 +03:00
Angelina Filippova
434f8ad2dd Do not fetch user profile when deleting multiple accounts 2020-07-17 13:47:50 +03:00
Angelina Filippova
f8dbcb80ab Add confirmation when deleting a single user 2020-07-17 13:45:39 +03:00
c706d73831 Merge branch 'logo-and-background-upload' into 'develop'
Ability to preview and upload logo and background images

See merge request pleroma/admin-fe!120
2020-07-16 16:47:16 +00:00
Angelina Filippova
3df6738bc7 Create separate constant in state and action for open reports count 2020-07-14 19:19:42 +03:00
Angelina Filippova
49df2deb31 Add badge for displating open reports count 2020-07-14 18:56:59 +03:00
Angelina Filippova
08bd5dae40 Show reports count in Sidebar 2020-07-14 02:51:51 +03:00
Angelina Filippova
1899450dc1 Rename action that sets reports filter 2020-07-14 02:44:16 +03:00
Angelina Filippova
a710ca9ece Merge branch 'develop' into 'feature/cache-invalidation'
# Conflicts:
#   CHANGELOG.md
2020-07-11 23:42:28 +00:00
Angelina Filippova
710bb8bfa7 Fix getting data for icon inputs 2020-07-12 02:18:14 +03:00
Angelina Filippova
b6a66ebe20 Fix wrapping values with type map and keyword 2020-07-12 00:55:07 +03:00
Angelina Filippova
0bc5cf9f6b Add new settings to the search 2020-07-11 21:53:23 +03:00
Angelina Filippova
5ae214fbbe Implement types ['map', 'string'] and ['map', ['list', 'string']] 2020-07-11 21:31:19 +03:00
Angelina Filippova
6577376642 Move rendering Crontab settings to Editable keywords after updating its type 2020-07-11 19:42:38 +03:00
Angelina Filippova
3f82738d86 Render editable keyword input for settings that have type ['list', 'tuple'] 2020-07-11 03:28:53 +03:00
Angelina Filippova
1e6e006f14 Add ability to configure S3 settings 2020-07-10 18:03:10 +03:00
Angelina Filippova
0323053fee Unify rendering :replace settings as keyword with strings 2020-07-10 03:40:17 +03:00
Angelina Filippova
f34157b1db Add ability to wrap and parse nested settings in keyword inputs 2020-07-10 02:26:57 +03:00
Angelina Filippova
cb89fb09be Add input for settings with type ['keyword', 'string'] 2020-07-09 22:27:18 +03:00
Angelina Filippova
ab0dd31640 Fix removing individual url from Cachex 2020-07-09 20:42:37 +03:00
Angelina Filippova
4c32a0708f Add ability to remove multiple urls 2020-07-08 02:42:57 +03:00
Angelina Filippova
a2649dbb64 Add ability to evict and ban multiple URLs 2020-07-07 23:54:11 +03:00
Angelina Filippova
0b36c5bbb0 Fetch banned objects after banning an url 2020-07-07 22:28:46 +03:00
Angelina Filippova
cd689ac75c Enlarge url input, add headers 2020-07-07 18:16:35 +03:00
Angelina Filippova
cea1485ddc Add Invalidation settings on MediaProxy tab 2020-07-06 00:28:09 +03:00
Angelina Filippova
991c17f88e Add table with banned URLs and ability to remove url from cachex 2020-07-05 23:18:13 +03:00
Angelina Filippova
764621d6fd Create actions for listing banned urls, purge and remove banned urls form cachex 2020-07-05 02:34:40 +03:00
Angelina Filippova
9d2a86556c Add input for evicting and banning urls 2020-07-05 02:33:46 +03:00
Angelina Filippova
0aff86e638 Create API functions for MediaProxy Cache 2020-07-03 03:04:17 +03:00
Angelina Filippova
2881730f33 Create route for MediaProxy Cache 2020-07-03 02:30:15 +03:00
91ccbfeda5 Merge branch 'feature/auto-render-mrf' into 'develop'
Render settings on the MRF tab automatically

Closes #124 and #123

See merge request pleroma/admin-fe!139
2020-07-02 15:46:42 +00:00
Angelina Filippova
0a3cbcb70d Add ability to disable multi-factor authentication for a user 2020-07-02 00:15:41 +03:00
Angelina Filippova
92aef6b180 Add API function and action for disabling MFA 2020-07-01 23:48:04 +03:00
Angelina Filippova
f498dcfefe Fix rate-limiters styles 2020-07-01 01:47:14 +03:00
Angelina Filippova
d447ffd314 Remove repetitive dividers 2020-07-01 01:09:11 +03:00
Angelina Filippova
95615a6bbf Add missing dividers between groups of settings 2020-07-01 00:52:36 +03:00
Angelina Filippova
0936d0def7 Remove unused refs from forms 2020-06-30 02:49:39 +03:00
Angelina Filippova
752e8847eb Remove repetitive labels of setting groups 2020-06-30 02:24:46 +03:00
Angelina Filippova
c3960c472a Fix description's margin 2020-06-30 02:16:20 +03:00
Angelina Filippova
070db1235a Fix parsing values that can be both strings and arrays 2020-06-27 02:10:47 +03:00
Angelina Filippova
05615cddf5 Render MRF settings automatically based on description 2020-06-26 23:37:29 +03:00
Angelina Filippova
1bae1cd3c9 Merge branch 'develop' into 'feature/emoji-packs-pagination'
# Conflicts:
#   CHANGELOG.md
2020-06-25 21:57:49 +00:00
Angelina Filippova
9137362dc7 Fix downloading remote packs 2020-06-26 00:55:43 +03:00
Angelina Filippova
dca1f2cce8 Fix deleting last items on page 2020-06-26 00:05:55 +03:00
Angelina Filippova
fbcc5ee524 Add optimistic update for managing files in pack 2020-06-25 04:15:18 +03:00
Angelina Filippova
ab77704c97 Fix displaying remote emojis 2020-06-25 01:36:08 +03:00
Angelina Filippova
bac50fe62d Remove sorting local emoji packs 2020-06-24 22:10:37 +03:00
Angelina Filippova
acf9012979 Collapse inner items when parent item was closed 2020-06-24 21:41:27 +03:00
Angelina Filippova
84c6319a1f Update function that saves active tabs in state 2020-06-24 21:13:31 +03:00
Angelina Filippova
6a73b4f20c Implement pagination for files in a local emoji pack 2020-06-23 23:08:38 +03:00
Angelina Filippova
a98ee9f4ae Update API and actions to add files pagination 2020-06-23 03:37:37 +03:00
Angelina Filippova
6c35973907 Fix managing Pleroma.Upload.Filter.Mogrify setting 2020-06-22 03:04:53 +03:00
Angelina Filippova
ecebe77c40 Add settingsGroup labels 2020-06-20 17:08:27 +03:00
Angelina Filippova
54e5191d04 Add MRF Activity Expitarion settings 2020-06-20 16:29:55 +03:00
Angelina Filippova
a6a92d34ad Use current page when fetching local emoji packs 2020-06-20 01:51:06 +03:00
Angelina Filippova
918bd18b88 Add pagination to local emoji packs 2020-06-20 01:25:59 +03:00
Angelina Filippova
8d23e36a54 Put managing local and remote packs on tabs 2020-06-19 21:40:08 +03:00
Angelina Filippova
51020a6699 Rename Emoji packs module 2020-06-19 02:55:15 +03:00
Angelina Filippova
c2fc99bce0 Fetch local pack's files only after opening collapse item to manage emojis 2020-06-19 02:09:10 +03:00
Angelina Filippova
d8299972b5 Merge branch 'feature/add-links' into 'develop'
Add links to user's profile page and to user's account in Pleroma

See merge request pleroma/admin-fe!136
2020-06-11 20:23:15 +00:00
Angelina Filippova
2c6f699a1f Add router link to user's profile to log entry message 2020-06-11 21:41:05 +03:00
Angelina Filippova
f96d495612 Create component for Log Entry Message 2020-06-11 21:20:52 +03:00
Angelina Filippova
d0939463c2 Add link to note's author profile page 2020-06-10 19:33:26 +03:00
Angelina Filippova
a8fb2a7255 In Reports add link to user's profile page in admin-fe and to user's account in Pleroma 2020-06-10 01:49:20 +03:00
Angelina Filippova
1033eee7e8 Remove text decoration underline for internal links 2020-06-09 23:36:14 +03:00
Angelina Filippova
2d510fb348 Add link to user's profile in Pleroma instance 2020-06-09 23:28:24 +03:00
Angelina Filippova
8faf9b18c0 Merge branch 'fix/sorting-emoji-pack' into 'develop'
Sort emoji pack alphabetically

Closes #116 and #119

See merge request pleroma/admin-fe!135
2020-06-08 18:20:42 +00:00
Angelina Filippova
2d6ff4d610 Add translation, fix tag display 2020-06-07 01:09:34 +03:00
Angelina Filippova
5554413a7c Standardize function names, replace display_name with nickname on Status show page 2020-06-07 00:58:51 +03:00