Barış Soner Uşaklı
3f337b5d7c
feat: #8925 , #8924
4 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
4 years ago
Julian Lam
f300c933a5
refactor: move session revocation route to write api
5 years ago
Barış Soner Uşaklı
6e85920cb6
feat: allow mods/admins to see deleted posts on user profile
5 years ago
Barış Soner Uşaklı
331d236f6e
fix : #8763
5 years ago
Peter Jaszkowiak
55d5cccf2e
Document deprecations and remove old ones ( #8706 )
...
* chore: document deprecation removal versions
* chore: remove deprecations 2+ versions old
5 years ago
Julian Lam
0891236142
fix: typo
5 years ago
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
5 years ago
Julian Lam
9e3fd0e479
Revert "feat: #8493 , plugin helper for standardised link/button injection"
...
This reverts commit 0bbb813e4b
.
5 years ago
Sam Thompson
0bbb813e4b
feat: #8493 , plugin helper for standardised link/button injection
5 years ago
Barış Soner Uşaklı
4eae927d14
feat: remove deprecated hooks
5 years ago
Barış Soner Uşaklı
59a2ace6f7
fix: only add blocksCount for self and admins
5 years ago
Barış Soner Uşaklı
e53a18f219
fix : #8437 , #8433
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
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
ef52461fb6
fix: remove dead picture upload code #8260
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
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
Julian Lam
df139928b6
feat: displaying one-click unsubscribe link in email footer ( #8024 )
...
closes #8016
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
Baris Usakli
5b458fc7ca
fix : #7953 , allow icon only group badges
6 years ago
Barış Soner Uşaklı
41f8da2e7c
fix: fix the order of groups on user profile
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ı
7a0f607434
fix: account/categories
6 years ago
Barış Soner Uşaklı
86b16629f8
refactor: returned fields
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ı
19b63bfaa7
refactor: remove empty line
6 years ago
Barış Soner Uşaklı
c9250a01a2
refactor: async/await, remove dupe code for homepage routes
6 years ago
Barış Soner Uşaklı
7162051905
fix : #7791
6 years ago
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b269b3568f0d649309aae1af4dcfdfeef
Author: Julian Lam <julian@nodebb.org>
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e413f22badb96ff2138e7991dfff6d836
Author: Julian Lam <julian@nodebb.org>
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb21e26fdc21f8413be822ea7c64251f8
Author: Julian Lam <julian@nodebb.org>
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee16dcc27a8dcc2e4479d1bc5e2d1b60e
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org>
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272eb9400bdb00774973181397803765e4
Author: Renovate Bot <bot@renovateapp.com>
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae22acc32d352be8bb72d60e7502dbc5
Author: Renovate Bot <bot@renovateapp.com>
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38818f2fa4d44b3a58a0a168781acbfb
Author: Renovate Bot <bot@renovateapp.com>
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a21131c070ae5d0ff33d67cfe465b8c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199f960dc24e5722702f27499ae049914
Author: Misty (Bot) <deploy@nodebb.org>
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2f0d23c4d194b664bda3a0431179c01
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593a452de4bef6d0ab6abe368a3bdb8dd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a175974a0c8ae3dc132bf51a7ed9a4c6305
Author: Baris Usakli <barisusakli@gmail.com>
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57bf9dbe98d655276770e56bed9ec023b
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374572264855a04156278eef256b0a20c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c4dd7583412c4e8d56e9c1688e48a44
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6104738f15ffbfe3246105b922fdfb3
Author: Renovate Bot <bot@renovateapp.com>
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
6 years ago
Barış Soner Uşaklı
3cc7ec63e8
feat: async/await refactor
...
controllers/accounts
6 years ago
Baris Usakli
a3541d887b
feat: async/await controllers/accounts
6 years ago
Barış Soner Uşaklı
014e31533d
fix : #7831 , fix pagination
...
convert to async/await
6 years ago
Barış Soner Uşaklı
e72f3e4ffe
feat: #7743 account/posts controller
6 years ago
Barış Soner Uşaklı
f8d341014a
fix : #7763 , parse about me on all profile pages
6 years ago
Barış Soner Uşaklı
7b95ebbb6a
fix : #7748 , if reputation system is disabled, dont check min reputation
6 years ago
Barış Soner Uşaklı
f24c14d712
feat: ability to sort watched topics, closes #3735
6 years ago
Barış Soner Uşaklı
e48c7cd717
fix: dont show delete posts on profile
6 years ago
Barış Soner Uşaklı
a39f0ef592
fix : #5570 , create per category user post zsets
6 years ago
Barış Soner Uşaklı
b53a60c278
feat: show best & latest posts on profile
6 years ago
Barış Soner Uşaklı
68e5d7adec
fix: remove dupe code
6 years ago
Andrew Rodrigues
e114b16d7a
fix: if editing password is disabled in ACP, prevent direct access via route/socket (related: #7576 )
6 years ago
Barış Soner Uşaklı
c6ad8fae2a
fix : #7354
6 years ago
Julian Lam
70a87d4399
feat: support for one-click unsubscribe from email clients ( #7203 )
...
* feat: sending notifs via ACP creates real notification
re: #7202
* feat: basic integration for one-click unsubscription #7202
* feat: tests for #7202 + bugfix
* feat: added and organized digest unsub tests
closes #7202
6 years ago
Barış Soner Uşaklı
9f5062682d
fix: unread badge
...
- only increase unread badge if topic or category is watched
- fix logic for "there are new posts/topics" on /unread and /recent
6 years ago
Barış Soner Uşaklı
14c4552304
dont modify session for spiders
6 years ago
Barış Soner Uşaklı
eb7ae54f81
Category watch state ( #7109 )
...
* feat: wip, category watch change
* feat: pass data to client
* feat: allow changing state
* fix: account page categories
* fix: show in unread if topic is followed or category is watched
* feat: add default watch state to acp
* feat: save user category watch state
* feat: update unread recent pages
* fix: remove dupe code
* fix: flip conditions
* fix: handle empty arrays
* fix: ignore/watch on others profile
* feat: upgrade script for category states
if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers
* fix: upgrade
* fix: tests
* fix: redis count
* fix: more tests
6 years ago
Barış Soner Uşaklı
69ef05707a
style
7 years ago
Barış Soner Uşaklı
fc1c4acccf
closes #6960
7 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
7 years ago
Julian Lam
501b3a79ca
Refactor skins to be built on server-side ( #6849 )
...
* WIP
* using bootswatch from npm instead of bootswatch CDN url
* feat: on-demand client css building for skins
* added ability for client-side to select a skin
* updated loading and saving logic of bootstrapSkin on client side user settings
* fix: broken test for #6849
7 years ago
Julian Lam
4919e9efa3
feat: allow disabling of GDPR features via ACP toggle, closes #6847
7 years ago
Barış Soner Uşaklı
f3a679e268
remove parseInts
7 years ago
Barış Soner Uşaklı
7a44424214
parse '123' to 123 if it has no default
7 years ago
Barış Soner Uşaklı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
7 years ago
Barış Soner Uşaklı
f5fe91286e
closes #6851
7 years ago
Baris Usakli
3886a704e0
fix lint
7 years ago
Baris Usakli
84737b5a49
use buildForSelect
7 years ago
Baris Usakli
71905bb2c6
fix watched categories
7 years ago
Baris Usakli
9ed4239d8e
small changes and test for user/:slug/categories
7 years ago
André Zanghelini
523a2dc54c
Add settings page to control watched categories ( #6648 )
...
* Add settings page to control watched categories
* Fix passing undefined to pushUnreadCount
7 years ago
Barış Soner Uşaklı
b58ab48485
add test for /sessions controller
7 years ago
Julian Lam
382d06bbb0
fixes #6765 -- no need to have gmods and admins access login sessions page
7 years ago
Julian Lam
c2c925cacd
closes #6678
7 years ago
Julian Lam
29836aaad9
rename session account middleware to sessions, plural, prep for fixing #6678
7 years ago
Ben Lubar
f1a6537fc2
Add notification frequencies from nodebb-plugin-upvote-notifications. ( #6640 )
...
* Add notification frequencies from nodebb-plugin-upvote-notifications.
https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications
* Fix editing settings clearing upvote notification preferences.
7 years ago
Julian Lam
7a53fa9469
Added block and unblock button to profile dropdown menu, #6560
7 years ago
Barış Soner Uşaklı
0b0ce1df8a
closes #6549
7 years ago
Barış Soner Uşaklı
7df57ba7a7
remove dupe code
7 years ago
Barış Soner Uşaklı
b0dad9bd7f
closes #6369
7 years ago
Barış Soner Uşaklı
6eea11a4fd
closes #6529
7 years ago
Barış Soner Uşaklı
65dc530df5
some controller tests
7 years ago
Julian Lam
dc386b5b23
Merge branch 'master' into user-blocking
7 years ago
Julian Lam
8db98b5cf4
additional UCP integration for #6463
7 years ago
Barış Soner Uşaklı
7e00d6b91e
https://github.com/NodeBB/NodeBB/issues/6433
7 years ago
Julian Lam
3951bb9532
Merge remote-tracking branch 'origin/master' into user-blocking
7 years ago
Julian Lam
7089e5c6a6
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
6659a520e0
closes #6465
7 years ago
Julian Lam
ca932d30d2
basic UCP integration #6463
7 years ago
Barış Soner Uşaklı
5d2a7106f6
change upload storage
7 years ago
Barış Soner Uşaklı
927537c759
#6431 add private upload info
7 years ago
Julian Lam
8e822c7772
Added user consent pages ( #6430 )
...
- "Your Rights & Consent" user settings page
7 years ago
Barış Soner Uşaklı
7cd004ca23
user uploads route
7 years ago
Barış Soner Uşaklı
47606c8df5
merge
7 years ago
Barış Soner Uşaklı
e1c6761087
closes #6258
7 years ago
Julian Lam
c25d752573
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
52678621f9
revising minimum password strength to be 1 instead of 0
7 years ago
Julian Lam
1ce448f2a1
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
723f31a362
closes #6323
7 years ago
Barış Soner Uşaklı
7b6282f530
closes #6308
7 years ago
Barış Soner Uşaklı
ac1f7eefe5
closes #2304
7 years ago
Julian Lam
897a7d84f9
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
7581dd1174
Closes #6245
...
- Moved account info to within the profile menu hook, so it can be
better filtered and shown to mods
- Also serves as a nice template for plugins that wish to listen
to the profileMenu hook!
7 years ago
Julian Lam
fbf52407fd
Re: #6425
...
- Exposing IP addresses to moderators
7 years ago
Baris Usakli
c37be3b58f
remove my stupid code
7 years ago
Barış Soner Uşaklı
08562ad9cc
closes #6276
7 years ago
Barış Soner Uşaklı
72140e5338
closes #5991 , closes #5884
7 years ago