Commit Graph

135 Commits

Author SHA1 Message Date
Julian Lam
c351d83418 added popstate functionality 2013-05-14 12:04:38 -04:00
psychobunny
42b4f90fed bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better 2013-05-09 19:23:46 +00:00
psychobunny
88f64b4a79 optimized the transition between pages just a bit 2013-05-09 15:39:52 +00:00
psychobunny
f3f08a9c94 more fixes to ajaxify, updated /users blocks to sit flush to the left, started work on the ACP including basic templates, added a method to get active users in all rooms (socket connections), added more routes mostly pointing to admin, added a routing folder to start organizing routes better, starting with admin. 2013-05-09 03:33:53 +00:00
psychobunny
8e1ee88878 removed derpy + from header ill come back to that later when im more inspired... fixed ajaxify for custom routed urls, fixed recent/popular/active tab's invalid object initializer 2013-05-08 17:28:22 +00:00
psychobunny
31e845f4b0 added regex matching to templates/ajaxify. needs cleanup, just unblocking baris 2013-05-08 16:33:29 +00:00
psychobunny
09c6aace09 custom template half in 2013-05-07 21:17:22 +00:00
Julian Lam
7ed2413d96 Merge remote-tracking branch 'origin' into thread_options
added some styling and elements to thread deletion

Conflicts:
	public/src/ajaxify.js
2013-05-07 13:24:46 -04:00
psychobunny
4b32089367 temporary fix for templates loading twice 2013-05-07 17:15:42 +00:00
psychobunny
6ebc5398a7 fixed custom_mapping bug 2013-05-07 17:08:44 +00:00
Julian Lam
7bbc630dfb Merge remote-tracking branch 'origin' into thread_options
Conflicts:
	public/src/templates.js
2013-05-07 12:56:21 -04:00
psychobunny
5153aa7652 added template mapping, did users->account 2013-05-07 16:12:26 +00:00
Julian Lam
b2c6d4f7c7 interim commit to thread options 2013-05-07 09:21:46 -04:00
psychobunny
178bc82a55 removed deprecated functions from topics.js (server side parsing) and fixed the 150ms initial delay on first load 2013-05-06 20:23:38 +00:00
psychobunny
8a2c18de5b fixed ajaxify bug that was rendering pages twice (solved flicker issue); fixed entering rooms that was casuing rep/streaming posts to not work; fixed /accounts to work by adding get data route; fixed bug that preventing gravatars from loading if there was more than one post in the thread 2013-05-06 03:41:22 +00:00
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