7630 Commits (3ec9fc409838a59a5b5cd7e47a3646000e4f475b)

Author SHA1 Message Date
Barış Soner Uşaklı f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
6 years ago
Julian Lam 28a1fa780a fix: skin not changing after login or logout, #7038 6 years ago
Baris Usakli cd02e03f7b don't crash if meta.config is undefined 6 years ago
Misty (Bot) a43106e0f6 Latest translations and fallbacks 6 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 6 years ago
Peter Jaszkowiak 89c025d102 feat: close #7002, console message if mismatched origins 6 years ago
Misty (Bot) ebb42cd956 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 58d4376f7e fix: #7030 6 years ago
Barış Soner Uşaklı e78aea1e86 close #7024
show error instead showing crop modal
6 years ago
Misty (Bot) cf1195d0a4 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 6330d51446 less derpy output 6 years ago
Barış Soner Uşaklı ed1bf9a16f add more info to advanced db page 6 years ago
Barış Soner Uşaklı 27c016d68d fix alert 6 years ago
Barış Soner Uşaklı 2c5e38d8f1 closes #7004
do not translate email subjects twice, emailer already translates the passed in subject param
6 years ago
Julian Lam f6b92c1d3e fix: #7013, add cache buster to js-enabled.css 6 years ago
Misty (Bot) dc1df3d9b5 Latest translations and fallbacks 6 years ago
Misty (Bot) 96a2be9b55 Latest translations and fallbacks 6 years ago
Baris Usakli e3bf21a3a0 closes #6993 6 years ago
Misty (Bot) 3a914a2f8c Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 5c48793543 handle quoted strings 6 years ago
Barış Soner Uşaklı dc670a7bb5 closes #6983
after first pass of timeago, title contains "21 lis 2018, 10:30" which is invalid for new Date(), check before passing it to format
6 years ago
Misty (Bot) 3561b31ef1 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 625516e046 if there is no search el return
aka if theme doesnt support it
6 years ago
Barış Soner Uşaklı 63c0a9a3b7 closes #6928 6 years ago
Barış Soner Uşaklı 169a6680d5 #6928 6 years ago
Barış Soner Uşaklı 4da3d820d5 remove lang strings 6 years ago
Misty (Bot) d1024f7cd3 Latest translations and fallbacks 6 years ago
Julian Lam 98c14e0e68 fix: removal of scroll anchoring code in favour of browser handling
closes #6150
6 years ago
Baris Usakli 1454fdceff closes #6874 6 years ago
Barış Soner Uşaklı f4a00f0b5f only init unread topics for loggedin users
dont call isFollowed
6 years ago
Barış Soner Uşaklı 33986f38e3 closes #6954 6 years ago
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
Misty (Bot) 6cf357f2fd Latest translations and fallbacks 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
Peter Jaszkowiak 57b39d5ba2 fix(acp): small UI fixes for ACP privileges category selector (#6946)
- Add dropdown chevron
- Change translations
- Safety against `category` not an object
6 years ago
Misty (Bot) 7b6a62e247 Latest translations and fallbacks 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
Misty (Bot) b9acbde8c1 Latest translations and fallbacks 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
Misty (Bot) 6fb1f97d88 Latest translations and fallbacks 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
Misty (Bot) 9b59a1ecb4 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 6f47446171 closes #6910 6 years ago
Misty (Bot) 5ae87294c3 Latest translations and fallbacks 6 years ago
Misty (Bot) b855d4d257 Latest translations and fallbacks 6 years ago
Misty (Bot) 48e158b57e Latest translations and fallbacks 6 years ago
Julian Lam 34cbd1fc41 fix(l10n): some translations 6 years ago
Misty (Bot) 12714a4645 Latest translations and fallbacks 6 years ago
Julian Lam 5ccdc1c017 internationalising english labels in session time ACP block, #6883 6 years ago
Barış Soner Uşaklı 2e579ee0f9 closes #6883 6 years ago
Barış Soner Uşaklı 61c7aa4b19 closes #6885 6 years ago
Misty (Bot) 3d9ca0d26d Latest translations and fallbacks 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
Misty (Bot) aa301f27a1 Latest translations and fallbacks 6 years ago
Julian Lam 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes #6847 6 years ago
Misty (Bot) 6084dc9041 Latest translations and fallbacks 6 years ago
Julian Lam 67f861d713 updated russian translation for pages 6 years ago
Misty (Bot) 805aae519b Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 9c03881d5a add threshold for image resizing 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
Misty (Bot) 38ca8b481c Latest translations and fallbacks 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
Misty (Bot) efaed33771 Latest translations and fallbacks 6 years ago
Baris Usakli 881185ae59 closes #6857 6 years ago
Barış Soner Uşaklı ab7657d445 closes #6854 6 years ago
Misty (Bot) 7950b254a6 Latest translations and fallbacks 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
Misty (Bot) cafeb30323 Latest translations and fallbacks 6 years ago
Misty (Bot) f929c39b21 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 9dd65cf772 closes #6822 6 years ago
Misty (Bot) 370fe3fea8 Latest translations and fallbacks 6 years ago
Misty (Bot) 550f52e182 Latest translations and fallbacks 6 years ago
Misty (Bot) 6fb11d37ff Latest translations and fallbacks 6 years ago
Misty (Bot) 9e7e148b9b Latest translations and fallbacks 6 years ago
Misty (Bot) f95c3e9121 Latest translations and fallbacks 6 years ago
Misty (Bot) 7f89e874fc Latest translations and fallbacks 6 years ago
Misty (Bot) 834480f450 Latest translations and fallbacks 6 years ago
Julian Lam 762dac6a4a closes #6825 6 years ago
Julian Lam c95ad2c46a closes nodebb/nodebb-theme-persona#339 6 years ago
Misty (Bot) 6c538a7773 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 702be3f6de https://github.com/NodeBB/nodebb-theme-persona/issues/363 6 years ago
Misty (Bot) 9c3f78daa8 Latest translations and fallbacks 6 years ago
Misty (Bot) 33b18298c5 Latest translations and fallbacks 6 years ago
Misty (Bot) 9b740592ff Latest translations and fallbacks 6 years ago
Misty (Bot) 5bfbb73430 Latest translations and fallbacks 6 years ago
Misty (Bot) 6f0b5f3557 Latest translations and fallbacks 6 years ago
Baris Usakli 6dc84deca9 allow admins mods to watch/ignore categories for other users 6 years ago
Baris Usakli 71905bb2c6 fix watched categories 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
Misty (Bot) f5f3da12e7 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 49ba5af5fa
closes #6810 (#6813) 6 years ago
Misty (Bot) f9c882cb1d Latest translations and fallbacks 6 years ago
Misty (Bot) 5e6da27a6a Latest translations and fallbacks 6 years ago
Misty (Bot) 820847461c Latest translations and fallbacks 6 years ago
Misty (Bot) b925df3cba Latest translations and fallbacks 6 years ago
Misty (Bot) e3c7099b36 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
6 years ago
Misty (Bot) bf7523b8e4 Latest translations and fallbacks 6 years ago
Misty (Bot) 64f36db71a Latest translations and fallbacks 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
Misty (Bot) a125b4b497 Latest translations and fallbacks 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
Misty (Bot) d4cd74b7e2 Latest translations and fallbacks 6 years ago
Julian Lam 1eafd84c79 gdpr translations, it 6 years ago
Misty (Bot) 1bc87f3ae3 Latest translations and fallbacks 6 years ago
Baris Usakli edefab1d69 closes #6728
add option to disable a category on creation
show disabled categories on manage privileges
6 years ago
Baris Usakli 90f3e1281d up markdown 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ı b7ead6dc9c
Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
6 years ago
Misty (Bot) c4b23909df Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 6 years ago
Misty (Bot) 27a90b7a78 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı d880a7ade0 closes #6771 6 years ago
Julian Lam 3c89befad2 fallbacks for account/sessions 6 years ago
Julian Lam ce6f9ec84e pushing translations for blocks user page 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
Misty (Bot) 3a36a2b53b Latest translations and fallbacks 6 years ago
smyther 0c9907367a Implement fix for multiple fork cards showing (#6757) 6 years ago
Misty (Bot) fe118fe1c3 Latest translations and fallbacks 6 years ago
Barış Soner Uşaklı ebaea9b6c1 closes #6743 6 years ago
Misty (Bot) 60c54d6cdf Latest translations and fallbacks 6 years ago
Misty (Bot) 59fd27510a Latest translations and fallbacks 6 years ago
Misty (Bot) 13044df14e Latest translations and fallbacks 6 years ago
Julian Lam c2c925cacd closes #6678 6 years ago
Julian Lam e882a091a1 updated blocks localisations from Tx 6 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 6 years ago
Misty (Bot) e79f0dad90 Latest translations and fallbacks 6 years ago
Misty (Bot) 6bb62a4728 Latest translations and fallbacks 6 years ago
Julian Lam 8618afb45d added Latvian localisation strings 6 years ago
Misty (Bot) e56b6daee4 Latest translations and fallbacks 6 years ago
Misty (Bot) badb06a9de Latest translations and fallbacks 6 years ago
Julian Lam 9d202d9be9 closes #424 7 years ago
Julian Lam 70f04bd1c2 fixed client-side console error on vote 7 years ago
Misty (Bot) 3c6327215c Latest translations and fallbacks 7 years ago
Andrew Rodrigues 12940b577b closes #6703 7 years ago
Misty (Bot) 560e63c97a Latest translations and fallbacks 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
Ben Lubar 33228bb7fe PostgreSQL database driver (#5861)
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
7 years ago
Jimb Esser 3cccbbc1f2 Add option to enable/disable HSTS
Also fix HSTS middleware being added twice.
7 years ago
Misty (Bot) 4027abcd58 Latest translations and fallbacks 7 years ago
Misty (Bot) 537c7f91fd Latest translations and fallbacks 7 years ago
Barış Soner Uşaklı 1c286e4536 not even used 7 years ago
Misty (Bot) ac68c65dc9 Latest translations and fallbacks 7 years ago
Misty (Bot) 7ff516a1d6 Latest translations and fallbacks 7 years ago
Misty (Bot) 035c04212d Latest translations and fallbacks 7 years ago
Misty (Bot) 4059a49c90 Latest translations and fallbacks 7 years ago
Baris Usakli 976b85ccaa closes #6676 7 years ago
Misty (Bot) b3f5901a96 Latest translations and fallbacks 7 years ago
Julian Lam ea2bd33bfa fixes #6608, restored template values in widget containers 7 years ago
Julian Lam 7dfe953526 closes #6672 7 years ago
Julian Lam 5243ee559a set initial focus on register page 7 years ago
Misty (Bot) ee6d4fabd6 Latest translations and fallbacks 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
Misty (Bot) e534bf803e Latest translations and fallbacks 7 years ago
Julian Lam 352bef0a7f eliminate waitSeconds in rjs config 7 years ago
Julian Lam 506467ad6f closes #6663 7 years ago
Misty (Bot) 148fc96a3a Latest translations and fallbacks 7 years ago
Misty (Bot) 448542d4ef Latest translations and fallbacks 7 years ago
Misty (Bot) 7f52e3a8f9 Latest translations and fallbacks 7 years ago
Ben Lubar f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. (#6640)
* Add notification frequencies from nodebb-plugin-upvote-notifications.

https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications

* Fix editing settings clearing upvote notification preferences.
7 years ago
Misty (Bot) 11258dac9c Latest translations and fallbacks 7 years ago