Commit Graph

48 Commits

Author SHA1 Message Date
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
Peter Jaszkowiak
c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
b09b3aef7f ESlint no-undef, remove global comments 2017-02-17 22:03:55 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
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=`
2017-01-14 22:38:40 -07:00
barisusakli
e86708cb0c add cid to widgets.render
init date pickers in widgets ACP
2016-12-13 14:11:56 +03:00
barisusakli
600082adc7 closes #5116 2016-10-14 10:59:16 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
3c52327c0b closes #5098 2016-10-11 10:43:53 +03:00
barisusakli
c758f59014 closes #2302 2016-05-03 17:17:38 +03:00
Julian Lam
dc035c11f3 updated widget code to work better with sidebar areas 2015-11-10 14:40:27 -05:00
barisusakli
a1c407acd0 closes #3530 2015-09-10 17:13:36 -04:00
psychobunny
b73a26f7a6 fixes reload button and probably a bunch of other things in ACP 2015-07-08 17:12:06 -04:00
psychobunny
a285e0734d closes #3274 2015-06-29 15:16:36 -04:00
psychobunny
412c5360a6 allow timeago to be cast on other elements as well, ex. small 2015-03-16 17:22:44 -04:00
barisusakli
e6c0794061 create tooltips for users on widgets 2015-03-12 17:46:49 -04:00
Barış Soner Uşaklı
53db052cca timeago widgets 2015-02-23 12:55:44 -05:00
barisusakli
06b2a6ff68 closes #2717 2015-02-11 21:09:43 -05:00
A Catty Alpaca
f0ed816edb fix generated widgets areas glitching on small screens
because columns should always be in rows
2014-12-23 23:49:15 +01:00
psychobunny
2a2490541f some minor linting elsewhere 2014-10-04 18:56:33 -04:00
psychobunny
bf852d8329 closes #2078 2014-10-04 18:30:21 -04:00
psychobunny
ecd00bb679 refactored widgets api call to render all at once rather than one area at a time, closes https://github.com/NodeBB/NodeBB/issues/2062 2014-09-16 10:12:12 -04:00
barisusakli
341a0c8190 closes #1855 2014-07-20 14:35:25 -04:00
psychobunny
5b6acbad1e optimized widget call by bundling all queries into one for #1428; fixes active users widget crash
also fixes b3819fd076 properly
2014-07-09 19:23:10 -04:00
psychobunny
c6183f1a82 closes #1428 2014-07-09 15:41:03 -04:00
psychobunny
ecbb05ccca widgets.render doesn't actually use the url 2014-07-09 15:20:59 -04:00
barisusakli
ab6429c578 closes #1734 2014-06-22 17:08:55 -04:00
psychobunny
22d459d4cc temporary fixes for chrome users who have cookies disabled 2014-06-02 14:58:27 -04:00
psychobunny
cad10a3f9e implemented caching for widgets 2014-05-30 17:38:03 -04:00
psychobunny
bfa3b0f22f global header widgets 2014-05-28 16:30:29 -04:00
barisusakli
351e376812 hide area if there are no widgets 2014-05-28 16:24:10 -04:00
psychobunny
9c2bb027d3 fire action:widgets.loaded regardless of callback 2014-05-26 12:26:41 -04:00
psychobunny
6aeec3a399 action:widgets.loaded 2014-05-26 11:38:04 -04:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
barisusakli
34b73e15e6 dont add dupes to widgetLocations
this prevents widgets from being executed multiple times
2014-04-09 16:35:51 -04:00
Julian Lam
7a993eb2ca closed #1328 2014-04-03 17:27:26 -04:00
psychobunny
4693f64bef better layout for global sidebars on mobile 2014-04-01 14:49:30 -04:00
psychobunny
d1495102f2 fixed positioning if no sidebar widget selected 2014-04-01 11:22:03 -04:00
psychobunny
924388d96f widgets - only collapse / expand divs that specify a target location 2014-03-31 12:54:27 -04:00
psychobunny
576246c315 global widget areas (sidebar/footer) - closes #1097 2014-03-31 12:27:24 -04:00
psychobunny
0ba7c4891c closes #1295 2014-03-29 17:16:41 -04:00
psychobunny
0c8c246be4 simplified widgets 2014-03-28 16:01:33 -04:00
psychobunny
4f04bd82a6 some fixes 2014-03-28 15:35:07 -04:00
psychobunny
b023ef01af moving widgets and variables code out of ajaxify 2014-03-28 14:18:42 -04:00