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
2018-09-04 09:43:33 -04:00
Barış Soner Uşaklı
3e1b007f9f
escape title in post queue
2018-09-04 09:39:08 -04:00
Julian Lam
c2c925cacd
closes #6678
2018-08-31 15:34:36 -04:00
Julian Lam
29836aaad9
rename session account middleware to sessions, plural, prep for fixing #6678
2018-08-31 15:34:36 -04:00
Barış Soner Uşaklı
ae4016d9e0
add getCateries to helpers
2018-08-17 16:39:56 -04:00
Julian Lam
f751d21d1e
removed debug line
2018-08-13 12:06:56 -04:00
Julian Lam
a77630c6be
closes #6697
2018-08-10 14:22:33 -04:00
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.
2018-08-08 15:13:48 -04:00
Julian Lam
3c6c0ed7a1
restoring passwordExpiry for use in continueLogin, fixed tests, hopefully
2018-07-27 12:34:51 -04:00
Julian Lam
b6a5419ca1
closes #6674
2018-07-27 11:54:32 -04:00
Julian Lam
4f8815eb78
closes #6646
2018-07-26 16:38:40 -04:00
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.
2018-07-20 10:29:51 -04:00
Baris Usakli
cc6a683bc4
closes #6631
2018-07-06 14:20:10 -04:00
Julian Lam
7a53fa9469
Added block and unblock button to profile dropdown menu, #6560
2018-07-05 14:20:33 -04:00
Julian Lam
f09b1acfb7
closes #6627
2018-07-04 09:52:26 -04:00
Barış Soner Uşaklı
9912c400b6
closes #6612
2018-06-27 16:14:44 -04:00
Barış Soner Uşaklı
95f1a82884
closes #6591
2018-06-26 13:42:35 -04:00
Barış Soner Uşaklı
bc437c8da3
fix popular rss feed url
2018-06-19 09:24:29 -04:00
Barış Soner Uşaklı
ccad95cf73
closes #6579
2018-06-18 14:37:37 -04:00
Barış Soner Uşaklı
e7cd552e33
closes #6568
2018-06-12 16:05:26 -04:00
Peter Jaszkowiak
70ff2d9b88
Support scoped theme packages
2018-06-11 10:10:16 -04:00
Barış Soner Uşaklı
0b0ce1df8a
closes #6549
2018-06-03 14:46:23 -04:00
Barış Soner Uşaklı
d31d8fa806
move category pageview to controllers
...
so topic views are tracked as category views
2018-06-01 14:57:59 -04:00
Barış Soner Uşaklı
7df57ba7a7
remove dupe code
2018-06-01 13:12:32 -04:00
Julian Lam
4e7fdf3e12
Saving flag filters into session object
...
Closes #6533
2018-06-01 12:35:17 -04:00
Barış Soner Uşaklı
b0dad9bd7f
closes #6369
2018-05-31 15:05:12 -04:00
Barış Soner Uşaklı
11bb2f1560
closes #6528
2018-05-30 14:21:03 -04:00
Barış Soner Uşaklı
d7acec260f
closes #6530
2018-05-30 13:01:35 -04:00
Barış Soner Uşaklı
6eea11a4fd
closes #6529
2018-05-28 13:30:11 -04:00
Barış Soner Uşaklı
a7267df404
closes #6464
2018-05-28 11:29:41 -04:00
Barış Soner Uşaklı
229e49cf8f
closes #6523 , closes #6524
2018-05-26 12:49:29 -04:00
Barış Soner Uşaklı
65dc530df5
some controller tests
2018-05-26 11:13:49 -04:00
Julian Lam
be1a977c71
fix post export crashing if a pid reference doesn't resolve to an actual post object
2018-05-22 14:45:42 -04:00
Barış Soner Uşaklı
e29e0a98f5
closes #6515
2018-05-18 11:21:12 -04:00
Julian Lam
d648e55493
closes #6494
2018-05-09 13:09:33 -04:00
Julian Lam
d1fd07f42f
remove console.log, #6486
2018-05-08 16:19:33 -04:00
Julian Lam
18bde866ff
Append file name to the JSON payload returned
...
... during file upload process... closes #6486
2018-05-08 16:18:28 -04:00
Barış Soner Uşaklı
cc3569bf51
closes #6491
2018-05-08 13:33:30 -04:00
Julian Lam
f2d3111114
disable strict checking of object schema in post upload CSV generation, #6490
2018-05-08 10:01:39 -04:00
Julian Lam
44f8e6d3bb
Revert "closes #6483 "
...
This reverts commit 5d198491d5 .
2018-05-02 14:03:47 -04:00
Barış Soner Uşaklı
1f8b000530
log and show last restart on ACP dashboard
2018-05-02 13:38:36 -04:00
Julian Lam
5d198491d5
closes #6483
2018-05-02 13:13:15 -04:00
Julian Lam
99f1a5380e
closes #6483
2018-05-02 13:02:18 -04:00
Julian Lam
c9d8fc3f58
one more minor fix to req.flash err
2018-05-01 15:25:11 -04:00
Julian Lam
4533a311e1
possible fix to req.flash err crash
2018-05-01 15:21:15 -04:00
Julian Lam
dc386b5b23
Merge branch 'master' into user-blocking
2018-04-27 15:58:04 -04:00
Julian Lam
8db98b5cf4
additional UCP integration for #6463
2018-04-27 12:51:04 -04:00
Barış Soner Uşaklı
7e00d6b91e
https://github.com/NodeBB/NodeBB/issues/6433
2018-04-26 12:16:22 -04:00
Julian Lam
3951bb9532
Merge remote-tracking branch 'origin/master' into user-blocking
2018-04-26 09:59:37 -04:00
Julian Lam
7089e5c6a6
Merge remote-tracking branch 'origin/master' into develop
2018-04-24 11:55:17 -04:00