Commit Graph

559 Commits (4b38533b15dcd2a044e255a02882c8aa59e89e72)

Author SHA1 Message Date
Aziz Khoury 0e0f66ba9e minor cleanups.
Aziz Khoury 230b4a0952 now really fix topic/1503
Aziz Khoury 611fd380eb fixes topic/1503
barisusakli 8ee866fc9d closes
barisusakli 4c28de659c closes
barisusakli 66abd20647 moved add commas to process page
barisusakli 883978007d closes
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
barisusakli 1f7fd51b40 some work for
barisusakli 936530dc48 possible fix for
barisusakli 63d88957a8 replace self links client side
psychobunny f3993aca4d closes
barisusakli e12beccc09 closes
adds a dropdown to category view to move/pin/lock/delete multiple topics
Micheil Smith 6e4639496e Improve readability of a selector
Micheil Smith 11b6794946 Refactor connection logic
Aiming to be flatter, with less deep nesting. Still more to go here.
Micheil Smith 0bbd29ac42 Reduce DOM queries for Search elements
barisusakli 14d0081fdf replace 2 error messages with keys
psychobunny cf362f64a3 woops, now everybody is an android browser.
psychobunny 8432d8827e attempt at fixing
psychobunny b464099cca finally found reliable repro steps and squashed you like the bug you are. fixed
barisusakli 0cd13b7b66 closes
barisusakli 421a25eb56 closes
barisusakli 1d3c25fdcc moved alert to its own requirejs module
barisusakli b1a6d394e3 moved format number functions to utils
psychobunny b023ef01af moving widgets and variables code out of ajaxify
psychobunny 339eafd6be updating templates.parseTemplateVariables to ajaxify.variables.parse
Julian Lam 1487545fd2 fixing issue where cold loads were calling client-side event action:ajaxify.end with the wrong "url"
psychobunny 0627734fc0 trim leading whitespace/#/? in search closes
Julian Lam 16f1db4f5d fireEvent reflection socket call, tweaks to Sounds page in ACP
barisusakli 2bb5918b6c closes
psychobunny 35ac0bb793 linted app.js
barisusakli 813b3d6fcc changes for live streaming of posts
psychobunny 29ad8d2582 closes
psychobunny 1ef95bd09e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	app.js
	public/templates/category.tpl
	public/templates/popular.tpl
	public/templates/recent.tpl
	public/templates/unread.tpl
	src/routes/plugins.js
	src/webserver.js
