Commit Graph

11415 Commits

Author SHA1 Message Date
Julian Lam
9641ada53c fixes #6415 2018-04-02 12:28:20 -04:00
Julian Lam
c1aa46c663 added new option to disable post diffs /cc @BenLubar 2018-04-02 10:04:54 -04:00
Barış Soner Uşaklı
749b282cdd add matchwords to search api 2018-03-27 20:32:57 -04:00
Barış Soner Uşaklı
60f8870b72 pass template to widget container parse 2018-03-27 18:58:23 -04:00
Barış Soner Uşaklı
2faaf5b35f closes https://github.com/julianlam/nodebb-plugin-mentions/issues/99 2018-03-27 17:01:51 -04:00
Peter Jaszkowiak
c93651b2d1 Fix alternate config file support (#6405) 2018-03-26 16:25:19 -04:00
Baris Usakli
46576189be closes #6392 2018-03-26 16:22:13 -04:00
Peter Jaszkowiak
a00f1f9a81 Use uglify-es for ES6 support (#6402) 2018-03-26 15:37:53 -04:00
Timothy Fike
585d613d4b fix reload actions (#6394)
* fix reload actions

* wait until restart action is complete instead of using timeouts.

* Change Reload nominclature to Rebuild and Restart.
2018-03-26 15:17:40 -04:00
Julian Lam
0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
2018-03-26 12:55:50 -04:00
Baris Usakli
5c8bf3ce95 add missing radix 2018-03-26 12:45:17 -04:00
Julian Lam
9aa9183cc3 implementing zxcvbn in reset-code tpl, re: #6400 2018-03-26 12:35:51 -04:00
Baris Usakli
59dc4024b9 guests should be offline 2018-03-26 12:05:42 -04:00
Peter Jaszkowiak
dcf1865b54 Fix ACP alerts to use same system as client (#6396)
* Fix PostCSS warning message

* Fix disconnect indicator styling

Would increase size of quick actions when active

* Use same alert system in ACP and client

- Remove snackbar
- Add styling and fix template for ACP (based on Persona)
2018-03-26 11:55:01 -04:00
Barış Soner Uşaklı
6ebaa800fe fix popular cache for guests 2018-03-23 21:22:34 -04:00
Barış Soner Uşaklı
b1ccd04ffc closes #6386 2018-03-23 11:27:09 -04:00
Barış Soner Uşaklı
e1df8bd0f0 closes #6390 2018-03-23 09:48:24 -04:00
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
Julian Lam
a126f07471 closes #6043 2018-03-09 12:57:52 -05: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