Commit Graph

560 Commits (f909ed2541877ecd03a9b2f8d16052722481cfb3)

Author SHA1 Message Date
barisusakli abed319da2 closes
barisusakli dff3d7f20e various group chat fixes
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
barisusakli 784ff07907 ability to add/remove users from chat rooms, tagsinput
barisusakli 8fab270852 leaveRoom method, small fixes
barisusakli 29d8b9c181 more room changes app.openChat
barisusakli 277ee94f06 dont call meta.rooms.enter for guests
psychobunny 0be363d220 closes
@martyalicante @a5mith  hopefully finally fixed :)
Barış Soner Uşaklı 871dffb0d3 Merge pull request from pitaj/patch-1
Use the hide class instead of jQuery hide
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