Commit Graph

220 Commits

Author SHA1 Message Date
psychobunny
3947b6b6fd modified ajaxify slightly to make transitions between pages a bit more fluid (although first load doesn't look that awesome); fixed up rooms - resolved DRY failure and properly leave rooms 2013-05-05 20:10:26 +00:00
psychobunny
8133ac53de small change to ajaxify to ignore href='#', added some design to future features, up for grabs if anybody wants to do them 2013-05-05 19:03:13 +00:00
psychobunny
5aa3dab289 added popstate check to trigger ajaxify on back button keypress. forward button doesn't work yet 2013-05-04 07:17:05 +00:00
psychobunny
3e96f64191 streaming posts. also moved topics to be entirely client side parsed. made some changes. added block level caching to templates. added a prepare method to templates 2013-05-03 21:19:28 +00:00
psychobunny
bcb672e1fe socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled 2013-05-03 19:31:21 +00:00
psychobunny
9119a9d104 small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now 2013-05-01 22:19:54 +00:00
psychobunny
b2bc967e9b got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls 2013-05-01 21:26:47 +00:00
psychobunny
98ca14e31c started working on threadss, implemented slug url, fixed crashing bug during post creation 2013-04-25 21:55:11 +00:00
psychobunny
e5a6d1bf8b added a way to track socket listners added to the page to prevent memory leaks and duplicated definitions of events 2013-04-25 19:35:14 +00:00
psychobunny
faa3924734 prevent scripts in tpls from being executed more than once 2013-04-25 19:24:49 +00:00
psychobunny
5173498180 client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness 2013-04-25 19:13:23 +00:00
Julian Lam
8e49e0f203 fixing event propagation in ajaxify.go 2013-04-23 17:17:47 -04:00
psychobunny
a06b3519a1 moved event alert to serverside, now node controls the registration alert. added some transition animation to page changes 2013-04-23 20:17:12 +00:00
psychobunny
67bf1b6041 updated ajaxify to do a callback after page change, added toaster style notifications (app.alert), changes to webserver to update automatically 2013-04-23 19:38:48 +00:00
Julian Lam
96a4cbd8d1 fixed menu "active" state 2013-04-23 10:16:16 -04:00
Julian Lam
3c04a71b08 renaming functions so that they're less derpy (from enable/enableAll to
enable/onclick)
2013-04-23 09:54:31 -04:00
Julian Lam
2b4e562e21 committed fix to ajaxify that caused any newly appended anchors to not be
ajaxified, also tweaked ajaxify so that it only unbinds its own events
instead of clobbering any other events attached to anchors (#futureproof)
2013-04-23 09:51:54 -04:00
psychobunny
fd9cb2eaf7 ajaxify.go(relative_url); - use this to navigate to a page manually 2013-04-22 22:19:16 +00:00
psychobunny
be954d176d prevent same state from loading again 2013-04-22 19:27:56 +00:00
psychobunny
1d35f369d9 clean up client side + config.json 2013-04-22 19:13:39 +00:00