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ı
0189945996
refactor: remove util.promisify calls
2020-08-14 00:05:03 -04:00
Barış Soner Uşaklı
cb662e15ce
feat: improve grunt restart/rebuild speed
2020-05-19 21:15:51 -04:00
Baris Usakli
1e50616c13
fix: handle mkdirp0.5->1.0x so it doesn't break upgrade
2020-01-31 15:05:50 -05:00
Baris Usakli
87225a90c3
fix : #8134 , upgrade mkdirp to 1.0.x
2020-01-31 14:10:00 -05: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
Julian Lam
79eed9ae60
feat: #7743 meta/templates.js
2019-07-23 14:26:14 -04:00
Peter Jaszkowiak
04d31fe1d4
Precompile all templates
...
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
2018-07-15 00:12:37 -06:00
Peter Jaszkowiak
70ff2d9b88
Support scoped theme packages
2018-06-11 10:10:16 -04:00
Barış Soner Uşaklı
5461f9fa5f
don't crash if there is no pluginData
2018-04-24 10:26:23 -04:00
Andrew Rodrigues
73bc96528a
better to use theme_templates_path instead
2018-04-23 17:21:49 -04:00
Andrew Rodrigues
ebd0899714
closes #6471
2018-04-23 17:11:35 -04:00
Peter Jaszkowiak
ed9166b796
Refactor template compilation
...
Always use persona as a fallback for templates
2018-01-14 23:26:35 -07:00
Peter Jaszkowiak
4fcedc6f31
Enable imports in custom email templates ( #6052 )
...
* Enable imports in custom email templates
* Compile emails on config change
* Add error logging
* Add emailer tests
* Fix tests
* Only build when config changes
2017-11-21 10:51:20 -05:00
Peter Jaszkowiak
c47c47f7e3
Use less memory to build translation files ( #6070 )
...
* Change languages build to use less memory
Add graceful-fs so no ned to worry about fs limits
* Specify encoding for fs.readFile
Use eachLimit since graceful-fs handles that now
2017-11-16 17:43:52 -05:00
Peter Jaszkowiak
dc87d7fc0f
Use .js instead of .jst
...
Fix #5934
2017-09-23 12:51:20 -06:00
Peter Jaszkowiak
abffc29128
Use Benchpress ( #5901 )
...
* Use Benchpress
* Use Benchpress.compileParse
* Error for template load failure
* Use benchpressjs package
* Compile templates on demand
* Fix user settings page
* Fix admin search to exclude `.jst` files
* Fix 500-embed
So ajaxify can still show an error if the server goes down
2017-08-24 19:26:50 -04:00
Barış Soner Uşaklı
2faf175739
refactor
2017-05-24 16:13:23 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
ff09d6e0dd
Fix #5549 , improve tpl compilation ( #5551 )
2017-03-27 13:53:26 -04:00
Peter Jaszkowiak
04bb6513b0
ESlint no-cond-assign, no-void, valid-jsdoc
2017-02-18 13:51:26 -07:00
Peter Jaszkowiak
feb8405f95
ESlint eol-last
2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
Peter Jaszkowiak
fd4d53e42c
Remove unnecesary admin search indexing
2016-11-28 13:05:22 -07:00
barisusakli
4f0e93732a
#5211
...
remove passing js/css between procs
2016-11-17 12:56:00 +03:00
Julian Lam
299fcb99f1
more progress on #5211
2016-11-16 20:54:57 -05:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
Barış Soner Uşaklı
9d0dc35703
closes #5081
2016-10-04 20:10:59 +03:00
barisusakli
91efab3c6d
closes #4437
2016-03-23 11:17:17 +02:00
psychobunny
933115a853
almost had a heartattack when I saw 121 changed files in this conflict
...
# Conflicts:
# src/meta/templates.js
2016-02-22 14:41:03 -05:00
psychobunny
914fc1543e
meta/templates.js refactor
2016-02-22 14:25:04 -05:00
psychobunny
da5494fdf1
allow recursive base templates
...
ex. custom theme based off lavender which is based off vanilla
2016-02-22 14:20:50 -05:00
Julian Lam
dd050c8177
added new hook that is called before templates are compiled
2016-02-18 20:43:06 -05:00
Julian Lam
baaad13286
reverted latest change to translator match regex
...
- Fixes issue with parentheses in translations (closes #4107 )
- No longer marking translation keys invalid if they contain HTML,
as that was probably not performant. Instead, parameters will
simply be escaped via the StringJS library.
2016-01-27 09:15:26 -05:00
Julian Lam
afbbb33878
fixed #4093
2016-01-22 11:12:21 -05:00
Julian Lam
96fe6d288f
Allowing theme to be re-ordered like plugins.
2016-01-11 16:23:59 -05:00
psychobunny
954212fc9f
emit templates:compiled event if skipped
2015-05-06 14:32:19 -04:00
barisusakli
d946a2fcbd
closes #3098
...
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
2015-04-27 20:26:02 -04:00
psychobunny
0c8e0ca46f
linted /meta
2015-02-25 19:28:43 -05:00
psychobunny
f8663bbfd0
added tpl flag to --from-file
2015-02-24 15:46:37 -05:00
barisusakli
64e13df14c
removed node cluster spawn procs on ports
2014-12-03 14:03:41 -05:00
Julian Lam
23b14b3443
moving nearly all startup messages to verbose type
2014-11-26 13:28:10 -05:00
psychobunny
c905f96108
closes #2412
2014-11-20 17:50:09 -05:00
barisusakli
0864480433
forgot return
2014-11-17 12:45:30 -05:00
barisusakli
363057cf49
closes #2390
2014-11-14 15:19:26 -05:00
barisusakli
d1b457b066
check err
2014-11-14 14:09:29 -05:00