Commit Graph

140 Commits (b63b7ae5d75e40372b03ee92b0ffa2c07fde3827)

Author SHA1 Message Date
Peter Jaszkowiak a3fa313298
Github actions lint demo ()
* feat: use github actions for ci

- test using minimum supported db versions
- ESLint will make review comments on PRs
- formatted configs

* mess up eslint

* fix: lint maybe

Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
Julian Lam 6b1d1acb48 fix(style): more switch..case
Barış Soner Uşaklı d09bd2cfdf fix: , send string to writeFileSync
oh f3e8e06503 feat: Allow getting logfile path from config ()
* feat(log): allow getting logfile path from config

fixes 

* feat(log): ensure logfile directory is created before running
Peter Jaszkowiak 9a32118418 Enable `require.main.require` in tests ()
Barış Soner Uşaklı a8e98e46df remove unused function
Barış Soner Uşaklı 687adea5dd closes
Ben Lubar 44373afc52 Fix socket.io not working properly in single-host clusters. ()
This is because we don't use the cluster module, so the master nodejs process doesn't know about any of the clients through the socket API.
Ben Lubar c1e98eefa7 Allow single-host clusters to not send pubsub and socket.io messages through the database. ()
* Allow single-host clusters to not send pubsub and socket.io messages through the database.

* Fix lint errors.
Barış Soner Uşaklı 41b4caa62d closes
Peter Jaszkowiak c93651b2d1 Fix alternate config file support ()
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
Barış Soner Uşaklı 2aaf6900d1 closes
Davis 7f95bdfe6f In --no-daemon unlink of nonexisting pidfile
When running application using --no-deamon, when process is killed with signal SIGTERM, it exits with code 1, due to fact that pidfile does not exist
Barış Soner Uşaklı 82b5246b28 fix process.env.url if it was changed
Julian Lam 568b2b9957 fixes
Julian Lam d98b3e8056 automatically lowercasing env vars in nconf, fixes
Peter Jaszkowiak 75d291183d Fix using nodebb in other CWDs
psychobunny 4a33f45b1e use writeFileSync for synchronous fs write operations - nodejs 7.x
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars
Peter Jaszkowiak c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
Peter Jaszkowiak 239d7f84dd ESlint no-path-concat
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 1493afee2a ESlint indent
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces
Peter Jaszkowiak a5a3f3089a ESlint no-mixed-operators
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
barisusakli c3f1129fe9 eslint
barisusakli 29b0552466 update url from config file even if it was passed in env
barisusakli 4f0e93732a
remove passing js/css between procs
Julian Lam 299fcb99f1 more progress on
Julian Lam 135bb6a524 fixes
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
barisusakli 204dd2a69f closes
Ben Lubar 42fa764608 fix js-propagate for restarted secondary instances ()
Ben Lubar b08696515f Fix restarted secondary instances waiting forever for the templates:compiled message. Fix update notification always appearing when an instance restarts even if there was no update. Closes ()
Julian Lam 79bcb9be10 fixes
psychobunny a078fd82e7 fix julian's console.log voodoo
psychobunny e2bc5f241a optimizing process.send for js minification
barisusakli 9527ac6255 more fixes to loader
barisusakli c512fed93a one more fix
psychobunny 80b0815d38 @barisusakli last one
barisusakli ca294fc6ec closes
barisusakli a64cbbc6df
Julian Lam 671db1681e allowing usage of "false" in silent and daemon environment variables
Julian Lam 0ff09d8093 changed the behaviour of --no-daemon so that it does not also pipe output to stdout, use new flag --no-silent for that. --no-daemon just does as it advertises, and doesn't daemonize the loader process before spawning app.js instances.