353 Commits (2ba46808a181d34ae1c242cfaa1f88438c15bdf6)

Author SHA1 Message Date
barisusakli ca31ac882c added return true/false 10 years ago
Julian Lam 40763d2ae7 #2849 again 10 years ago
Julian Lam 57a64870fd actually fixing #2849 10 years ago
Barış Soner Uşaklı 53e0615df7 removed path use external 10 years ago
Barış Soner Uşaklı 4d45a81fdb closes #2383 10 years ago
psychobunny e47c375e69 closes #1642 10 years ago
barisusakli e5dc408ef5 change current page after ajaxify:start event 10 years ago
barisusakli f87f797bed dont keep window.location.search on regular ajaxify 10 years ago
barisusakli 289474edf7 closes #2827 10 years ago
barisusakli 63a6702285 removed whitespace 10 years ago
barisusakli 23a6b33f64 not used 10 years ago
barisusakli 2a8437f08f removed templates config and mapping 🐑 10 years ago
Julian Lam 00f3084b8e closes #2792, closes #2791, closes #2788, closes #2787, closes #2786, closes #2785, closes #2784, closes #2783
Squashed commit of the following:

commit ca5064a4effa3904ce936b521b169bba8d24f1a1
Author: Julian Lam <[email protected]>
Date:   Thu Feb 26 08:19:32 2015 -0500

    Revert "added ajaxify popstate cache, so back/forward will just put back the already loaded page"

    This reverts commit 77d154bb8b.

commit ae07fc56c156074de8048bb627f5d9be849c8ad1
Author: Julian Lam <[email protected]>
Date:   Thu Feb 26 08:19:24 2015 -0500

    Revert "on click, topics are marked read from the unread page. Also fixed an issue where isPopState kept getting set to true, causing issues"

    This reverts commit d8c9ec0d40.

    Conflicts:
    	public/src/client/unread.js

commit 96ee3631d7e4e1fc2c1b7632d86684fecd1e430f
Author: Julian Lam <[email protected]>
Date:   Thu Feb 26 08:18:25 2015 -0500

    Revert "actually fixed isPopState error"

    This reverts commit e6701c5a1f.
10 years ago
psychobunny 26245133f3 linted client-side core modules 10 years ago
Julian Lam e6701c5a1f actually fixed isPopState error 10 years ago
Julian Lam d8c9ec0d40 on click, topics are marked read from the unread page. Also fixed an issue where isPopState kept getting set to true, causing issues 10 years ago
Julian Lam 77d154bb8b added ajaxify popstate cache, so back/forward will just put back the already loaded page 10 years ago
Julian Lam 8a581ed1dd fixes #2711 :rage2: 10 years ago
Julian Lam 57d45518bd added a preventDefault when href="#" or data-ajaxify="false", so page doesn't send user back to top (which is kind of annoying), but not sure if this may introduce side-effects. @barisusakli @psychobunny 10 years ago
barisusakli 200f74f1c7 closes #2592 10 years ago
barisusakli bbfec7d443 fix post index parse 10 years ago
barisusakli 08c1dad3ee topics.isFollowing works with multiple tids now 10 years ago
psychobunny a7d73d4106 fixes adding new routes to user/xxx/route 10 years ago
psychobunny 5ee0ed401f fixed ajaxify's redirecting to external URLs.. well fixed redirecting in general 10 years ago
Julian Lam b278f27ffe partial fix to #2509 10 years ago
barisusakli ddd6ed9e8c #2477 403 page 10 years ago
barisusakli be11577aa4 closes #2477 10 years ago
barisusakli 47c1092842 moved registerLoader/refresh to top 10 years ago
barisusakli 776fb29dce removed preloader leftovers 10 years ago
psychobunny 45affa3043 closes #2399 10 years ago
barisusakli 7a51520074 #2393 10 years ago
barisusakli 0ede4abe18 possible fix for #1848 10 years ago
barisusakli 7de9b998b5 fix typo in ajaxify, closes #2279 10 years ago
psychobunny ed60deb3f5 fixed ACP from previous commit 10 years ago
barisusakli 43806e5921 replay ie host fix
https://github.com/NodeBB/NodeBB/pull/2216
10 years ago
Julian Lam dedf7a6715 closed #2087 11 years ago
psychobunny 15052143d3 that preloader, will blow up your datacenter. 11 years ago
barisusakli 0dc780148a removed global room
socket.io already puts everyone into a room named ''
11 years ago
Julian Lam 063a4e5628 finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed #1800 11 years ago
Julian Lam 347d7de25b an ajaxify.go 302 will pass callback and quiet arguments along as well now 11 years ago
Julian Lam e497290dbc removed commented-out code 11 years ago
Julian Lam fcbdc5e271 added recompilation of templates to NodeBB Reloading - #2010 11 years ago
Julian Lam 5936c72f96 further fix to #1957 11 years ago
barisusakli 53d20cf058 parse variables before rendering widgets 11 years ago
psychobunny 193832ea9b closes #1957 11 years ago
psychobunny a880ac6e9f do one api call for template configs rather than two on cold load 11 years ago
barisusakli 4fd2973c53 closes #1938 11 years ago
barisusakli e0be4d146f closes #1913 11 years ago
barisusakli 8146358aac closes #1905
fixed translator.load, it wasn't passing in language and was trying to
load undefined.json
11 years ago
barisusakli 093e373025 removed console.log 11 years ago
barisusakli 2d94df93b8 isArray is enough 11 years ago
psychobunny 67c5477fb2 testing transition speed change without waiting for widgets to render 11 years ago
psychobunny 310dbc754e closes #1839 11 years ago
psychobunny 224dd49102 no need to delay prefetcher anymore 11 years ago
psychobunny 829dcb134e logic fail, time for coffee 11 years ago
psychobunny e382e34656 unnecessary brackets 11 years ago
psychobunny 2851a9a96b don't ajaxify in until animation is completed; reduced minimum wait duration for preloader 11 years ago
barisusakli 9aeab08109 removed stop 11 years ago
barisusakli 93a6402879 removed stop increase timeout to 100ms 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
Julian Lam 186473fa7b adding undefined check to hrefEmpty 11 years ago
frissdiegurke 2d9bc7eee7 fixed no href-attribute handled as external link 11 years ago
barisusakli 501c81e357 closes #1687 11 years ago
barisusakli aadca3a675 fix calls to removeRelativePath in ajaxify.js 11 years ago
barisusakli db84ced78f removeRelativePath public 11 years ago
Charles 9734403114 Fix removeRelativePath
Instead of checking the existence of relative_path (without /) anywhere on the url, it really should check that the url only starts with the relative_path.

