8089 Commits (e66b526ca0114be361bd32a4e589368f1b029a0c)

Author SHA1 Message Date
Misty (Bot) 5e3760d276 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 40b5cbab2c refactor: remove console.log 5 years ago
Barış Soner Uşaklı 765b8156d5 feat: parse quick search tpl even if no results
allows showing "no results found" in theme
5 years ago
Misty (Bot) 83b5a20c7c Latest translations and fallbacks 5 years ago
Julian Lam 45dfeeb033 fix(openapi): broken tests 5 years ago
Barış Soner Uşaklı 1f992cf371 fix: if category in selector has url use it 5 years ago
Julian Lam aa4ae78b63 fix(docs): added titles to all routes 5 years ago
Julian Lam 9fd5c439b2 feat: write-api update, WIP 5 years ago
Barış Soner Uşaklı 4e14cb5767 fix: add missing schema item 5 years ago
Misty (Bot) 928a94426b Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı a73c755b05 feat: closes #8308, edit post notif for watched topic posts 5 years ago
Misty (Bot) b4494cb876 Latest translations and fallbacks 5 years ago
Misty (Bot) 64c3310aa4 Latest translations and fallbacks 5 years ago
Julian Lam 6765de3db3 fix: sortable topics even if only 1 pinned topic 5 years ago
Julian Lam dd2bc18927 fix: #8298, use class name added by jQueryUI instead
This reverts commit 2e57d8ac31.
5 years ago
Julian Lam 2e57d8ac31 fix: discoverability of topic reordering, re: #8298 5 years ago
Julian Lam f2c725c658 fix: topic search shortcut for macs 5 years ago
Misty (Bot) 6567e47494 Latest translations and fallbacks 5 years ago
Julian Lam fcb81cb8ca fix: #8297 guest handles shown in category.tpl 5 years ago
Barış Soner Uşaklı be305410fb fix: #8293, don't show error if there are no self messages 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ı 2d07634494
fix: #8283, update gdpr link again 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ı 17d664e098 fix: #8283, point to official site 5 years ago
psychobunny 275e837bcf fix: jquery xhtml violations 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
Misty (Bot) 75aaba3f4e Latest translations and fallbacks 5 years ago
Julian Lam 23a0b8c54c fix(openapi): v14 test fix 5 years ago
Barış Soner Uşaklı 9ffdab02d0 fix: tag of /api/unread/total 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
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
Julian Lam d342a28c16 fix(openapi): remove account and group upload routes
re: #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 8387178b25 feat(openapi): merging openapi-test branch into master 5 years ago
Barış Soner Uşaklı ba6d3fd372 fix: only trigger infinitescroll on scroll end 5 years ago
Julian Lam ab4bd7e146 fix(openapi): added some descriptions 5 years ago
Misty (Bot) d678793cd4 Latest translations and fallbacks 5 years ago
Julian Lam 2395d2be2e fix(openapi): added PostsObject component 5 years ago
Julian Lam 1b425ef108 fix: no focus on find user modal 5 years ago
Julian Lam bcbf98aa4c fix: accidental fp precision on flag and acp dash graphs 5 years ago
Misty (Bot) d387cc231e Latest translations and fallbacks 5 years ago
Julian Lam 23dd2727f2 fix(openapi): finished moving all category objects out 5 years ago
Julian Lam c939f8c66d fix(openapi): changed some descriptions 5 years ago
Julian Lam 55d0a9ffea fix(openapi): added CategoryObject component 5 years ago
Julian Lam 646fac1e53 fix(openapi): removed repeated breadcrumb blocks in favour of $ref 5 years ago
Julian Lam ac579f9dc2 fix(openapi): remove all repeated pagination blocks in favour of 5 years ago
Julian Lam 1cf62095dc fix(openapi): removed warning for category mods route 5 years ago
Julian Lam 3a5c6e07f9 fix(openapi): normalising the file for programmatic updates 5 years ago
Misty (Bot) 0252e149d9 Latest translations and fallbacks 5 years ago
Julian Lam 65c78de6fe feat(openapi): move all commonprops out for commonprops component 5 years ago
psychobunny cd5065572c feat: moved component specs into separate files 5 years ago
Julian Lam 2425f4533f feat(openapi): added template to commonprops 5 years ago
Julian Lam 64d79fe5f6 feat: added UserObject, UserObjectFull, Breadcrumb, Pagination component 5 years ago
psychobunny ae3e90d693 feat: added some summary and descriptions 5 years ago
Misty (Bot) 390dbb1bf3 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 442c018ec0 feat: add some descriptions 5 years ago
Barış Soner Uşaklı eade13f928 feat: common schema 5 years ago
Julian Lam 32985eb12e Merge remote-tracking branch 'refs/remotes/origin/master' 5 years ago
Julian Lam 7b31fb34a7 fix: missing descriptions for common properties 5 years ago
Barış Soner Uşaklı 9987813f30 feat: add page query param to docs 5 years ago
Barış Soner Uşaklı bbddaadf51 feat: tag route doc 5 years ago
Julian Lam 03739b6f83 fix: some definitions in read API spec 5 years ago
Julian Lam 455d42bcfa fix: tagged all routes in read api spec 5 years ago
Julian Lam 1136a369f3 feat: local redoc view on development mode only 5 years ago
Julian Lam 7b155dab74 feat: added auto-generated, slimmed-down openapi 3.0 file for read api 5 years ago
Misty (Bot) bb565b0a81 Latest translations and fallbacks 5 years ago
Misty (Bot) aabddea2b7 Latest translations and fallbacks 5 years ago
Misty (Bot) 5e849c6b52 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 080317300a fix: #8221, fix parent selection 5 years ago
Misty (Bot) 68afd01f67 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 0b5fac75b0 fix: #8217, add missing lang key 5 years ago
Misty (Bot) fc06f90346 Latest translations and fallbacks 5 years ago
Julian Lam 5aa76cdf2f feat: pass in target element in action:topic.tools.load 5 years ago
Barış Soner Uşaklı 2f9c7c626f fix: #8203, fix user invites refreshing page 5 years ago
Misty (Bot) af5c6b8824 Latest translations and fallbacks 5 years ago
Misty (Bot) d0075ed9a3 Latest translations and fallbacks 5 years ago
psychobunny b67af70da4 fix: hsts max-age missing translation 5 years ago
Misty (Bot) 41572be879 Latest translations and fallbacks 5 years ago
Misty (Bot) 22ee2b8d06 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 5e91a67e78 feat: add user ip to admin/dev/info 5 years ago
Misty (Bot) 07e7872622 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 4083a6e39b feat: add awaitable socket.emit 5 years ago
Barış Soner Uşaklı 6e5de39ba0 fix: also fix updating bookmark if sorting is newest_to_oldest 5 years ago
Barış Soner Uşaklı 32ada7c4e7 fix: #8188, fix bookmark if sorting is newest_to_oldest 5 years ago
Misty (Bot) 53720354de Latest translations and fallbacks 5 years ago
Misty (Bot) 7eb0053bd4 Latest translations and fallbacks 5 years ago
Misty (Bot) c71e4de8a8 Latest translations and fallbacks 5 years ago
Misty (Bot) 307c72a58b Latest translations and fallbacks 5 years ago
Misty (Bot) 8f2029faed Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 326367556f fix: tag key 5 years ago
Barış Soner Uşaklı bc93b5676c fix: #8175 5 years ago
Andrew Rodrigues 3c9689a5ac
feat: settings sorted list (#8170)
* feat: settings sorted list

see https://github.com/NodeBB/nodebb-plugin-quickstart/pull/9/files for sample
5 years ago
Misty (Bot) 307f8716b7 Latest translations and fallbacks 5 years ago
Misty (Bot) 316913b9bb Latest translations and fallbacks 5 years ago
Misty (Bot) f1d58989d8 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 067034082f fix: #6422, update deleted/restored messages 5 years ago
Misty (Bot) 20fbab9723 Latest translations and fallbacks 5 years ago
Misty (Bot) 99a3ca7582 Latest translations and fallbacks 5 years ago
Baris Usakli 2e79480179 fix: #8151, don't crash if taskbar doesn't have element 5 years ago
Julian Lam 14655f8745 fix: no decimal places for category analytics 5 years ago
Julian Lam d6e3f3f058
fix: #8142, broken site if no server-side session (#8148)
* fix: #8142, broken site if no server-side session

During the `addHeader` middleware, a check is now done to see if
`req.session.meta` is present. This value is only present if the user
has a valid server-side session.  If it is missing, then it is probably
safe to assume that the server-side session was deleted (either
intentionally or accidentally). In that scenario, the client-side cookie
should be cleared.

Also, there was an issue where the sessionRefresh flag was never cleared
after a successful login, so that was fixed too.

* feat: exported method to get cookie config

* fix: don't clear cookie if cookie is being set

* fix: socket.io tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Misty (Bot) 5ed7fc0ffa Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 3077eb9428 fix: remove unused conditional, dont add dupe messages 5 years ago
Julian Lam 594cd7e176 fix: #8127 user join system message duplicated
- Now showing user-join message for chat owner in addition to the newly
  added user
- If a modal already exists for a room when createModal is called, don't
  return null, return the modal
5 years ago
Julian Lam 106c141ff5 fix: background-size in taskbar images 5 years ago
Barış Soner Uşaklı bfaba89557 Merge branch 'master' of https://github.com/NodeBB/NodeBB 5 years ago
Misty (Bot) ddce77b343 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı c8fb7f9246 fix: escape register query param 5 years ago
Misty (Bot) 1656738359 Latest translations and fallbacks 5 years ago
yossizahn 09d55581d8 Fix: ACP > manage > group: save disableLeave (#8123)
* Fix: ACP > manage > group: save disableLeave

* Fix eslint comma-dangle
5 years ago
Opliko 879acc85ae Add disable/enable category to category edit page (#8118) 5 years ago
Barış Soner Uşaklı e06c1bfcd2 fix: escape config.userLang/acpLang, don't allow invalid language codes 5 years ago
Barış Soner Uşaklı 5a8217de01 fix: #8105, fix export json on page load 5 years ago
Misty (Bot) ac567bc10a Latest translations and fallbacks 5 years ago
Misty (Bot) 5410b5d6da Latest translations and fallbacks 5 years ago
Misty (Bot) 223225378e Latest translations and fallbacks 5 years ago
Misty (Bot) 0aae421417 Latest translations and fallbacks 5 years ago
Misty (Bot) fd056b58fb Latest translations and fallbacks 5 years ago
Misty (Bot) bb1515ce56 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı c1b1ee61f3 fix: create user modal instantly closing 5 years ago
Misty (Bot) b9679df784 Latest translations and fallbacks 5 years ago
Misty (Bot) 9a4a48bc45 Latest translations and fallbacks 5 years ago
Misty (Bot) 94e2c7e4bb Latest translations and fallbacks 5 years ago
Aziz Khoury acca0b956e more secure isRelativeUrl (#8087) 5 years ago
Misty (Bot) 505409b9f3 Latest translations and fallbacks 5 years ago
Misty (Bot) 9c48a4c021 Latest translations and fallbacks 5 years ago
Misty (Bot) 581211e12f Latest translations and fallbacks 5 years ago
Misty (Bot) 9197a0db1e Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 05c9fe2735 feat: #5272, allow changing user groups from manage users page 5 years ago
Misty (Bot) ff8dfa049d Latest translations and fallbacks 5 years ago
Baris Usakli 4d66978338 fix: #8073, configurable necroThreshold 5 years ago
Baris Usakli 160e0ab1f5 Merge branch 'master' of https://github.com/NodeBB/NodeBB 5 years ago
Misty (Bot) 6ada231bc8 Latest translations and fallbacks 5 years ago
Baris Usakli c2cd7de891 fix: #8069, dont show hidden groups in search 5 years ago
Misty (Bot) ce449e918d Latest translations and fallbacks 5 years ago
Misty (Bot) d8a48cf0a7 Latest translations and fallbacks 5 years ago
Misty (Bot) 802f566b17 Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 1bda92e3fc fix: #8064, break-word on post-queue 5 years ago
Barış Soner Uşaklı 7ed002a138 fix: #6711 5 years ago
Misty (Bot) c8db839e63 Latest translations and fallbacks 5 years ago
Misty (Bot) 86cc80348d Latest translations and fallbacks 5 years ago
Misty (Bot) 4fea12c83e Latest translations and fallbacks 5 years ago
Barış Soner Uşaklı 3811e0a3df fix: #8042, dont show errors after clearing form 5 years ago