Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
7 years ago
Barış Soner Uşaklı
6c5e99171e
closes #6309
8 years ago
Barış Soner Uşaklı
c3f56e2ab5
closes #6197
8 years ago
Julian Lam
6d15861a55
removed pluralisation @pitaj
8 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
8 years ago
Barış Soner Uşaklı
13e56ad5f3
make sure unfilled is not negative
8 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
8 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
8 years ago
Baris Usakli
6778cce265
add new zset
8 years ago
Julian Lam
ec3bb1c727
allowing plugins to define upgrade scripts
8 years ago
Peter Jaszkowiak
1c5bdcb670
Enable running multiple upgrades at once ( #5984 )
8 years ago
Julian Lam
88a763e08b
changes to upgrade script progress bars to work better on narrow terminals, fixes #5732
9 years ago
Julian Lam
3467071a7d
fixed extra line break in upgrade scripts introduced in 5516352758
9 years ago
Julian Lam
12e3369522
Tweaked upgrade script instructions
9 years ago
Peter Jaszkowiak
8a87311d5c
Remove annoying jslint comment
...
Use an rc file instead
9 years ago
barisusakli
5516352758
closes #5612
9 years ago
Julian Lam
7a0db03d99
Merge branch 'upgrade-progress-bar' into develop
9 years ago
Julian Lam
82bfa752b9
Removed outdated list of available upgrade scripts
9 years ago
Julian Lam
33082d90cc
updated logic to make it a bit simpler to implement per upgrade script
9 years ago
Julian Lam
1cd50a8c30
Merge branch 'develop' into upgrade-progress-bar
9 years ago
barisusakli
e63559b6fd
closes #5484
9 years ago
barisusakli
886768ba84
check both date and upgrade count
9 years ago
barisusakli
05e9e88a15
fix lint
9 years ago
barisusakli
1cf775a4b8
upgrade script fixes
9 years ago
barisusakli
520d6954c1
test node 7
9 years ago
barisusakli
f4b8cb7217
added missing return
9 years ago
barisusakli
6d1702c600
wait for calls to finish
9 years ago
Julian Lam
42b5cdaae3
progress bars! omg
9 years ago
Barış Soner Uşaklı
fe27d40ff6
closes #5542
9 years ago
Julian Lam
ce64db8d71
fix logic error that caused upgrade scripts to always be skipped
9 years ago
Julian Lam
25518bdd18
removed unused vars
9 years ago
Julian Lam
c323a813c0
added logic to handle backwards compatibility with old schemaDate method of tracking upgrade scripts
9 years ago
Julian Lam
34d24c4fd4
Refactored upgrade scripts once more (for great justice!) #5467
9 years ago
Julian Lam
67e8bab783
Merge branch 'develop' into upgrades-refactor
9 years ago
Julian Lam
15665d0872
re-ordered upgrade scripts so schemaDate is saved properly
9 years ago
Julian Lam
48fc74f1fa
Merge branch 'develop' into upgrades-refactor
...
re-added upgrade scripts from #5464
9 years ago
Julian Lam
7c21152f2e
Merge remote-tracking branch 'origin/master' into develop
9 years ago
Barış Soner Uşaklı
fecdbc969f
fix set call
9 years ago
Barış Soner Uşaklı
c5f40e3cf5
fix indents
9 years ago
Barış Soner Uşaklı
6222b55dd8
Merge branch 'master' into assets-images-upgrade
9 years ago
barisusakli
ac84e447dc
closes #5492
9 years ago
Peter Jaszkowiak
b96b983552
Upgrade script for prepending `/assets` in config
...
Fix for sound settings upgrade script to upgrade user sound settings even if admin settings weren't set
9 years ago
Julian Lam
513f72c0e9
Merge branch 'develop' into upgrades-refactor
9 years ago
Julian Lam
45c479a101
Merge branch 'master' into develop
9 years ago
barisusakli
ef93ef3dd4
if user does not have settings object skip
9 years ago
psychobunny
06eabbc507
typo
9 years ago
psychobunny
7bdbe7d9db
wrong date
9 years ago
psychobunny
5d9b6062d6
simpler method for getting pids
9 years ago
psychobunny
86a8b8ab93
posts:votes sorted set
9 years ago
Julian Lam
4a851e0a85
Merge branch 'master' into develop
9 years ago