psychobunny
0a749023cb
fixing if statements inside a @first / @last block
11 years ago
psychobunny
503e59b12b
clean up conditionals only at the very end of parsing
11 years ago
psychobunny
97ec312c72
console.log
11 years ago
psychobunny
05edfdc9c1
templates.js - if custom theme is missing a template, render default template
11 years ago
Julian Lam
127261100e
fixed #698 - ajaxify.go will now cancel any active API requests when it is called
11 years ago
psychobunny
fda68bc5dd
added templates.setGlobal - allows you to add default template vars that are sent to all tpls upon parsing; added relative_path as global
11 years ago
psychobunny
0edd6985ec
templates.js added support for !@first and !@last conditionals
11 years ago
psychobunny
69e0aa338d
resolved some todo that's been in there for many months
11 years ago
psychobunny
6dcd06b63c
removed unused parameter in templates.prepare
11 years ago
Baris Soner Usakli
680dbf138a
closes #669
11 years ago
Julian Lam
f2d631e42d
new composer window template (WIP!)
11 years ago
Julian Lam
d86aefb518
removing defunct "template" argument in ajaxify.go
11 years ago
psychobunny
b5e37a6ce8
fixes #123 , parse object properties in template outside of namespace
11 years ago
psychobunny
24b12e23ea
fixes #636 , conditionals broken from f1ad469861
11 years ago
psychobunny
f1ad469861
templates - don't clean up selector conditionals; fixes topic posting bug introduced at 090d35f306
11 years ago
psychobunny
36745608bf
removed console.log
11 years ago
psychobunny
090d35f306
clean up conditional comments in the DOM; conditionals now treat undefined variables as false; closes #617
11 years ago
Baris Usakli
190948336a
closes #590
11 years ago
psychobunny
85aa587749
merge conflicts
11 years ago
psychobunny
48e36e3c31
templates bugfix - now supports multiple conditionals of the same variable; added data-favourited button and deprecated reliance on BS3
11 years ago
Baris Usakli
f2bf65252d
removed the fields
11 years ago
Julian Lam
4855131652
category read restrictions
11 years ago
psychobunny
e98d05b1a5
closes #556 , also removes the newline that was previously inserted
11 years ago
psychobunny
0f7f6cd0a3
templates.js added IF !value
11 years ago
psychobunny
0e8b33aa79
templates.js added @first and @last conditionals
11 years ago
psychobunny
5c597ca218
expand regex for templates, allowing the syntax to be less strict re: whitespace
11 years ago
Baris Soner Usakli
e9c66bb35a
removed console.log
11 years ago
Baris Soner Usakli
23eb7824ac
closes #513
11 years ago
psychobunny
46bad118de
if a thread is unreplied, don't show the OP as the last person to reply
11 years ago
psychobunny
2d7228fa40
added if / else logic to templates
11 years ago
psychobunny
0cc136c3f6
simplifying conditional logic in templates + fixed it so that it takes namespace into account
11 years ago
Baris Usakli
fa9636a62a
closes #495
11 years ago
Baris Soner Usakli
7eba0b85f4
fixed andrews fail
11 years ago
psychobunny
30a45ee78e
prevent a potentially badly written theme.json from blowing up your forum
11 years ago
psychobunny
1d5a208896
themes - added ability to route custom templates serverside
11 years ago
psychobunny
bbb716723f
templates - basic implementation of conditionals
...
<!-- IF variable -->
show me
<!-- ENDIF variable -->
11 years ago
Baris Usakli
1691c74727
testing breadcrumb images
11 years ago
Baris Soner Usakli
17083dc5e6
closes #417
11 years ago
psychobunny
69a31dcdd9
fixes #388
12 years ago
Julian Lam
0b299b2fe7
Merge pull request #381 from adarqui/express-logger-0.0.7
...
Express & Socket.io logger
12 years ago
Baris Usakli
52f2e193d6
if api fails with 404 ajaxify to 404, added type check to updateProfile
12 years ago
Andrew Darqui
55d84d0f9b
basic logger functionality added - accessible via http://nodebb/admin/logger
12 years ago
Baris Usakli
4207792ffd
added app alert if template data cant be loaded
12 years ago
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
12 years ago
Baris Usakli
4a7cd664fd
fixed a bug in template parsing
12 years ago
psychobunny
1fbc038e64
fixed conflicts, added new language key for users/online
12 years ago
Julian Lam
964fbfe2bb
fixes to get nodebb to at least load on IE
12 years ago
psychobunny
b5274a0d91
init
12 years ago
psychobunny
dc41c6bc0d
formatting - core client side
12 years ago
psychobunny
c16c4aac44
console.log
12 years ago
Julian Lam
1758c3e3f2
fix for admin templates
12 years ago
Julian Lam
bec0b46a2c
refactoring installation scripts to use node prompt module, lots of other fixes
...
fixed #263 , fixed #264 , fixed #265
12 years ago
Baris Usakli
c70c67394a
closes #171
12 years ago
psychobunny
6f6a2e4127
closes #114 . updated ajaxify to allow for get parameters to be passed in without issues.
12 years ago
Julian Lam
145898c3ba
using nconf to manage config file now (issue #24 )
12 years ago
Baris Soner Usakli
de55a35684
more fixes for relative paths
12 years ago
Baris Soner Usakli
d7597608d5
fixed login register logout
12 years ago
Baris Soner Usakli
43e73e3aba
url fixes for templates
12 years ago
Baris Usakli
6eb9af77e6
first pass at subfolder
12 years ago
Julian Lam
6ac2564bad
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
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 )
12 years ago
Baris Soner Usakli
6a4dcc75c2
changes to user routes to return null
12 years ago
psychobunny
f732ab4d5a
fixed another issues in templates.js causing grief in topics admin view
12 years ago
Julian Lam
c34f4e451a
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
39aac31092
minor fix to template rendering
12 years ago
psychobunny
8383874304
closes issue #15 - fixed some issues in templates.js
12 years ago
Baris Usakli
6ec23f86e6
removed commented out line in templates.js
12 years ago
Baris Usakli
cef77c2fd8
changed res.send(JSON.stringify()); to res.json(). closes #25
12 years ago
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