Commit Graph

5262 Commits

Author SHA1 Message Date
psychobunny
47d491b266 some left over unfinished templates fixes from last week. deeper urls now take higher precedence. 2013-05-21 10:57:45 -04:00
psychobunny
19cfef9570 fixed /recent /popular /active /users/name 2013-05-17 15:34:17 -04:00
psychobunny
cb6d98cecb derp conflicts
Merge branch 'master' of https://github.com/psychobunny/NodeBB

Conflicts:
	public/src/templates.js
2013-05-17 15:26:46 -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
Baris Usakli
d8489e2c66 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2013-05-17 14:22:39 -04:00
Baris Usakli
dfdbc3bea2 admin/redis page 2013-05-17 14:22:34 -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
Baris Usakli
37b5680db0 fixed admin page loading 2013-05-17 12:42:20 -04:00
Baris Usakli
c8b8899219 while you are editing a post you still need to write something dude 2013-05-17 11:07:37 -04:00
Baris Usakli
c2c4c003ab if the user updates their email change the email uid mapping, added 500ms delay to the disconnect modal 2013-05-17 10:57:26 -04:00
Baris Usakli
5c2efafa0b disconnect modal 2013-05-16 16:28:44 -04:00
Baris Usakli
0e39acb366 moved addCommas to app, using addCommas in topic.tpl 2013-05-16 15:45:32 -04:00
Baris Usakli
aac8182a1d dont allow empty or short post title and body 2013-05-16 14:38:22 -04:00
psychobunny
e583c5ffc2 console.log 2013-05-16 13:14:29 -04:00
psychobunny
a663f4e835 Merge branch 'master' of https://github.com/psychobunny/NodeBB 2013-05-16 12:27:57 -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
Baris Usakli
34432773d6 fix crash when you go to /topics/nonexistant 2013-05-16 12:13:39 -04:00
Baris Usakli
9d5f6364ad removed console.logs 2013-05-16 11:53:27 -04:00
Julian Lam
826edbd669 added linking to formatting opts in editor 2013-05-16 10:37:17 -04:00
Julian Lam
dcbc93cacf fixing up formatting bar to not be highlightable (and not have an outline
when the span is focused on), also tweaked the formatting options to
behave a little more smartly when text is currently highlighted when it is
invoked.
2013-05-15 21:32:56 -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
Baris Usakli
b949105142 Merge branch 'master' of https://github.com/psychobunny/NodeBB 2013-05-15 15:40:23 -04:00
Baris Usakli
ecc621e0c1 disconnect event 2013-05-15 15:40:17 -04:00
Julian Lam
e31f6af774 Merge branch 'master' of github.com:psychobunny/node-forum 2013-05-15 15:39:35 -04:00
Julian Lam
b0cf97c5d6 editing features, part 1 2013-05-15 15:39:29 -04:00
Baris Usakli
58aa0ee647 friends 2013-05-15 13:57:13 -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
3eff46bb52 restricting posting by anons, redirects to login page and saves post to localstorage 2013-05-14 17:19:22 -04:00
psychobunny
3fa0f7c8b5 fixed three bugs in templates: 1) if you're sending in null as a value it should now correctly replace that field as ''. 2) you don't need to put objects last in data anymore (stupid bug) 3) you can now send multiple objects to be parsed in templates properly; Also added deprecation message to server side templates 2013-05-14 17:36:12 +00: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
Baris Soner Usakli
0aeeac9d61 image upload and changing images will clean up later andrew stayla 2013-05-11 21:55:14 -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
Julian Lam
e9a552eab4 editing of posts 2013-05-09 10:20:25 -04:00
psychobunny
a4e8f9e706 cleaned up webserver a bit, moved over authentication stuff into its own file, got rid of unused routes, user routes still need to be moved out but am waiting for baris to finish 2013-05-09 06:26:32 +00:00
psychobunny
d77ab9048d removed logs 2013-05-09 04:18:59 +00:00
psychobunny
09c9d0ee1f fixed topics bug that was prevent /latest /popular /active and subsequently the admin versions of those routes from working. removed debug statements. added admin socket room. added dynamic updating of active users on acp index 2013-05-09 04:11:16 +00:00
psychobunny
30323fa29f Merge branch 'master' of https://github.com/psychobunny/NodeBB 2013-05-09 03:33:58 +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
Julian Lam
2acd40a8bb fixing up the post window to extend the body when opened, so it doesn't clip stuff 2013-05-08 16:05:54 -04: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
baecab84de added code to remove fields that are not passed in for templates 2013-05-08 16:57:01 +00:00
psychobunny
31e845f4b0 added regex matching to templates/ajaxify. needs cleanup, just unblocking baris 2013-05-08 16:33:29 +00:00
Baris Usakli
36e7baa84d userS 2013-05-08 11:48:21 -04:00
Julian Lam
4dced643c5 tweaking app.alert so that on regular fadeout (after timeout expiry), the alert is removed from the DOM 2013-05-08 10:58:27 -04:00
Baris Soner Usakli
781c99295c fix so templates load when custom_tpl is 'undefined' 2013-05-07 18:35:22 -04:00
psychobunny
e061fe061b added custom routing from server side, started moving hardcoded scripts into create_route 2013-05-07 21:29:28 +00:00