Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
Peter Jaszkowiak
8f27d7810b
Ajaxify improvement, `/assets/uploads`
8 years ago
Peter Jaszkowiak
360a35d0a6
Resolve merge conflicts
8 years ago
Peter Jaszkowiak
bc9fa0a990
Remove requests to nonexistent language files
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
Julian Lam
c99321a518
always setting app.previousUrl now, and passing cid into filter:category.topics.get hook
8 years ago
Julian Lam
2ab2486d3b
if require call on page script fails, remove from scripts array
8 years ago
Julian Lam
6a591069c5
fixes issue with ajaxify.end not firing
8 years ago
Julian Lam
64e4ef042b
allowing plugins to subscribe to action:script.load and pass in function references
8 years ago
Peter Jaszkowiak
460b830a96
Fix ajaxify loading default language translations
8 years ago
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.
8 years ago
Julian Lam
0590a4f2cf
closes #5156
8 years ago
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
8 years ago
Julian Lam
05700c951c
add slash before route in ajaxify debug string
8 years ago
Julian Lam
7caad67ef2
resolve regression introduced by 1d9c2f49d2
8 years ago
Julian Lam
1d9c2f49d2
added debug info to console on ajaxify, added throttler so requests only go through once every half second
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
Julian Lam
81a4103d64
closes #4826
9 years ago
barisusakli
9c064d8fac
only process embedded tpls
9 years ago
barisusakli
5c83075806
moved variables parse to ajaxify.js
9 years ago
barisusakli
f7540a7edc
closes #4811
9 years ago
barisusakli
9eb64aa3fa
closes #4975
9 years ago
Julian Lam
60ea7d5121
fixes #4966
9 years ago
Julian Lam
e019eb40c4
altering ajaxify abort behaviour to look for null instead of empty string, and triggering ajaxify.end when abort occurs
9 years ago
Julian Lam
9e7d90e314
allowing listeners to cancel an ajaxify request via ajaxify.start client-side hook
9 years ago
barisusakli
9cbfaa89e7
closes #4912
9 years ago
Julian Lam
e7386e20cf
closes #4505
9 years ago
barisusakli
3631a30061
update history on 40x/50x
9 years ago
barisusakli
f475068010
closes #4759
9 years ago
Julian Lam
8b03199d5c
fixes issue where anchors to internal rss feeds would fail to resolve
9 years ago
barisusakli
0e92880dd4
fix previousUrl being set to current url
9 years ago
barisusakli
9685290658
check responseJSON
9 years ago
barisusakli
cef7fb545b
closes #1972
9 years ago
Barış Soner Uşaklı
9d6532fe7b
moved to ajaxify.start
9 years ago
Julian Lam
3390b7d7f6
closes #4516
9 years ago
barisusakli
c6c1e2e217
closes #4289
9 years ago
barisusakli
c71ffed69c
closes #4362
9 years ago
Julian Lam
54e36f7c54
Update ajaxify logic w/ returnPath support
...
If returnPath is defined, and url is null, then ajaxify will
execute a replaceState instead of an ajaxification.
Used in cases where a separate route is pushed but you'll want to
return to the page you were on previously. (see: #4371 )
9 years ago
barisusakli
e11140b7ef
retry once
9 years ago
psychobunny
54d47e1e24
allow data-ajaxify=false for external links to override config.openOutgoingLinksInNewTab
9 years ago
Barış Soner Uşaklı
cf681721d5
responseJSON is undefined on 502
9 years ago
psychobunny
45bc387749
Revert "fixes #4289"
...
This reverts commit c2b428cc95
.
9 years ago
Julian Lam
c2b428cc95
fixes #4289
9 years ago
barisusakli
e6cf8ec5cf
more flagged posts shenanigans
9 years ago
barisusakli
f09ee86e42
closes #4113
9 years ago
barisusakli
694b96ea60
closes #4064
9 years ago
Julian Lam
b52475c270
Merge remote-tracking branch 'origin/master' into user-icons
...
Conflicts:
public/src/client/account/edit.js
src/middleware/middleware.js
src/socket.io/meta.js
src/socket.io/user/picture.js
src/user.js
src/views/admin/manage/group.tpl
9 years ago
barisusakli
d146bff2a1
send less data when leaving rooms
9 years ago
barisusakli
f2d6f931af
closes #3505
9 years ago
barisusakli
b556652582
fix chat redirect
9 years ago