405 Commits (f33a9185ff4719330cce8aa89db843434617433e)

Author SHA1 Message Date
Peter Jaszkowiak 3d6bfa47c5 ESlint no-useless-return 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 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
Julian Lam 97dd5500a1 Merge remote-tracking branch 'origin/master' into user-icons 10 years ago
barisusakli 22d6742422 closes #3569 10 years ago
Julian Lam c2da45c2f0 user profile changing logic 10 years ago
barisusakli 9361ff0772 closes #3587 10 years ago
barisusakli 95b709c806 dont crash if data.responseJSON doesnt exist 10 years ago
barisusakli c3719ea5b5 closes #3519 10 years ago
barisusakli 9d4d904479 404 fix 10 years ago
barisusakli 48512bff6b get rid of app.exposeConfigToTemplates 10 years ago
barisusakli 0be3bd1893 removed ajaxify.variables 10 years ago
barisusakli eaefd9d24c remove meta/title.js and meta.title.build #3481 10 years ago
barisusakli 5e3e1f8781 #3430 10 years ago
barisusakli 9e1d5c8113 closes #3424 10 years ago
barisusakli 5a15ee7713 #3424 10 years ago
Julian Lam 93007bc34f fixed regression of pagination caused by changes to ajaxification logic 10 years ago
Julian Lam 7e6703c18e more line ending conversion #3343 10 years ago
Julian Lam 957766c1d7 fixed #3272 10 years ago
Julian Lam fdefff3516 fixes #3338 10 years ago
barisusakli 1413fc1b1a closes #3340 10 years ago
Julian Lam 22251cb0bd fixed #3341, introduced new navigation data property, "targetBlank", deprecated "target", which was never exposed anyway, and updated default values 10 years ago
Julian Lam 4b9eab6dc0 fixes #3329 10 years ago
Julian Lam 2c62bafdc7 fixed ajaxify for pagination blocks 10 years ago
Julian Lam d712dcdce1 fixed issue where ajaxify couldn't handle urls with "#" href if the currently address already had a hash value present. 10 years ago
Julian Lam 2cb70ceccc added auto-ajaxify on reconnect 😎 10 years ago
Julian Lam f9a29186c4 updated ajaxify 5xx handling code to work even if nginx is used as a proxy (as it serves back 502, not 500) 10 years ago
barisusakli ffd22f50ff closes #1999 10 years ago
barisusakli 1d72a8f0ee fix composer redirect on home page 10 years ago
barisusakli 6d0d74a6e9 moved topic search end to topics.js 10 years ago
barisusakli 3a36ae5c13 wait for loadScript & widgets.render to emit action:ajaxify.end 10 years ago
Julian Lam f6181e6481 fixes #3148 10 years ago
psychobunny a88ad903af action:ajaxify.dataLoaded 10 years ago
Barış Soner Uşaklı b08774763a added tpl to ajaxify.content-loaded 10 years ago
Julian Lam 5a0ea28633 better fix for #3040 10 years ago
Julian Lam e309a188c3 fixed issue in ajaxify.go where search module was not properly required 10 years ago
Julian Lam 821c9f12d6 updated scrollToPost behaviour to no longer ajaxify loudly. Also updated call to checkPagePresence to fire before the topicDOM events begin, so if an in-topic search is conducted on a different topic from the current topic, the topicDOM behaviour continues. closes #3040 10 years ago
Julian Lam 1c36fbd57b fixed #3034 10 years ago
psychobunny 13b4e446bf closes #2984 10 years ago
Barış Soner Uşaklı 7abbbbfccf closes #2946 10 years ago
barisusakli f96f6d9e2e shorter 10 years ago
Barış Soner Uşaklı 925b12ca22 startsWith 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
Julian Lam e340b9fffe fixed save/delete/purge in category ACP, #2463 10 years ago
Barış Soner Uşaklı 027f9e5a83 dont need start time anymore 10 years ago
psychobunny bc056f0724 can remove this line as well 10 years ago
psychobunny 5d7ce0011a no need for setTimeout in ajaxify 10 years ago
psychobunny 3ed3612047 file upload with spaces / general file upload fix wrt ajaxiy 10 years ago
Julian Lam 406126536a missing semicolon 10 years ago
Julian Lam 9fc97ce92d fixing handleACPRedirect on subfolder installs 10 years ago
barisusakli c448c8cc8c closes #2864 10 years ago