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
Baris Usakli
37b5680db0
fixed admin page loading
12 years ago
Baris Usakli
c8b8899219
while you are editing a post you still need to write something dude
12 years ago
Baris Usakli
c2c4c003ab
if the user updates their email change the email uid mapping, added 500ms delay to the disconnect modal
12 years ago
Baris Usakli
5c2efafa0b
disconnect modal
12 years ago
Baris Usakli
0e39acb366
moved addCommas to app, using addCommas in topic.tpl
12 years ago
Baris Usakli
aac8182a1d
dont allow empty or short post title and body
12 years ago
psychobunny
e583c5ffc2
console.log
12 years ago
psychobunny
a663f4e835
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
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;
12 years ago
Baris Usakli
34432773d6
fix crash when you go to /topics/nonexistant
12 years ago
Baris Usakli
9d5f6364ad
removed console.logs
12 years ago
Julian Lam
826edbd669
added linking to formatting opts in editor
12 years ago
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.
12 years ago
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
12 years ago
Baris Usakli
b949105142
Merge branch 'master' of https://github.com/psychobunny/NodeBB
12 years ago
Baris Usakli
ecc621e0c1
disconnect event
12 years ago
Julian Lam
e31f6af774
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
b0cf97c5d6
editing features, part 1
12 years ago
Baris Usakli
58aa0ee647
friends
12 years ago
Julian Lam
6c82ffa09a
fixed bug where middle-click didn't work on firefox. Now ajaxify is capturing both onclick and mouseup
12 years ago
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
12 years ago
Julian Lam
e4364b5362
pushing fix to ajaxify where the homepage did not get added to the history (and thus was unreachable via history action
12 years ago
Julian Lam
3eff46bb52
restricting posting by anons, redirects to login page and saves post to localstorage
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
613b53ac3d
removing console logs
12 years ago
Julian Lam
c351d83418
added popstate functionality
12 years ago
Baris Soner Usakli
0aeeac9d61
image upload and changing images will clean up later andrew stayla
12 years ago
psychobunny
42b4f90fed
bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better
12 years ago
psychobunny
88f64b4a79
optimized the transition between pages just a bit
12 years ago
Julian Lam
e9a552eab4
editing of posts
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
d77ab9048d
removed logs
12 years ago
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
12 years ago
psychobunny
30323fa29f
Merge branch 'master' of https://github.com/psychobunny/NodeBB
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
Julian Lam
2acd40a8bb
fixing up the post window to extend the body when opened, so it doesn't clip stuff
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
Julian Lam
4dced643c5
tweaking app.alert so that on regular fadeout (after timeout expiry), the alert is removed from the DOM
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
Julian Lam
f0eeec8932
fixing alert removal by alert_id and adding alerts when thread is locked or pinned
12 years ago
Julian Lam
7ed2413d96
Merge remote-tracking branch 'origin' into thread_options
...
added some styling and elements to thread deletion
Conflicts:
public/src/ajaxify.js
12 years ago
psychobunny
4b32089367
temporary fix for templates loading twice
12 years ago
psychobunny
6ebc5398a7
fixed custom_mapping bug
12 years ago
Julian Lam
7bbc630dfb
Merge remote-tracking branch 'origin' into thread_options
...
Conflicts:
public/src/templates.js
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
Julian Lam
b2c6d4f7c7
interim commit to thread options
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
psychobunny
178bc82a55
removed deprecated functions from topics.js (server side parsing) and fixed the 150ms initial delay on first load
12 years ago
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
12 years ago
Baris Soner Usakli
fee76db8dc
more fixes
12 years ago
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
12 years ago
psychobunny
8133ac53de
small change to ajaxify to ignore href='#', added some design to future features, up for grabs if anybody wants to do them
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
5aa3dab289
added popstate check to trigger ajaxify on back button keypress. forward button doesn't work yet
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
bcb672e1fe
socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled
12 years ago
psychobunny
2bc9876852
fixed ready_callback bug
12 years ago
psychobunny
517b4de2fe
threads look awesome now
12 years ago
Baris Soner Usakli
a47491225a
clear topic and content after post
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
e658531a67
replies are up
12 years ago
psychobunny
0f3f2bb859
post replies, unfinished
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
Baris Soner Usakli
20aa5d439e
log server errors in browser
...
added uid to posts
12 years ago
psychobunny
7f4ea6e19b
Merge branch 'master' of https://github.com/psychobunny/node-forum
12 years ago
psychobunny
98ca14e31c
started working on threadss, implemented slug url, fixed crashing bug during post creation
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
e5a6d1bf8b
added a way to track socket listners added to the page to prevent memory leaks and duplicated definitions of events
12 years ago
psychobunny
faa3924734
prevent scripts in tpls from being executed more than once
12 years ago
psychobunny
880d6832be
Merge branch 'master' of https://github.com/psychobunny/node-forum
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
81364580ed
new 403 page
12 years ago
Julian Lam
f774974803
logout functionality
12 years ago
psychobunny
877219cb58
fixed conflicts
12 years ago
psychobunny
e50e136d83
inbetween some changes but asked to pull so I'll comment better later
12 years ago
Julian Lam
a98cd26fa6
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
0985087f5d
auth...
12 years ago
psychobunny
78d753b8f9
Merge branch 'master' of https://github.com/psychobunny/node-forum
12 years ago
psychobunny
fffe5eb78c
tried to get innerHTML of an input by accident
12 years ago
Julian Lam
71e410d571
Merge branch 'master' of github.com:psychobunny/node-forum
...
Conflicts:
src/webserver.js
12 years ago
Julian Lam
c1186f396e
some work on session login etc
12 years ago
psychobunny
d711a4e334
added post button, post window, added click handler to toaster alert, started on posts and topics schema and code
12 years ago
Julian Lam
8e49e0f203
fixing event propagation in ajaxify.go
12 years ago
Julian Lam
19f9a48a8c
Merge branch 'master' of github.com:psychobunny/node-forum
12 years ago
Julian Lam
e56e7b549b
more stuff on pw reset
12 years ago
psychobunny
a06b3519a1
moved event alert to serverside, now node controls the registration alert. added some transition animation to page changes
12 years ago
psychobunny
67bf1b6041
updated ajaxify to do a callback after page change, added toaster style notifications (app.alert), changes to webserver to update automatically
12 years ago
Julian Lam
96a4cbd8d1
fixed menu "active" state
12 years ago
Julian Lam
3c04a71b08
renaming functions so that they're less derpy (from enable/enableAll to
...
enable/onclick)
12 years ago
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)
12 years ago
psychobunny
fd9cb2eaf7
ajaxify.go(relative_url); - use this to navigate to a page manually
12 years ago
Julian Lam
f975105176
added email to registration fields, email existence check
12 years ago
psychobunny
be954d176d
prevent same state from loading again
12 years ago
psychobunny
5b64500da3
switch loading of config file to synchronous to prevent socket server from opening pre-emptively
12 years ago
psychobunny
1d35f369d9
clean up client side + config.json
12 years ago