355 Commits (ae24bca16e2c4eba585cbd22c296040b78866fe8)

Author SHA1 Message Date
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
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
7 years ago
Barış Soner Uşaklı 2aaf6900d1 closes #5998 7 years ago
Peter Jaszkowiak 1c5bdcb670 Enable running multiple upgrades at once (#5984) 7 years ago
Peter Jaszkowiak 1c35213934 Fix #5970 and forking while debugging (#5965)
* Fix forking while debugging

Debugger address in use no longer happens

* Fix cropper error
7 years ago
Baris Usakli 8fae8cea83 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Baris Usakli 18db0734b0 newline 8 years ago
Baris Usakli bc0645dc26 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam f56578ab50 remove reset tokens if target user email changes 8 years ago
Peter Jaszkowiak 90296b92cd Override winston to use console.log instead of stdout 8 years ago
Julian Lam d98b3e8056 automatically lowercasing env vars in nconf, fixes #2544 8 years ago
Julian Lam 29e868b002 closes #5585 8 years ago
Barış Soner Uşaklı aabfe8f41f fix lint 8 years ago
Barış Soner Uşaklı 3c8460fee0 disable timeout 8 years ago
barisusakli 236758b712 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
barisusakli 9e3d8a8090 one more fix #5607 8 years ago
barisusakli 27a76fcfc9 closes #5607 8 years ago
Peter Jaszkowiak 484a800327 Merge branch master into develop 8 years ago
Peter Jaszkowiak 75d291183d Fix using nodebb in other CWDs 8 years ago
Julian Lam 74728a1328 Merge branch 'develop' into upgrades-refactor 8 years ago
Julian Lam 5b8c9503c3 refactor upgrade scripts to use individual files in src/upgrades/ as source of schema changes 8 years ago
Peter Jaszkowiak 64a6322002 ESlint no-extra-boolean-cast
and no-shadow-restricted-names
8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 2e031f3759 ESlint comma-spacing 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak b09b3aef7f ESlint no-undef, remove global comments 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Julian Lam 7ba111acdd Merge pull request #5420 from NodeBB/assets-route
/assets/uploads
8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
Julian Lam a48c914a16 explicitly cast jobsDisabled as Boolean 8 years ago
Peter Jaszkowiak 360a35d0a6 Resolve merge conflicts 8 years ago
Peter Jaszkowiak 553567c3b2 Refactor `nodebb`, move `build.js`, add `--dev` 8 years ago
Peter Jaszkowiak 05b68391dd Use `/assets` for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
8 years ago
barisusakli c36e2aa13d refactor app.js/start 8 years ago
psychobunny fa12a3e7e6 updating to 2017 (was looking for a reason to test auto-update of https://github.com/NodeBB/NodeBB/wiki/Hooks) 8 years ago
barisusakli c32e6aaabb use build module instead of forking 8 years ago
Barış Soner Uşaklı 7f455344d8 show seconds in logs 8 years ago
Barış Soner Uşaklı e0501656b6 parallel startup 8 years ago
Julian Lam ad732935fb closes #5254 8 years ago
barisusakli e86db04631 #5211 run build step before tests
move build to its own file
8 years ago
Julian Lam 7a10cffb25 fix Gruntfile.js to work with bew build step 8 years ago
Julian Lam 9bab0b53b0 re: #5211, broke out meta.css.minify to accept targets, made build output marginally nicer looking 8 years ago
Julian Lam 232b387652 set up plugins in build step as well 8 years ago
barisusakli 71c7ef9109 fix test 8 years ago
barisusakli 4f0e93732a #5211
remove passing js/css between procs
8 years ago
Julian Lam 1617c99e7b linting app.js 8 years ago
Julian Lam 03cf5d8da5 upgrade and setup steps call build step now, re: #5211 8 years ago
Julian Lam 179a28d73a basic build compilation logic, re: #5211 8 years ago