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
Peter Jaszkowiak
6cb8440715
Fix #5793
...
Use a custom header instead
2017-06-30 23:38:31 -06:00
psychobunny
179b11b7d2
ACP allow ctrl-click to open new in new tab when settings are unsaved
2017-05-29 15:34:09 -04:00
barisusakli
bb146e049c
fix lint
2017-03-10 22:36:09 +03:00
psychobunny
f2eb4b8083
closes #5439
2017-03-10 14:03:07 -05:00
barisusakli
8a123f7c1c
closes #5509
2017-03-07 16:13:09 +03:00
barisusakli
69c6ee5834
closes #5483
2017-03-07 13:38:31 +03:00
Peter Jaszkowiak
b227297ef3
ESlint no-use-before-define
2017-02-18 18:55:33 -07:00
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
144fa8698c
Eslint no-lonely-if
2017-02-18 14:32:35 -07:00
Peter Jaszkowiak
09e868ce5f
ESlint no-useless-escape, no-else-return
2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95
ESlint eol-last
2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
3d6bfa47c5
ESlint no-useless-return
2017-02-17 22:13:41 -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
8f27d7810b
Ajaxify improvement, /assets/uploads
2017-02-09 15:50:05 -07:00
Peter Jaszkowiak
360a35d0a6
Resolve merge conflicts
2017-02-02 22:15:26 -07:00
Peter Jaszkowiak
bc9fa0a990
Remove requests to nonexistent language files
2017-01-30 15:08:03 -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
Julian Lam
c99321a518
always setting app.previousUrl now, and passing cid into filter:category.topics.get hook
2017-01-13 15:01:14 -05:00
Julian Lam
2ab2486d3b
if require call on page script fails, remove from scripts array
2017-01-09 15:02:32 -05:00
Julian Lam
6a591069c5
fixes issue with ajaxify.end not firing
2017-01-09 14:51:05 -05:00
Julian Lam
64e4ef042b
allowing plugins to subscribe to action:script.load and pass in function references
2017-01-08 15:58:25 -05:00
Peter Jaszkowiak
460b830a96
Fix ajaxify loading default language translations
2016-12-19 15:51:43 -05:00
Mathias Schreck
b1a48981ef
Check if href exists before accessing it ( #5281 )
...
I got a lot of errors in Firefox 50 `TypeError: $(...).attr(...) is undefined nodebb.min.js:25167:24` which points exactly to that line I’ve changed.
Since HTML5 `href` is not a required attribute of an `a` tag. We have a couple of links without `href` and every time you click it you will get this error.
2016-12-12 11:08:21 -05:00
Julian Lam
0590a4f2cf
closes #5156
2016-10-25 16:52:06 -04:00
Sergii Paryzhskyi
e515b791da
Fix eslint rules ( #5117 )
...
* Fix semi linter rule
* Fix semi-spacing linter rule
* Fix no-undef-init linter rule
* Fix space-before-blocks linter rule
2016-10-25 15:34:47 -04:00
Julian Lam
05700c951c
add slash before route in ajaxify debug string
2016-10-23 22:51:34 -04:00
Julian Lam
7caad67ef2
resolve regression introduced by 1d9c2f49d2
2016-10-23 17:58:49 -04:00
Julian Lam
1d9c2f49d2
added debug info to console on ajaxify, added throttler so requests only go through once every half second
2016-10-23 10:49:44 -04:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
Julian Lam
81a4103d64
closes #4826
2016-09-02 14:16:46 -04:00
barisusakli
9c064d8fac
only process embedded tpls
2016-09-01 13:55:53 +03:00
barisusakli
5c83075806
moved variables parse to ajaxify.js
2016-08-26 16:39:09 +03:00
barisusakli
f7540a7edc
closes #4811
2016-08-25 21:56:17 +03:00
barisusakli
9eb64aa3fa
closes #4975
2016-08-25 10:30:51 +03:00
Julian Lam
60ea7d5121
fixes #4966
2016-08-22 16:24:31 -04:00
Julian Lam
e019eb40c4
altering ajaxify abort behaviour to look for null instead of empty string, and triggering ajaxify.end when abort occurs
2016-08-10 12:50:41 -04:00
Julian Lam
9e7d90e314
allowing listeners to cancel an ajaxify request via ajaxify.start client-side hook
2016-08-10 12:29:25 -04:00
barisusakli
9cbfaa89e7
closes #4912
2016-08-05 16:32:44 +03:00
Julian Lam
e7386e20cf
closes #4505
2016-07-28 11:51:19 -04:00
barisusakli
3631a30061
update history on 40x/50x
2016-06-20 14:55:50 +03:00
barisusakli
f475068010
closes #4759
2016-06-20 13:39:08 +03:00