Commit Graph

220 Commits

Author SHA1 Message Date
psychobunny
1e47953efd expanding hash regex to alphanumeric 2014-02-17 23:58:47 -05:00
Baris Soner Usakli
21367a1847 reverse infinite loading 2014-02-17 20:57:12 -05:00
psychobunny
a53c35f071 added back 'body' trigger - to be deprecated in 0.4x 2014-02-02 15:11:33 -05:00
psychobunny
3955ca560f changed hook triggers to window from body 2014-02-02 15:10:44 -05:00
Baris Soner Usakli
d0702f663b disable scroll events on ajaxify' 2014-01-29 15:19:54 -05:00
Julian Lam
3f876fec80 added ajaxify.start and ajaxify.end client-side hooks 2014-01-29 14:29:45 -05:00
Baris Soner Usakli
5759b1b1a2 closes #857 2014-01-27 19:58:03 -05:00
Julian Lam
ab85ef6b7b fixed issue where back button stopped ajaxifying internally. 2014-01-24 12:29:11 -05:00
Julian Lam
459d5ddccd fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load 2014-01-24 10:09:28 -05:00
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. 2014-01-24 09:48:41 -05:00
Julian Lam
ef450edfea Revert "possible fix to #840", please see #867
This reverts commit 1d666bf7f0.
2014-01-24 08:48:40 -05:00
Baris Soner Usakli
1d666bf7f0 possible fix to #840 2014-01-23 22:45:11 -05:00
Baris Soner Usakli
cd4cb240c8 upload file icon in composer was visible even when uploads were disabled 2014-01-15 02:33:20 -05:00
Julian Lam
127261100e fixed #698 - ajaxify.go will now cancel any active API requests when it is called 2014-01-08 14:53:32 -05:00
psychobunny
0e5358a701 closes #698 2014-01-05 23:09:28 -05:00
Julian Lam
d86aefb518 removing defunct "template" argument in ajaxify.go 2013-12-17 21:53:50 -05:00
psychobunny
67e49db797 ajaxify.refresh(); removed console.log 2013-12-07 16:40:14 -05:00
psychobunny
4348e1efa4 use ajaxify.currentPage to find the user's location easily 2013-12-07 16:33:42 -05:00
psychobunny
ca087e6fa7 fixes #576 2013-12-07 16:27:22 -05:00
psychobunny
98cf6eec71 shift clicking now opens links in a new window, closes #630 2013-12-07 16:18:07 -05:00
Julian Lam
b81737bc0f moved refreshTitle into app.js, messaging someone now invokes an alternating title, hehe 2013-12-05 23:24:47 -05:00
Julian Lam
b9f1176ec1 moved paginator progress bar into paginator block, better mobile handling, and hiding it on page load 2013-11-30 21:36:35 -05:00
Julian Lam
e5c1edd5f5 using ajaxifying class for content and footer instead of jquery fadein/out 2013-11-26 12:25:19 -05:00
Julian Lam
0b39968a9c fixing back button behaviour and playing nice with History API 2013-11-25 15:56:16 -05:00
psychobunny
3dbcf8112d fixes navigation - back button 2013-11-25 00:59:21 -05:00
Baris Soner Usakli
2174aec0e1 closes #542 and other refactors on client side 2013-11-23 17:07:31 -05:00
Julian Lam
a9ce8393e4 added footer.build and page.load hooks 2013-11-21 15:05:45 -05:00
Julian Lam
2cf55dcf9f added action:page.load hook 2013-11-21 12:28:10 -05:00
Baris Usakli
4da819b02b changesto category.tpl 2013-11-04 15:01:01 -05:00
Baris Usakli
12f3f1a45c show admin link in header if user is admin, closes #459 2013-10-28 15:49:12 -04:00
psychobunny
37450ff00c optimized ajaxify to only recurse through script tags; updated so it looks deeper for embedded scripts (ie. within plugin subtemplates) 2013-10-14 14:26:20 -04:00
psychobunny
338acb8fc2 added a way to disable ajaxify on links manually if needed. 2013-10-12 17:43:29 -04:00
Andrew Darqui
4b0e915698 just changed the 403/404 checking logic to use regex. 2013-10-06 04:32:03 -04:00
Andrew Darqui
ef47f3fd15 if nodebb returns 403/404, don't overwrite previousUrl. If you don't do this, when logging in after a 403/404, it will redirect you to the 403/404 page. 2013-10-06 04:17:06 -04:00
Julian Lam
0e18ec022c not running init() if there is no init method in each template script 2013-10-03 15:51:48 -04:00
Julian Lam
038e04dee6 revamped client side scripts so that they are loaded using Require.js instead. 2013-10-03 15:04:25 -04:00
psychobunny
22c73f3c12 closes #345 2013-10-01 12:08:05 -04:00
Julian Lam
f08067bab2 fixes #356 - issue where accessing a NodeBB using a different machine name
from one that it was set up with causing template data to not load, as it
was being accessed via absolute url, instead of relative url
2013-09-29 13:47:27 -04:00
Baris Usakli
f2c1a92513 closes #215 2013-09-25 13:08:11 -04:00
Julian Lam
49e28f9d1e fixing bug where outgoing links didn't actually let you leave... oops! 2013-09-25 11:25:48 -04:00
Baris Usakli
4a7cd664fd fixed a bug in template parsing 2013-09-24 16:46:45 -04:00
psychobunny
1fbc038e64 fixed conflicts, added new language key for users/online 2013-09-24 15:15:39 -04:00
Julian Lam
964fbfe2bb fixes to get nodebb to at least load on IE 2013-09-24 13:30:54 -04:00
Julian Lam
0d9958afe7 HOTFIX for scripts 2013-09-24 13:01:18 -04:00
Julian Lam
6fd202fe36 closed #321, removed cheerio use altogether, and made changes to the
client side to ajaxify the user to /outgoing when an external link is
clicked
2013-09-22 15:27:10 -04:00
psychobunny
451ffafb9e finished initial client side & server side language parsing methods; integrated preloading into ajaxify and server app.js 2013-09-20 16:01:52 -04:00
psychobunny
dc41c6bc0d formatting - core client side 2013-09-17 13:04:40 -04:00
psychobunny
abd909d23b pagination - scroll to top / bottom arrows 2013-09-04 04:50:51 +08:00
psychobunny
7666ed3010 fixed two bugs in admin, meta.buildTitle errors out because no notification icon is present; pagination element missing
& final less cleanup for today
2013-08-28 02:32:38 +08:00
psychobunny
2098bf84a1 finished pagination for topic view 2013-08-28 01:23:19 +08:00