Barış Soner Uşaklı
5fe97b9c2e
revert: sync hooks
4 years ago
Barış Soner Uşaklı
308252f566
fix : #9503 , dont error in markUnread if room doesnt exist
...
this prevents deleting the user if they are the only person in the chat room
4 years ago
Barış Soner Uşaklı
1029a06a87
test: fix tests
4 years ago
Barış Soner Uşaklı
01956af43a
feat: remove sync hooks support
4 years ago
Barış Soner Uşaklı
92de49be00
test: add test for undefined fields in getObjectsFields
4 years ago
gasoved
8b79c7f139
fix: regress. rescheduling shouldn't add to sets that pinning removed… ( #9477 )
...
* fix: regress. rescheduling shouldn't add to sets that pinning removed from
* test: remove the also from tests
4 years ago
Barış Soner Uşaklı
435067aa5f
test: remove logs
4 years ago
Barış Soner Uşaklı
2ea468daa3
test: clear cache between runs, require middleware later in helpers
4 years ago
Barış Soner Uşaklı
2f401d7d74
test: test times
4 years ago
psychobunny
4dd3844680
fix: logic is hard
4 years ago
psychobunny
bc0ca61c6a
fix: run in series
4 years ago
Barış Soner Uşaklı
80ef108220
test: log
4 years ago
psychobunny
13fa983e61
fix: accidentally committed this
4 years ago
psychobunny
eb240c905f
fix: tests
4 years ago
psychobunny
ea22cd302a
fix: use req.ip instead, since guests can upload as well
4 years ago
psychobunny
a9978fcfd2
feat: rate limit file uploads
4 years ago
Barış Soner Uşaklı
36f119a96a
fix : #9492 , keep query params on redirect
4 years ago
Julian Lam
f4c5050a16
fix: failure on session reroll 🍣 test
4 years ago
Julian Lam
a3a7ab3ae1
test: added test for session id reroll on login
4 years ago
Barış Soner Uşaklı
161081e960
fix: escape flag reason
4 years ago
Barış Soner Uşaklı
f9df6431c9
revert: revert tag sort
4 years ago
Barış Soner Uşaklı
05f2236193
feat: add reverse of recent to getSortedTopics
4 years ago
gasoved
aa0137b1c4
feat: rescheduling (editing ST) ( #9445 )
4 years ago
Barış Soner Uşaklı
f7f46e7c65
feat: upgrade sharp ( #9442 )
4 years ago
gasoved
077330b764
feat: scheduled topics ( #9399 )
...
* feat: scheduled topics
* refactor: linting fixes
* fix: tests
* fix(test): race condition
* fix: make a single request
4 years ago
Barış Soner Uşaklı
eb360351e5
fix : #9394 , fix guest handles
4 years ago
Barış Soner Uşaklı
5c59354c58
fix : #9389 , allow admins to add themselves to private groups
4 years ago
Barış Soner Uşaklı
4327a09d76
feat: allow optional fields argument on db.getObject(s) ( #9385 )
4 years ago
Barış Soner Uşaklı
e789fe8d2a
fix : #9383 , don't show deleted topic titles in inf scroll
4 years ago
Barış Soner Uşaklı
34b9aaedee
feat: allow sync function ( #9379 )
...
* feat: allow sync function
* fix: remove async
4 years ago
Barış Soner Uşaklı
e725beaa4a
Revert "feat: allow filter functions that return promises or the data directly"
...
This reverts commit e6c52cf26c
.
4 years ago
Barış Soner Uşaklı
e6c52cf26c
feat: allow filter functions that return promises or the data directly
4 years ago
Barış Soner Uşaklı
46270f9f20
feat: bring back static hook timeout
4 years ago
Barış Soner Uşaklı
39b0e0fb91
fix: tests
4 years ago
Barış Soner Uşaklı
8ef38cb252
test: add missing test
4 years ago
Barış Soner Uşaklı
70a653d0a5
test: double filter test
4 years ago
Barış Soner Uşaklı
f4f61b92b4
fix: lint
4 years ago
Barış Soner Uşaklı
0e67ab01ca
test: admin/manage/users tests
4 years ago
Barış Soner Uşaklı
0af9d26fe5
feat: change uploadCroppedPicture to use updateProfile as well
4 years ago
Barış Soner Uşaklı
a598abcd8e
feat: use updateProfile for picture change
...
so it triggers action:user:updateProfile
4 years ago
Barış Soner Uşaklı
ca8176312f
fix: notification prune test
4 years ago
Barış Soner Uşaklı
293b7c2650
refactor: privileges, export modules directly ( #9325 )
...
fix unused/commented out methods in admin privileges
4 years ago
Julian Lam
0804d54759
spec: schema docs for new ACP dashboard subpage routes
4 years ago
Barış Soner Uşaklı
cfc237c2b7
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
a592ebd1ff
feat: category search test
4 years ago
Julian Lam
d3a9e76ae2
test(user): added additional tests for icon background colour
4 years ago
Barış Soner Uşaklı
0e07f3c9ba
feat: allow defining a list of system tags
4 years ago
Barış Soner Uşaklı
bbaaead09c
feat: add category search test, #9307
4 years ago
Julian Lam
ad54b174a4
test: topic reordering tests
4 years ago
Julian Lam
7223074f1d
feat: ability to re-order topic thumbnails
4 years ago
Barış Soner Uşaklı
8f0386d9ac
feat: add failing test for list append/prepend with list ( #9303 )
...
* feat: add failing test for list append/prepend with list
* feat: mongo/psql
* feat: improve test
4 years ago
Julian Lam
782bef5eec
fix: another topic thumb test fix
4 years ago
Julian Lam
7ebb6d3056
fix: thumbs.associate logic fix + tests
4 years ago
Julian Lam
50664487b9
test: additional tests for topic thumbs
4 years ago
Julian Lam
b81508c4e2
fix: init topic events from webserver.js
4 years ago
Barış Soner Uşaklı
3595473485
feat: load user posts/topics via xhr on infinitescroll
4 years ago
Barış Soner Uşaklı
fc90f32ec0
fix: tests, new categories go to top now
4 years ago
Barış Soner Uşaklı
c953b1b3d1
fix : #9292 , messageobj.content already parsed
4 years ago
Barış Soner Uşaklı
670cde78da
feat: add invalid event name to error message
4 years ago
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
4 years ago
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
4 years ago
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Peter Jaszkowiak
4ee0f1459d
chore: eslint import/newline-after-import
4 years ago
Barış Soner Uşaklı
47299ea587
Categories refactor ( #9257 )
...
* feat: wip categories pagination
* feat: add subCategoriesPerPage setting
* feat: add load more sub categories button to category page
* fix: openapi spec
* feat: show sub categories left on category page
hide button when no more categories left
* breaking: rename categories to allCategories on /search
categories contains the search results
* fix: spec
* refactor: remove cidsPerPage
* fix: tests
* feat: use component for subcategories
* fix: prevent negative subCategoriesLeft
* feat: new category filter/search WIP
* feat: remove categories from /tag
* fix: dont load all categories when showing move modal
* feat: allow adding custom categories to list
* breaking: dont load entire category tree on post queue
removed unused code
add hooks to filter/selector
add options to filter/selector
* feat: make selector modal work again
* feat: replace old search module
* fix: topic move selector
* feat: dont load all categories on create category modal
* fix: fix more categorySelectors
* feat: dont load entire category tree on group details page
* feat: dont load all categories on home page and user settings page
* feat: add pagination to /user/:userslug/categories
* fix: update schemas
* fix: more tests
* fix: test
* feat: flags page, dont return entire category tree
* fix: flag test
* feat: categories manage page
dont load all categories
allow changing root category
clear caches properly
* fix: spec
* feat: admins&mods page
dont load all categories
* fix: spec
* fix: dont load all children when opening dropdown
* fix: on search results dont return all children
* refactor: pass all options, rename options.cids to options.selectedCids
* fix : #9266
* fix: index 0
* fix: spec
* feat: #9265 , add setObjectBulk
* refactor: shoter updateOrder
* feat: selectors on categories/category
* fix: tests and search filter
* fix: category update test
* feat: pagination on acp categories page
show order in set order modal
* fix: allow drag&drop on pages > 1 in /admin/manage/categories
* fix: teasers for deep nested categories
fix sub category display on /category page
* fix: spec
* refactor: use eslint-disable-next-line
* refactor: shorter
4 years ago
Julian Lam
5c21c33e58
fix: tests breakage due to 67e3fb6498
4 years ago
Julian Lam
f79aeef889
fix: posts.uploads.sync dissociates uploaded thumbs of the main pid
4 years ago
Julian Lam
28b3013424
test: added more topic thumbnail tests
...
... to test for post upload tracking logic
4 years ago
gasoved
53e0d4d2e0
feat: banned-users group
4 years ago
gasoved
cabec378f4
fix: openapi test specs
4 years ago
gasoved
72b050b4a8
test: post diff deletion tests
4 years ago
Julian Lam
bd5839639d
fix: http 200 test for api routes
4 years ago
Julian Lam
d6f60f4502
fix: broken test after sorted-lists logic change
4 years ago
Barış Soner Uşaklı
5bc1f5b4e8
fix : #9231 , fix redis pubsub connection
...
regression from fdfbc90255
4 years ago
Barış Soner Uşaklı
d41ce87334
fix: removed object routes
4 years ago
Barış Soner Uşaklı
647d3ba810
fix: removed methods
4 years ago
Julian Lam
aa8b84bb56
fix(topic-events): topicEvents.init() test
4 years ago
Julian Lam
449c379d22
feat(topic-events): server-side tests for topic events
4 years ago
Julian Lam
ce7c74b2e1
fix: more tests for #9217
4 years ago
Julian Lam
f2a5cd0b67
fix: tests for #9217
4 years ago
Barış Soner Uşaklı
fdfbc90255
feat: async/await redis connection
4 years ago
Julian Lam
966c4117ec
refactor(api): post move to write API
4 years ago
Barış Soner Uşaklı
1590cdf19f
fix : #9206 , fix double escaped arguments
4 years ago
Julian Lam
e817d5beda
fix: test for topicThumbs
4 years ago
Barış Soner Uşaklı
8ece64ab82
fix: test for https://github.com/NodeBB/NodeBB/pull/9180
4 years ago
Julian Lam
9534d95619
fix: broken test due to change in response code
4 years ago
Julian Lam
0da2843281
feat(api): schema definition for new credential checking route
4 years ago
Barış Soner Uşaklı
0d7dfeeb86
chore: increase test timeout
4 years ago
Julian Lam
77a5adb616
fix(tests): handle nested allOf blocks
4 years ago
Julian Lam
895e3d939e
fix : #9149 , server-side handling of disableChatMessageEditing
4 years ago
Julian Lam
80ee3dfbd1
fix(api): tests
4 years ago
Julian Lam
4fc1337762
feat(api): added schema for email unsubscribe token
4 years ago
Julian Lam
501a7b7774
fix: bug in api path existence test
...
It was only checking for the path, but not ensuring that the method was also defined
4 years ago
Peter Jaszkowiak
2be396ff6e
fix: email testing and settings change from ACP
...
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
4 years ago
Julian Lam
bbd97ccb48
fix: subfolder handling in tests
4 years ago
Julian Lam
5f038dffbd
test: changed test a bit to see what is going on
4 years ago
Julian Lam
6062039de2
fix: .flat() not defined in v10, added debug router to exclusion list
4 years ago
Julian Lam
f416dc177a
fix: all tests, wrap up work
4 years ago
Julian Lam
9c2de86a6e
fix: two more routes
4 years ago
Julian Lam
cb32e32ae3
feat: fix more tests, add more routes, update api test suite
4 years ago
Julian Lam
14c51e3c60
feat: add registration/complete route, fix some other tests
4 years ago
Julian Lam
b9a61d2d45
fix: api tests
4 years ago
Julian Lam
a962935743
fix: bad error message for request body api test
4 years ago
Julian Lam
7fc329de2f
fix: modify backreference test to not check router.all() calls
4 years ago
Julian Lam
878ee06715
refactor: schema backreference test to use map instead of reduce, properly check write-api routes
4 years ago
Julian Lam
df8d62ba06
feat: normalize paths before comparison
4 years ago
Julian Lam
dbe85630e3
feat: additional test to ensure any new routes added to express have a corresponding schema doc
...
re: #9103
4 years ago
Barış Soner Uşaklı
2dee3cbe1a
fix: test
4 years ago
Barış Soner Uşaklı
80de572aa1
feat: add user.email.confirmByUid for sso plugins
4 years ago
Julian Lam
f8dff94a15
fix: derp?
4 years ago
Julian Lam
9a4ea04a75
fix: attempted fix for psql test in topic thumbs
4 years ago
Julian Lam
e83baa97a0
fix: bad topic thumbs logic on local thumb upload
4 years ago
Julian Lam
ce8057f389
feat: broken test for bad topic thumbs logic
4 years ago
Julian Lam
3e54b70c06
fix : #9092 , Topic thumbnails do not work with third-party uploaders
4 years ago
Julian Lam
dd448e2b1a
fix: move topic thumb tests to root level, so they actually get run by mocha
4 years ago
Julian Lam
9681557f60
fix: tests for topic thumbs
4 years ago
Julian Lam
c043cfebd6
fix: added back missing topic thumb tests that were removed in last commit
4 years ago
Julian Lam
5ec3b3d083
fix: tests
4 years ago
Julian Lam
c09c238e3f
fix: do not allow thumb deletion route to arbitrarily delete other files in uploads folder
4 years ago
Julian Lam
5950683316
feat: closes #9048 , tests for topic thumbs routes, write API schema
4 years ago
Julian Lam
4152aa552e
feat: tests for topic thumbs
...
Also added some error checking to addThumbs controller
4 years ago
Barış Soner Uşaklı
10cfdd4c5d
fix: remove old utils.slugify tests
4 years ago
Barış Soner Uşaklı
1c45fa1ba5
feat: socket.io 3 changes ( #8845 )
...
* feat: socket.io 3 changes
* feat: replace socketio-wildcard with socket.onAny
up socket.io-redis to 6.x
* feat: remove mongodb/psql socket.io adapters
* feat: show data on fail
* fix: tests
* fix: typo
* fix: logger test fix
* fix: logger.io_close
* chore: up deps
* chore: update readme to reflect redis requirement
* fix: increase timeout show data if test fails
4 years ago
Barış Soner Uşaklı
d2888d1d1f
Category tags ( #8938 )
...
* feat: wip category tags
* fix: tag search
* feat: remove debug
* fix: returns of searchTags and autocomplete
* fix: alpha sort
* fix: redis
* fix: delete zsets on category purge, fix another test
* fix: test
4 years ago
Barış Soner Uşaklı
557f0f5631
feat: use correct code
4 years ago
Barış Soner Uşaklı
f25000cb60
fix: pwd reset test
4 years ago
Barış Soner Uşaklı
5080f35752
fix : #8991 , logout on password reset, dont verify email if password expired
...
dont allow same password on reset
4 years ago
Barış Soner Uşaklı
3cd0c9a476
fix : #8998 , allow guests to use write api to post/reply
4 years ago
Barış Soner Uşaklı
7f5efc3e93
fix : #8992 , set email:confirmed for first admin user
4 years ago
Julian Lam
b596e94826
fix: tests
4 years ago
Barış Soner Uşaklı
77a6dbacc4
fix: api test
4 years ago
Barış Soner Uşaklı
3de692cd52
fix: csv test
4 years ago
Barış Soner Uşaklı
700ef1af97
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
4afdf8bc27
fix: spec, remove old tests
4 years ago
Julian Lam
88a60473d9
fix(spec): breaking tests
4 years ago
Barış Soner Uşaklı
414caac01b
fix : #8957
4 years ago
Barış Soner Uşaklı
5bb5ec4618
fix : #8954 , clear purged replies and toPids ( #8959 )
...
* fix : #8954 , clear purged replies and toPids
* fix: redis test
4 years ago
Barış Soner Uşaklı
e32cd31ec6
fix : #8918
4 years ago
Barış Soner Uşaklı
61c6a762ad
fix: test
4 years ago
Barış Soner Uşaklı
5fa098326f
fix: https://github.com/NodeBB/NodeBB/pull/8685
...
fix category link redirect on cold load
fix helpers.redirect if passed in url is external
fix ajaxify so it doesn't slice first character of external url
4 years ago
Barış Soner Uşaklı
fa4177c3bc
fix : #6407 , fix feeds
...
display latest posts instead of oldest in topic rss feed
fix missing await that was causing rss_tokens to not function
fix feed test
more tests for getTopicWithPosts
4 years ago
Julian Lam
a0b7a82350
feat(api): account deletion routes for the Write API ( #8881 )
...
* feat(api): account deletion routes for the Write API
* refactor: rewrite client-side calls to account deletion to use api
* style: apply DRY
4 years ago
Opliko
6e43086558
resolve #8444 - Allow nested objects in translations ( #8793 )
...
* feat: #8444 Allow nested objects in translations
* feat: #8444 Allow nested objects in translations
* style: don't change formatting
* fix: don't use the first string match if key isn't finished
* feat: #8444 Allow nested objects in translations
* feat: #8444 Allow nested objects in translations
* style: don't change formatting
* fix: don't use the first string match if key isn't finished
* feat: add nested translations test
4 years ago
Barış Soner Uşaklı
7928036a1b
feat: add test for custom translations
4 years ago
gasoved
3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance ( #8786 )
...
* feat: allow invites in normal registration mode + invite privilege
* feat: select groups to join from an invite
* test: check if groups from invitations have been joined
* fix: remove unused variable
* feat: write API versions of socket calls
* docs: openapi specs for the new routes
* test: iron out mongo redis difference
* refactor: move inviteGroups endpoint into write API
* refactor: use GET /api/v3/users/:uid/invites/groups
Instead of GET /api/v3/users/:uid/inviteGroups
* fix: no need for /api/v3 prefix when using api module
* fix: tests
* refactor: change POST /api/v3/users/invite
To POST /api/v3/users/:uid/invites
* refactor: make helpers.invite awaitable
* fix: restrict invite API to self-use only
* fix: move invite groups controller to write api, +tests
* fix: tests
Co-authored-by: Julian Lam <julian@nodebb.org>
4 years ago
Julian Lam
0a0b4661be
chore: remove debug log
4 years ago
Barış Soner Uşaklı
e4d2764d4c
fix : #8884 , remove header/footer cache
4 years ago
Julian Lam
b3e00489c8
fix: add back test timeout for exports
4 years ago