19379 Commits (3d0db9630f79d2a23626241e1c577314f923e490)
 

Author SHA1 Message Date
Barış Soner Uşaklı 3d0db9630f fix: remove deprecated mocha.opts 5 years ago
Barış Soner Uşaklı 84383d3995 fix: spec 5 years ago
Barış Soner Uşaklı 9839346ec3 fix: #8290, if there are no filters go to ?reset=1
dont count ?page=1 as a filter
5 years ago
Misty (Bot) 2cf0a9b62d Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 5ebcdb1806 fix: #8287, fix users:flags as well 5 years ago
renovate[bot] 919034a7db
fix(deps): update dependency nodebb-rewards-essentials to v0.1.3 (#8289)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
5 years ago
Barış Soner Uşaklı 2d07634494
fix: #8283, update gdpr link again 5 years ago
Barış Soner Uşaklı 4f1128fd2b fix: add missing await 5 years ago
Barış Soner Uşaklı 9d153fd388 fix: #8287, dont readd user after deletion
don't add user uid back to users:* sorted sets if they are deleted
upgrade script to fix users:* sorted sets
5 years ago
Barış Soner Uşaklı 4d6b2ec3ce fix: missing await 5 years ago
Barış Soner Uşaklı 0391856d7d fix: #8286, rescind notif when its resolved/rejected 5 years ago
Misty (Bot) c0e441d3b2 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 3fcbd69149 feat: reduce infinite scroll area 5 years ago
Barış Soner Uşaklı 0ca84bd9f4 fix: #8284, parse ToS on register
rewrite intersitials to async/await
5 years ago
Barış Soner Uşaklı 17d664e098 fix: #8283, point to official site 5 years ago
psychobunny 275e837bcf fix: jquery xhtml violations 5 years ago
renovate[bot] 25d509c42c
fix(deps): update dependency mongodb to v3.5.7 (#8279)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
5 years ago
Opliko 4855f1deca
fix:#8274 Don't escape HTML in manage users (#8275)
Perhaps the HTML for managing groups should ba actually rendered as HTML to serve its function. fixes #8274
5 years ago
Barış Soner Uşaklı 0c7c70edaf fix: crash in topic controller 5 years ago
psychobunny fe03effe7d Revert "fix: crash when res.locals.linkTags is undefined"
This reverts commit 7cab2b0fea.
5 years ago
Andrew Rodrigues 7cab2b0fea
fix: crash when res.locals.linkTags is undefined 5 years ago
renovate[bot] 98b70c6b8e
Update dependency nodebb-plugin-composer-default to v6.3.24 (#8276)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
5 years ago
Renovate Bot 9f9267ce54 Update dependency lint-staged to v10.2.0 5 years ago
Renovate Bot 39a861f182 Update dependency mocha to v7.1.2 5 years ago
Misty (Bot) 75aaba3f4e Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 87a6ff0dce Merge branch 'master' of https://github.com/NodeBB/NodeBB 5 years ago
Barış Soner Uşaklı e80b81010c fix: #8272 user link in digest email 5 years ago
Renovate Bot 5ed4a1087c chore(deps): update dependency coveralls to v3.1.0 5 years ago
Julian Lam 23a0b8c54c fix(openapi): v14 test fix 5 years ago
Julian Lam a1b050e28d feat: let's start testing node v14 👿 5 years ago
Barış Soner Uşaklı 9ffdab02d0 fix: tag of /api/unread/total 5 years ago
Julian Lam 5a1c6ee7ed fix: response hook logic
After some more thought, a response hook should be checking for
whether headers are sent, and executing (or not executing) the
default logic in that case.

Before, we were relying on hooks to call data.next() to continue
execution, but it makes more sense to have the listener either
send a response or not, and handle the behaviour afterwards.
5 years ago
Julian Lam ccc6118d30
Testing suite integration for openapi spec (#8263)
* feat: testing suite integration for openapi spec

The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.

* fix(openapi): removed debug stuff from tests

* fix(openapi): fixed some tests

* fix(openapi): added additional check to tests, test fixes

* fix(openapi): better tests, fixed spec errors

* fix(openapi): bad conditional in test

* fix: oops

* fix(openapi): more tests fixing

* fix(openapi): more tests

* fix(openapi): fix some more tests

* fix: verbose'd an info log

* fix: topic pagination route returns schema-optimized pagination block

* fix(openapi): more test/spec fixes

* fix(openapi): accidentally sending in authenticated jar for anon routes

* fix(openapi): more test/spec fixes

* fix(openapi): more spec fixes

* fix: timestampReadable Invalid Date

* fix(openapi): more tests... almost there

* fix(openapi): more tests fixing

* fix(openapi): finally all tests passing

* fix(openapi): added reverse test to compare response to spec

... and fixed all the tests that broke

* fix: remove tests related to group covers, as route is gone

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): broken test on travis

* fix(openapi): object cache is not present for psql

* fix: tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Julian Lam 6edf02d4a5 fix: remove upload picture test (avatars) 5 years ago
Julian Lam 442fe65f5a fix: remove tests related to group covers, as route is gone 5 years ago
Barış Soner Uşaklı 4eafe0f057 fix: #8269, return array of topics from hook 5 years ago
Misty (Bot) 267567a086 Latest translations and fallbacks 5 years ago
Misty (Bot) c1429fbbf1 Latest translations and fallbacks 5 years ago
Opliko 47e7e9572c Add loading=lazy tag to avatars
There is no reason why avatars should be a blocking reasorce, and browsers are now adding support for lazy loading of images (and iframes). According to [caniuse.com](https://caniuse.com/#feat=loading-lazy-attr) 62% of users use a browser that supports this attribute.

So there doesn't seem to be any downside to just adding this attribute here. It won't affect browsers that don't support it and might speed up page loads on browsers that do.
5 years ago
Opliko 6e5ebb6184
feat: manifest.json improvements from #8126 (#8264)
* feat: manifest.json improvements from #8126

* Fix short title placeholder

* use lowercase letters for hex colors
5 years ago
Renovate Bot 51eccef58b chore(deps): pin dependency @apidevtools/swagger-parser to 9.0.1 5 years ago
Julian Lam d09c6ae0de fix(deps): actually, swagger-parser is a dev dependency 5 years ago
Julian Lam f172073551 fix(deps): missing @apidevtools/swagger-parser 5 years ago
Barış Soner Uşaklı 153456278b feat: show error if json is invalid 5 years ago
Julian Lam d342a28c16 fix(openapi): remove account and group upload routes
re: #8260
5 years ago
Julian Lam ef52461fb6 fix: remove dead picture upload code #8260 5 years ago
Julian Lam 058a15dbb2 fix(openapi): more fleshing out 5 years ago
Julian Lam bae88e089a fix(openapi): fleshed out admin routes 5 years ago
Julian Lam 5bcaf71501 fix: path.resolve to logs file 5 years ago
Julian Lam 8387178b25 feat(openapi): merging openapi-test branch into master 5 years ago