Commit Graph

710 Commits (6ade1e858da43b4acc4d2eebc4999abd74973584)

Author SHA1 Message Date
Baris Soner Usakli 797d05a84a removed the other api_method routes
Baris Usakli dbfd3c19a1 removed api_method route from user.js
Baris Soner Usakli 59381ee1d3 cleaned up webserver.js a bit, moved api routes to its own file, closes
Julian Lam 777173d9f4 adding admin panel integration to plugins (issue )
Baris Usakli 8cc3859e72 fixed for email visibility icon if data isnt set
Baris Usakli 8f4d4664e4 changed class
Baris Usakli 58ad74abb5 send new url when we are done
Baris Usakli 9160a135a9 changed to crop
Baris Usakli 6420e4c6a6 added this back, file extensions might change need to delete old pic
Baris Usakli 433c7d91eb some fixes
Baris Usakli 3100bfcfd3 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 472f40479e privacy page
Julian Lam 12e8423a24 closed - issue where all auth routes were not rendering the header properly
Baris Usakli 4260930523 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 6af3b0ffc6 account settings
Julian Lam 5caf258238 fixing build_header refactor for user routes
Julian Lam 931beecc21 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 4588745b9a refactored all calls to app.build_header (in regular and auth routes)
Julian Lam d6938f4818 first pass at a custom title function (not ready for prod)
Baris Soner Usakli 72a0082a28 admin user page fix, added routers for admin/users
Baris Soner Usakli 2f00640b6b Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli cacc732015 fixed filename of first uploaded image, added a setUserFields method to user.js
Julian Lam bea5dff563 fixed - twitter profile picture now used as nodebb avatar in lieu of
email address for gravatar
Julian Lam 10a42d4e08 minor var renaming
psychobunny 1e86f379d5 removed external link icon from signatures only
Julian Lam 99ba792e6d changing all calls to marked to instead go through
PostTools.markdownToHTML
Baris Soner Usakli 863f471020 closes
Baris Soner Usakli 0b7da34a03 possible fix for
Baris Usakli 3adddf44ca removed console.log
Baris Usakli 68c011ce63 recent replies link to user and topic
Baris Soner Usakli 2f20831d25 removed extra ; oops
Baris Soner Usakli 7ff6cd9cb2 closes
Baris Soner Usakli f7d27cdef1 nconf fixes
Julian Lam d0c4302d24 removing non-existant unit tests from admin template, and setting admin theme to always be the bootstrap default (so errant themes don't render the admin panel useless)
Baris Usakli ca81732661 show correct version on admin/index
Julian Lam 145898c3ba using nconf to manage config file now (issue )
Baris Soner Usakli ba161c1f6c removed couple console.logs
Baris Soner Usakli 2c5e9d47ad admin routes and fixes
Baris Soner Usakli d7597608d5 fixed login register logout
Baris Usakli 93653e88df changed most of the ajax calls to use sockets
Baris Usakli 47378fb978 error middleware, closes
Baris Usakli 8f2a0014b3 closes
Baris Soner Usakli 12f78f5d56 added forEach test
Baris Soner Usakli b146445db1 send 404 and error message in api_method user.js
Baris Soner Usakli a0b4ea70b3 more cleanup in user routes
Baris Soner Usakli 6a4dcc75c2 changes to user routes to return null
Baris Soner Usakli c7a085af52 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 399f7b47c8 for loop bench in testbed
Damian Bushong 8867a4d666 Update user.js
Fix minor copy-paste mistake
Damian Bushong 2c12062ce0 Update user.js
- Do not use a temp var here, that's just wasting memory since we're only using it once (and it isn't helping readability all that much)
- Add notes about console.error use, indicate it's temporary and needs replaced with proper logging
- Indicate that resizing code should be split out into another process (perhaps with node's built in cluster module? or child_process.spawn?)
- Do not use `res.send` with JSON data; use res.json
- Use consistent spacing and whitespace usage
Baris Usakli 38663177b0 fixed favouriting
Baris Usakli 1a992b7147 first batch of changes
Baris Soner Usakli c571a73a8b closes
Baris Soner Usakli 8b58ba95d1 sort query param
Baris Soner Usakli d0af1230b5 query params will need a fix before we can send /users?sort=latest to templates
Baris Soner Usakli 56dc29a747 closes
Baris Soner Usakli c93f8c0530 recent posts in /users/ page
psychobunny 69f1037d45 added qUnit unit testing framework, started categories unit tests. finally out of MVP so time to unslackmode :)
Baris Usakli 746faa9488 delete user button in admin/users. the latest/top posters and most reputation sorting is working now in admin/users
Baris Soner Usakli 9b43f80ff8 changed login to ajax added error message for incorret login, closes
Baris Soner Usakli e0debed04f removed ajax from make/remove admin
Baris Usakli a0751d6caa Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli d3a190d74e username to userslug change
Julian Lam 89e852f692 adding 'load more topics' button to topic admin
Baris Usakli 8f92710906 moved login code from user.js to login.js
Baris Usakli aaab212128 fixed more indentation
Baris Usakli 64a9e5844d son whitespace conflicts are so 1765
Baris Usakli 523b787e69 added csrf to ajax calls
Julian Lam 0d954b24dc removed debug statements, adding missing file re: issue
Julian Lam e75e0011e2 Merge branch 'master' of github.com:psychobunny/node-forum
Conflicts:
	public/css/admin.less
Julian Lam 32eba62ef6 developed during a merge... I am going to hell for this.
- also new topics tab in admin panel
Baris Usakli 9cf9e98b14 removed duplicate build_header
Baris Usakli cef77c2fd8 changed res.send(JSON.stringify()); to res.json(). closes
Baris Usakli 3f3d81de44 admins can make others admins
Baris Soner Usakli f2dfba33ad cleaned image upload a bit, no longer using the filename sent by the user
Baris Soner Usakli 626423e01b path join on user routers
Baris Soner Usakli b962972d21 changed the image upload to use the path module instead of /
Baris Soner Usakli 39cf0476d3 follower and following count on account page
Baris Soner Usakli 44d07ea543 changed friends to following/followers, updated routes and the user.js functions
Julian Lam 1a104686ac new header for meta title
Julian Lam 1760cf1e89 added motd to admin panel and added colour and transitions to alt-login icons
Julian Lam fd350bbb4e nibbed out and hardcoded uid 1 as an admin... first registered user becomes an admin!!
Julian Lam 9af39622ed actually using identicon default across the site
Julian Lam 48bccb3498 applying custom theme (if enabled) to all routes
Julian Lam 88bf9425db install script + patching up integration with install wizard
Julian Lam 65b6010d74 installation wizard under /install
Julian Lam 00a9ec0f12 interim commit
psychobunny a02a74604c moved CategoriesAdmin into its own file, hid popular/active, some jslinting + cleanup, renamed some fn calls to be more descriptive
psychobunny cd4ca110a1 moved utils over to client side for code sharing
Baris Soner Usakli ef304a712f strip tags from signature when they are saving, separated info in user profile and added signature box
Julian Lam 26781157b3 refactoring posts, topics, and categories so that each "get" is moved up
one level. Topics.get will get all of the posts in a tid, etc.
Baris Soner Usakli 9c5fa5fc5e signature work
psychobunny 47d491b266 some left over unfinished templates fixes from last week. deeper urls now take higher precedence.
Baris Usakli dfdbc3bea2 admin/redis page
Baris Usakli 9d5f6364ad removed console.logs
Baris Usakli 9cd189e273 relative time fix
Baris Usakli d1041bedf4 imagemagick resizing
Baris Usakli 40b8264d6e only png jpg and gifs are allowed for image upload, increase profile image size to 256kb
Baris Usakli 3b0978caa7 add friend button invisible if user is already friend
Baris Usakli 58aa0ee647 friends
Baris Usakli c76eeaba3e removed old upload code
Baris Usakli 39798b9f79 changed the file upload to use streams
Baris Usakli 233752a9c7 why does urls dont work when put into address bar
Baris Usakli 073b87982b moved user routes into routers/user.js
Baris Usakli 188b1d5ada for andrew
Baris Usakli 4c324664fa removed global modules
Julian Lam 487d740164 added client and server validation on registration
psychobunny 6b495767c0 removed server side templates for register
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 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.