428 Commits (9a9250338a5e9ea1596c32c8e3c18e625994845a)

Author SHA1 Message Date
Barış Soner Uşaklı b74fe98dc4 closes #6031 7 years ago
Peter Jaszkowiak dc87d7fc0f Use .js instead of .jst
Fix #5934
7 years ago
Peter Jaszkowiak dc3f89a505 ajaxify t.js usage to Benchpress 8 years ago
Peter Jaszkowiak abffc29128 Use Benchpress (#5901)
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
8 years ago
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
8 years ago
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 6cb8440715 Fix #5793
Use a custom header instead
8 years ago
psychobunny 179b11b7d2 ACP allow ctrl-click to open new in new tab when settings are unsaved 8 years ago
barisusakli bb146e049c fix lint 8 years ago
psychobunny f2eb4b8083 closes #5439 8 years ago
barisusakli 8a123f7c1c closes #5509 8 years ago
barisusakli 69c6ee5834 closes #5483 8 years ago
Peter Jaszkowiak b227297ef3 ESlint no-use-before-define 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 8 years ago
Peter Jaszkowiak 144fa8698c Eslint no-lonely-if 8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
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