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
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
8 years ago
Peter Jaszkowiak
a038c66549
ESlint quotes
8 years ago
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak
b09b3aef7f
ESlint no-undef, remove global comments
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
barisusakli
e86708cb0c
add cid to widgets.render
...
init date pickers in widgets ACP
8 years ago
barisusakli
600082adc7
closes #5116
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
8 years ago
barisusakli
3c52327c0b
closes #5098
8 years ago
barisusakli
c758f59014
closes #2302
9 years ago
Julian Lam
dc035c11f3
updated widget code to work better with sidebar areas
9 years ago
barisusakli
a1c407acd0
closes #3530
10 years ago
psychobunny
b73a26f7a6
fixes reload button and probably a bunch of other things in ACP
10 years ago
psychobunny
a285e0734d
closes #3274
10 years ago
psychobunny
412c5360a6
allow timeago to be cast on other elements as well, ex. small
10 years ago
barisusakli
e6c0794061
create tooltips for users on widgets
10 years ago
Barış Soner Uşaklı
53db052cca
timeago widgets
10 years ago
barisusakli
06b2a6ff68
closes #2717
10 years ago
A Catty Alpaca
f0ed816edb
fix generated widgets areas glitching on small screens
...
because columns should always be in rows
10 years ago
psychobunny
2a2490541f
some minor linting elsewhere
10 years ago
psychobunny
bf852d8329
closes #2078
10 years ago
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
11 years ago
barisusakli
341a0c8190
closes #1855
11 years ago
psychobunny
5b6acbad1e
optimized widget call by bundling all queries into one for #1428 ; fixes active users widget crash
...
also fixes b3819fd076
properly
11 years ago
psychobunny
c6183f1a82
closes #1428
11 years ago
psychobunny
ecbb05ccca
widgets.render doesn't actually use the url
11 years ago
barisusakli
ab6429c578
closes #1734
11 years ago
psychobunny
22d459d4cc
temporary fixes for chrome users who have cookies disabled
11 years ago
psychobunny
cad10a3f9e
implemented caching for widgets
11 years ago
psychobunny
bfa3b0f22f
global header widgets
11 years ago
barisusakli
351e376812
hide area if there are no widgets
11 years ago
psychobunny
9c2bb027d3
fire action:widgets.loaded regardless of callback
11 years ago
psychobunny
6aeec3a399
action:widgets.loaded
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
barisusakli
34b73e15e6
dont add dupes to widgetLocations
...
this prevents widgets from being executed multiple times
11 years ago
Julian Lam
7a993eb2ca
closed #1328
11 years ago
psychobunny
4693f64bef
better layout for global sidebars on mobile
11 years ago
psychobunny
d1495102f2
fixed positioning if no sidebar widget selected
11 years ago
psychobunny
924388d96f
widgets - only collapse / expand divs that specify a target location
11 years ago
psychobunny
576246c315
global widget areas (sidebar/footer) - closes #1097
11 years ago
psychobunny
0ba7c4891c
closes #1295
11 years ago
psychobunny
0c8c246be4
simplified widgets
11 years ago
psychobunny
4f04bd82a6
some fixes
11 years ago
psychobunny
b023ef01af
moving widgets and variables code out of ajaxify
11 years ago