Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
07fe959ce5
chore: remove test code
2020-11-26 13:56:53 -05:00
Barış Soner Uşaklı
b8cafefce2
fix: winston usages
2020-11-26 13:56:34 -05:00
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
2020-10-26 10:43:18 -04:00
Peter Jaszkowiak
1aa336d837
refactor: shared constants ( #8707 )
...
define plugin name and theme name regexs in one location for consistency
define various shared paths in one place for consistency
2020-10-01 23:02:44 -04:00
Barış Soner Uşaklı
c2ca02dfc7
fix : #8474
...
make isPrimary and isCluster always booleans
they were strings when using ./nodebb start and boolean if they were in config.json and started with node app.js
2020-07-07 20:13:14 -04:00
Barış Soner Uşaklı
8383992dcc
feat: move export functions into child processes
2020-06-23 00:23:46 -04:00
Julian Lam
29f96b199c
fix(style): requiring parens in block bodies
2019-08-13 15:12:27 -04:00
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b26
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e41
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb2
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee1
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272e
Author: Renovate Bot <bot@renovateapp.com >
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae
Author: Renovate Bot <bot@renovateapp.com >
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38
Author: Renovate Bot <bot@renovateapp.com >
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199
Author: Misty (Bot) <deploy@nodebb.org >
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a1759
Author: Baris Usakli <barisusakli@gmail.com >
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57b
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6
Author: Renovate Bot <bot@renovateapp.com >
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
2019-08-13 15:12:27 -04:00
Baris Usakli
ad2d7a6991
fix: move upload_url to prestart so it is defined in upgrade scripts
2019-03-22 15:15:23 -04:00
Barış Soner Uşaklı
70f8b418c4
fix : #6848
...
fixed in winston 3.2.0
2019-01-26 17:20:17 -05:00
Ben Lubar
ff5b04beb9
Log port number of current instance in addition to pid. ( #7110 )
2018-12-14 11:21:46 -05:00
Baris Usakli
a6c70412db
temp fix for #6848
2018-10-19 12:48:39 -04:00
Barış Soner Uşaklı
e6546e6263
#6848
...
this handles winston.error(err);
2018-10-18 12:17:07 -04:00
Baris Usakli
837f411783
closes #6843
2018-10-17 12:08:33 -04:00
Barış Soner Uşaklı
f4df89fe90
closes #6840
2018-10-16 15:17:14 -04:00
Barış Soner Uşaklı
85c60316ed
upgrade to winston 3.1, closes #6590 ( #6838 )
...
* upgrade to winston 3.1
* fix winston in web/install and tests
2018-10-16 13:07:13 -04:00
Baris Usakli
ee64437f8a
fix runJobs
2018-06-29 15:50:19 -04:00
Barış Soner Uşaklı
b2d7455f72
set isPrimary to true if its undefined
...
isPrimary was undefined if you are using clustering by adding
isCluster:true to config.json, run 1 nodebb process on each virtual
machine and use app.js instead of loader.js
2018-06-07 13:10:17 -04:00
Barış Soner Uşaklı
0630915cad
when settings are saved publish it to all nodes
...
add runJobs value to nconf, only true on nodes that should run jobs ie
isPrimary and jobs are not disabled
2018-06-06 19:55:15 -04:00
Barış Soner Uşaklı
e35d0624d3
closes #6091
2017-12-08 10:51:37 -05:00
Barış Soner Uşaklı
8353d8b9bb
closes #6155
2017-12-07 09:26:45 -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