Commit Graph

9344 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
925d858fe6 dont json.parse if already array 2018-03-22 18:33:35 -04:00
Barış Soner Uşaklı
40d5b4f8ba change to eachSeries 2018-03-22 17:02:39 -04:00
Barış Soner Uşaklı
77d47b31fb cleanly shutdown
wait for webserver to stop accepting connections
destroy current connections
wait for db connection to close
2018-03-22 16:36:23 -04:00
Julian Lam
e8d4fe3209 Revert "closes #6380"
Turns out the issue was a malformed flag object, and not anything
code-wise

This reverts commit 956c5a2a32.
2018-03-22 09:58:09 -04:00
Julian Lam
956c5a2a32 closes #6380 2018-03-22 09:14:37 -04:00
Baris Usakli
3c4b4f5263 don't call calback twice #6375 2018-03-21 12:25:25 -04:00
Baris Usakli
bf770636c5 closes #6377 2018-03-21 12:00:15 -04:00
Barış Soner Uşaklı
75e2ab8957 remove unnecessary code 2018-03-21 10:09:09 -04:00
Barış Soner Uşaklı
ae0f1847ae allow multiple origins for access-control-allow-origin header
add access-control-allow-credentials header to acp
2018-03-20 12:25:00 -04:00
Julian Lam
ae46ec0cae fix tests, #6368 2018-03-20 11:55:24 -04:00
Julian Lam
ebc67185c3 closes #6368 2018-03-20 10:55:35 -04:00
Julian Lam
9e44fc6ae2 fixes #6371 2018-03-20 08:41:49 -04:00
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
2018-03-20 08:32:17 -04:00
Barış Soner Uşaklı
dcb6af5768 closes #6373 2018-03-19 16:24:22 -04:00
Barış Soner Uşaklı
fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
2018-03-17 19:55:23 -04:00
Barış Soner Uşaklı
55b872fe3e add check 2018-03-17 19:17:19 -04:00
Barış Soner Uşaklı
be5c237388 fix decr/incrObjectField if key in array doesn't exist create it 2018-03-17 19:08:52 -04:00
Barış Soner Uşaklı
6a9a73c86c changes to leaveAllGroups
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
2018-03-17 18:49:38 -04:00
Barış Soner Uşaklı
cfedcf7e0b check username 2018-03-16 20:58:11 -04:00
Barış Soner Uşaklı
fe18a12ee0 if object doesn't exist user doesn't exist 2018-03-16 20:49:45 -04:00
Barış Soner Uşaklı
2d7d4a3fb4 use setsRemove 2018-03-16 19:23:06 -04:00
Barış Soner Uşaklı
8b615c64fa move emailsPath to function 2018-03-16 11:26:26 -04:00
Julian Lam
a1338221bf codeclimate made me make my code ugly 😢 2018-03-15 16:03:29 -04:00
Julian Lam
5d2e6f0e8e Squashed commit of the following:
commit 7bd46afad7033a466626826d3e29610f41328510
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:41:36 2018 -0400

    fixes #6363

commit 4b755d5801b2f6d70cea10516f88392708c72f61
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:24:12 2018 -0400

    fixes #6362

commit 6035e75453a08aee0fef7ff59d57dd5c1e8f4ac9
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:07:23 2018 -0400

    Fixes #6361
2018-03-15 15:42:20 -04:00
Baris Usakli
8492a1586f closes #6360 2018-03-15 15:05:44 -04:00
Baris Usakli
29b7c67946 use utils.toISOString 2018-03-15 12:43:11 -04:00
Baris Usakli
a48144e632 dont crash if description is numeric 2018-03-15 12:40:43 -04:00
Baris Usakli
38acedf5bb lint 2018-03-15 12:18:54 -04:00
Baris Usakli
959a742c63 add llen to dbal 2018-03-15 12:06:40 -04:00
Baris Usakli
52ab0a00d9 use the acp config for homePageTitle 2018-03-12 13:24:16 -04:00
Barış Soner Uşaklı
96f55c528e don't crash if config is undefined 2018-03-09 11:12:27 -05:00
Julian Lam
84b7892085 require meta in the method that actually needs it 2018-03-08 16:53:18 -05:00
Andrew Rodrigues
3292542faa Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-03-08 12:18:18 -05:00
Andrew Rodrigues
5602092de9 closes #6347 2018-03-08 12:18:02 -05:00
Baris Usakli
a5cceabc89 dont go below 0 2018-03-06 16:37:35 -05:00
Barış Soner Uşaklı
917cbc9273 closes https://github.com/NodeBB/nodebb-widget-essentials/issues/38 2018-03-04 19:12:09 -05:00
Barış Soner Uşaklı
bce640e514 closes #6340 2018-03-03 12:31:27 -05:00
Julian Lam
c93f943bef Merge branch 'develop' 2018-03-02 13:15:39 -05:00
Barış Soner Uşaklı
b86c4b3073 closes #6303 2018-03-01 12:04:12 -05:00
Barış Soner Uşaklı
ec1add91e9 fix userTitleEnabled 2018-03-01 10:30:09 -05:00
Julian Lam
c938711f9c not using Posts.parsePost for diffs parsing 2018-02-28 15:56:55 -05:00
Barış Soner Uşaklı
b79cd93a49 add some ids to acp elements 2018-02-27 11:51:32 -05:00
Baris Usakli
1c24c34d04 add missing comma 2018-02-26 16:05:12 -05:00
Baris Usakli
d25eb674c6 make climate happy 2018-02-26 15:54:17 -05:00
Julian Lam
a8ec6a4a9c patching accidental leakage of full path of uploaded file when uploading pictures or attachments 2018-02-26 15:40:19 -05:00
Barış Soner Uşaklı
5069892b97 pass correct uid to client side
-1 spider,0 guest, >0 regular user
2018-02-23 15:34:31 -05:00
Julian Lam
c25d752573 Merge remote-tracking branch 'origin/master' into develop 2018-02-23 14:48:38 -05:00
Julian Lam
98b0bdc7e1 added helmet for better standard of protection across the board 2018-02-21 14:13:29 -05:00
Barış Soner Uşaklı
c7b73b4e41 closes #6337 2018-02-21 12:52:26 -05:00
Julian Lam
52678621f9 revising minimum password strength to be 1 instead of 0 2018-02-21 11:06:07 -05:00