Barış Soner Uşaklı
c02d584b53
reduce initial js payload/requests
7 years ago
Baris Usakli
c343b93a37
optimize ajaxify
...
- do not call $.timeago twice on topic load and for widgets
- do not use toLocaleString for each timeago string, use a single
Intl.DateTimeFormat instance instead
- do not call format for empty timeago strings, ie a post that isnt
edited doesnt have a timeago string
- do not call isTouchDevice for every element
- remove app.replaceSelfLinks, this is superceded with /me route
- store references to jquery objects in navigator instead of creating
them on every scroll
7 years ago
Barış Soner Uşaklı
ac549f8bc7
closes #6957
7 years ago
Barış Soner Uşaklı
973b5fcfe0
closes #6932
7 years ago
Baris Usakli
3e2dffa6d0
fix search in if in query param isn't passed in
7 years ago
Julian Lam
f7bd398eb1
style(eslint): newlines in public/src as well
7 years ago
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
7 years ago
Julian Lam
501b3a79ca
Refactor skins to be built on server-side ( #6849 )
...
* WIP
* using bootswatch from npm instead of bootswatch CDN url
* feat: on-demand client css building for skins
* added ability for client-side to select a skin
* updated loading and saving logic of bootstrapSkin on client side user settings
* fix: broken test for #6849
7 years ago
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
7 years ago
Barış Soner Uşaklı
6f47446171
closes #6910
7 years ago
Barış Soner Uşaklı
61c7aa4b19
closes #6885
7 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
7 years ago
Baris Usakli
881185ae59
closes #6857
7 years ago
Julian Lam
c95ad2c46a
closes nodebb/nodebb-theme-persona#339
7 years ago
Baris Usakli
6dc84deca9
allow admins mods to watch/ignore categories for other users
7 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
7 years ago
Barış Soner Uşaklı
95ace13599
add loading=false
7 years ago
Barış Soner Uşaklı
ef55598822
filter messages that are already inserted to DOM
7 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
7 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
8 years ago
Julian Lam
89383c261f
fixed scrollToBottom detection in chats page
8 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)
8 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
8 years ago
Julian Lam
970c8b6f64
Merge branch 'develop' into chat-rewrite
8 years ago
Julian Lam
d1ccd78ac2
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Julian Lam
b2b57d49bf
WIP add user modal
8 years ago
Barış Soner Uşaklı
9922720dd3
closes #6209
8 years ago
Julian Lam
cd4d0049e6
fixed broken UI in chat modal, send btn
8 years ago
Julian Lam
82bfd6edfd
added a new component shortcut and updated title setting logic
8 years ago
Barış Soner Uşaklı
df182bc7e4
closes #6198
8 years ago
Julian Lam
eea124b312
room rename logic
8 years ago
Julian Lam
e091568d17
closes #6191
8 years ago
Julian Lam
c9364291fb
Merge branch 'develop' into chat-rewrite
8 years ago
Julian Lam
f2c251e89c
Merge branch 'master' into develop
8 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
8 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
8 years ago
Julian Lam
3d74fc8220
some changes to fix class names used, character countdown support, etc.
8 years ago
Julian Lam
d967201b2a
drastically simplified main window resizing logic, some language changes
8 years ago
Barış Soner Uşaklı
96084340ad
closes #6186
8 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
8 years ago
Julian Lam
88b47f357b
removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite
8 years ago
Barış Soner Uşaklı
e4ff1dc61b
closes #6174
8 years ago
Barış Soner Uşaklı
43180d4b83
#6158
8 years ago
Barış Soner Uşaklı
d9e115c3e6
closes #6146
8 years ago
Baris Usakli
3551d7d68e
closes #4804
8 years ago
Barış Soner Uşaklı
548ec6baf7
closes #6144
8 years ago
Barış Soner Uşaklı
54b12119e9
add registered query param
8 years ago
Baris Usakli
947fc739eb
remove extra translator require
8 years ago
Muhammad Osama Arshad
64895310a9
fix #5973
8 years ago
Baris Usakli
4e029556df
closes #6081
8 years ago
Barış Soner Uşaklı
2ec54166f7
only show alert if on the same category
8 years ago
Barış Soner Uşaklı
9eabb1dc94
closes #6044
...
use the same UX from /recent on individual categories
8 years ago
Barış Soner Uşaklı
f7ccabc3cc
only add relative path if not starts with http(s)
8 years ago
Barış Soner Uşaklı
80ecd4ba6d
closes #6036
8 years ago
Baris Usakli
47143a4a09
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
8 years ago
Baris Usakli
a500e0019c
closes #6005
8 years ago
Baris Usakli
c4310395c9
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
...
# Conflicts:
# package.json
8 years ago
Baris Usakli
6a6dc7ef06
closes #5990
8 years ago
Julian Lam
684a66a760
fixes #5989
8 years ago
Julian Lam
ae261e073b
updating markdown and moving app.load back into ajaxify.end
8 years ago
Julian Lam
cfacc4f133
potential fix for #5980
8 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
8 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