Commit Graph

40 Commits

Author SHA1 Message Date
Peter Jaszkowiak
55d5cccf2e Document deprecations and remove old ones (#8706)
* chore: document deprecation removal versions

* chore: remove deprecations 2+ versions old
2020-10-01 12:25:03 -04:00
Barış Soner Uşaklı
71cd602da9 feat: #7090, abililty to hide widgets 2019-09-17 11:42:30 -04:00
Barış Soner Uşaklı
9b151b2316 fix: remove dupe code 2019-09-16 23:22:10 -04:00
Barış Soner Uşaklı
5fce45580a fix: remove useless catchs and empty line 2019-08-11 00:13:41 -04:00
Barış Soner Uşaklı
dec8040c09 feat: widgets/index.js
enable widget-essentials in tests
fix widget test
2019-07-29 19:42:55 -04:00
Barış Soner Uşaklı
72def7dfa6 feat: #7743 finish groups 2019-07-18 22:35:12 -04:00
Barış Soner Uşaklı
5b85ed318a fix: #7625, on group rename update nav/widget items 2019-05-31 23:17:24 -04:00
Barış Soner Uşaklı
eb2c3e5626 fix: don't crash if templateData is undefined 2019-04-09 13:01:46 -04:00
Barış Soner Uşaklı
b6771836cf closes #6937 2018-11-10 20:51:07 -05:00
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 😬
2018-11-07 15:53:14 -05:00
Baris Usakli
4d5e164fd2 closes #6778 2018-09-21 13:49:56 -04:00
Barış Soner Uşaklı
60f8870b72 pass template to widget container parse 2018-03-27 18:58:23 -04:00
Barış Soner Uşaklı
96f55c528e don't crash if config is undefined 2018-03-09 11:12:27 -05:00
Barış Soner Uşaklı
917cbc9273 closes https://github.com/NodeBB/nodebb-widget-essentials/issues/38 2018-03-04 19:12:09 -05:00
Barış Soner Uşaklı
9628956a56 closes #6199
global widgets will appear after page widgets
2017-12-27 11:55:45 -05:00
Barış Soner Uşaklı
c453fc7275 add widget reset test 2017-10-26 22:42:16 -04:00
Barış Soner Uşaklı
645410131d closes #5942 2017-10-11 16:51:52 -04:00
psychobunny
ececfe9a77 Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2017-08-25 13:59:20 -04:00
psychobunny
01275787b6 added widgets.resetTemplate(s) 2017-08-25 13:59:14 -04: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ı
5888a5ffc4 closes #5010
init plugin hooks before resetting widgets, the areas are returned by
`filter:widgets.getAreas`
2017-07-12 20:10:19 -04:00
Baris Usakli
0e0d961f7c dont change templateData 2017-07-11 16:40:04 -04:00
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
2017-07-10 12:54:45 -04:00
Baris Usakli
e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
2017-07-07 15:35:06 -04:00
Baris Usakli
9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
2017-07-07 15:33:16 -04:00
Baris Usakli
062bced3dd cleanup and tests 2017-05-25 16:40:07 -04:00
barisusakli
552f850207 closes #2702 2017-04-14 14:56:39 -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
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -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
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
Julian Lam
a9a522c8ec allowing widgets to not show up if widget explicitly returns null 2016-07-27 14:31:19 -04:00
barisusakli
731942e397 closes #4788
when resetting widgets dont erase stuff already in drafts
2016-06-25 11:25:34 +03:00
barisusakli
c758f59014 closes #2302 2016-05-03 17:17:38 +03:00
psychobunny
b18052210d closes #3146 2016-02-23 14:23:57 -05:00
Jon Garrison
44c4925ceb Added req and res objects to the widget rendering process before callback in src/controllers/api.js 2015-09-16 00:39:18 -07:00
barisusakli
7fbab5402a closes #3381 2015-08-20 15:56:47 -04:00
psychobunny
0f199af84d moved widget code out of controller; cleaned up code into a folder 2015-05-11 14:20:10 -04:00