gasoved
397baf0254
refactor: widgets ( #9471 )
4 years ago
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
4 years ago
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
4 years ago
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
4 years ago
Barış Soner Uşaklı
b295d15eae
fix: tests
4 years ago
Barış Soner Uşaklı
d89477cad0
refactor: use app.render
4 years ago
Peter Jaszkowiak
55d5cccf2e
Document deprecations and remove old ones ( #8706 )
...
* chore: document deprecation removal versions
* chore: remove deprecations 2+ versions old
4 years ago
Barış Soner Uşaklı
0189945996
refactor: remove util.promisify calls
5 years ago
Barış Soner Uşaklı
71cd602da9
feat: #7090 , abililty to hide widgets
5 years ago
Barış Soner Uşaklı
9b151b2316
fix: remove dupe code
5 years ago
Barış Soner Uşaklı
5fce45580a
fix: remove useless catchs and empty line
6 years ago
Barış Soner Uşaklı
dec8040c09
feat: widgets/index.js
...
enable widget-essentials in tests
fix widget test
6 years ago
Barış Soner Uşaklı
4d6b687183
feat: use promise version
6 years ago
Baris Usakli
96ebe7b5f7
feat: #7743 , widgets/admin
6 years ago
Barış Soner Uşaklı
72def7dfa6
feat: #7743 finish groups
6 years ago
Barış Soner Uşaklı
5b85ed318a
fix : #7625 , on group rename update nav/widget items
6 years ago
Barış Soner Uşaklı
4d9bc30d1f
feat: async3 upgrade ( #7639 )
...
* feat: async3 upgrade WIP
* fix: async.doWhilst
* fix: async early exit
* fix: psql doUntil
* fix: psql again
6 years ago
Barış Soner Uşaklı
eb2c3e5626
fix: don't crash if templateData is undefined
6 years ago
Barış Soner Uşaklı
c72299ad71
refactor widgets admin
...
so we dont load the widget-settings.tpl in the upgrade script and only load areas
6 years ago
Barış Soner Uşaklı
9fecad138c
limit number of js files minified, dont crash upgrade script of widget-settings is not found
6 years ago
Barış Soner Uşaklı
b6771836cf
closes #6937
6 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
6 years ago
Baris Usakli
4d5e164fd2
closes #6778
6 years ago
Barış Soner Uşaklı
60f8870b72
pass template to widget container parse
7 years ago
Barış Soner Uşaklı
96f55c528e
don't crash if config is undefined
7 years ago
Barış Soner Uşaklı
917cbc9273
closes https://github.com/NodeBB/nodebb-widget-essentials/issues/38
7 years ago
Barış Soner Uşaklı
9628956a56
closes #6199
...
global widgets will appear after page widgets
7 years ago
Barış Soner Uşaklı
c453fc7275
add widget reset test
7 years ago
Barış Soner Uşaklı
645410131d
closes #5942
7 years ago
psychobunny
ececfe9a77
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
8 years ago
psychobunny
01275787b6
added widgets.resetTemplate(s)
8 years ago
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
8 years ago
Barış Soner Uşaklı
5888a5ffc4
closes #5010
...
init plugin hooks before resetting widgets, the areas are returned by
`filter:widgets.getAreas`
8 years ago
Baris Usakli
0e0d961f7c
dont change templateData
8 years ago
Barış Soner Uşaklı
923bd86662
Widgets refactor ( #5817 )
...
* widgets refactor
render widgets server side
widgets can use all the data the template can use
* fix tests
8 years ago
Baris Usakli
e0de922ede
Revert "widgets refactor"
...
This reverts commit 9e94edb5aa
.
8 years ago
Baris Usakli
9e94edb5aa
widgets refactor
...
render widgets server side
widgets can use all the data the template can use
8 years ago
Baris Usakli
062bced3dd
cleanup and tests
8 years ago
barisusakli
552f850207
closes #2702
8 years ago
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
feb8405f95
ESlint eol-last
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
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago