5072 Commits (b734defbfaa9e2b164b76070e02a03695578205b)

Author SHA1 Message Date
Barış Soner Uşaklı 1ce15e69ab dont require search and moustrap on topic page until needed 6 years ago
Barış Soner Uşaklı c0a75d735b fix requires 6 years ago
Barış Soner Uşaklı c02d584b53 reduce initial js payload/requests 6 years ago
Baris Usakli 0fd5210d37 really fix pagination on mobile 6 years ago
Baris Usakli 2624e302ab fix navigator on mobile 6 years ago
Baris Usakli c1ab753bc3 use paginationBlock 6 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
6 years ago
Barış Soner Uşaklı ac549f8bc7 closes #6957 6 years ago
Barış Soner Uşaklı f0dead7aba more tooltip work 6 years ago
Barış Soner Uşaklı 4b6b3d5436 set duration to 0 6 years ago
Barış Soner Uşaklı 85c832fcc6 add tooltip 6 years ago
Barış Soner Uşaklı fe8832ad5c dont update if index didnt change 6 years ago
Barış Soner Uşaklı 7b5c4f343a drag nav 6 years ago
Barış Soner Uşaklı de14102ee7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 6 years ago
Barış Soner Uşaklı d9452bf3d4 fix: custom navigation item not showing groups 6 years ago
Julian Lam b3f96d28aa fix(acp): hard-to-discover dropdown selector in ACP
Made the dropdown an MDL button fab with better positioning via
a p.lead so that it is more easily discoverable and obvious that
it is a button that can be pressed.

