Commit Graph

72 Commits

Author SHA1 Message Date
Baris Usakli
4207792ffd added app alert if template data cant be loaded 2013-09-30 15:12:14 -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
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
psychobunny
b5274a0d91 init 2013-09-20 14:35:32 -04:00
psychobunny
dc41c6bc0d formatting - core client side 2013-09-17 13:04:40 -04:00
psychobunny
c16c4aac44 console.log 2013-09-09 14:17:11 -04:00
Julian Lam
1758c3e3f2 fix for admin templates 2013-09-07 11:51:37 -04:00
Julian Lam
bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed #263, fixed #264, fixed #265
2013-09-07 10:40:20 -04:00
Baris Usakli
c70c67394a closes #171 2013-08-19 13:31:04 -04:00
psychobunny
6f6a2e4127 closes #114. updated ajaxify to allow for get parameters to be passed in without issues. 2013-07-23 15:06:31 +08:00
Julian Lam
145898c3ba using nconf to manage config file now (issue #24) 2013-07-16 15:22:59 -04:00
Baris Soner Usakli
de55a35684 more fixes for relative paths 2013-07-11 15:50:19 -04:00
Baris Soner Usakli
d7597608d5 fixed login register logout 2013-07-10 21:31:58 -04:00
Baris Soner Usakli
43e73e3aba url fixes for templates 2013-07-10 18:42:38 -04:00
Baris Usakli
6eb9af77e6 first pass at subfolder 2013-07-10 16:22:03 -04:00
Julian Lam
6ac2564bad Merge branch 'master' of github.com:psychobunny/node-forum 2013-07-05 16:21:06 -04:00
Julian Lam
5eda18e03c fixing issue with routes that don't have (or need) a corresponding api_method case from crashing due to 404. (issue #53) 2013-07-05 16:17:13 -04:00
Baris Soner Usakli
6a4dcc75c2 changes to user routes to return null 2013-07-05 16:16:03 -04:00
psychobunny
f732ab4d5a fixed another issues in templates.js causing grief in topics admin view 2013-06-24 13:51:13 -04:00
Julian Lam
c34f4e451a Merge branch 'master' of github.com:psychobunny/node-forum 2013-06-24 13:32:39 -04:00
Julian Lam
39aac31092 minor fix to template rendering 2013-06-24 13:32:36 -04:00
psychobunny
8383874304 closes issue #15 - fixed some issues in templates.js 2013-06-24 13:30:33 -04:00
Baris Usakli
6ec23f86e6 removed commented out line in templates.js 2013-06-20 16:05:53 -04:00
Baris Usakli
cef77c2fd8 changed res.send(JSON.stringify()); to res.json(). closes #25 2013-06-20 15:08:33 -04:00
Julian Lam
417034b60a adding int support in template types too, just for kicks 2013-06-17 14:00:39 -04:00
Julian Lam
51a941b6d5 tweaking templates code to accept a template-type attribute (for boolean purposes 2013-06-17 13:59:16 -04:00
psychobunny
d5f3f3d9fb fixed serverside templates.js bug that prevented blocks from being defined 2013-06-11 14:52:21 -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
psychobunny
d36a81966a use ajaxify to load 404 (prevents weird refreshing bug); part 1 of client side refactor: moving all template javascript vars into dom;
templates.get, templates.set for dynamic variables populated via tpls
2013-05-24 23:02:21 -04:00
psychobunny
17cde19020 potential fix for templates bug 2013-05-22 15:34:51 -04:00
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
psychobunny
e583c5ffc2 console.log 2013-05-16 13:14:29 -04:00
Baris Usakli
34432773d6 fix crash when you go to /topics/nonexistant 2013-05-16 12:13:39 -04:00
Baris Usakli
58aa0ee647 friends 2013-05-15 13:57:13 -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
c351d83418 added popstate functionality 2013-05-14 12:04:38 -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
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
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