Commit graph

362 commits

Author SHA1 Message Date
Angelina Filippova
5f89847419 Add updated settings of type stirng, int and bool to state and send it to the BE 2019-12-01 00:00:18 +09:00
Angelina Filippova
957d87d757 Change groups names 2019-11-30 01:31:53 +09:00
Angelina Filippova
33aee0b859 Pass only updated settings to the BE 2019-11-30 00:34:52 +09:00
Angelina Filippova
bbc839aa46 Fix function that updates data in local state 2019-11-29 23:49:39 +09:00
Maxim Filippov
f77b0cde90 Confirm user account, resend confirmation email 2019-11-29 22:45:35 +09:00
Maxim Filippov
60ccdd72cf Merge branch 'develop' into feature/fetch-statuses-from-given-instance 2019-11-29 17:23:19 +09:00
Angelina Filippova
dc83582629 Combine reports with one topic and add pagination 2019-11-28 11:04:05 +00:00
Angelina Filippova
4a17d2275a Add settings groups to state, update ActivityPub, Auth, Captcha tabs 2019-11-19 00:56:32 +09:00
Angelina Filippova
265ecd66e1 Fix parsing non atom tuples 2019-11-17 23:06:31 +09:00
Angelina Filippova
a84cb569a1 Update config parsing 2019-11-17 22:48:53 +09:00
Maxim Filippov
b7c83e06a9 Fix reports management 2019-11-16 18:38:07 +09:00
Maxim Filippov
f477dec059 Pagination 2019-11-15 12:54:33 +09:00
Maxim Filippov
6695226e12 Add statuses page 2019-11-14 22:42:56 +09:00
Angelina Filippova
ab0fc5786c Render JobQueue tab form descriprion data from API 2019-11-11 22:47:54 +09:00
Angelina Filippova
a9453448b5 Configure HTTP settings with data from API description 2019-11-11 01:10:04 +09:00
Angelina Filippova
5ee75ee12e Update parsing tuples so it returns values with a colon 2019-11-08 21:39:22 +09:00
Angelina Filippova
a36cb1f08a Remove specific getters for settings and replace it with one settings getter 2019-11-07 14:58:08 +10:00
Angelina Filippova
b1d6638fc0 Remove default config values from state 2019-11-07 14:56:50 +10:00
Angelina Filippova
b591f58fb2 Call fetch description and migrate to db 2019-11-02 15:54:04 +03:00
Angelina Filippova
ed33b1569e Add translations to emojiPacks module and alphabetize it 2019-10-25 18:48:30 +02:00
Angelina Filippova
c4b13ebb9f Move try/catch error handling from view file to relays module 2019-10-25 18:32:47 +02:00
Angelina Filippova
b2c9308b80 Implement try/catch error handling in invite module 2019-10-25 18:24:52 +02:00
Angelina Filippova
aa9ea40961 Filter users when password reset is required 2019-10-25 00:47:04 +02:00
Angelina Filippova
679c4433d1 Move try/catch and success message from multiple users menu view to action 2019-10-25 00:00:23 +02:00
Angelina Filippova
453cde8435 Move try/catch and success message from view files to action in module 2019-10-24 23:24:56 +02:00
Angelina Filippova
a66bb599ce Add try/catch to actions that moderate users 2019-10-24 23:15:40 +02:00
Angelina Filippova
14b75709ba Dispatch SearchUsers action instead of FetchUsers after moderating users 2019-10-24 16:20:54 +02:00
Maxim Filippov
02ea80c756 Merge branch 'master' into feature/relays-management 2019-10-23 19:21:33 +02:00
Angelina Filippova
61d14e1f8f Merge branch 'master' into 'feature/update-and-move-emoji-packs'
# Conflicts:
#   src/utils/request.js
2019-10-22 23:29:49 +00:00
Angelina Filippova
736ec2d7f5 Remove fetching initial data for config 2019-10-20 16:38:43 +00:00
Angelina Filippova
caba7eaefd Return dispatching action that gets node info 2019-10-18 18:12:55 +02:00
Maxim Filippov
47dd86911f Add ability to manage relays 2019-10-17 22:59:25 +02:00
Angelina Filippova
6975f43527 Add optimistic update for actions that moderate users 2019-10-17 22:42:04 +02:00
Angelina Filippova
4d58527201 Update api function and module action for user deletion 2019-10-16 14:24:35 +02:00
Angelina Filippova
6258334307 Add api function and module action for fetching grouped reports 2019-10-15 19:27:22 +02:00
Angelina Filippova
42f73e6c79 Pass users instead of nicknames to actions that toggle activation 2019-10-12 09:44:44 +03:00
Angelina Filippova
77a153deac Update api for ActivateUsers and DeactivateUsers actions 2019-10-11 03:28:55 +03:00
Angelina Filippova
f0899ec263 Update api for AddRight and DeleteRight actions 2019-10-11 02:49:16 +03:00
Angelina Filippova
d2d9866191 Rename EmojiPacks module and view 2019-10-05 02:13:58 +03:00
Angelina Filippova
319b0d3c44 Fix dispatching FetchReports and FetchUserStatuses from status module 2019-10-04 04:11:40 +03:00
Angelina Filippova
2ea990f074 Add module for status 2019-10-04 00:20:48 +03:00
Angelina Filippova
a0667c1f45 Move report rendering and its pagination inside report component 2019-09-30 00:22:01 +03:00
Angelina Filippova
6e2ebd0519 Implement pagination 2019-09-29 22:43:24 +03:00
Angelina Filippova
b87945c42f Add ability to switch between all reports and grouped reports (with stubbed data) 2019-09-28 01:35:58 +03:00
Angelina Filippova
6ccffd9728 Fetch reports after changing and deleting status 2019-09-28 01:24:51 +03:00
Maxim Filippov
8956e68fa1 mailerEnabled must be set to true in order to require password reset (password reset currently only works via email) 2019-09-27 19:23:42 +03:00
Maxim Filippov
a30a795b44 Add moderation log 2019-09-27 12:41:54 +00:00
Maxim Filippov
ada2de9733 Ability to require user's password reset 2019-09-24 22:55:42 +00:00
Ekaterina Vaartis
10d3f3f0a0 Use the remote pack listing endpoint 2019-09-24 19:39:06 +03:00
Angelina Filippova
81510916b5 Generate invite tokens from admin-fe 2019-09-23 19:00:28 +00:00
vaartis
2841de76cf Add configuration for sharing emoji packs 2019-09-23 18:42:18 +00:00
Maxim Filippov
f8fe580e16 Login via PleromaFE 2019-09-13 01:55:50 +03:00
Angelina Filippova
e79b4bfd9f Add new settings to config 2019-08-24 11:55:47 +00:00
kPherox
c6dcc94626 Fix parsing objects in config 2019-08-21 17:48:30 +00:00
kPherox
e504d8264b Converts maps and structs from config to JS objects, not array of tuples when wrapping config 2019-08-21 11:37:55 +00:00
Angelina Filippova
30c15dbc62 [1.0.1] Server config fixes 2019-08-15 12:13:14 +00:00
kPherox
b37aaac9d6
Add null check 2019-08-10 02:05:43 +09:00
Angelina Filippova
6846ccf670 Add forms for configuring server-settings 2019-08-09 16:45:25 +00:00
Angelina Filippova
f1418274dc Fix user deletion by changing variable name 2019-07-27 12:05:30 +00:00
Angelina Filippova
232d5d8407 Remove deleted users 2019-07-27 11:51:31 +00:00
Maxim Filippov
1222604703 Reporting enhancements
- User moderate actions
- Don't show closed reports on the main reports dashboard
- User links should link to the user's local (or shadowed) profile *inside* Admin FE so a moderator can do a more "full spectrum" analysis of the situation
2019-07-24 20:50:45 +00:00
Angelina Filippova
6cca293824 Allow to register new user accounts 2019-06-11 15:13:48 +00:00
3a8a032e81 Merge branch 'feature/add-reports' into 'master'
Add ability to read reports

