1239 Commits (4b38533b15dcd2a044e255a02882c8aa59e89e72)

Author SHA1 Message Date
Julian Lam 84433f29ab
Do not require a full refresh on login/logout (#6841)
* no-refresh login as well, plus lots of fixes for missing config on login

* replace config with new set on logout as well

* passing new payload data into new action:app.loggedIn hook, and old action:app.loggedOut hook

* fixed issues with socket.io not properly representing uid on server

* some light refactoring and cleanup

* minor cleanup, fixed spa logout not working after login

* have reconnection handler for socket.io wait 2s to confirm disconnection before reporting -- stops flicker if reconnecting immediately

* Dynamically replace chat and slideout menu on updateHeader()

... instead of just the menu items.

* more efficient calls to Benchpress and translator /cc @pitaj

* fix: chats and notification handlers not working after login

* fix: accidentally calling cb multiple times
6 years ago
Barış Soner Uşaklı 6f47446171 closes #6910 6 years ago
Barış Soner Uşaklı 61c7aa4b19 closes #6885 6 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
6 years ago
Baris Usakli 881185ae59 closes #6857 6 years ago
Julian Lam c95ad2c46a closes nodebb/nodebb-theme-persona#339 6 years ago
Baris Usakli 6dc84deca9 allow admins mods to watch/ignore categories for other users 6 years ago
André Zanghelini 523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
6 years ago
Barış Soner Uşaklı 95ace13599 add loading=false 6 years ago
Barış Soner Uşaklı ef55598822 filter messages that are already inserted to DOM 6 years ago
Barış Soner Uşaklı cf75c79611
Unread changes closes #6781 (#6783)
* WIP

* more unread work

* faster teaser block handling

if user doesn't have anyone blocked don't check

* much faster filtering of blocked posts

* add missing uid

* add tidsByFilter to return

* dont load all pids to find previous non-blocked teaser

* fix unread filters

they no longer use unread/new unread/watched etc they are query strings now

* shorter nav item code

* add unreplied to filters

fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
6 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 7 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 7 years ago
smyther f120015b54 Fix for user being able to open multiple "delete posts" modals (#6770)
* Implement fix for multiple fork cards showing

* Fix for admin being able to open multiple 'delete posts' modals

* Fix linting issue
7 years ago
smyther 0c9907367a Implement fix for multiple fork cards showing (#6757) 7 years ago
Julian Lam c2c925cacd closes #6678 7 years ago
Julian Lam 5c04ec2d63 removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept 7 years ago
Julian Lam 70f04bd1c2 fixed client-side console error on vote 7 years ago
Julian Lam a77630c6be closes #6697 7 years ago
Baris Usakli 976b85ccaa closes #6676 7 years ago
Julian Lam 5243ee559a set initial focus on register page 7 years ago
Julian Lam 609f711db0 added logic to handle Chats.switchChat being called with no arguments 7 years ago
Barış Soner Uşaklı ec33a12dad closes #6644 7 years ago
djls45 4f0a24cfed Preserve case of respondee's slug when responding to their post. 7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Barış Soner Uşaklı 4ed079555e Merge remote-tracking branch 'refs/remotes/origin/master' into blocks 7 years ago
Julian Lam fb42862ec7 check password validity in user delete socket call 7 years ago
Baris Usakli 584f88e092 blocks WIP 7 years ago
Barış Soner Uşaklı 57b7c7ede4 closes #6607 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı 017b10d5d6 closes #6544 7 years ago
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
7 years ago
Barış Soner Uşaklı 779d03cf57 move timestamp to server 7 years ago
Barış Soner Uşaklı d040544773 fix clicking topics after merge modal is closed 7 years ago
Barış Soner Uşaklı 45cc30a91b remove deprecated code
unread counts are loaded on cold load
7 years ago
Barış Soner Uşaklı f0a538bd4a closes #6536 7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 81328806a0 closes #6511 7 years ago
Julian Lam 8e275df803 closes #6487 7 years ago
Julian Lam a08572b800 kick support for chats, #6479 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam 4bac78a568 wrapping up basic blocking UCP for #6463 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam f0f30041f5 re: #6408 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Julian Lam 7ba2ac9f69 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 927537c759 #6431 add private upload info 7 years ago
Barış Soner Uşaklı b35bfb81ce ability to delete uploads from account page #6431 7 years ago
Julian Lam f9f75c6b43 fix accidental client-side invocation of post history controls if it was disabled via ACP 7 years ago
Julian Lam 8e822c7772 Added user consent pages (#6430)
- "Your Rights & Consent" user settings page
7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Barış Soner Uşaklı 8b16a63cc2 closes #6419 7 years ago
Barış Soner Uşaklı caf43e3025 closes #6358 7 years ago
Julian Lam 113fed05d8 closes #6412 7 years ago
Barış Soner Uşaklı 749b282cdd add matchwords to search api 7 years ago
Julian Lam 0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
7 years ago
Julian Lam 9aa9183cc3 implementing zxcvbn in reset-code tpl, re: #6400 7 years ago
Barış Soner Uşaklı 51bd30fe92 closes #6385 7 years ago
Julian Lam 9197879291 fixes #6359 7 years ago
Julian Lam 693c7a3b85 fix 'invalid date' in post history dropdown, #6362 7 years ago
Julian Lam 5d2e6f0e8e Squashed commit of the following:
commit 7bd46afad7033a466626826d3e29610f41328510
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:41:36 2018 -0400

    fixes #6363

commit 4b755d5801b2f6d70cea10516f88392708c72f61
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:24:12 2018 -0400

    fixes #6362

commit 6035e75453a08aee0fef7ff59d57dd5c1e8f4ac9
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Mar 15 15:07:23 2018 -0400

    Fixes #6361
7 years ago
Barış Soner Uşaklı 221f9848d2 closes #6349 7 years ago
Julian Lam 346187d65d fixes #6176 7 years ago
Julian Lam a86d91a552 wrapping up post history work 7 years ago
Julian Lam 55788382ea Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
Ben Lubar 00776bdd8e Bookmark optimization (#6315)
* Set the user's bookmark if their current bookmark is past the end of the topic.

* Optimize forked topic bookmark updating.

Remove support for updating bookmarks for users who sort by votes.

Don't even consider updating bookmarks for users who have not read the posts being removed.

Only compute post indices once per fork operation instead of once per user that has ever read the topic.
7 years ago
Baris Usakli 3340db9636 remove unused var 7 years ago
Baris Usakli ef4de68f5b closes #6312 7 years ago
Barış Soner Uşaklı d16667a5fb closes #6304 7 years ago
Julian Lam 897a7d84f9 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 8427601b04 closes #6287 7 years ago
Barış Soner Uşaklı 155e20d216 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam 5c3155f145 firing hook on chat message load and exposing upload_url to client-side 7 years ago
Baris Usakli 7aae167188 remove unused deps 7 years ago
Baris Usakli 14fbc0dc2f remove dupe method 7 years ago
Julian Lam b14e531cee Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 813fdaf6f6 fix pageCount calculation 7 years ago
Barış Soner Uşaklı 33a8cb947e Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam c20aca8933 decreased full chat height by 1px 7 years ago
Baris Usakli a6b96b6772 fix undef var 7 years ago
Baris Usakli 4fbec0265b closes #6254 7 years ago
Julian Lam 457194b333 Merge branch 'master' into develop 7 years ago
Barış Soner Uşaklı 3d81bcb1fe closes #6238 7 years ago
Julian Lam d0a1eb61bc Updates to allow better chats integration
- Removed unused .createTagsInput method
- Firing action:chat.loaded client-side hook in all cases of chat now
  - New chat window (modal)
  - New chat page load
  - Chat switch event
7 years ago
Julian Lam 89383c261f fixed scrollToBottom detection in chats page 7 years ago
Julian Lam 8f5dccdfb5 Chat fixes
- Fixed issue where clicking into a chat didn't update unread state
- Fixed issue where receiving new messages in chat page didn't mark chat
  unread
- Fixed issue where chat title sets were broken in modal and page
- Removed chat leave toggle in chat list (is now in chat dropdown)
7 years ago
Julian Lam 19e53ab61b Lots o' chat changes
- Added chat room management (instead of tagsinput)
- Chat leave button in chat options dropdown
- Refreshing participants when user is added
- Updated autocomplete module so that it can be shown above a modal
  (z-index 100005 > 20000)
- Using cant-chat-with-yourself source string, which wasn't defined
  before, but was still used
7 years ago
Julian Lam 970c8b6f64 Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam d1ccd78ac2 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Julian Lam b2b57d49bf WIP add user modal 7 years ago
Barış Soner Uşaklı 9922720dd3 closes #6209 7 years ago
Julian Lam cd4d0049e6 fixed broken UI in chat modal, send btn 7 years ago
Julian Lam 82bfd6edfd added a new component shortcut and updated title setting logic 7 years ago
Barış Soner Uşaklı df182bc7e4 closes #6198 7 years ago
Julian Lam eea124b312 room rename logic 7 years ago
Julian Lam e091568d17 closes #6191 7 years ago
Julian Lam c9364291fb Merge branch 'develop' into chat-rewrite 7 years ago
Julian Lam f2c251e89c Merge branch 'master' into develop 7 years ago
Peter Jaszkowiak be00a1c013 Support for using yarn instead of npm, include unread counts on cold load (#6179)
* Close #6178

* Support for package managers besides npm

- Also fixes issue where upgrade-plugins wouldn't work
7 years ago
Julian Lam 8cb914c15e more fixes to better handle transitioning from chat to chat and closing chats, etc.
also modals no longer used on mobile view at all
7 years ago
Julian Lam 3d74fc8220 some changes to fix class names used, character countdown support, etc. 7 years ago
Julian Lam d967201b2a drastically simplified main window resizing logic, some language changes 7 years ago
Barış Soner Uşaklı 96084340ad closes #6186 7 years ago
Julian Lam 82a95a03be Chat message soft deletion -- closes #6181
Squashed commit of the following:

commit f84c06bdcc45f24ef7ffde6a8f33b48d8f97fc36
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 14:42:47 2017 -0500

    added restore handler for chat messages

commit 725cd370c6ea1e8f4a28298350f3dc024d4e668e
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 14:23:52 2017 -0500

    backend logic and testing complete for deletion and restoration of chat messages

commit 072da758319cc93fa4c6f8bc0d672a1b716dc06e
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 13:52:35 2017 -0500

    changing message delete logic to not remove mids, but to filter when retrieving

commit 68bf373305ab82737658a7c31dc5549af4d6d69f
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 12:37:58 2017 -0500

    logic to handle deletion of a deleted chat message -- added some failing tests

commit 6899d0d234fa752e227188aa69cfcabd0d0500cc
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Dec 18 11:35:36 2017 -0500

    chat message deletion logic
7 years ago
Julian Lam 88b47f357b removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite 7 years ago
Barış Soner Uşaklı e4ff1dc61b closes #6174 7 years ago
Barış Soner Uşaklı 43180d4b83 #6158 7 years ago
Barış Soner Uşaklı d9e115c3e6 closes #6146 7 years ago
Baris Usakli 3551d7d68e closes #4804 7 years ago
Barış Soner Uşaklı 548ec6baf7 closes #6144 7 years ago
Barış Soner Uşaklı 54b12119e9 add registered query param 7 years ago
Baris Usakli 947fc739eb remove extra translator require 7 years ago
Muhammad Osama Arshad 64895310a9 fix #5973 7 years ago
Baris Usakli 4e029556df closes #6081 7 years ago
Barış Soner Uşaklı 2ec54166f7 only show alert if on the same category 7 years ago
Barış Soner Uşaklı 9eabb1dc94 closes #6044
use the same UX from /recent on individual categories
7 years ago
Barış Soner Uşaklı f7ccabc3cc only add relative path if not starts with http(s) 7 years ago
Barış Soner Uşaklı 80ecd4ba6d closes #6036 7 years ago
Baris Usakli 47143a4a09 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Baris Usakli a500e0019c closes #6005 7 years ago
Baris Usakli c4310395c9 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
7 years ago
Baris Usakli 6a6dc7ef06 closes #5990 7 years ago
Julian Lam 684a66a760 fixes #5989 7 years ago
Julian Lam ae261e073b updating markdown and moving app.load back into ajaxify.end 7 years ago
Julian Lam cfacc4f133 potential fix for #5980 7 years ago
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
7 years ago
Peter Jaszkowiak cfba8970e1 Fix posts block usage in categories page 8 years ago
Peter Jaszkowiak 71aab79a9a Switch client t.js usage to Benchpress 8 years ago
Baris Usakli 27a6b8a713 lint fixes 8 years ago
Baris Usakli bc6b1a8f56 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	public/src/admin/extend/plugins.js
8 years ago
Julian Lam d9ad26c7c5 the meat of #5862, making chat loading not require an ajaxification 8 years ago
Julian Lam 902b823f4d adding mobile handling of chats' recent list links 8 years ago
Julian Lam bc9a125034 re: #5862, setting chat list height even if no message list is present 8 years ago
Julian Lam 128b922873 fixes #5428 8 years ago
Baris Usakli 8928db539b add missing radix 8 years ago
Baris Usakli 51facb3cb0 closes #5857 8 years ago
Barış Soner Uşaklı 3e4a4d7d55 remove header selector 8 years ago
Barış Soner Uşaklı d32f5459b7 fix unread icon 8 years ago
Julian Lam 0ecd2300b3 Closes #5849 8 years ago
Baris Usakli 875672522e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	src/search.js
8 years ago
Barış Soner Uşaklı 7a405da60f group member search change 8 years ago
Julian Lam 84c1a182e5 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Barış Soner Uşaklı efe13e4038 closes #5827 8 years ago
Julian Lam 184dacf1d7 Merge branch 'master' into develop 8 years ago
Julian Lam c4fbed24f8 Squashed commit of the following:
commit 9c86d9b2904e14927cd7e9679b92aec0951d1063
Merge: ebfa63a 5a7f811
Author: Julian Lam <julian@nodebb.org>
Date:   Thu Jul 20 08:41:39 2017 -0400

    Merge branch 'noscript-login' of https://github.com/An-dz/NodeBB into noscript

commit 5a7f81185e8f9bd7d2d011c3d495988be7e437a3
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Mon Jul 17 23:07:14 2017 -0300

    Rename clashing variable 'next'

commit ebfa63a984073a58c17aa408c363cdb03ef89985
Merge: c1801cd f159d0d
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:40 2017 -0400

    Merge branch 'noscript-logout' of https://github.com/An-dz/NodeBB into noscript

commit c1801cda14e6363491e30b659902e2ae71f7e1f7
Merge: 7a5f9f3 9fd542d
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:31 2017 -0400

    Merge branch 'noscript-register' of https://github.com/An-dz/NodeBB into noscript

commit 7a5f9f35abc834bb72ddddc9ca07d34f2fde8353
Merge: 44851f9 d37b95c
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Jul 17 16:30:10 2017 -0400

    Merge branch 'noscript-compose' of https://github.com/An-dz/NodeBB into noscript

commit f159d0d9ef1b7f600e830a96fdb4b9c87c79bb4a
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jul 6 12:16:38 2017 -0300

    Prevent form submit

    Required for theme change

commit d37b95cb71d32d4483190609798e244c331db165
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jul 6 01:49:52 2017 -0300

    Prevent link action with scripts

    Required for the theme change that changes the buttons to `a` tags.

commit 9fd542d8970b7d1a4126f4edc4b44eab7d708fb0
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 19:57:56 2017 -0300

    Fix tests

commit cdad5bf8c2891ad76f7441fd4d8a74b058a14e6d
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 19:09:17 2017 -0300

    Update error handling

commit 4ff11cd136a4fb98483f837e2cebc741380dfe76
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 17:29:08 2017 -0300

    Remove async waterfall

commit df01d44e821a70c984b89e9585a325c3e02c6e37
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 16:59:43 2017 -0300

    Set noscript compose as noscript at start

commit 4bcc380da72239b8315cc849a77a3036e06e4a12
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Wed Jul 5 16:59:12 2017 -0300

    Remove last useless next

commit b5eac6fea11e209934c0648a7e75ad07a2167123
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 18:35:08 2017 -0300

    Last function requires no next

commit 20a5cce6e6e32a454c304c448383707ec44c75a8
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 18:06:58 2017 -0300

    Remove more useless next calls

commit 85ee22a79bcbbb1995106f43d4c74d6ba9206cab
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 17:46:07 2017 -0300

    Remove useless next calls

commit 7d984c47ad24faac1fe537dee4a5a7d697e8634c
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 15:45:31 2017 -0300

    Support old themes

commit 4a09dfbd08253115c342a9e829c4e6940cecb8cc
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sun Jul 2 15:37:23 2017 -0300

    Moved all error handling into helpers function

commit 391aa6e67ef9ab67304005e14ac0633cdb630713
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Thu Jun 8 15:37:37 2017 -0300

    ESLint - Fix mixed conditionals

commit 80ccc6fd581d791f31e7ab62de8de611837bfc3c
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 18:08:15 2017 -0300

    Compose without scripts

commit 2aca811256721238ca0cede4954213d369009885
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 18:00:44 2017 -0300

    Register without scripts

commit 097bb51577fb26f8e22f86dc274cb670ab606a8a
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 16:42:15 2017 -0300

    Logout without scripts

commit d497e08109891079656fee1c145043a9c0e55f2e
Author: André Zanghelini <an_dz@simutrans-forum>
Date:   Sat Jun 3 16:27:10 2017 -0300

    Login without script
8 years ago
Stjepan Osojnički 9b491e4c2e Add post images hook (#5828)
* Add post images hook

This hook would allow plugins to manipulate images inside posts  after images are manipulated by nodebb (for example, delay loading). Without this hook we can manipulate images by searching post data for them and manipulate that data, but any change on that level is either erased by nodebb once image loading starts (if delay is turned on) or it disables native image behaviour by changing image code so native behaviour is not triggered.
Hook at this place works for both delayed loading turned on and off.
Usage for this kind of hook was talked about here: https://community.nodebb.org/topic/10960/opening-uploaded-images-in-modal-windows

* trying to fix Travis error

* Update images.js

Hook moved out of wrapImagesInLinks function to places where images are actually loaded. One of the places is inside unloadImage function but in place where loading is happening because of failed if check (delayImageLoading not se in users configuration).
8 years ago
Baris Usakli 0a4b76357a #5830 8 years ago
Baris Usakli 9dee81b37f closes #5830 8 years ago