Julian Lam
157bea6966
fix: username trim on login, closes #6894
6 years ago
Barış Soner Uşaklı
ea1e8fb8fe
Merge branch 'master' of https://github.com/NodeBB/NodeBB
6 years ago
Barış Soner Uşaklı
c27be9db5a
Recent refactor ( #6879 )
...
* wip
* fix inf scroll
* remove duplicated code
* remove dupe code in /unread
* use topicList
* update tag page to use topicList
* fix tests
* combine ifs
* remove more dupe code
* disable timeout
6 years ago
Barış Soner Uşaklı
66ed48e088
closes #6875
6 years ago
Julian Lam
4919e9efa3
feat: allow disabling of GDPR features via ACP toggle, closes #6847
6 years ago
Barış Soner Uşaklı
f3a679e268
remove parseInts
6 years ago
Barış Soner Uşaklı
9c03881d5a
add threshold for image resizing
6 years ago
Barış Soner Uşaklı
44a957faca
remove more parseints
6 years ago
Barış Soner Uşaklı
537b7ff7e8
remove more parseInts
6 years ago
Barış Soner Uşaklı
7a44424214
parse '123' to 123 if it has no default
6 years ago
Baris Usakli
881185ae59
closes #6857
6 years ago
Barış Soner Uşaklı
ab7657d445
closes #6854
6 years ago
Barış Soner Uşaklı
ac39112271
remove more parseInts
6 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
6 years ago
Barış Soner Uşaklı
ee2f9e9434
remove some parseInts
6 years ago
Barış Soner Uşaklı
f5fe91286e
closes #6851
6 years ago
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı
6c15aee888
add cache hits/misses to posts cache
6 years ago
Barış Soner Uşaklı
b57db7fd8e
update groups join to take array of group names ( #6834 )
...
* allow groups.join to take an array of group names
* pass an array to groups.join/leave in privileges
* split up groups/membership
* add hits/miss to group cache
* fix typo
6 years ago
Barış Soner Uşaklı
cf1173b0c4
closes https://github.com/NodeBB/nodebb-theme-persona/issues/408
6 years ago
Barış Soner Uşaklı
a3d463916c
closes #6822
6 years ago
Baris Usakli
3886a704e0
fix lint
6 years ago
Baris Usakli
84737b5a49
use buildForSelect
6 years ago
Baris Usakli
71905bb2c6
fix watched categories
6 years ago
Baris Usakli
9ed4239d8e
small changes and test for user/:slug/categories
6 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
6 years ago
Barış Soner Uşaklı
b58ab48485
add test for /sessions controller
6 years ago
Barış Soner Uşaklı
49ba5af5fa
closes #6810 ( #6813 )
6 years ago
Barış Soner Uşaklı
77beaf2e15
Allow local login,closes #6800 ( #6803 )
...
* WIP
* reset groups cache after every suite
6 years ago
Baris Usakli
edefab1d69
closes #6728
...
add option to disable a category on creation
show disabled categories on manage privileges
7 years ago
Barış Soner Uşaklı
59b988a205
change test so it checks url
7 years ago
Barış Soner Uşaklı
b7ead6dc9c
Replace jimp with sharp ( #6774 )
...
* add probe image size and max image size
* replace jimp and image-probe with sharp
* better name for test
* resize with just path
* resize thumb inplace
* use filename
7 years ago
Julian Lam
382d06bbb0
fixes #6765 -- no need to have gmods and admins access login sessions page
7 years ago
Barış Soner Uşaklı
b43bfa3d5b
closes #6759
...
-moved user.blocks.filter from unread controller to getUnreadTopics so
topics are filtered at other places this function is called
- when a new post is made do not send it to uids that have blocked the
poster
- update getUnreadTids so it does not return topics that have new posts
from blocked users
- update hasReadTopics so it does not return false data if topic has new
posts from blocked users
7 years ago
Barış Soner Uşaklı
41aae6f418
closes #6749
7 years ago
Barış Soner Uşaklı
446b125c83
escape post content
7 years ago
LudwikJaniuk
c7f3b76b4e
DRY req props that depend on auth ( fix #6727 ) ( #6731 )
...
* DRY req props that depend on auth (fix #6727 )
authentication leads to req.loggedIn and req.uid being set. However, a
later authentication event might outdate them. Here, I create one
function for setting those properties, and make sure it also is called
on the `action:middleware.authenticate` hook, which would be such an
authentication event. If there are other places, those should be added
as well.
* fix lint errors
* fix lint error
* change exports
7 years ago
Barış Soner Uşaklı
3e1b007f9f
escape title in post queue
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
Barış Soner Uşaklı
ae4016d9e0
add getCateries to helpers
7 years ago
Julian Lam
f751d21d1e
removed debug line
7 years ago
Julian Lam
a77630c6be
closes #6697
7 years ago
Ben Lubar
33228bb7fe
PostgreSQL database driver ( #5861 )
...
* [test/database/list] Fix test list 4 being used in two different tests
* [database/postgres] PostgreSQL database driver
* [database/postgres] Make transactions work based on continuation scope.
* [database/postgres] Implement nested transactions
* eslint --fix
* Add database changes from earlier this week to the PostgreSQL driver.
* Fix typo
* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN
* [database/postgres] Fix sortedSetsCard returning an array of strings.
* Update socket.io postgres adapter
* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.
Add a test case to catch this error.
* Fix lint errors.
* Only prune sessions on one instance in a cluster to avoid deadlocks.
They're caught and handled by the database server, but they spam the logs.
* Fix arguments.slice.
7 years ago
Julian Lam
3c6c0ed7a1
restoring passwordExpiry for use in continueLogin, fixed tests, hopefully
7 years ago
Julian Lam
b6a5419ca1
closes #6674
7 years ago
Julian Lam
4f8815eb78
closes #6646
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
Baris Usakli
cc6a683bc4
closes #6631
7 years ago
Julian Lam
7a53fa9469
Added block and unblock button to profile dropdown menu, #6560
7 years ago
Julian Lam
f09b1acfb7
closes #6627
7 years ago
Barış Soner Uşaklı
9912c400b6
closes #6612
7 years ago
Barış Soner Uşaklı
95f1a82884
closes #6591
7 years ago
Barış Soner Uşaklı
bc437c8da3
fix popular rss feed url
7 years ago
Barış Soner Uşaklı
ccad95cf73
closes #6579
7 years ago
Barış Soner Uşaklı
e7cd552e33
closes #6568
7 years ago
Peter Jaszkowiak
70ff2d9b88
Support scoped theme packages
7 years ago
Barış Soner Uşaklı
0b0ce1df8a
closes #6549
7 years ago
Barış Soner Uşaklı
d31d8fa806
move category pageview to controllers
...
so topic views are tracked as category views
7 years ago
Barış Soner Uşaklı
7df57ba7a7
remove dupe code
7 years ago
Julian Lam
4e7fdf3e12
Saving flag filters into session object
...
Closes #6533
7 years ago
Barış Soner Uşaklı
b0dad9bd7f
closes #6369
7 years ago
Barış Soner Uşaklı
11bb2f1560
closes #6528
7 years ago
Barış Soner Uşaklı
d7acec260f
closes #6530
7 years ago
Barış Soner Uşaklı
6eea11a4fd
closes #6529
7 years ago
Barış Soner Uşaklı
a7267df404
closes #6464
7 years ago
Barış Soner Uşaklı
229e49cf8f
closes #6523 , closes #6524
7 years ago
Barış Soner Uşaklı
65dc530df5
some controller tests
7 years ago
Julian Lam
be1a977c71
fix post export crashing if a pid reference doesn't resolve to an actual post object
7 years ago
Barış Soner Uşaklı
e29e0a98f5
closes #6515
7 years ago
Julian Lam
d648e55493
closes #6494
7 years ago
Julian Lam
d1fd07f42f
remove console.log, #6486
7 years ago
Julian Lam
18bde866ff
Append file name to the JSON payload returned
...
... during file upload process... closes #6486
7 years ago
Barış Soner Uşaklı
cc3569bf51
closes #6491
7 years ago
Julian Lam
f2d3111114
disable strict checking of object schema in post upload CSV generation, #6490
7 years ago
Julian Lam
44f8e6d3bb
Revert "closes #6483"
...
This reverts commit 5d198491d5
.
7 years ago
Barış Soner Uşaklı
1f8b000530
log and show last restart on ACP dashboard
7 years ago
Julian Lam
5d198491d5
closes #6483
7 years ago
Julian Lam
99f1a5380e
closes #6483
7 years ago
Julian Lam
c9d8fc3f58
one more minor fix to req.flash err
7 years ago
Julian Lam
4533a311e1
possible fix to req.flash err crash
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
Julian Lam
4f6cc20457
completed basic integration for #6463
7 years ago
Andrew Rodrigues
0971625e63
allow global mods to still login locally as well as admins if disabled in ACP
7 years ago
Julian Lam
fc3ecedf7c
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
777d9aeee6
implement proper file sorting by mtime in ACP uploads
7 years ago
Julian Lam
388765bdf9
added post usage column to uploads ACP page
...
re: #6455
7 years ago
Julian Lam
03dd9dd49b
fixed up relative pathing issue in ACP uploads again
7 years ago
Julian Lam
364ded4f8e
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
501d02220c
closes #6456
7 years ago
Julian Lam
67dec83011
profile export for #6441 + integration
7 years ago
Julian Lam
a6564b7b4e
endpoint to download user attachments, #6441
7 years ago
Barış Soner Uşaklı
5d2a7106f6
change upload storage
7 years ago
Julian Lam
7ba2ac9f69
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
90a99fe158
closes #6442
7 years ago
Julian Lam
2e6e7f7484
posts export endpoint for GDPR, re: #6441
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ı
04979f86a8
delete users uploads on account delete
...
store uid:<uid>:uploads
7 years ago
Julian Lam
e9ed7f0bb3
closes #6435
7 years ago
Barış Soner Uşaklı
47606c8df5
merge
7 years ago
Barış Soner Uşaklı
0070f5c1b2
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
df770aed8e
closes #6416
7 years ago
Julian Lam
c1aa46c663
added new option to disable post diffs /cc @BenLubar
7 years ago
Barış Soner Uşaklı
749b282cdd
add matchwords to search api
7 years ago
Barış Soner Uşaklı
2faaf5b35f
closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99
7 years ago
Julian Lam
9aa9183cc3
implementing zxcvbn in reset-code tpl, re: #6400
7 years ago
Barış Soner Uşaklı
6ebaa800fe
fix popular cache for guests
7 years ago
Barış Soner Uşaklı
b1ccd04ffc
closes #6386
7 years ago
Peter Jaszkowiak
eaae5b52cd
ACP quick actions ( #6374 )
...
* ACP quick actions
- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"
* Change info alert to black-on-white to match focused search bar
* Fix tests
* Fallback for failed fetch of latest version
7 years ago
Barış Soner Uşaklı
dcb6af5768
closes #6373
7 years ago
Julian Lam
a126f07471
closes #6043
7 years ago
Baris Usakli
a5cceabc89
dont go below 0
7 years ago
Julian Lam
c93f943bef
Merge branch 'develop'
7 years ago
Barış Soner Uşaklı
e1c6761087
closes #6258
7 years ago
Barış Soner Uşaklı
7b45a6ea8b
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Baris Usakli
1c24c34d04
add missing comma
7 years ago
Baris Usakli
d25eb674c6
make climate happy
7 years ago
Julian Lam
a8ec6a4a9c
patching accidental leakage of full path of uploaded file when uploading pictures or attachments
7 years ago
Julian Lam
c25d752573
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
c7b73b4e41
closes #6337
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ı
15e9bbac92
closes #6311
7 years ago
Barış Soner Uşaklı
723f31a362
closes #6323
7 years ago
Barış Soner Uşaklı
7b6282f530
closes #6308
7 years ago
Julian Lam
f7c412882a
add reset routes to robots.txt disallow
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
psychobunny
212486d230
hide topic upvotes on category page when rep system is disabled
7 years ago
Barış Soner Uşaklı
8427601b04
closes #6287
7 years ago
Barış Soner Uşaklı
155e20d216
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
c7506d77b0
closes #6247
7 years ago
Julian Lam
5c3155f145
firing hook on chat message load and exposing upload_url to client-side
7 years ago
Baris Usakli
c37be3b58f
remove my stupid code
7 years ago
Julian Lam
a4939d78fe
Moved ping to its own controller
...
re: #6281
7 years ago
Julian Lam
b14e531cee
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
813fdaf6f6
fix pageCount calculation
7 years ago
Barış Soner Uşaklı
33a8cb947e
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
08562ad9cc
closes #6276
7 years ago
Julian Lam
0cefa56a0b
Fixes #6269
...
Also fixed issue where if homePageRoute was not set (as in brand-
new install), then categories would also show up, in this revised
logic. Oops.
7 years ago