1944 Commits (9e3fd0e479fc84f33c7aa64dae1e9d400eedbc2e)

Author SHA1 Message Date
Barış Soner Uşaklı 8bf980cb63 fix: tests, handle no sessions 5 years ago
Barış Soner Uşaklı 5fd81c5c04 fix: check privileges before exporting post/topic data 5 years ago
Barış Soner Uşaklı f0323b6cfa feat: closes #8316, add more data to export profile 5 years ago
Barış Soner Uşaklı dfae664e29 fix: exporting posts 5 years ago
Barış Soner Uşaklı bdda022238 fix: undefined uid when downloading posts 5 years ago
Barış Soner Uşaklı 1ba6929cb3 fix: #8311, fix allowUserHomePage value
was always sending 1 even if allowUserHomePage was disabled in acp
5 years ago
Barış Soner Uşaklı c47a1c4df4 fix: convert cids to string for comparison 5 years ago
Barış Soner Uşaklı 337be368eb fix: category selector disabled categories 5 years ago
Barış Soner Uşaklı aad0880f7c feat: add filter:categories.getRecentTopicReplies
pass req.query to getRecentTopicReplies
5 years ago
Barış Soner Uşaklı 7d08184372 fix: winston showing json object 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
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
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
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 ef52461fb6 fix: remove dead picture upload code #8260 5 years ago
Barış Soner Uşaklı c7ea84a2ae fix: wrong data returned in available.groups 5 years ago
Julian Lam f2f6fbf15a fix: #8232, unresolvable session mismatch on register cancel 5 years ago
Barış Soner Uşaklı e93578b81d fix: hookname 5 years ago
Barış Soner Uşaklı 0d1b5a7fb1 fix: #8230, add hook getUserDataByUserSlug 5 years ago
psychobunny 15d6975e96 fix: ignore case for group details route 5 years ago
Barış Soner Uşaklı 23571224b5 feat: add parent cids to body class 5 years ago
Barış Soner Uşaklı 071506eb7d fix: invite properly 5 years ago
Barış Soner Uşaklı 8f4b99a41c fix: admins not seeing invite button 5 years ago
Barış Soner Uşaklı 5e91a67e78 feat: add user ip to admin/dev/info 5 years ago
Barış Soner Uşaklı f23bc347b1 fix: #8156 dont allow loading members from hidden groups 5 years ago
Barış Soner Uşaklı a5ef6b53b8 fix: admin relogin 5 years ago
Julian Lam 111ed802cf fix: onSuccessfulLogin not working
In scenarios where onSuccessfulLogin was not called in the SSO plugin,
core's calling of onSuccessfulLogin was prematurely returning, because
it was checking the wrong value.

