Commit Graph

4288 Commits (3b0dd2d1ef8eb94510132295468718187b12b958)

Author SHA1 Message Date
Julian Lam b0cf97c5d6 editing features, part 1
Baris Usakli 58aa0ee647 friends
Julian Lam 6c82ffa09a fixed bug where middle-click didn't work on firefox. Now ajaxify is capturing both onclick and mouseup
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
Julian Lam e4364b5362 pushing fix to ajaxify where the homepage did not get added to the history (and thus was unreachable via history action
Julian Lam 3eff46bb52 restricting posting by anons, redirects to login page and saves post to localstorage
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
Julian Lam 613b53ac3d removing console logs
Julian Lam c351d83418 added popstate functionality
Baris Soner Usakli 0aeeac9d61 image upload and changing images will clean up later andrew stayla
psychobunny 42b4f90fed bad commit earlier, lost the footer. just reduced delay to 200ms now and it looks much better
psychobunny 88f64b4a79 optimized the transition between pages just a bit
Julian Lam e9a552eab4 editing of posts
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
psychobunny d77ab9048d removed logs
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
psychobunny 30323fa29f Merge branch 'master' of https://github.com/psychobunny/NodeBB
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.
Julian Lam 2acd40a8bb fixing up the post window to extend the body when opened, so it doesn't clip stuff
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
psychobunny baecab84de added code to remove fields that are not passed in for templates
psychobunny 31e845f4b0 added regex matching to templates/ajaxify. needs cleanup, just unblocking baris
Baris Usakli 36e7baa84d userS
Julian Lam 4dced643c5 tweaking app.alert so that on regular fadeout (after timeout expiry), the alert is removed from the DOM
Baris Soner Usakli 781c99295c fix so templates load when custom_tpl is 'undefined'
psychobunny e061fe061b added custom routing from server side, started moving hardcoded scripts into create_route
psychobunny 09c6aace09 custom template half in
Julian Lam f0eeec8932 fixing alert removal by alert_id and adding alerts when thread is locked or pinned
Julian Lam 7ed2413d96 Merge remote-tracking branch 'origin' into thread_options
added some styling and elements to thread deletion

Conflicts:
	public/src/ajaxify.js
psychobunny 4b32089367 temporary fix for templates loading twice
psychobunny 6ebc5398a7 fixed custom_mapping bug
Julian Lam 7bbc630dfb Merge remote-tracking branch 'origin' into thread_options
Conflicts:
	public/src/templates.js
psychobunny 31542cd9be finished recent, popular and active posts shells, just need to update api methods
psychobunny 5153aa7652 added template mapping, did users->account
Julian Lam b2c6d4f7c7 interim commit to thread options
psychobunny fa64e84dcc fixed a bug in templates, introduced categories, added default setup script onload, moved home.tpl code over to category, created hierachies
psychobunny 178bc82a55 removed deprecated functions from topics.js (server side parsing) and fixed the 150ms initial delay on first load
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
Baris Soner Usakli fee76db8dc more fixes
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
psychobunny 8133ac53de small change to ajaxify to ignore href='#', added some design to future features, up for grabs if anybody wants to do them
Julian Lam 1fc6e0db2c added email verification on registration
added email header and footer
Julian Lam 458cd31b4b adding account to the template index
psychobunny 5aa3dab289 added popstate check to trigger ajaxify on back button keypress. forward button doesn't work yet
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
psychobunny bcb672e1fe socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled
psychobunny 2bc9876852 fixed ready_callback bug
psychobunny 517b4de2fe threads look awesome now
Baris Soner Usakli a47491225a clear topic and content after post
Julian Lam 69bafcf19c refactoring register to use form post instead of socket (for passport integration)
psychobunny 9119a9d104 small refactor of routing, cleanup, templates are now parsed entirely on client side for /, /register, /login for now
psychobunny 1bec9fc5aa breadcrumbs, and changed home in nav to 'forum'
psychobunny b2bc967e9b got ajaxify working with threads, some cleanup, fixed anon posting, got rid of a few more global.sockets calls
psychobunny e658531a67 replies are up
psychobunny 0f3f2bb859 post replies, unfinished
psychobunny ab456e07af fixes to template parser: hide block if no data exists (prevents the default tpl skeleton from showing up)
Baris Soner Usakli 20aa5d439e log server errors in browser
added uid to posts
psychobunny 7f4ea6e19b Merge branch 'master' of https://github.com/psychobunny/node-forum
psychobunny 98ca14e31c started working on threadss, implemented slug url, fixed crashing bug during post creation
Julian Lam 2a9c33b9f8 user activity counter (bug present where all users register as same session? this isn't good....)
psychobunny e5a6d1bf8b added a way to track socket listners added to the page to prevent memory leaks and duplicated definitions of events
psychobunny faa3924734 prevent scripts in tpls from being executed more than once
psychobunny 880d6832be Merge branch 'master' of https://github.com/psychobunny/node-forum
psychobunny 5173498180 client side templates in, fixed home page to parse templates on ajaxify, added footer to the page transition animation for smoothness
Julian Lam 81364580ed new 403 page
Julian Lam f774974803 logout functionality
psychobunny 877219cb58 fixed conflicts
psychobunny e50e136d83 inbetween some changes but asked to pull so I'll comment better later
Julian Lam a98cd26fa6 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam 0985087f5d auth...
psychobunny 78d753b8f9 Merge branch 'master' of https://github.com/psychobunny/node-forum
psychobunny fffe5eb78c tried to get innerHTML of an input by accident
Julian Lam 71e410d571 Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
	src/webserver.js
Julian Lam c1186f396e some work on session login etc
psychobunny d711a4e334 added post button, post window, added click handler to toaster alert, started on posts and topics schema and code
Julian Lam 8e49e0f203 fixing event propagation in ajaxify.go
Julian Lam 19f9a48a8c Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam e56e7b549b more stuff on pw reset
psychobunny a06b3519a1 moved event alert to serverside, now node controls the registration alert. added some transition animation to page changes
psychobunny 67bf1b6041 updated ajaxify to do a callback after page change, added toaster style notifications (app.alert), changes to webserver to update automatically
Julian Lam 96a4cbd8d1 fixed menu "active" state
Julian Lam 3c04a71b08 renaming functions so that they're less derpy (from enable/enableAll to
enable/onclick)
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)
psychobunny fd9cb2eaf7 ajaxify.go(relative_url); - use this to navigate to a page manually
Julian Lam f975105176 added email to registration fields, email existence check
psychobunny be954d176d prevent same state from loading again
psychobunny 5b64500da3 switch loading of config file to synchronous to prevent socket server from opening pre-emptively
psychobunny 1d35f369d9 clean up client side + config.json