Example

```
relative_path = /forum
without / = forum
url = /category/forum/5
removeRelativePath = ory/forum/5
```
11 years ago
barisusakli b2e48b21a2 pass url to onAjaxError 11 years ago
psychobunny b881131a65 fixes #1632 11 years ago
psychobunny 0816928949 unset preloader cache after loading url 11 years ago
psychobunny 09c632330b render widgets sooner 11 years ago
psychobunny bfcd13144e Merge branch 'master' of https://github.com/NodeBB/NodeBB 11 years ago
psychobunny 4ee055c3ea closes #1608 11 years ago
barisusakli e035d8f1de closes #1497
fixes user images in subfolder installs, if user image has https dont
append relative_path,
also removes relative_path in ajaxify.loadData so it doesnt call
/forum/api/forum/category etc.
11 years ago
psychobunny 5b17f9a7a4 added caching per url + rate limiting mechanism to prefetcher, closes #1576 11 years ago
psychobunny 1e05a92c1e no need to send prefetched state anymor 11 years ago
psychobunny 71214c6255 fixed preloader 11 years ago
psychobunny fee591e551 fixes #1587 11 years ago
psychobunny 1fecbd0b90 fixed function signature for ajaxify.loadData 11 years ago
Julian Lam 667a78902e closed #1586 11 years ago
psychobunny bf63c927c6 trigger ajaxify.loadingData regardless of cached state 11 years ago
psychobunny 7f011fe583 calling it ajaxify.preloader instead 11 years ago
psychobunny d5bf83f43f closes #1570 11 years ago
psychobunny 10716c37d3 closes #1376 11 years ago
Julian Lam b56df975e0 fixed 1495 11 years ago
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
11 years ago
psychobunny 111898ab0f closes #1467 11 years ago
psychobunny a14ce9d0c6 closes #1352 11 years ago
barisusakli c8efeb7d7c closes #1400, bunch of other fixes to 404, 403 in accounts 11 years ago
barisusakli 80ef7e5085 closes #1423 11 years ago
psychobunny 090c4e2aa9 action:ajaxify.contentLoaded - after #content is populated but before fade in animation - append elements to DOM at this stage. 11 years ago
psychobunny f3993aca4d closes #1397 11 years ago
Julian Lam 126260a027 added cache-buster to template xhr urls -- closed #1392 11 years ago
barisusakli 3e60451ce4 closes #1013
lets user change languages,
11 years ago
psychobunny 591fb41c08 removed unused content variable 11 years ago
psychobunny f01cb88c57 deprecated: plugins/fireHook, filter:server.create_routes, filter:admin.create_routes 11 years ago
psychobunny d27eb17b32 fixes #1294 11 years ago
psychobunny b023ef01af moving widgets and variables code out of ajaxify 11 years ago
psychobunny 1b206a6ae8 ajaxify cleanup 11 years ago
psychobunny 7e11d29f06 got rid of all templates.prepare; pull blocks using templates.getBlock instead of parsing twice 11 years ago
psychobunny 113eb38f9a moving ajaxify-related things out of templates and into ajaxify 11 years ago
barisusakli d2af4a6b69 user images wont be responsive in widgets 11 years ago
psychobunny ef97f627f4 closes #1237 11 years ago
psychobunny 653007b72e closes #1231 11 years ago
psychobunny e60b2f7716 closes #1174 11 years ago
psychobunny 0d625761be fixing bug introduced @ da0355ef79 (multiple widget areas defined = explosion) 11 years ago
psychobunny bdc7a19bd7 don't attempt to parse a non-existing widget area 11 years ago
psychobunny da0355ef79 remove async dep for widgets (30kb was overkill for one use of async.each); linting 11 years ago
psychobunny 62afe65ccf bugfix + deprecated templates.getTemplateNameFromUrl 11 years ago
psychobunny 712c382a28 optimizing ajaxify (still needs work though) 11 years ago
psychobunny bcd8137d0e console.log 11 years ago
psychobunny 55a7838725 temporary templateMapping fix for admin side; will come back to this after merging this branch 11 years ago
psychobunny 88e5ddac76 deprecating hook events on body 11 years ago
psychobunny c67182204f clean-up + bugfixes 11 years ago
psychobunny c26af77a24 fixing cold load of admin/index 11 years ago
psychobunny b9264dea76 ajaxify.loadScript 11 years ago
psychobunny 6f21547a8d ajaxify.fadeIn, ajaxify.fadeOut 11 years ago
psychobunny 6827dbc9c4 render widgets on cold load 11 years ago
psychobunny 23c283f06c ajaxify.getTemplateMapping 11 years ago
psychobunny 49997639e9 moved widget rendering code into ajaxify.renderWidgets 11 years ago
Baris Soner Usakli 091723a8c5 closes #1101 11 years ago
Baris Soner Usakli c49c3e3550 fixed jquery ui package 11 years ago
akhoury 2209a55afc - changes per PR conversation 11 years ago
akhoury 1b207d8276 IE8 support, general cleanups, from native to $ objects ... 11 years ago
psychobunny a3191227de closes #1080 11 years ago
psychobunny ef65f510a5 fomatting 11 years ago
psychobunny 599027f2d3 send full url to widgets as well so they can parse based on path 11 years ago
psychobunny aea7329871 animate page load only after widgets load 11 years ago
psychobunny 163b0f964e Merge remote-tracking branch 'origin/master' into Widgets 11 years ago
psychobunny c0df95b2dc render widgets upon ajaxify - this widget feetorez iz completified! 11 years ago
Baris Soner Usakli ea222c4f8a crash fix for notifications, removed exec_body_script, closes #1058 11 years ago
psychobunny d69835e115 allow any hash to be pushed to history 11 years ago
psychobunny 1e47953efd expanding hash regex to alphanumeric 11 years ago
Baris Soner Usakli 21367a1847 reverse infinite loading 11 years ago
psychobunny a53c35f071 added back 'body' trigger - to be deprecated in 0.4x 11 years ago
psychobunny 3955ca560f changed hook triggers to window from body 11 years ago
Baris Soner Usakli d0702f663b disable scroll events on ajaxify' 11 years ago
Julian Lam 3f876fec80 added ajaxify.start and ajaxify.end client-side hooks 11 years ago
Baris Soner Usakli 5759b1b1a2 closes #857 11 years ago
Julian Lam ab85ef6b7b fixed issue where back button stopped ajaxifying internally. 11 years ago
Julian Lam 459d5ddccd fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load 11 years ago
Julian Lam b587d7b5ad fixed issue where calls to ajaxify.go were sending in a "template" argument that had since been removed, navigating back to NodeBB from an external link now no longer clobbers the History stack. 11 years ago
Julian Lam ef450edfea Revert "possible fix to #840", please see #867
This reverts commit 1d666bf7f0.
11 years ago
Baris Soner Usakli 1d666bf7f0 possible fix to #840 11 years ago
Baris Soner Usakli cd4cb240c8 upload file icon in composer was visible even when uploads were disabled 11 years ago
Julian Lam 127261100e fixed #698 - ajaxify.go will now cancel any active API requests when it is called 11 years ago
psychobunny 0e5358a701 closes #698 11 years ago
Julian Lam d86aefb518 removing defunct "template" argument in ajaxify.go 11 years ago
psychobunny 67e49db797 ajaxify.refresh(); removed console.log 11 years ago