560 Commits (42466d3c6e59c2d85e7416ba23c90f70e91f5562)

Author SHA1 Message Date
Timothy Fike 2d84c98565 Allow sending Error objects to alertError instead of just plain strings. 8 years ago
Julian Lam ede7a71db7 Fixes #5186
On socket.io connection, all clients join a room pertaining to
their express session id. We use this room to keep track of any
sessions in different browser windows (but the same cookie jar),
so if a login/logout occurs, we can throw a session mismatch
modal.

This room can also be used to emit messages across windows/tabs...
8 years ago
Ben Lubar e151916f1a
Fix followed topic notifications going to the last unread post
Regression introduced in 1b34ebe230.

Bug originally reported in #4469.
8 years ago
Julian Lam e6c9c89342 closes #5197 8 years ago
barisusakli 5703bf6eac fix test 8 years ago
barisusakli ce9be7e694 closes #5132 8 years ago
Julian Lam 66aea0eed1 closes #5167 8 years ago
Julian Lam 2da32512af not displaying banned modal if you're not actually banned, heh 8 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
8 years ago
psychobunny ee4943c485 fix regression: open chat page when in chats route instead of in modal 8 years ago
Barış Soner Uşaklı cbd936c547 closes #5140 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli aca0a893e7 remove since properly 8 years ago
barisusakli a93ee97926 closes #5073 8 years ago
Julian Lam 2931af18d4 define two client-side hooks for logout 8 years ago
barisusakli 8273dab368 ability to pass tags to new topics 9 years ago
Timothy Fike fc68b64fe0 New topic from anywhere.
Like on the navbar.
9 years ago
psychobunny 0afa55517f fixed app.loadJQueryUI; minified jquery-ui.js; removed jqueryui from cold load payload; fixed broken image paths 9 years ago
psychobunny 8b9f004b7b Revert "fixed app.loadJQueryUI and minified jquery-ui.js"
This reverts commit 2c9c14ff7d.
9 years ago
psychobunny 2c9c14ff7d fixed app.loadJQueryUI and minified jquery-ui.js 9 years ago
barisusakli 5c83075806 moved variables parse to ajaxify.js 9 years ago
barisusakli 276031cd6f closes #4585, closes https://github.com/NodeBB/nodebb-theme-persona/issues/299 9 years ago
psychobunny 59bd1d71f4 return roomId in optional callback when opening new chat 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
barisusakli d43c19c173 closes #4952 9 years ago
Julian Lam e26166a45b closes #4950 9 years ago
barisusakli 32320018ab closes #4911 9 years ago
Julian Lam 7902987900 added jqueryUI to list of prefetched resources, and updated its loader to not use $.getScript(). Updated require.js files to use ?v= in the url argument for cache buster 9 years ago
barisusakli 514c12aa68 closes #4885 9 years ago
Ben Lubar b08696515f Fix restarted secondary instances waiting forever for the templates:compiled message. Fix update notification always appearing when an instance restarts even if there was no update. Closes #4870 (#4871) 9 years ago
pichalite 11ba5e2bcc fix header tooltips 9 years ago
barisusakli bb7303834f remove csrf r.js module 9 years ago
barisusakli f475068010 closes #4759 9 years ago
psychobunny 1bcaf7bca3 up'd the timeout for both default alert toasters 9 years ago
barisusakli 1ec9fc7334 closes #4626 9 years ago
barisusakli f61d0cb457 https://github.com/NodeBB/nodebb-plugin-composer-default/issues/24 9 years ago
Julian Lam 28db642050 Fixing regression from 3e2231d2cb
@BenLubar
9 years ago
barisusakli e2f78a9585 closes #4432 9 years ago
barisusakli c71ffed69c closes #4362 9 years ago
barisusakli dc7a861a49 removed unused vars 9 years ago
Timothy Fike c80bd0c413 Added app.newTopic
Make a new topic from anywhere. #4223
9 years ago
barisusakli 6a98758a01 closes https://github.com/NodeBB/nodebb-theme-lavender/issues/60 9 years ago
Barış Soner Uşaklı 82875de32d remove / from startsWith 9 years ago
barisusakli 90b89a488e closes #4175 9 years ago
pichalite d81b6947f6 conditional change 9 years ago
pichalite 9901438001 indentation 9 years ago
pichalite 2c5e9dc4cf fix indent 9 years ago
pichalite 4b5d5b4bd9 search user and initiate chat from expanded chat page 9 years ago
Manuel Valle 41963bb300 Update app.js
migrated global *translate* to a *require.js* module.
9 years ago
barisusakli abed319da2 closes #3996 9 years ago
barisusakli dff3d7f20e various group chat fixes #3980
fix multiple modals using the same tagsinput
fix online user getting chat notification
fix owner not being able to remove users in the chat modal
9 years ago
barisusakli 784ff07907 ability to add/remove users from chat rooms, tagsinput 9 years ago
barisusakli 8fab270852 leaveRoom method, small fixes 9 years ago
barisusakli 29d8b9c181 more room changes app.openChat 9 years ago
barisusakli 277ee94f06 dont call meta.rooms.enter for guests 9 years ago
psychobunny 0be363d220 closes #1241
@martyalicante @a5mith  hopefully finally fixed :)
9 years ago
Barış Soner Uşaklı 871dffb0d3 Merge pull request #3769 from pitaj/patch-1
Use the hide class instead of jQuery hide
9 years ago
Peter Jaszkowiak 6e889ed60d Use hidden class for search field 9 years ago
psychobunny 4798647b8a moved infinitescroll.parseAndTranslate to app.parseAndTranslate 9 years ago
Julian Lam ae43c16227 Fix tooltips for user icons that aren't divs 9 years ago
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
9 years ago
barisusakli d146bff2a1 send less data when leaving rooms 9 years ago
barisusakli 2d96cdba1c closes #3720 9 years ago
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
9 years ago
barisusakli 0b26cfdd43 #3705 9 years ago
Julian Lam f6d5b52a8b WIP user-icons 10 years ago
barisusakli 4e2318fa1e fix title in acp removed extra | 10 years ago
barisusakli 13508ca7f9 closes #3547 10 years ago
barisusakli 5c51efdab3 globals config.relative_path 10 years ago
barisusakli fbfb39f967 moved socket connection out of app.js 10 years ago
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
10 years ago
barisusakli 775e0532eb fix search selector 10 years ago
barisusakli 459e51862a closes #3553 10 years ago
barisusakli a64cbbc6df #3573 10 years ago
barisusakli 980484d930 added config as global :dull: 10 years ago
barisusakli 48512bff6b get rid of app.exposeConfigToTemplates 10 years ago
psychobunny b66a58dd52 user/status: don't touch the other classes
fixes that 2px thing @julianlam
10 years ago
psychobunny 54d996ca6a fixed user/logout component + vanilla 3.1.2 10 years ago
psychobunny b19120f822 user/logout componen 10 years ago
psychobunny 2301362f59 component="header/usercontrol"; also fixes user status bug 10 years ago
barisusakli eaefd9d24c remove meta/title.js and meta.title.build #3481 10 years ago
psychobunny 7210ffdde9 only need to translate bootbox's footer 10 years ago
psychobunny 7fa4057051 overrideTimeago only needs to be called once 10 years ago
psychobunny 0caa095ea4 closes #3457 10 years ago
Barış Soner Uşaklı 76c0e33bcb filter links and children 10 years ago
barisusakli 5ababdbdf0 prevent crash if data.enter is not string 10 years ago
barisusakli 5b87af4389 closes #3447
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
10 years ago
psychobunny 3d962822c6 #3322 properly, @barisusakli so no need to copy pasta everywhere timeago is used 10 years ago
psychobunny f9b104192b fixing deprecated global translator call 10 years ago
psychobunny 5299e1fdc6 closes #3322 10 years ago
barisusakli 5e3e1f8781 #3430 10 years ago
barisusakli f8f3e3faa7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/79 10 years ago
barisusakli e592499d48 correctly hide/show user in browsing users 10 years ago
Julian Lam 474ff3ed35 fixed #3359 10 years ago
Julian Lam 7e6703c18e more line ending conversion #3343 10 years ago
Julian Lam 87e5c733a4 added dedicated client-side action hook for when the client-side finishes loading 10 years ago
barisusakli daf1a388eb closes #3039 10 years ago
barisusakli ffd22f50ff closes #1999 10 years ago
Julian Lam 48af82659e removing the composer from core, out to its own plugin: nodebb-plugin-composer-default, closes #3288 10 years ago
barisusakli 387a5e36b2 search fix, moved topic search to topic.js 10 years ago
psychobunny f8b3282295 closes #3141 10 years ago
barisusakli 30a9b66b31 fix room enter 10 years ago
barisusakli 10de7a92e4 dont let joining other uid rooms 10 years ago
barisusakli 03b0d282f1 search fix prevent crash if search term is invalid regex 10 years ago
Barış Soner Uşaklı a5c52958e7 made handleSearch public 10 years ago
barisusakli 7632997a99 closes #3045 10 years ago
Barış Soner Uşaklı dadbda98b7 closes https://github.com/NodeBB/nodebb-theme-persona/issues/52 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
Barış Soner Uşaklı b65f456d70 closes #2880 10 years ago
barisusakli e775246bf9 moved collapse to theme 10 years ago
barisusakli e6d36af942 only close nav if body has slide-in 10 years ago
barisusakli 486f5f9df6 close navigation on click for slide-in as well 10 years ago
barisusakli 77e956861a #2486
various fixes for socket.io cluster
display user presence correctly
10 years ago
psychobunny 412c5360a6 allow timeago to be cast on other elements as well, ex. small 10 years ago
barisusakli 076931d5b5 fix search tooltip 10 years ago
Barış Soner Uşaklı 9d0b4f5841 app.showEmailConfirmWarning :dull: 10 years ago
Barış Soner Uşaklı 940c33c426 fix js error removed dupe code 10 years ago
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. 10 years ago
barisusakli f87f797bed dont keep window.location.search on regular ajaxify 10 years ago
barisusakli 289474edf7 closes #2827 10 years ago
barisusakli 2a8437f08f removed templates config and mapping 🐑 10 years ago
Julian Lam a3bc5d2037 fixing bug where the nav dropdown didn't close when a chat was opened 10 years ago
psychobunny 26245133f3 linted client-side core modules 10 years ago
Barış Soner Uşaklı 1d5e15eab4 closes #2560 10 years ago
psychobunny fbbd405b00 even:alert socket call -> app.alert 10 years ago
Barış Soner Uşaklı d20628a8d4 closes #2539 10 years ago
barisusakli eff1256dfb search sort, search in posts, titles, posts& titles 10 years ago
Julian Lam d102ff0704 fixed #2656 10 years ago
Julian Lam a526577927 only attempt to remove address bar if current position is at the top of screen 10 years ago
barisusakli cb5ee2a141 closes #2632 10 years ago
barisusakli bbfec7d443 fix post index parse 10 years ago
barisusakli 08c1dad3ee topics.isFollowing works with multiple tids now 10 years ago
barisusakli ce9c17f8e5 ability to search posts by user 10 years ago
Julian Lam aa62c52580 closed #2583 10 years ago
barisusakli 60f1b9679a search filters 10 years ago
barisusakli 2ea5f85d9b closes #2481 10 years ago
barisusakli e6b4a45cda closes #2531 10 years ago
barisusakli 3bdb98e747 closes #2530 10 years ago
barisusakli 1424acc88e fix reconnection for socket.io 1.x 10 years ago
barisusakli 8ed06eb773 closes #2528 10 years ago
barisusakli 04084807c2 removed app.loadConfig 10 years ago
barisusakli 7ec8393004 closes #2532 10 years ago
barisusakli acf1b76da8 reconnectionAttemps in socket.io 1.0x
https://github.com/automattic/socket.io-client#managerurlstring-optsobject
10 years ago
barisusakli 79f3659e55 reconnectionDelay 10 years ago
barisusakli 99e774d196 socket.socket.disconnect doens't exist in 1.x 10 years ago
barisusakli 7ae7c50f56 app.user 10 years ago
barisusakli 28ed49a1d2 removed android check 10 years ago
barisusakli 3a0b92a0e4 fix path for socket.io subfolder install 10 years ago
Julian Lam 1b526026a0 closed #2442 10 years ago