Julian Lam 6fb393de78 fixing
Julian Lam 5a8a3627d2 bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER
psychobunny cd336006fc optimized cold loading
psychobunny 10f4fa004e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
medwards20x6 76b53478ce Don't fire click when closing an alert
psychobunny c44934cc0d all JS files properly required on cold load
psychobunny e73f8d6f37 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
psychobunny 0211b4484b on cold load, only display page after widgets are rendered
Baris Soner Usakli 6bf36a0468 if alert is closed dont fire clickfn
psychobunny 6827dbc9c4 render widgets on cold load
psychobunny 584347848b trigger action:ajaxify.start and action:ajaxify.end on cold load
Baris Soner Usakli 7eae79cee9 anons cant chat
Baris Soner Usakli 8064f7f0db scroll fix
Baris Soner Usakli 091723a8c5 closes
Baris Soner Usakli 30eb85f96e fixed conflicts
Baris Soner Usakli d87034b131 use alert for bookmark
akhoury 1b207d8276 IE8 support, general cleanups, from native to $ objects ...
Baris Soner Usakli 3ed2d21eb6 fixed flag post, added highlight to scroll post
Baris Soner Usakli e3d01df6a2 closes
Baris Soner Usakli 34bf839751 closes
Baris Soner Usakli 21367a1847 reverse infinite loading
Baris Soner Usakli 1da75866f4 added global loggedIn to templates'
Baris Soner Usakli 0756410684 closes
psychobunny 8c2611aeb5 potentially fixes
Baris Soner Usakli 93f5f320fe Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 02483b34bf closes
psychobunny ff9d7c6c24 removed unnecessary conditionals from app.updateHeader
psychobunny 3c863feac2 fixes translation bug with app.alert
psychobunny 3955ca560f changed hook triggers to window from body
psychobunny 4abeed3802 client side hooks - action:connected, action:reconnected, action:disconnected
psychobunny 609821029b app.isAdmin available client-side
Baris Soner Usakli 23f3111173 fixes alert close
Julian Lam d7b44789fc updating stati to use sibling classes
Baris Soner Usakli c2746b3bb1 minor tweaks to status
Baris Soner Usakli 97e0e48b07 closes , closes
Baris Soner Usakli 22bc3e9571 added statuses into dropdown
psychobunny 112a9cb532 closes
psychobunny 303a32dce6 closes - app.alert strings are now passed through translator so we can finally start getting rid of the remainder of hardcoded strings
Baris Soner Usakli cccaf642a6 closes
Baris Soner Usakli 9cb232c198 added header tooltips
Baris Soner Usakli 2560704839 recent unread cleanup
Baris Soner Usakli 606367701f pagination on posts
Baris Soner Usakli cf39c66017 some pagination work
Julian Lam 92706a6550 fixed
Baris Soner Usakli ccc62a202b dont go to top on search icon click
MrWaffle c1fea52a93 Only alternate title when not focused
Baris Soner Usakli b7f0c90bf7 more fixes
Baris Soner Usakli 39b631a3a8 more fixes
Baris Soner Usakli e5c8caf5ff more fixes
Baris Soner Usakli 1ec21c2bfd metatitle
Baris Soner Usakli 8bb24fa034 fixed update header
Baris Soner Usakli 67799eac95 removed api: from client side socket calls
Julian Lam 0ea09972b4 fixed issue where outgoing links warning page would intercept clicks to the search button in the headerbar (thanks @dove)
- linted some files
Baris Soner Usakli 243cb5af61 fixed mobile search link
bdharrington7 bf96903d6e removed submenu for login / register in guest menu options
Julian Lam ee963e0c2a moved reconnected socket call to SocketsMeta
Julian Lam c5d8a5a6b2 thread tools (phew!) -- sessionData is getting larger :P
Julian Lam 8dd8412ae3 so far so good... user, meta, notifications, categories
Julian Lam dfa9f203e6 crashing a lot less now, heh
Baris Soner Usakli 58580bd866 closes , also moved chat to its own template
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
Baris Soner Usakli 751dc73ebe fixes login/register and auth routes in relative path install
Julian Lam b52782deb8 removed use of strip_tags and using String library instead
Baris Soner Usakli 8bfea656c4 Merge branch 'master' of https://github.com/akhoury/NodeBB into akhoury-master
Julian Lam d86aefb518 removing defunct "template" argument in ajaxify.go
akhoury 114294e24a allowGuestSearching config .. second attempt
Julian Lam 64e87b761f closed
Julian Lam 69c1ec97c9 re: issue , this took longer than expected...
psychobunny 932b960aa9 app.isFocused; app.js cleanup
Julian Lam b81737bc0f moved refreshTitle into app.js, messaging someone now invokes an alternating title, hehe
Julian Lam a65c79cb02 minimized the reconnect spinner to icon only, added bootstrap tooltip
Baris Usakli 9ccfa3f18c fixed js error
Baris Usakli 1660d75205 stricter selector for human readable numbers
Baris Usakli f6d57a241d fixed human readable view post counts
Baris Usakli a87ebb64d8 clean up of posts and some template additions
Baris Usakli 7198110b57 closes
Baris Usakli 48a7f9058f closes
Baris Usakli 541993c80a fontawesome 4 migration, closes
Baris Soner Usakli ff50917c29 show no replies in recent and unread
Baris Soner Usakli 2174aec0e1 closes and other refactors on client side
Julian Lam cd1e26418d making the loading indicator less obtrusive (and smaller, to boot)
Baris Soner Usakli dab4f07258 fixed indents
Baris Usakli 253271127d infinite loader will insert posts in correct order
Baris Usakli 156950ac2f cleaned up app.createNewPosts
Baris Soner Usakli 6ac685b194 possible fix for js error
psychobunny 34c74770ce app.js minor cleanup
psychobunny da8d198676 added some user friendly warnings to chat
Baris Usakli 411ba3542c closes
Julian Lam 37497fc5a0 fixed - refactored basic route handling, moved some other routes to debug routes
Baris Usakli bbb045698d closes
Baris Usakli c8ec095d99 anons cant edit after posting
psychobunny 85daacdf7a remove reference to deprecated mobileMenu
Baris Usakli ac12bd0b8f closes
Baris Usakli 9babef0095 closes , will restart over if reconnection fails after x number of attempts
Baris Soner Usakli e9b6cdb37a add responsive class to imgs
psychobunny bf677522a9 added additional_profile_info footer in posts view; plugins - filter:posts.custom_profile_info hook lets you add info to post block footer
also fixed app.alert - if title is not set then do not show title.
psychobunny 27f4fdd179 fixes
psychobunny d1a94a91c2 added app.uid
Julian Lam 948949c571 closed - now asking socket.io to connect to "current page" instead of hardcoded url, removed api_url and "socket" section from public config
Julian Lam f08067bab2 fixes - 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
Julian Lam 1160f39cb0 revamped reconnection notification, closes
psychobunny e161b5387b fixed untranslated language on dynamic new posts and infinite loading
Baris Usakli 0b0d64b52e logout/login changes, updateHeader changes
Baris Usakli 83d5a84edd login redirects back
Julian Lam 66cb1fb6ad removed console.log from socket connection success handler
Baris Usakli 290d69d14a remember where the topic was left off
Baris Usakli b25c3d8b67 closes
Baris Usakli 776b51fef7 closes
Baris Usakli efef9c864c closes
Baris Usakli 24e4be77d8 closes
psychobunny 828d937dec .jsbeautify
psychobunny abd909d23b pagination - scroll to top / bottom arrows
Baris Usakli caaede7e84 added loading spinner to topic.tpl
Baris Usakli 7cff55a160 closes
Julian Lam 8a53c56a46 updated install script to only populate "socket" object in client config with "address", which takes "use_port" into account.
This closes 
psychobunny 7be69b0b54 more cleanup, account.less, removed mobile sidebar functionality completely
psychobunny cc6e028b1d fixed alert-notify (and blanks) to alert-warning
psychobunny 13e13cd5a8 some changes to topic view + BS3 upgrade
psychobunny 0f8aad52b2 updated all alert-error to alert-danger (wtf did BS3 need to change that?)
Baris Usakli cb6f587f24 closes
Baris Soner Usakli 1c95ef4060 fix for infinite scroll crashing, issue
Baris Soner Usakli b43e12a42a closes , closes
Baris Usakli 2b7a1b7515 changed the recursion to load posts to a while loop
Baris Usakli dceec0ce46 more winston, issue
Baris Usakli 16a95dd408 fixed welcome back message, it wasnt showing up in some cases
Baris Usakli 1894d0a469 moved confings into redis
Baris Soner Usakli d6b9a2799b full text search using reds, issue
Baris Soner Usakli 23fcdde25e removed console.log and commented out code
Baris Soner Usakli 7297a26685 scroll to post 2
Baris Usakli 720dd9e960 scroll to posts
Baris Soner Usakli 3f6f4e347d change some socket calls to use the callback, when user changes their email if they are using a gravatar picture it will be updated too, fixed email updating
Baris Soner Usakli 916b46618c another fix
Baris Usakli 19b570cdcf closes
Baris Usakli 5df7af6075 reset reconnect tries to 0 after a succesfull reconnect
Baris Soner Usakli f7217f2d12 closes
Baris Soner Usakli 96a779172b closes
Baris Usakli 2bb4aab6ac changes to online users code
Baris Soner Usakli 5819b43595 moved index code from index.tpl to its own file
Baris Soner Usakli f7f5da00e1 another fix for js crashes
Baris Soner Usakli 6f57e639f9 changed input to meta
Baris Soner Usakli 49445767cb temp fix to resolve socket js error
Baris Soner Usakli bfc87a8178 fixed admin js error, was trying to use socket. before it was connected
Baris Soner Usakli 9f892c2e80 fixed pushState urls
Baris Soner Usakli 069368fe88 removed callback
Baris Soner Usakli de55a35684 more fixes for relative paths
Baris Soner Usakli 2c5e9d47ad admin routes and fixes
Baris Usakli 6eb9af77e6 first pass at subfolder
Baris Soner Usakli 4103e1db55 removed console.log
Baris Soner Usakli e0debed04f removed ajax from make/remove admin
psychobunny 561ebea362 attempt at fixing issues on safari, in progress
Baris Soner Usakli 1620d1e4be fixes
Baris Usakli 9309722898 fixed indents
Julian Lam 4334e23c4d fixing improper use of tertiary if that hopefully resolves issue
Julian Lam 7e55e7b3d2 fixing quoting that broke with the introduction of the new post window
Julian Lam 49ea40f6ee tweaks to composer pushing, fixed random extra letter in footer js
psychobunny a8f6222824 part2 of mobile sidebar menu. still disabled for now going to come back to this later.
psychobunny 1803595fa2 starting: mobile sidebar menu (intending to take the span3 hidden on mobile and turn it into a slidein sidebar)
psychobunny 2638c03752 added timeout to address bar hiding (as per the official way of accomplishing this task )
psychobunny 950fdefd7b rehide address bar on mobile after page load completes
psychobunny 3fa41ab316 rehide address bar on mobile after page load completes
psychobunny 5bb9933f4a added functionality to post button. also introduced some underlying concepts regarding modules and pulling template vars
Julian Lam 89d484c4ca removing old post_window (!!) and fixing default focus when the composer is loaded
psychobunny d620c29aa9 added rss button to topics. redesigned how the topic main_post looks - buttons were previously not visible on mobile as well.
Baris Usakli a4fd54a0c3 topic titles can be edited now
Baris Usakli da46a73efe looks better without disconnect alert
Baris Usakli 2d90635dc8 added 500ms delay to disconnect message
Julian Lam 78713f0599 Merge remote-tracking branch 'origin' into notifications
Baris Usakli f4218264e2 successful >:)
Julian Lam ffbafc99c4 Merge remote-tracking branch 'origin' into notifications
Conflicts:
	public/css/style.less
	public/src/app.js
	src/websockets.js
