Commit Graph

153 Commits

Author SHA1 Message Date
psychobunny
a6ff96c455 addressed issue #7 - removed unintentional flicker on page load 2013-06-24 14:59:59 -04:00
Baris Usakli
9309722898 fixed indents 2013-06-20 16:48:17 -04:00
psychobunny
2638c03752 added timeout to address bar hiding (as per the official way of accomplishing this task ) 2013-06-05 17:14:10 -04:00
psychobunny
5bb9933f4a added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars 2013-06-05 17:00:58 -04:00
Julian Lam
89d484c4ca removing old post_window (!!) and fixing default focus when the composer is loaded 2013-06-05 10:25:29 -04:00
psychobunny
d4e4d17c5c prevent ajaxify from working on links with "target" set. added rss button as well as social icons to category listing. 2013-06-04 13:40:38 -04:00
psychobunny
34131ad46c modified exec_body_scripts to load external scripts. finally moved all the js files out of tpls into their own js
todo: still need to organize the individual scripts client side,
2013-05-29 12:17:44 -04:00
Baris Usakli
58d12c9c7c possible fix to post window opening on page load 2013-05-23 12:10:57 -04:00
Julian Lam
624ccc592c resolving issue where the post window stays open during navigation
- app.close_post_window now neatly closes the post window
2013-05-21 20:20:54 -04:00
psychobunny
ab492f147f check for online/offline users, added custom redis sismembers method, fix for category view not showing up if it has no topics 2013-05-21 17:02:04 -04:00
psychobunny
fb52dfc6c8 templates refactor part 2
updated so that tpls get loaded on demand as opposed to all at once on
load; added a function to pull the tpl list on load instead of having to
manually define new templates in code; some clean up; added utils.walk;
2013-05-17 15:20:08 -04:00
psychobunny
1cdbd376ba deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to temasd
deprecated server side templates finally. code sharing between client
side and server side templates; force_refresh parameter added to
templates config.json; created initialization fn for webserver
2013-05-17 13:36:44 -04:00
psychobunny
88de8cd824 fixed an issue in bootstrap.js causing ctrl-click to not work. removed ctrl-click / middle click simulation code in ajaxify. am currently using unminified bootstrap TODO minifiy fixed version; 2013-05-16 12:27:50 -04:00
Julian Lam
5e9340a4fe fixing ajaxify bug where external links (and the logout link!) did not
work -- basically any link that wasn't a template didn't work
2013-05-15 17:51:15 -04:00
Julian Lam
6c82ffa09a fixed bug where middle-click didn't work on firefox. Now ajaxify is capturing both onclick and mouseup 2013-05-15 12:46:39 -04:00
Julian Lam
1d78c6a35d removing debug statements from ajaxify
building in middle click and ctrl-click listeners for new tab opening
instructing git to ignore everything in the /uploads folder
2013-05-15 12:04:30 -04:00
Julian Lam
e4364b5362 pushing fix to ajaxify where the homepage did not get added to the history (and thus was unreachable via history action 2013-05-15 11:34:05 -04:00
Julian Lam
613b53ac3d removing console logs 2013-05-14 12:20:33 -04:00
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