Fixes #6899
6 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
6 years ago
Barış Soner Uşaklı b6771836cf closes #6937 6 years ago
Barış Soner Uşaklı 973b5fcfe0 closes #6932 6 years ago
Baris Usakli 3e2dffa6d0 fix search in if in query param isn't passed in 6 years ago
Julian Lam f7bd398eb1 style(eslint): newlines in public/src as well 6 years ago
Julian Lam aef1c155cc hey husky wtf you doin' 6 years ago
Julian Lam da10ca084b fix: #6921, allow square brackets in usernames 6 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 😬
6 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
6 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
6 years ago
Baris Usakli 3c611d85ed closes #6912
- on category setParent dialog do not show children of current category
- break recursion if category parentCid is equal to child cid to prevent
infinite loop
- dont allow setting the parentCid of a category to one of it's children
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ı fee3ec308a use showSelect 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
Barış Soner Uşaklı 56c1eac1a5 fix translations on dashboard 6 years ago
Barış Soner Uşaklı 69253d9a7f use chart.js legend 6 years ago
Barış Soner Uşaklı 8abef4c101 bg colors 6 years ago
Barış Soner Uşaklı b916dc562f fix bg colors 6 years ago
Barış Soner Uşaklı 804451cc37 update axis ids 6 years ago
Barış Soner Uşaklı c2191167ee fail colors 6 years ago
Barış Soner Uşaklı 5b842c98ac fix typo 6 years ago
Barış Soner Uşaklı 9f36ce3997 #6862 6 years ago
Barış Soner Uşaklı 11c2a65b5a fix config values not showing client side if they were set to 0 6 years ago
Andrew Rodrigues e2ecbae06c add body class when cookie consent warning is open 6 years ago
Andrew Rodrigues c9fc65d901 more efficient selectors (apparently) 6 years ago
Baris Usakli 881185ae59 closes #6857 6 years ago
Barış Soner Uşaklı 9c022afae1
Parse int (#6853)
* Store config fields as JSON in the db

Fewer parseInts

* Remove unnecessary parseInts

* remove some dupe code add tests

* remove console.log

* remove more parseInts

* WIP: read meta.configs defaults from defaults.json

remove more parseInts

* more work

* add log for failing test

* update admin pwd

* fix tests, dont require posts/cache before configs are initialized

* handle saves

* Test boolean conditions

* remove more parseInts

* Fix boolean values

* remove lots more parseInts

* removed json parsing

* renamed var to number

* categories dont have timestamp
6 years ago
Julian Lam 762dac6a4a closes #6825 6 years ago
Julian Lam c95ad2c46a closes nodebb/nodebb-theme-persona#339 6 years ago
Barış Soner Uşaklı 702be3f6de https://github.com/NodeBB/nodebb-theme-persona/issues/363 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ı 49ba5af5fa
closes #6810 (#6813) 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ı 3554a0a725 closes #6791, if fileSize isn't passed in don't perform check 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ı df4f5f6f27
closes #6784 6 years ago
Barış Soner Uşaklı 71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
6 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 6 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 6 years ago
André Zanghelini f3956299eb Add tooltip in taskbar icons (#6693)
* Add tooltip in taskbar icons

* Translate taskbar title when creating taskbar
6 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
6 years ago
smyther 0c9907367a Implement fix for multiple fork cards showing (#6757) 6 years ago
Barış Soner Uşaklı ebaea9b6c1 closes #6743 6 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 9d202d9be9 closes #424 7 years ago
Julian Lam 70f04bd1c2 fixed client-side console error on vote 7 years ago
Andrew Rodrigues 12940b577b closes #6703 7 years ago
Julian Lam a77630c6be closes #6697 7 years ago
Barış Soner Uşaklı c0156640e3 add back alert 7 years ago
Barış Soner Uşaklı 14d810c113 show error if cropper fails 7 years ago
Baris Usakli 976b85ccaa closes #6676 7 years ago
Julian Lam ea2bd33bfa fixes #6608, restored template values in widget containers 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ı d06f795856 fix scroll on back 7 years ago
Julian Lam 352bef0a7f eliminate waitSeconds in rjs config 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 b7fc8493b7 closes #6635 7 years ago
Julian Lam 266eacac7c closes #6655 7 years ago
Julian Lam a07b45fd0f closes #6642 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
Timothy Fike e8a3c23d42 Fix verion regex Fixes #6620 (#6625) 7 years ago
Barış Soner Uşaklı 57b7c7ede4 closes #6607 7 years ago
Barış Soner Uşaklı 742ddd358b escape url 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı 017b10d5d6 closes #6544 7 years ago
Barış Soner Uşaklı 4293403451 #6535, use templateToRender clientside if its avaiable 7 years ago
Barış Soner Uşaklı c91b96c133 use data.roomName 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
Julian Lam a3e724e134 resolve window opener being set if ajaxify overrides on external link 7 years ago
Barış Soner Uşaklı b2d5551960 remove deprecated method 7 years ago
Barış Soner Uşaklı a1e933537b remove deprecated method 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ı d60d03d00f closes #6542 7 years ago
Barış Soner Uşaklı d5e85c2eb3 closes #6476, closes #6546 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 3688840f1f using modal-unfocused instead, so regular modals still appear on-top of composer
_now_ it closes #6532
7 years ago
Julian Lam 8164a52fc4 no longer using bringModalToTop, in favour of taskbar modal focused class
re: #6532
7 years ago
Julian Lam 32edfb6c5a updating chat logic to save uuid in data-uuid attr instead of uuid attr 7 years ago
Barış Soner Uşaklı 11bb2f1560 closes #6528 7 years ago
Barış Soner Uşaklı 6940612688 closes #6410 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı fc56347c22 closes #6520 7 years ago
Barış Soner Uşaklı 667630ff5d closes #6450 7 years ago
Barış Soner Uşaklı 4e495adcd7 add installing notice and refresh 7 years ago
Julian Lam 8e275df803 closes #6487 7 years ago
Julian Lam 5dc25a3c00 Merge remote-tracking branch 'origin/master' into chat-kick-support 7 years ago
Julian Lam a08572b800 kick support for chats, #6479 7 years ago
Barış Soner Uşaklı 8ed86aaf13 closes #6476 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
Andrew Rodrigues 1c09094011 show success alert + rebuild msg when ordering plugins 7 years ago
Julian Lam 877b45ab00 adding old path to uploads as well, to ajaxify shirt-circuit 7 years ago
Julian Lam bdbdf510e0 closes #6462 7 years ago
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 501d02220c closes #6456 7 years ago
Barış Soner Uşaklı 5d2a7106f6 change upload storage 7 years ago
Barış Soner Uşaklı 3fb28e9246 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 4cd0020584 closes #6449 7 years ago
Julian Lam 7ba2ac9f69 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Andrew Rodrigues de9f429b89 prepopulate traffic graph datepicker to make life easier 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
Andrew Rodrigues 67c8d4b560 maximize graph w/ fullscreen API 7 years ago
Barış Soner Uşaklı ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 09ef3999b0 fix lint 7 years ago
Barış Soner Uşaklı a4c24cb66b fix saving multiple selects as json arrays 7 years ago
Barış Soner Uşaklı 47606c8df5 merge 7 years ago
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 8b16a63cc2 closes #6419 7 years ago
Barış Soner Uşaklı 11b15872d6 lint 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
Baris Usakli 46576189be closes #6392 7 years ago
Peter Jaszkowiak 968d5e441f Fix rebuild ACP alert not working sometimes (#6403) 7 years ago
Timothy Fike 585d613d4b fix reload actions (#6394)
* fix reload actions

* wait until restart action is complete instead of using timeouts.

* Change Reload nominclature to Rebuild and Restart.
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
Peter Jaszkowiak dcf1865b54 Fix ACP alerts to use same system as client (#6396)
* Fix PostCSS warning message

* Fix disconnect indicator styling

Would increase size of quick actions when active

* Use same alert system in ACP and client

- Remove snackbar
- Add styling and fix template for ACP (based on Persona)
7 years ago
Barış Soner Uşaklı 2cbae54025 fix focus 7 years ago
Barış Soner Uşaklı 51bd30fe92 closes #6385 7 years ago
Peter Jaszkowiak eaae5b52cd ACP quick actions (#6374)
* ACP quick actions

- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"

* Change info alert to black-on-white to match focused search bar

* Fix tests

* Fallback for failed fetch of latest version
7 years ago
Julian Lam 1e01af4d89 closes #6366 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
Julian Lam 4d9e2b1160 fixes #6354 7 years ago
Barış Soner Uşaklı 221f9848d2 closes #6349 7 years ago
Julian Lam 346187d65d fixes #6176 7 years ago
Julian Lam 3cbca69b27 closes #6346 7 years ago
Julian Lam c93f943bef Merge branch 'develop' 7 years ago
Barış Soner Uşaklı 7d627fe19a #6338 7 years ago
Barış Soner Uşaklı 245e1a9159 closes #6334 7 years ago
Barış Soner Uşaklı 7b45a6ea8b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam f97b64a0c6 Fixes #6317
While not the most elegant solution, I'm only really interested in
stopping registrations that contain two emails in one field.

The only separators I know of are the comma and semicolon. If
there are more, please let me know.
7 years ago
Julian Lam c25d752573 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 264893a71b closes #6336 7 years ago
Julian Lam 964fd20213 removed addNoReferrer usage as it is done server-side now 7 years ago
Julian Lam a4a961639d only triggering forum updated messaging if hostname matches, fixes #6333 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ı 825c493c40 show error 7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
Barış Soner Uşaklı a224c557c0 closes #6326 7 years ago
Barış Soner Uşaklı 651b1cc9f8 closes #6321 7 years ago
Barış Soner Uşaklı cf087b6070 #6272 strip all tags 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ı 6cbd70d510 closes #6307 7 years ago
Barış Soner Uşaklı d16667a5fb closes #6304 7 years ago
Barış Soner Uşaklı 0f2f97a78a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı adc7054390 fix go to post if its on page 7 years ago
Barış Soner Uşaklı 7a2d6fe22d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı 089769c107 closes #6302 7 years ago
Barış Soner Uşaklı a9f6726b3d closes #6296 7 years ago
psychobunny 29be18ae5b closes #6268 7 years ago
Barış Soner Uşaklı b2cb3def98 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Andrew Rodrigues dd34fde7b5
Merge pull request #6256 from RoiEXLab/patch-1
Start reading progress at 0
7 years ago
Barış Soner Uşaklı 8689ffe78f closes #6291 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
Barış Soner Uşaklı c7506d77b0 closes #6247 7 years ago
Julian Lam 5302e79b56 fixing accidental usage of .includes
@benlubar
7 years ago
Julian Lam 5c3155f145 firing hook on chat message load and exposing upload_url to client-side 7 years ago