Baris Usakli 9e54602d16 removed debug code
Baris Usakli 3c0b86689a if same id is used it replaces the current alerts contents
Baris Usakli 58d12c9c7c possible fix to post window opening on page load
Baris Usakli fe37dfecf7 connection/disconnection handling
Julian Lam 64f320743a renaming the notification window to 'alert_window'
Baris Usakli 8d0ac4cb07 chat feature
Julian Lam 74c13ba299 Merge remote-tracking branch 'origin'
Julian Lam fd38b60bd6 fixing issue with teasers showing deleted post info
psychobunny ab492f147f check for online/offline users, added custom redis sismembers method, fix for category view not showing up if it has no topics
Baris Usakli 37b5680db0 fixed admin page loading
Baris Usakli c8b8899219 while you are editing a post you still need to write something dude
Baris Usakli c2c4c003ab if the user updates their email change the email uid mapping, added 500ms delay to the disconnect modal
Baris Usakli 5c2efafa0b disconnect modal
Baris Usakli 0e39acb366 moved addCommas to app, using addCommas in topic.tpl
Baris Usakli aac8182a1d dont allow empty or short post title and body
Baris Usakli 9d5f6364ad removed console.logs
Julian Lam 826edbd669 added linking to formatting opts in editor
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.
Baris Usakli b949105142 Merge branch 'master' of https://github.com/psychobunny/NodeBB
Baris Usakli ecc621e0c1 disconnect event
Julian Lam b0cf97c5d6 editing features, part 1
Julian Lam 3eff46bb52 restricting posting by anons, redirects to login page and saves post to localstorage
Julian Lam e9a552eab4 editing of posts
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
Julian Lam 2acd40a8bb fixing up the post window to extend the body when opened, so it doesn't clip stuff
Julian Lam 4dced643c5 tweaking app.alert so that on regular fadeout (after timeout expiry), the alert is removed from the DOM
Julian Lam f0eeec8932 fixing alert removal by alert_id and adding alerts when thread is locked or pinned
psychobunny fa64e84dcc fixed a bug in templates, introduced categories, added default setup script onload, moved home.tpl code over to category, created hierachies
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 bcb672e1fe socket rooms! and almost finished rep (socket updates) except for one small bug where current_user isnt being pulled
psychobunny 517b4de2fe threads look awesome now
Baris Soner Usakli a47491225a clear topic and content after post
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
Baris Soner Usakli 20aa5d439e log server errors in browser
added uid to posts
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 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
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