31 Commits (3a7e99a503dfeec649ba65a5593dc8c1d97222fd)

Author SHA1 Message Date
Julian Lam d3ebda7370 fix: more graceful error handling and output for cli/reset 6 years ago
Barış Soner Uşaklı 6f1fb4eb24 fix: #https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/49 6 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 6 years ago
renovate[bot] 64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Baris Usakli a6c70412db temp fix for #6848 6 years ago
Barış Soner Uşaklı a4d5c81de5 closes #6819 6 years ago
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
6 years ago
Peter Jaszkowiak 7cd8274c0f Add series flag for `./nodebb build` 7 years ago
Peter Jaszkowiak 70ff2d9b88 Support scoped theme packages 7 years ago
Julian Lam 9eff1519d3 Display proper info for redis in info command, show graph of pageviews
from last 24 hours
7 years ago
Peter Jaszkowiak c93651b2d1 Fix alternate config file support (#6405) 7 years ago
Julian Lam 84b7892085 require meta in the method that actually needs it 7 years ago
Barış Soner Uşaklı b240ae89cd #6289 7 years ago
Barış Soner Uşaklı 58f5bb35fc show error 7 years ago
Barış Soner Uşaklı fdd51f43d8 fix dirname 7 years ago
Peter Jaszkowiak c8a6caa842 Fix #6244, dpendency auto-install fixed
Node caches the result of stat on module directories
7 years ago
Peter Jaszkowiak 9c1faa7643 Fix running `./nodebb` with no arguments doing nothing 7 years ago
Peter Jaszkowiak 0929fd2a11 Fix issue where outdated packages are never updated 7 years ago
Julian Lam 2c8cef6e92 updated error code for missing package.json @pitaj 7 years ago
Peter Jaszkowiak 4c7a275034 Was checking existence of wrong package.json (#6222) 7 years ago
Julian Lam b1bc40359d fixed incorrect flag in upgrade help text 7 years ago
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
7 years ago
Julian Lam 9b5e0f9e95 updated upgrade logic to not break ACP restart flow 7 years ago
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
7 years ago
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
7 years ago
Barış Soner Uşaklı 2bb8227574 closes #6168 7 years ago
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
7 years ago
Julian Lam e723f2ce10 close #6099 7 years ago
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
7 years ago
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
7 years ago