24 Commits (48165b90110c06edf494f1024fca657c3b5e701c)

Author SHA1 Message Date
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
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Peter Jaszkowiak 05b68391dd Use `/assets` for client assets
- Route `/assets` -> `build/public`, falling back on `public`
- Moved destinations for `nodebb.min.js`, `acp.min.js`, `admin.css`, `stylesheet.css`, `templates`, and `sounds` to `build/public`
- r.js modules previously routed through express are now symlinked into `public/build/src/modules`
- minfiles no longer served from a memory cache
- use config `views_dir` setting everywhere template directory is used
- fix cache buster `v=v=`
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
Julian Lam a9a522c8ec allowing widgets to not show up if widget explicitly returns null 9 years ago
barisusakli 731942e397 closes #4788
when resetting widgets dont erase stuff already in drafts
9 years ago
barisusakli c758f59014 closes #2302 9 years ago
psychobunny b18052210d closes #3146 9 years ago
Jon Garrison 44c4925ceb Added req and res objects to the widget rendering process before callback in src/controllers/api.js 10 years ago
barisusakli 7fbab5402a closes #3381 10 years ago
psychobunny 0f199af84d moved widget code out of controller; cleaned up code into a folder 10 years ago