Closes #14

See merge request pleroma/admin-fe!11
2019-05-30 15:45:40 +00:00
366fdbfc1e Merge branch 'feature/select-multiple-users' into 'master'
Apply user actions to multiple users

Closes #18

See merge request pleroma/admin-fe!17
2019-05-29 22:24:42 +00:00
Angelina Filippova
7d8099edef Fix pagination when filter is applied 2019-05-26 21:05:40 +02:00
Angelina Filippova
c9d6402c37 Add ability to delete status 2019-05-25 01:46:08 +02:00
Angelina Filippova
7b4184cbde Add ability to change status scope 2019-05-25 01:11:54 +02:00
Angelina Filippova
cf50fb0528 Do not render content and statuses rows if there is no data 2019-05-24 13:34:07 +02:00
Angelina Filippova
3657b49a5c Add ability to change state of reports 2019-05-23 21:33:52 +02:00
Angelina Filippova
63bf0ecb84 Add ability to filter reports 2019-05-23 00:16:41 +02:00
Angelina Filippova
1494f7fd9d Implement pagination for reports 2019-05-22 00:59:15 +02:00
Angelina Filippova
0667d92d2a Replace deprecated login API 2019-05-21 19:24:48 +00:00
Angelina Filippova
f06e45cf42 Add select input for reports filters 2019-05-20 00:29:54 +03:00
Angelina Filippova
180f02f7a2 Show fetched reports 2019-05-18 01:47:20 +03:00
Angelina Filippova
8774af3259 Merge branch 'master' of git.pleroma.social:pleroma/admin-fe into feature/add-reports 2019-05-17 21:21:45 +03:00
Angelina Filippova
d3d380a9af Merge branch 'feature/select-multiple-users' of git.pleroma.social:linafilippova/admin-fe; branch 'master' of git.pleroma.social:pleroma/admin-fe into feature/select-multiple-users 2019-05-16 20:59:25 +03:00
Angelina Filippova
ca65a93e81 Update API urls in accordance with new docs 2019-05-16 15:16:53 +00:00
Angelina Filippova
5f0289c363 Fix filter logic to work with multiple choice on different pages 2019-05-07 00:56:08 +03:00
Angelina Filippova
741ed11bb1 Merge branch 'master' into 'feature/add-reports'
# Conflicts:
#   src/lang/en.js
#   src/store/modules/users.js
#   src/views/users/index.vue
2019-04-04 21:20:33 +00:00
Angelina Filippova
a4b1bc1a82 Add ability to delete note 2019-04-02 22:26:59 +03:00
Angelina Filippova
bb2e4c8d02 Add infinite scroll 2019-04-02 00:17:35 +03:00
Angelina Filippova
05916e6666 Add ability to submit new notes 2019-04-01 16:03:11 +07:00
Angelina Filippova
f885cdbaf1 Add notes rendering and styles 2019-03-31 02:33:02 +07:00
Angelina Filippova
b266dc31eb Add timeline component 2019-03-30 22:37:44 +07:00
Angelina Filippova
c1e1623da5 Add more users filters 2019-03-29 14:25:53 +00:00
Angelina Filippova
977e49f572 Fix naming bug 2019-03-28 02:13:34 +05:00
Angelina Filippova
46f53b2405 Update filters names and the way they are passed to api 2019-03-26 23:54:21 +05:00
Angelina Filippova
8d08d302ce Add general function to toggle filters 2019-03-25 16:25:29 +03:00
Angelina Filippova
ab12129b8a Add ability to clear all filters 2019-03-25 15:55:39 +03:00
Angelina Filippova
28c2833583 Return select multiple filters 2019-03-25 01:58:01 +03:00
Angelina Filippova
7e3f385b4e Update state structure and ToggleUsersFilter action 2019-03-25 00:59:00 +03:00
Angelina Filippova
f91549a7a6 Update login process 2019-03-23 14:09:48 +00:00
Angelina Filippova
f284d4c501 Add actions to moderation menu 2019-03-22 21:18:57 +00:00
Angelina Filippova
2ae27483b4 Add tests 2019-03-22 20:58:58 +00:00
Angelina Filippova
773793f8f4 Fix logout button issue 2019-03-06 01:00:48 +03:00
Angelina Filippova
7652bfcd58 Implemented local users filtration in fetch and search requests 2019-03-05 02:40:42 +03:00
Angelina Filippova
de13254f0a Add filtration for local users 2019-03-05 02:13:04 +03:00
Angelina Filippova
8a698398d5 Exclude page size handling from frontend 2019-03-04 00:25:25 +03:00
Angelina Filippova
3adcd048a1 Fix pagination bug 2019-03-03 23:46:14 +03:00
Angelina Filippova
9eb99cb3a3 Implementing pagination for search 2019-03-03 23:01:00 +03:00
Angelina Filippova
adee07cacf Add search to users 2019-03-01 20:32:03 +03:00
Maxim Filippov
a2a69e509c Add pagination to users 2019-02-28 01:13:20 +03:00
Maxim Filippov
a90cdd1cac Toggle user activation 2019-02-26 22:50:25 +03:00
Maxim Filippov
a9847bc59c Users table 2019-02-25 01:31:05 +03:00
Maxim Filippov
a9dd349869 Fetch users from API 2019-02-24 00:40:26 +03:00
Maxim Filippov
96e52a14cc Authorization 2019-02-22 22:38:56 +03:00
花裤衩
48e47e86f1
fearure[TagsView]: add affix option (#1577) 2019-02-15 15:26:48 +08:00
Pan
9daeb1cb34 perf: adjust the import order to make it more elegant #1537 2019-01-29 16:54:38 +08:00
Pan
9cea3c3abe refine: GetUserInfo error message 2019-01-09 16:04:24 +08:00
花裤衩
311796a14b
perf[Sidebar]: refine sidebar store #1473 (#1474) 2018-12-28 15:28:26 +08:00
inklake
4c49259c92 refine[permission.js]: switch roles will refresh the sidebar correctly (#1067)
后台菜单->权限测试页->指令权限 切换角色 会正确 刷新侧边栏

> /src/store/modules/permission.js

原方法在递归筛选侧边菜单后, 会意外修改原始 asyncRouterMap 导致侧边菜单重绘不正常
已经用新方法替代修复  结果入下图

![图片](https://s1.ax1x.com/2018/09/07/iCL7f1.gif)
2018-09-17 17:46:20 +08:00
花裤衩
11163146c0
fix[tagsView]: update tagsview when query is different(#1090) 2018-09-14 17:58:59 +08:00
Pan
c58bce603b rm unnecessary console.log 2018-09-06 13:18:34 +08:00
花裤衩
d0d1addba8
refactor[store]: refactor tagsView store (#1032) 2018-08-31 16:00:28 +08:00
花裤衩
0fbda3c8c7
feature: add global size option (#1024) 2018-08-29 15:24:47 +08:00
Pan
53f3e7d5e6 format code 2018-08-15 17:29:15 +08:00
mimimi
5f20bfc780 fixed[tagsView]: DEL_OTHERS_VIEWS cachedViews bug (#913)
* mutations DEL_OTHERS_VIEWS state.cachedViews -> i type is string slice(begin: number, end: number)
2018-07-25 17:20:32 +08:00
临书
2a590a2087 Support route query in TagView (#765) 2018-06-12 13:53:56 +08:00
Pan
9fbb028124 perf[permission]: add the verification of roles 2018-05-02 17:37:47 +08:00
花裤衩
0e4ea0871c
feat[sidebar]: add resonsive sidebar (#636) 2018-05-02 14:43:20 +08:00
Pan
3c0696d1a9 fix[tags-view]: fixed delete cachedViews bug #395 2018-01-12 13:30:27 +08:00
Pan
54acf1e0d5 perf[permission]:set role => roles 2018-01-05 11:38:34 +08:00
Pan
de08e49f19 fix[i18n]: fixed defalut language bug 2018-01-04 12:37:08 +08:00
tlx6550
fe25c4d96b fix[tags-view]: fixed bug in DEL_OTHERS_VIEWS (#368) 2017-12-22 10:29:47 +08:00
Pan
4d3bbae183 perf[tags-view]:refine the style && format code 2017-12-13 18:33:12 +08:00
leij1ang
b6d97f1806 feat[tags-view]: tags-view add contextmenu (#343)
* add the menu by right-clicking the tags

* bug fixed

* refine
2017-12-13 17:43:03 +08:00
Pan
a68413cb8f refactor[errorLog]: save the logs in vuex 2017-12-13 13:52:14 +08:00
Pan
f9aaaa9091 perf[errorLog]:optimized error-log 2017-12-12 18:14:31 +08:00
Pan
ca75f7bcbc perf(tagsView):split to single modules 2017-12-08 16:17:40 +08:00
Pan
d476e32032 Merge branch 'master' into refacor/style 2017-11-29 10:05:09 +08:00
Pan
d20585a3f9 refactor:foramt views/component-demo 2017-11-17 17:51:41 +08:00
Pan
e05da2650b feature:add i18n 2017-11-03 18:37:49 +08:00
Pan
aaf24b4654 fix:levelbar&&tabsview bug 2017-11-01 17:55:11 +08:00
Pan
1ae31fdd45 refactor:add keep-alive && component add name 2017-10-31 10:49:24 +08:00
Pan
76f4017470 fix: fix getUserInfo by cookie bug 2017-10-25 17:12:36 +08:00
Pan
f712d4682e add:when active tabs closed will go to last path 2017-09-01 10:46:20 +08:00
Pan
f7aee3b5a3 refactor 2017-08-28 13:18:35 +08:00
Pan
3c05519a09 refine 2017-08-28 13:18:35 +08:00
Pan
385ec5a762 refine 2017-08-28 13:18:35 +08:00
Pan
551e911eb4 全局lint优化 2017-08-28 13:18:35 +08:00
Pan
b8ecda19d8 refine code 2017-08-28 13:18:35 +08:00
Pan
0094f44910 change login by username 2017-08-28 13:18:35 +08:00
Pan
391e7703ed fix router deepClone bug 2017-08-03 11:24:26 +08:00
Pan
a0a011e985 fix cookie token bug 2017-07-20 13:27:05 +08:00
Pan
6cb64bebdc refine tab-views 2017-07-14 17:40:34 +08:00
Pan
29d28c3231 fix bug in vuex of strict model 2017-07-13 16:54:54 +08:00
Pan
de992c50a6 全局代码格式 优化 2017-07-06 17:56:23 +08:00
Pan
91cb0ac5ca add view tabs 2017-06-23 17:36:13 +08:00
Pan
7549eb8044 fix eslint && refine code 2017-06-23 15:39:13 +08:00
孙晨光
1072572ac6 update: 递归过滤异步路由表 2017-06-23 15:25:58 +08:00
Pan
ecf7558e8e refine permission example 2017-06-06 10:46:20 +08:00
Pan
39d4a04ed1 change token key-name 2017-05-21 21:43:17 +08:00
Pan
6508b1cc3d refine 2017-05-17 17:59:13 +08:00
Pan
523a9b3de3 add promise 2017-05-17 17:53:37 +08:00
Pan
faea4d8bf6 使用addRoutes重构权限 2017-05-17 16:27:12 +08:00
Pan
624af00ba3 refine code 2017-05-16 18:20:47 +08:00
Pan
4bed888e9d refine 2017-05-16 11:08:17 +08:00
Pan
b8068a4896 fix permission bug 2017-05-11 16:52:38 +08:00
Pan
db83dd50d1 add iconfont && trim email 2017-04-26 14:50:02 +08:00
Pan
3fe2a376dd refine 2017-04-24 17:34:04 +08:00
Pan
47b24ca8b9 refine login 2017-04-24 14:15:42 +08:00
Pan
d10370086e init 2017-04-18 15:09:13 +08:00