1463 Commits (9198a95173e8dedac34140bb47cb0e62beb4d5fa)

Author SHA1 Message Date
Barış Soner Uşaklı 8ca65b0c78
fix: dont send 200 status on admin upload errors (#11707)
* fix: dont send 200 status on admin upload errors

* test: update test

* bring back both checks for error

* test: add statusCode tests
2 years ago
Barış Soner Uşaklı db3bff094e fix: #11679, fix username change
only effected usernames with special characters & quotes
2 years ago
Barış Soner Uşaklı 04998908ba
Fixes for "validate email" & "send validation email" in ACP (#11677)
* confirmObj changes

dont expire confirm:<code>, add a expires field instead
dont expire confirm:byUid:<uid>

on admin manage users display the users email status
	1. verified
	2. verify email sent (pending)
	3. verify email sent (expired)
	4. no email entered

fix validate email in acp to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above cant validate throw error

fix send validate email to use
	email in user:<uid> if they have one
	if not check if its in confirm:<code>
	if its not in above too cant validate throw error

* add back socket.io tests

* test: fix confirm tests

no longer using pexpire
return correct time left on token

* chore: update openapi

* fix: delete call

* test: mget test fixes

* test: fix tests
2 years ago
Barış Soner Uşaklı d3c5a79d44 fix: #11664, dont create backlinks for quotes 2 years ago
Barış Soner Uşaklı c3afe44686
Acp redesign (#11639)
* acp sidebar

* gap in nav

* remove shadow

* label fixes

* color fixes

* feat: settings page wip

* feat: scroll spy 👓

move social into general, store social in meta.config like other settings
write upgrade script

* remove social

* rermove openapi routes

* cleanup, highlight selected nav item

* more cleanup

* advanced margin top

* derp

* match design

* bring back version alert

fix homepage js, since it moved to general settings

* remove unused tpls

these moved to general settings

* remove more  css

* offcanvas for mobile

fix search

* add timeout

* add new props

* manage categories

* small fixes

* category-edit

* feat category page fixes

* add title to settings pages

add user settings page

* small fixes

* some more settings pages

* fix: plugin page titles

* more settings pages

* more padding

* more pages, add acp paginator.tpl

so it doesn't change when active theme changes

* remove placeholder

* dashboard table

* fix: openapi

* fix: controller tests

* use fonts from core

* some small fixes

* fix rep page

* refactor: fix name of upgrade script

* create category modal

group edit

* group/groups pages

* admins mods

* privs

* uploads

* missing margin

* more acp pages

* more pages

* plugins/rewards/widgets

* wrap rewards

* fix widgets

* fix widget clone button

* fix group acp edit link

* update search dropdown

* remove display block from tbody

* use less css

* remove some derp links

* remove striped tables

* remove p tags from lang files

* update email settings

* Update api.tpl

* move tag-whitelist
2 years ago
Barış Soner Uşaklı 1ab0faa4a9 test: remove is touch test 2 years ago
Barış Soner Uşaklı 366b18e02f test: remove socket.io test 2 years ago
Barış Soner Uşaklı 3cb4edf19e test: log socket.io error
dont call callback twice
2 years ago
Barış Soner Uşaklı 12e75ff418 test: fix another test 2 years ago
Barış Soner Uşaklı c201bf4507 test: fix test 2 years ago
Barış Soner Uşaklı 63b859f053
poc: use csrf_token in ws handshake (#11573) 2 years ago
Barış Soner Uşaklı 031ffe491e test: add back missing tests 2 years ago
Barış Soner Uşaklı bd80d36e0d Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı a75fd636ad test: add missing tests 2 years ago
Barış Soner Uşaklı aff6d20f9f test: fix digest test 2 years ago
Barış Soner Uşaklı 4bfebc8123 test: add email 2 years ago
Barış Soner Uşaklı 1f03d41471 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2 years ago
Barış Soner Uşaklı 61563b01df test: digest 2 years ago
Julian Lam 3251bca24b fix: failing test case 2 years ago
Julian Lam 6765d053ce test: additional tests for .roll() 2 years ago
Julian Lam f42b636adc test: fix authentication tests to use new token saving utility functions 2 years ago
Julian Lam 4f524e9f94 feat: token rolling API for admins
+ tests
2 years ago
Julian Lam e4888dea17 feat: api token migration, new ACP tokens list, token creation 2 years ago
Julian Lam 7b8bffd763 feat: internal utility functions for token management (creation, deletion, etc)
Including tests
2 years ago
Julian Lam e94c58becd Merge remote-tracking branch 'origin/master' into develop 2 years ago
Barış Soner Uşaklı f083cd559d
feat: add getSortedSetMembersWithScores (#11579)
* feat: add getSortedSetMembersWithScores

* lint: fix

* test: fix redis

* fix: mongo/psql
2 years ago
Julian Lam 393a891379 test: added test cases for #11562 2 years ago
Barış Soner Uşaklı e0db9a8978 test: fix assert.reject calls
fix tests
2 years ago
Barış Soner Uşaklı 0c20d7cdee test: fix brackets 2 years ago
Barış Soner Uşaklı 9800d65a29 test: remove log 2 years ago
Barış Soner Uşaklı 8a359d6338 test: increase delay after export 2 years ago
Julian Lam 36895421ba refactor: topic mark read/unread routes 2 years ago
Julian Lam 82b4984b9d test: replace calls to getReplies socket call to api method 2 years ago
Julian Lam ee9f53f1ff refactor: deprecate socket method posts.getPidIndex 2 years ago
Julian Lam f2082d7de8 refactor: started work on porting socket methods to write API [breaking]
The following socket calls have been removed:

* `posts.getRawPost`
* `posts.getPostSummaryByPid`

Two new Write API routes have been added:

- `GET /api/v3/posts/:pid/raw`
- `GET /api/v3/posts/:pid/summary`
2 years ago
Julian Lam b3787bd50c fix: update openapi spec to specify optional `expiry` argument available to be passed in via request body.
Also updated test runner to ignore any request bodies in spec that are explicitly not required.
2 years ago
Barış Soner Uşaklı e3551d80d7 feat: allow tag editing from topic tools
closes #7536
closes #7465
closes #11538
2 years ago
Barış Soner Uşaklı b891c5accd test: fix group tests
no idea how these passed on gh runner
2 years ago
Barış Soner Uşaklı 3c6f225a78 test: Blob doesnt exist in node 16 2 years ago
Barış Soner Uşaklı 699c3bdf35 test: missing utils tests 2 years ago
Barış Soner Uşaklı 94229688c2 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı de2669a2c6 fix: only remove deleted tag, closes #11515 2 years ago
Barış Soner Uşaklı 68efb6e601 Merge branch 'master' into develop 2 years ago
Barış Soner Uşaklı 21fb8590e5 test: remove old comment 2 years ago
Barış Soner Uşaklı 6bed65dde6
fix: numeric strings in mongo (#11498) 2 years ago
Barış Soner Uşaklı af7ab9b468 Merge branch 'master' into develop 2 years ago
Veronikya c931183287
fix: NodeBB#11482 thumbs Post Can not upload a thumbnail, only multip… (#11483)
* fix: NodeBB#11482 thumbs Post Can not upload a thumbnail, only multiple uploads

* Modify upload thumbnail test

* Modify upload thumbnail test +,

* Get rid of v2 uploads test

* edit times

* Modify amount of files associated post test

* edit post file amount
2 years ago
Barış Soner Uşaklı 9c16218668 test: remove history test 2 years ago
Barış Soner Uşaklı 132476d581 feat: update mkdirp to 3.x, closes #11455 2 years ago
Barış Soner Uşaklı 43c6087b34 feat: update rimraf to 5.x, closes #11456 2 years ago