Commit Graph

27 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Baris Usakli
a6c70412db temp fix for #6848 2018-10-19 12:48:39 -04:00
Barış Soner Uşaklı
a4d5c81de5 closes #6819 2018-10-08 23:01:25 -04:00
Barış Soner Uşaklı
77beaf2e15 Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
2018-09-29 06:49:41 -04:00
Peter Jaszkowiak
7cd8274c0f Add series flag for ./nodebb build 2018-07-06 13:00:18 -04:00
Peter Jaszkowiak
70ff2d9b88 Support scoped theme packages 2018-06-11 10:10:16 -04:00
Julian Lam
9eff1519d3 Display proper info for redis in info command, show graph of pageviews
from last 24 hours
2018-05-16 14:41:57 -04:00
Peter Jaszkowiak
c93651b2d1 Fix alternate config file support (#6405) 2018-03-26 16:25:19 -04:00
Julian Lam
84b7892085 require meta in the method that actually needs it 2018-03-08 16:53:18 -05:00
Barış Soner Uşaklı
b240ae89cd #6289 2018-02-15 15:50:44 -05:00
Barış Soner Uşaklı
58f5bb35fc show error 2018-02-06 16:49:54 -05:00
Barış Soner Uşaklı
fdd51f43d8 fix dirname 2018-01-16 18:33:14 -05:00
Peter Jaszkowiak
c8a6caa842 Fix #6244, dpendency auto-install fixed
Node caches the result of stat on module directories
2018-01-16 16:03:31 -05:00
Peter Jaszkowiak
9c1faa7643 Fix running ./nodebb with no arguments doing nothing 2018-01-14 21:33:30 -07:00
Peter Jaszkowiak
0929fd2a11 Fix issue where outdated packages are never updated 2018-01-14 21:23:24 -07:00
Julian Lam
2c8cef6e92 updated error code for missing package.json @pitaj 2018-01-10 12:58:18 -05:00
Peter Jaszkowiak
4c7a275034 Was checking existence of wrong package.json (#6222) 2018-01-10 11:50:34 -05:00
Julian Lam
b1bc40359d fixed incorrect flag in upgrade help text 2018-01-08 16:16:55 -05:00
Peter Jaszkowiak
4387d5d466 Ensure installed correct version of modules on startup, bump dependencies (#6207)
* Ensure installed correct version of modules

* Bump dependencies

* Bump promise-polyfill

* Fix emailer test

* Fix auto-install regression

introduced in 9b5e0f9e95
2018-01-06 14:06:42 -05:00
Julian Lam
9b5e0f9e95 updated upgrade logic to not break ACP restart flow 2018-01-02 14:45:21 -05:00
Peter Jaszkowiak
be00a1c013 Support for using yarn instead of npm, include unread counts on cold load (#6179)
* Close #6178

* Support for package managers besides npm

- Also fixes issue where upgrade-plugins wouldn't work
2017-12-20 15:56:14 -05:00
Julian Lam
acc58d707c Updated plugin checking logic
* Fixes #6183
* Also changed a bunch of console.logs to process.stdout.write,
  so the command line output is cleaner
2017-12-19 12:07:45 -05:00
Barış Soner Uşaklı
2bb8227574 closes #6168 2017-12-14 10:53:01 -05:00
Peter Jaszkowiak
fc19f3af61 Misc fixes and improvements (#6143)
* `setup` command fixes and improvements

- Enable using the `./nodebb setup` command for auto-setup with a JSON argument
- Change CLI so package-install and dependency install are separate steps
- Fix #6142

* Prevent compiling templates multiple times

- Multiple requests for same template get pooled
- Hopefully fixes the "templateFunction is not a function" error which happens if site is restarted during high-traffic times

* More helpful upgrade template
2017-12-04 15:49:44 -05:00
Julian Lam
e723f2ce10 close #6099 2017-11-30 15:52:21 -05:00
Peter Jaszkowiak
dbdc05404d Use console.log instead of process.stdout.write (#6123)
* Use console.log instead of process.stdout.write

* Don't break the installer
2017-11-27 15:44:30 -05:00
Peter Jaszkowiak
ae24bca16e CLI refactor with commander (#6058)
* CLI refactor with commander

- Modularized the functionality
- All functionality done directly from `./nodebb` now
(still available from `app` for backwards compatibility)
- Moved all CLI code from `./nodebb` to `src/cli`
- Fixed `nodebb.bat` to work from any location, like `./nodebb`, and
also hides command output
- Overwrite some commander methods to add CLI color support
- Added `./nodebb info` for quick info including git hash, NodeBB
version, node version, and some database info
- Refactored `./nodebb reset` to allow multiple resets at once
- Changed `./nodebb restart` to essentially stop and start, as Windows
doesn't support signals
- Added `-l, --log` option which works on `./nodebb start` and `./nodebb
restart` to show logging, like `./nodebb slog`
- Expanded `-d, --dev` option which works on them as well, like
`./nodebb dev`
- Improvements to self-help. `./nodebb build -h` will output all
possible targets
- `./nodebb reset` explains usage better

* Fix some style inconsistencies

* Fix prestart being required before modules installed

* Fix travis failures

* Fix `help` command to output help for subcommands

* Pick steps of the upgrade process to run

* Fix formatting for upgrade help

* Fix web installer
2017-11-23 10:55:03 -05:00