Julian Lam
a716a5529c
feat: more discrete commit-on-save instead of commit-on-change w/ confirm modals ( #8541 )
...
* feat: privileges save button, #8537 , WIP
* fix: disable firefox autocomplete on privilege form fields
* feat: closes #8537 privilege changes commit on save
- new language strings for confirmation and success modals/toasts
- indeterminate privilege handling (/cc @psychobunny)
- added new discard button
- both discard and save buttons now have confirmation dialogs
* fix(tests): remove duplicate template helper test
* fix(tests): broken template helper test
* feat: confirm dialogs for all privilege copy actions
Also, ability to add user to a privilege table without needing
to refresh the privilege table.
* feat: group row addition w/o table refresh
breaking: helpers.getUserPrivileges and helpers.getGroupPrivileges
no longer make socket calls to the following hooks:
- filter:privileges.list, filter:privileges.admin.list,
filter:privileges.global.list, filter:privileges.groups.list,
filter:privileges.admin.groups.list,
filter:privileges.gloval.groups.list
The filters are still called, but done before the helper method
is called, and the results are passed in instead. This change
should only affect you if you directly call the helper methods,
otherwise the change is transparent.
* fix: stale ajaxify data on privilege category switch
* fix: implicit privileges not showing for user privs
* fix: groups, not group, also fix tests
* fix(tests): again
* fix: wrong tpl rendered when adding group to global priv table
2020-08-03 20:42:45 -04:00
Barış Soner Uşaklı
52718ce0ba
fix: remove old test
2020-07-29 09:14:23 -04:00
Barış Soner Uşaklı
609e37a67b
feat: remove deprecated utils.walk
2020-07-24 14:29:08 -04:00
Julian Lam
55b0e902fb
feat: consolidation of flags to reduce flagspam, #8510
...
Squashed commit of the following:
commit c6d0939620
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 24 13:41:32 2020 -0400
fix: more tests
commit 32f9af2a87
Merge: e50907535 4eae927d1
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 24 10:53:04 2020 -0400
Merge remote-tracking branch 'origin/master' into singleton-flags
commit e509075351
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 24 10:52:46 2020 -0400
fix: controllers-admin test
commit fd5af99e30
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 17 17:26:55 2020 -0400
fix(tests): dummy commit to trigger travisCI
commit c452a6ffcf
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 17 17:05:09 2020 -0400
fix(openapi): openapi spec changes
commit 8089a74e89
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 17 15:48:00 2020 -0400
fix: reversing the order of reports for display purposes
commit a099892b37
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 17 15:45:44 2020 -0400
refactor: run all flag creation calls in a single batch
commit b24999682f
Author: Julian Lam <julian@nodebb.org >
Date: Fri Jul 17 15:08:23 2020 -0400
feat: handling multiple reporters per flag, #8510
commit 08c75c0200
Author: Julian Lam <julian@nodebb.org >
Date: Thu Jul 16 20:53:18 2020 -0400
feat: upgrade script for #8510
2020-07-24 14:10:37 -04:00
Barış Soner Uşaklı
2cdb935f1d
feat: remove file.isFileTypeAllowed
2020-07-24 11:21:26 -04:00
Barış Soner Uşaklı
b9cff5775c
fix: edge case in test
...
if user is created the other one will be renamed
2020-07-23 21:42:23 -04:00
Barış Soner Uşaklı
844f2b4ed0
feat: #8524 , allow editing category of queued topic
2020-07-23 16:43:56 -04:00
Barış Soner Uşaklı
6f889c9c83
fix: try again
2020-07-21 20:53:25 -04:00
Barış Soner Uşaklı
a46adb3fd5
fix: more tests
2020-07-21 20:43:16 -04:00
Barış Soner Uşaklı
65395ae59d
fix: tests
2020-07-21 20:32:36 -04:00
Barış Soner Uşaklı
2485a55092
feat: #8521 , allow editing title before posting from queue
2020-07-20 21:28:17 -04:00
Barış Soner Uşaklı
00d39fb32c
feat: #8460 , export groups members as csv
2020-07-10 13:12:14 -04:00
Barış Soner Uşaklı
73ddf1cb98
fix: groups.updateCover
2020-07-09 18:12:51 -04:00
Barış Soner Uşaklı
c513b88dff
feat: #8427 , daily downvote limits
2020-07-09 12:51:05 -04:00
Barış Soner Uşaklı
c2ca02dfc7
fix : #8474
...
make isPrimary and isCluster always booleans
they were strings when using ./nodebb start and boolean if they were in config.json and started with node app.js
2020-07-07 20:13:14 -04:00
Barış Soner Uşaklı
02ac44cc5a
fix: dont allow searching by ip/banned/flagged for regular users
2020-07-04 10:19:05 -04:00
Barış Soner Uşaklı
e95cd28f6f
Zscan ( #8458 )
...
* feat: zscan
* fix: mongodb tests
* feat: scan, ip search starts with
2020-07-02 20:11:53 -04:00
Barış Soner Uşaklı
723fe8e8e0
feat: zscan ( #8457 )
...
* feat: zscan
* fix: mongodb tests
2020-07-02 17:59:20 -04:00
Barış Soner Uşaklı
f0ce309d03
fix: test
2020-06-26 15:26:15 -04:00
Barış Soner Uşaklı
c718b7293e
feat: #3783 , min/max tags per category
2020-06-24 16:02:57 -04:00
Barış Soner Uşaklı
6aecc1770c
feat: increase wait
2020-06-23 00:54:58 -04:00
Barış Soner Uşaklı
f03ca0867b
fix: tests
2020-06-23 00:46:59 -04:00
Barış Soner Uşaklı
48b41debe6
fix: vulnerability in cover and admin uploads ( #8419 )
...
* fix: vulnerability in cover and admin uploads
* fix: remove old test
* fix: update tests
2020-06-22 12:08:35 -04:00
Barış Soner Uşaklı
bef37e27cb
fix: test lock for user create ( #8415 )
...
* fix: test lock for user create
* fix: redis hdel with undefined
* feat: add test for undefined key in deleteObjectFields
2020-06-18 23:16:48 -04:00
Julian Lam
f909ed2541
feat: show editor in post diffs if available
2020-06-15 17:16:44 -04:00
Julian Lam
d5578c9906
fix: tests breaking due to #8406
2020-06-15 14:09:47 -04:00
Barış Soner Uşaklı
18d892398f
fix: add timestamp to initial username history
2020-06-13 13:55:48 -04:00
Barış Soner Uşaklı
bb3aa54006
feat: merge changes
...
allow selecting main topic to merge into
allow specifying a new title for merge topic
upon merge go to correct topic
new tests for merging with options
2020-06-10 12:48:32 -04:00
Barış Soner Uşaklı
3be4d5f7d5
feat: redirect /me to user profile
2020-06-08 15:37:20 -04:00
Julian Lam
6b1d1acb48
fix(style): more switch..case
2020-06-03 11:46:57 -04:00
Barış Soner Uşaklı
75b3a81dad
fix: clear error log before checking
...
fix intermittent test failure due to analytics being written every 10 seconds
2020-06-01 23:00:26 -04:00
Peter Jaszkowiak
de7ec47f13
fix : #8352 , remove webfonts ( #8354 )
2020-06-01 11:06:23 -04:00
Julian Lam
da90fd562e
fix: more tests
2020-05-31 21:22:07 -04:00
Julian Lam
a51fff8bd1
refactor: remove general menu from ACP ( #8347 )
...
* refactor: remove general menu from ACP
* fix: incorrect translation keys, fixed tests
2020-05-29 09:59:22 -04:00
Julian Lam
a66fe01377
fix: test breakages from 8d995d1eb6
2020-05-27 00:11:53 -04:00
Barış Soner Uşaklı
0009f54e6e
feat: add getSortedSetMembers
2020-05-26 22:55:28 -04:00
Barış Soner Uşaklı
ec5582b53c
feat: add privilege give/rescind hooks ( #8336 )
...
* feat: add privilege give/rescind hooks
action:privileges.categories.give/rescind
action:privileges.global.give/rescind
breaking change, privileges.categories.give/rescind and privileges.global.give/rescind use full privilege name for groups ie `groups:find` instead of `find`
* fix: tests, privileges renamed
2020-05-26 21:57:38 -04:00
Barış Soner Uşaklı
3b6d57e497
refactor: move code
2020-05-21 22:20:01 -04:00
Barış Soner Uşaklı
4ee3543ea4
feat: tweak intersection code, add tests
2020-05-21 22:12:58 -04:00
Julian Lam
6f504c4142
Remove allowFileUploads ACP option ( #8324 )
...
* feat: allow awaitable upgrade scripts
* feat: allowFileUploads removal upgrade script
* refactor: remove unnecessary ACP option `allowFileUploads`
* fix: updated upgrade script template to not use callback arg
* fix: upgrade script as per @baris
* fix: add missing await
* fix: add missing await
2020-05-21 16:06:35 -04:00
Barış Soner Uşaklı
f2907908c9
fix: another test fix
2020-05-20 09:08:27 -04:00
Barış Soner Uşaklı
feb748a44d
fix: tests
2020-05-20 08:55:07 -04:00
Barış Soner Uşaklı
12c6bc2e07
feat: convert queries so they used indices directly
2020-05-19 00:22:54 -04:00
Barış Soner Uşaklı
7a801abade
fix: tests on redis
2020-05-16 22:49:34 -04:00
Barış Soner Uşaklı
a032e12b7e
fix: tests
2020-05-16 00:25:44 -04:00
Barış Soner Uşaklı
81e33b9391
fix : #8317
2020-05-15 22:10:50 -04:00
Barış Soner Uşaklı
bfad457275
feat: add methods for adding/removing tags from topics
2020-05-12 23:00:45 -04:00
Barış Soner Uşaklı
97c086aba9
fix: missing await
2020-05-12 12:18:30 -04:00
Barış Soner Uşaklı
edf9fe3b7f
feat: add null tests for sorted sets
2020-05-09 10:38:56 -04:00
Barış Soner Uşaklı
aad0880f7c
feat: add filter:categories.getRecentTopicReplies
...
pass req.query to getRecentTopicReplies
2020-05-08 22:36:16 -04:00