Julian Lam
417034b60a
adding int support in template types too, just for kicks
12 years ago
Julian Lam
51a941b6d5
tweaking templates code to accept a template-type attribute (for boolean purposes
12 years ago
psychobunny
d5f3f3d9fb
fixed serverside templates.js bug that prevented blocks from being defined
12 years ago
psychobunny
5bb9933f4a
added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars
12 years ago
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
12 years ago
psychobunny
17cde19020
potential fix for templates bug
12 years ago
psychobunny
47d491b266
some left over unfinished templates fixes from last week. deeper urls now take higher precedence.
12 years ago
psychobunny
19cfef9570
fixed /recent /popular /active /users/name
12 years ago
psychobunny
cb6d98cecb
derp conflicts
...
Merge branch 'master' of https://github.com/psychobunny/NodeBB
Conflicts:
public/src/templates.js
12 years ago
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;
12 years ago
Baris Usakli
d8489e2c66
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
12 years ago
Baris Usakli
dfdbc3bea2
admin/redis page
12 years ago
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
12 years ago
psychobunny
e583c5ffc2
console.log
12 years ago
Baris Usakli
34432773d6
fix crash when you go to /topics/nonexistant
12 years ago
Baris Usakli
58aa0ee647
friends
12 years ago
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
12 years ago
Julian Lam
c351d83418
added popstate functionality
12 years ago
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
12 years ago
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.
12 years ago
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
12 years ago
psychobunny
baecab84de
added code to remove fields that are not passed in for templates
12 years ago
psychobunny
31e845f4b0
added regex matching to templates/ajaxify. needs cleanup, just unblocking baris
12 years ago
Baris Usakli
36e7baa84d
userS
12 years ago
Baris Soner Usakli
781c99295c
fix so templates load when custom_tpl is 'undefined'
12 years ago
psychobunny
e061fe061b
added custom routing from server side, started moving hardcoded scripts into create_route
12 years ago
psychobunny
09c6aace09
custom template half in
12 years ago
psychobunny
6ebc5398a7
fixed custom_mapping bug
12 years ago
psychobunny
31542cd9be
finished recent, popular and active posts shells, just need to update api methods
12 years ago
psychobunny
5153aa7652
added template mapping, did users->account
12 years ago
psychobunny
fa64e84dcc
fixed a bug in templates, introduced categories, added default setup script onload, moved home.tpl code over to category, created hierachies
12 years ago
Baris Soner Usakli
fee76db8dc
more fixes
12 years ago
Julian Lam
1fc6e0db2c
added email verification on registration
...
added email header and footer
12 years ago
Julian Lam
458cd31b4b
adding account to the template index
12 years ago
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
12 years ago
psychobunny
2bc9876852
fixed ready_callback bug
12 years ago
Julian Lam
69bafcf19c
refactoring register to use form post instead of socket (for passport integration)
12 years ago
psychobunny
9119a9d104
small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now
12 years ago
psychobunny
1bec9fc5aa
breadcrumbs, and changed home in nav to 'forum'
12 years ago
psychobunny
b2bc967e9b
got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls
12 years ago
psychobunny
ab456e07af
fixes to template parser: hide block if no data exists (prevents the default tpl skeleton from showing up)
12 years ago
Julian Lam
2a9c33b9f8
user activity counter (bug present where all users register as same session? this isn't good....)
12 years ago
psychobunny
5173498180
client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness
12 years ago
Julian Lam
e56e7b549b
more stuff on pw reset
12 years ago
Julian Lam
f975105176
added email to registration fields, email existence check
12 years ago
psychobunny
1d35f369d9
clean up client side + config.json
12 years ago