This commit fixes the issue by checking a different value.
5 years ago
Baris Usakli 4eb9652a2a fix: #8112, don't crash hook returns no data 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
Barış Soner Uşaklı 10989cccaa fix: meta description missing if url doesn't have post index 5 years ago
Barış Soner Uşaklı dec157d606 fix: #8085, fix cookie name 5 years ago
Baris Usakli 7af1c873a3 fix: #8077, show continue chat on all profile pages 5 years ago
Barış Soner Uşaklı 2679f37dec fix: profile showing posts from deleted topics 5 years ago
Baris Usakli 4d66978338 fix: #8073, configurable necroThreshold 5 years ago
Baris Usakli 366ad5cd69 fix: #8050, fix redirect after registration 5 years ago
Baris Usakli 0a96c92300 fix: #8034 5 years ago
Julian Lam df139928b6
feat: displaying one-click unsubscribe link in email footer (#8024)
closes #8016
6 years ago
Barış Soner Uşaklı 480a64aaa7 feat: #7467, pass query params when redirecting to posts 6 years ago
Julian Lam 645d647248
feat: wip, better digest handling (+ eventual digest resend logic) (#7995)
* feat: wip, better digest handling (+ eventual digest resend logic)

- await emailer.send call in digest.send method
- save send success to a new sorted set digest:{interval}:byUid

* feat: continuing work on digest tools

- Added ACP page to view digest settings and delivery times per user

* feat: added paginator and stub buttons for resending digest

* feat: wrapping up digest revamp

- New language strings in ACP digest page
- Client-side ACP script for digest ACP page
- Websocket call for ACP page to execute digests
- Broke out logic to retrieve user digest settings to getUsersInterval

* fix: minor cleanup

* fix: #8010 and some style suggestions from baris

* fix: resolve confusing comment
6 years ago
Barış Soner Uşaklı c4e58160cf fix: #8003, check children recursively 6 years ago
Barış Soner Uşaklı 1cedc4a0d6 feat: #7957, allow post queue based on group
allow multiple select in ACP pages
6 years ago
Barış Soner Uşaklı e020b85bf5 feat: add filter:topics.unreadCutoff 6 years ago
Julian Lam cf7e0cfd2d
feat: no more session cookie for guests (#7982)
* feat: no more session cookie for guests

* fix(tests): added additional tests and fixed the broken test
6 years ago
Julian Lam ddf3812cdc fix: passwords always expiring upon login 6 years ago
Baris Usakli 5b458fc7ca fix: #7953, allow icon only group badges 6 years ago
Barış Soner Uşaklı 75bcb0f484 fix: remove unused data from post/topic/user hashes 6 years ago
Barış Soner Uşaklı c5f7b66c3a fix: new nav items will show group select 6 years ago
Barış Soner Uşaklı c9bf6d0fe1 fix: #7945, show watched categories in ignored categories 6 years ago
Barış Soner Uşaklı 41f8da2e7c fix: fix the order of groups on user profile 6 years ago
Barış Soner Uşaklı b192605450 feat: add new hook to get custom category tids for unread 6 years ago
Aziz Khoury 94810fd637 feat: adding filter:login.check and loginFormEntry[] for the filter:login.build hook (#7861)
* adding filter:login.check and loginFormEntry[] for the filter:login.build hook, related to nodebb-plugin-spam-be-gone/issues/32

* do not exceed 50 lines per function

* spam-be-gone@0.6.4
6 years ago
Barış Soner Uşaklı 7effc89291 fix: profile page meta tags getting escaped twice 6 years ago
Barış Soner Uşaklı 9a7560049a feat: bypass cropper for gifs 6 years ago
Barış Soner Uşaklı ffe3670ff5 feat: deprecate file.isFileTypeAllowed
use image.isFileTypeAllowed, this function was always meant for images
6 years ago
Barış Soner Uşaklı 310c6fd33f
properly filter /unread /recent /popular /top (#7927)
* feat: add failing test for pagination

* feat: test

* fix: redis tests

* refactor: remove logs

* fix: add new test

* feat: make sortedSetRangeByScore work with keys on redis

* fix: hardcoded set name

* feat: show topics from readable categories on recent/popular/top

* feat: rewrite unread topics

respect watched categories and followed topics

* fix: term + watched
6 years ago
Barış Soner Uşaklı 7a0f607434 fix: account/categories 6 years ago
Barış Soner Uşaklı 96ab8d05aa fix: only allow png/jpg/bmp in cover/profile images 6 years ago
Barış Soner Uşaklı bbc2e95688 feat: add rss feed url for tags 6 years ago
Barış Soner Uşaklı 795d4183ca fix: lang key 6 years ago
Barış Soner Uşaklı 5b8550f060 fix: time cutoff and lang string 6 years ago
Barış Soner Uşaklı 86b16629f8 refactor: returned fields 6 years ago
Barış Soner Uşaklı 87f6ac59b1 fix: returned data 6 years ago
Barış Soner Uşaklı 955e00fd9d fix: dont send all category data back to recent&unread etc 6 years ago
Baris Usakli ecf39727cc fix: #7912 6 years ago
Barış Soner Uşaklı 307abaa8cc fix: only return necessary data for categories 6 years ago
Barış Soner Uşaklı 63bd3fc597 refactor: async/await emailer 6 years ago
Opliko b9583ed838 Add privilege for accessing user information (#7859)
* Add view users info global privilege

* Show user ip only to global mods and admins

* fix missing comma

* Hide link for users without correct privilege

* move getting privilege information to getAllData

* Hide the link from Global Moderators as well

* Give Global Moderator view:users:info privilege

* Restrict ip in post menu to view:users:info

* add some trailing commas....

* Add privilege to categories test

* Add group privilege to categories test

* add upgrade script

* fix style for TravisCI

* more styling - change spaces to tabs

* some more styling fixes (hopefully final one)

* fix style for Travis CI

* hide ip in chat messages

* Don't show even hidden ips on user profile page
6 years ago
Barış Soner Uşaklı ec3b5dd95a refactor: async/await routes/feeds 6 years ago
Barış Soner Uşaklı 3c6c40b177 refactor: async/await controllers/user.js 6 years ago
Barış Soner Uşaklı 5c0266d8c4 refactor: async/await uploads 6 years ago
Barış Soner Uşaklı 3e2ed21d3d refactor: move tos parsing to /tos 6 years ago
Barış Soner Uşaklı b9105ef9c6 refactor: async/await controllers/authentication 6 years ago
Barış Soner Uşaklı 22f8011686 refactor: remove async from isPasswordValid, function is sync 6 years ago
Barış Soner Uşaklı 6cda369872 refactor: make categories.buildForSelectCategories non async 6 years ago
Barış Soner Uşaklı 0843497dd4 fix: #7893, check private upload setting 6 years ago
Baris Usakli e291a60964 fix: page count for filters 6 years ago
Baris Usakli f9a804e014 refactor: async/await users 6 years ago
Barış Soner Uşaklı 19b63bfaa7 refactor: remove empty line 6 years ago
Barış Soner Uşaklı 1d7e0c6341 feat: allow floating pinned topics to top in getSortedTopics 6 years ago
Barış Soner Uşaklı 6f7ab5861e feat: promisify recent.getData 6 years ago
Barış Soner Uşaklı 2c4f04462f refactor: async/await controllers 6 years ago
Barış Soner Uşaklı 89cd31ed28 feat: faster initial stat loading 6 years ago
Barış Soner Uşaklı cb50b3f441 feat: cache stats, mongo count sucks 6 years ago
Barış Soner Uşaklı 3ff6e1bb64 feat: dashboard stats
show
yesterday/today
lastweek/this week
lastmonth/this month
6 years ago
Barış Soner Uşaklı 5362488584 refactor: async/await controllers/tags 6 years ago
Barış Soner Uşaklı f15c7f12b3 refactor: async/await 6 years ago
Baris Usakli 0722cc4715 refactor: globalmods/groups 6 years ago
Baris Usakli bd8736db38 refactor: controllers/category.js 6 years ago
Barış Soner Uşaklı 4eaa630b1c refactor: async/await controllers/api 6 years ago
Baris Usakli acf12e3dd8 feat: convert search controller to async/await 6 years ago
Barış Soner Uşaklı 6f375482a0 refactor: async/await admin/controllers 6 years ago
Barış Soner Uşaklı c9250a01a2 refactor: async/await, remove dupe code for homepage routes 6 years ago
Julian Lam 71b205a889 refactor: async/await for src/socket.io/groups.js 6 years ago
Barış Soner Uşaklı c6c13725f8 fix: typo 6 years ago
Barış Soner Uşaklı e635348693 feat: async 6 years ago
Barış Soner Uşaklı 32ea04a872 feat: async/await controllers/admin/dashboard 6 years ago
Barış Soner Uşaklı 647713f3fa fix: category description getting translated in ACP 6 years ago