Commit Graph

652 Commits (06f089afda45931aabf0c4a21b5dba217f18d899)

Author SHA1 Message Date
Peter Jaszkowiak 6e889ed60d Use hidden class for search field
psychobunny 4798647b8a moved infinitescroll.parseAndTranslate to app.parseAndTranslate
Julian Lam ae43c16227 Fix tooltips for user icons that aren't divs
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
barisusakli d146bff2a1 send less data when leaving rooms
barisusakli 2d96cdba1c closes
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
barisusakli 0b26cfdd43
Julian Lam f6d5b52a8b WIP user-icons
barisusakli 4e2318fa1e fix title in acp removed extra |
barisusakli 13508ca7f9 closes
barisusakli 5c51efdab3 globals config.relative_path
barisusakli fbfb39f967 moved socket connection out of app.js
Mega b4bcfb83a7 Fix: When a user changes his online status, all [component="user/status"] elements on a page are changing. The same bug appears in:
/user/*
/users/*
/topic/*
/chats/*

Cold load: http://i.imgur.com/OL2njmf.jpg
After change my status: http://i.imgur.com/J6I8lOC.jpg
barisusakli 775e0532eb fix search selector
barisusakli 459e51862a closes
barisusakli a64cbbc6df
barisusakli 980484d930 added config as global :dull:
barisusakli 48512bff6b get rid of app.exposeConfigToTemplates
psychobunny b66a58dd52 user/status: don't touch the other classes
fixes that 2px thing @julianlam
psychobunny 54d996ca6a fixed user/logout component + vanilla 3.1.2
psychobunny b19120f822 user/logout componen
psychobunny 2301362f59 component="header/usercontrol"; also fixes user status bug
barisusakli eaefd9d24c remove meta/title.js and meta.title.build
psychobunny 7210ffdde9 only need to translate bootbox's footer
psychobunny 7fa4057051 overrideTimeago only needs to be called once
psychobunny 0caa095ea4 closes
Barış Soner Uşaklı 76c0e33bcb filter links and children
barisusakli 5ababdbdf0 prevent crash if data.enter is not string
barisusakli 5b87af4389 closes
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
psychobunny 3d962822c6 properly, @barisusakli so no need to copy pasta everywhere timeago is used
psychobunny f9b104192b fixing deprecated global translator call
psychobunny 5299e1fdc6 closes
barisusakli 5e3e1f8781
barisusakli f8f3e3faa7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/79
barisusakli e592499d48 correctly hide/show user in browsing users
Julian Lam 474ff3ed35 fixed
Julian Lam 7e6703c18e more line ending conversion
Julian Lam 87e5c733a4 added dedicated client-side action hook for when the client-side finishes loading
barisusakli daf1a388eb closes
barisusakli ffd22f50ff closes
Julian Lam 48af82659e removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes
barisusakli 387a5e36b2 search fix, moved topic search to topic.js
psychobunny f8b3282295 closes
barisusakli 30a9b66b31 fix room enter
barisusakli 10de7a92e4 dont let joining other uid rooms
barisusakli 03b0d282f1 search fix prevent crash if search term is invalid regex
Barış Soner Uşaklı a5c52958e7 made handleSearch public
barisusakli 7632997a99 closes
Barış Soner Uşaklı dadbda98b7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/52
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global
Barış Soner Uşaklı b65f456d70 closes
barisusakli e775246bf9 moved collapse to theme
barisusakli e6d36af942 only close nav if body has slide-in
barisusakli 486f5f9df6 close navigation on click for slide-in as well
barisusakli 77e956861a
various fixes for socket.io cluster
display user presence correctly
psychobunny 412c5360a6 allow timeago to be cast on other elements as well, ex. small
barisusakli 076931d5b5 fix search tooltip
Barış Soner Uşaklı 9d0b4f5841 app.showEmailConfirmWarning :dull:
Barış Soner Uşaklı 940c33c426 fix js error removed dupe code
Julian Lam 2a80140e70 fixed issue where socket.io would no longer reconnect perpetually, new behaviour waits 10x the reconnect delay, and then starts over. Also upped the reconnection delay default to 1.5s.
barisusakli f87f797bed dont keep window.location.search on regular ajaxify
barisusakli 289474edf7 closes
barisusakli 2a8437f08f removed templates config and mapping 🐑
Julian Lam a3bc5d2037 fixing bug where the nav dropdown didn't close when a chat was opened
psychobunny 26245133f3 linted client-side core modules
Barış Soner Uşaklı 1d5e15eab4 closes
psychobunny fbbd405b00 even:alert socket call -> app.alert
Barış Soner Uşaklı d20628a8d4 closes
barisusakli eff1256dfb search sort, search in posts, titles, posts& titles
Julian Lam d102ff0704 fixed
Julian Lam a526577927 only attempt to remove address bar if current position is at the top of screen
barisusakli cb5ee2a141 closes
barisusakli bbfec7d443 fix post index parse
barisusakli 08c1dad3ee topics.isFollowing works with multiple tids now
barisusakli ce9c17f8e5 ability to search posts by user
Julian Lam aa62c52580 closed
barisusakli 60f1b9679a search filters
barisusakli 2ea5f85d9b closes
barisusakli e6b4a45cda closes
barisusakli 3bdb98e747 closes
barisusakli 1424acc88e fix reconnection for socket.io 1.x
barisusakli 8ed06eb773 closes
barisusakli 04084807c2 removed app.loadConfig
barisusakli 7ec8393004 closes
barisusakli acf1b76da8 reconnectionAttemps in socket.io 1.0x
https://github.com/automattic/socket.io-client#managerurlstring-optsobject
barisusakli 79f3659e55 reconnectionDelay
barisusakli 99e774d196 socket.socket.disconnect doens't exist in 1.x
barisusakli 7ae7c50f56 app.user
barisusakli 28ed49a1d2 removed android check
barisusakli 3a0b92a0e4 fix path for socket.io subfolder install
Julian Lam 1b526026a0 closed
Julian Lam 1c21ca78dc preventing ctrl-f hijacking if no search plugin is installed
Barış Soner Uşaklı 2086ddf386 closes
barisusakli 15c2b124e3 recent replies needs stripTags true
changed [self] to _
Julian Lam deac12c540 closed
barisusakli f0797493ee make sure sockets leave the current room when entering another
psychobunny b511bc37fb don't initialize taskbar until dom is ready
Julian Lam 0e9fdc9a09 fixed -- chat modal now opens, but input is disabled
barisusakli 38874345b7 closes
barisusakli fd70ba5647 fix titles on ajaxify
Julian Lam adfb89a2ad closed
psychobunny ffcb324d91 oh bootbox, I forgive you. (I lost hope in this actually being resolved upstream)
psychobunny 8abf2835a5 removed modules/admin and moved mousetrap + keybindings out of client
psychobunny 6a6f0a3b78 app.isConnected check
psychobunny 9c8395808c use page visibility api instead of window.onblur
this lib supports most major browsers
Julian Lam aee8b87385 composer tweaks, hiding navbar when mobile composer is open
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk
Julian Lam 40e5ad075f started work on
barisusakli 421d091828 optimizing browsing users
barisusakli 0dc780148a removed global room
socket.io already puts everyone into a room named ''
barisusakli 171f02101d closes , closes
barisusakli ae6d5e72f4 closes
Julian Lam 1f06e4f5a2 added secret key bindings for admins to reload and restart their NodeBBs :shipit:
Julian Lam 063a4e5628 finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed
Julian Lam 5d22806ded more topic searching work (working example, needs UX tie-in)
Julian Lam cd10248226 basic topic searching via search bar working
Julian Lam 5f96823f66 allowed the "forum updated" message to show up for reloads as well
psychobunny 2ced285f89 closes
barisusakli c991997552 removed off from search button
Julian Lam bb7a71389e using websocketAddress config if supplied
psychobunny 947c9b6eea you're now logged out server-side when you're banned, so csrf token doesn't work in app.logout
barisusakli 3bfad766b3 closes
psychobunny 4723b6d68b danger instead of warning for banned alert
psychobunny cb08d4b04f getting rid of this one for good
barisusakli 04c6ca2ebb closes
barisusakli 523b3db3f1 no header tooltips in xs
psychobunny 7401744112 trigger action:ajaxify.contentLoaded on cold load as well
barisusakli d999116541 wait for widgets to render to send ajaxify end
possible fix for broken masonry on f5
Julian Lam a031bc2721 highlighting of the user with whom you are currently chatting with
barisusakli 197300b347 moved populateOnline users out of app.js
barisusakli 7af597d7c2 closes
barisusakli 836540ff78 replaceSelfLinks on new posts and reload
barisusakli 1296cd58b9 closes
barisusakli 13854e8774 closes
barisusakli 76190718d3 indents
Charles 6e50016a11 Cleanup the vars
Charles 23a88492a6 Get template mapping after removing relative path
barisusakli 4bdbce9cd8 use removeRelativePath in app.js too
psychobunny e88abcc1d9 fixed updated language strings
psychobunny 94312cfda8 closes
psychobunny bbcff6a0a5 moved widget rendering up a bit
barisusakli ff2bad635c infinite scroll refactor
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