Commit Graph

483 Commits (2cfab3678e343f49e1cdf43c6dc58fa374479b54)

Author SHA1 Message Date
Julian Lam 51b5fb9826 fix: added missing translation and error state for password change
Baris Usakli f4ea2c43ab feat:
Barış Soner Uşaklı eb7ae54f81
Category watch state ()
* feat: wip, category watch change

* feat: pass data to client

* feat: allow changing state

* fix: account page categories

* fix: show in unread if topic is followed or category is watched

* feat: add default watch state to acp

* feat: save user category watch state

* feat: update unread recent pages

* fix: remove dupe code

* fix: flip conditions

* fix: handle empty arrays

* fix: ignore/watch on others profile

* feat: upgrade script for category states

if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers

* fix: upgrade

* fix: tests

* fix: redis count

* fix: more tests
Julian Lam 33d4956b76 fix: , server-side protection against guest blocks
Barış Soner Uşaklı e55fb43703 fix:
Julian Lam ed46c5e24b fix: refreshing settings page on save if language changed
Baris Usakli 96c1dc6276 unescape email subject
Barış Soner Uşaklı 6330d51446 less derpy output
Barış Soner Uşaklı ed1bf9a16f add more info to advanced db page
Barış Soner Uşaklı 2c5e38d8f1 closes
do not translate email subjects twice, emailer already translates the passed in subject param
Barış Soner Uşaklı 4da3d820d5 remove lang strings
Peter Jaszkowiak 57b39d5ba2 fix(acp): small UI fixes for ACP privileges category selector ()
- Add dropdown chevron
- Change translations
- Safety against `category` not an object
Barış Soner Uşaklı b6771836cf closes
Barış Soner Uşaklı 973b5fcfe0 closes
Julian Lam 5ccdc1c017 internationalising english labels in session time ACP block,
Barış Soner Uşaklı 2e579ee0f9 closes
Julian Lam 4919e9efa3 feat: allow disabling of GDPR features via ACP toggle, closes
Barış Soner Uşaklı 9c03881d5a add threshold for image resizing
Barış Soner Uşaklı 9f36ce3997
Barış Soner Uşaklı ab7657d445 closes
Baris Usakli 71905bb2c6 fix watched categories
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes ()
* WIP

* reset groups cache after every suite
Baris Usakli edefab1d69 closes
add option to disable a category on creation
show disabled categories on manage privileges
Baris Usakli 90f3e1281d up markdown
Barış Soner Uşaklı b7ead6dc9c
Replace jimp with sharp ()
* 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
Barış Soner Uşaklı 669a5135e1 closes
Julian Lam c2c925cacd closes
Andrew Rodrigues 12940b577b closes
Barış Soner Uşaklı 14d810c113 show error if cropper fails
Ben Lubar 33228bb7fe PostgreSQL database driver ()
* [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.
Jimb Esser 3cccbbc1f2 Add option to enable/disable HSTS
Also fix HSTS middleware being added twice.
Barış Soner Uşaklı 1c286e4536 not even used
Julian Lam 7dfe953526 closes
Julian Lam 506467ad6f closes
Ben Lubar f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. ()
* Add notification frequencies from nodebb-plugin-upvote-notifications.

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

* Fix editing settings clearing upvote notification preferences.
Barış Soner Uşaklı 85a55d1740 closes
Barış Soner Uşaklı cfb9784527 closes
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu,
Barış Soner Uşaklı 9912c400b6 closes
Julian Lam 5cf662e565 closes
Barış Soner Uşaklı 57b7c7ede4 closes
Julian Lam cb3b2bd27b closes
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes 
Julian Lam f51bab5d86 fixing incorrect moderate privilege label and pushing to tx config
Barış Soner Uşaklı 14f6e74bad closes
Barış Soner Uşaklı d5e85c2eb3 closes , closes
Barış Soner Uşaklı b0dad9bd7f closes
Barış Soner Uşaklı 6940612688 closes
Barış Soner Uşaklı 5bb908b836 fix lang strings
Barış Soner Uşaklı 6eea11a4fd closes
Barış Soner Uşaklı a7267df404 closes
Julian Lam 87a5e777f1 closes
Julian Lam 8e275df803 closes
Barış Soner Uşaklı 1f8b000530 log and show last restart on ACP dashboard
Julian Lam 3b9f246b38 updated right to erasure description
Julian Lam 43ffe3f9b5 updated text and fallbacks for
Julian Lam a08572b800 kick support for chats,
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking
Julian Lam 4bac78a568 wrapping up basic blocking UCP for
Julian Lam 8db98b5cf4 additional UCP integration for
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop
Julian Lam f0f30041f5 re:
Andrew Rodrigues 1c09094011 show success alert + rebuild msg when ordering plugins
Julian Lam ca932d30d2 basic UCP integration
Andrew Rodrigues a3224cc4ba added missing language key
Julian Lam 777d9aeee6 implement proper file sorting by mtime in ACP uploads
Julian Lam 388765bdf9 added post usage column to uploads ACP page
re: 
Julian Lam 364ded4f8e Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 501d02220c closes
Julian Lam a4dc62c7c7 closes
Julian Lam 67dec83011 profile export for + integration
Barış Soner Uşaklı ef99ef86a4 fix lang-key
Barış Soner Uşaklı 927537c759 add private upload info
Julian Lam 8e822c7772 Added user consent pages ()
- "Your Rights & Consent" user settings page
Barış Soner Uşaklı 7cd004ca23 user uploads route
Barış Soner Uşaklı ddd3dfc7f0 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Julian Lam c6c31e9e5f a tiny bit of work to make our casing a little less insane
Julian Lam 13a3f44ed3 closes
Barış Soner Uşaklı 47606c8df5 merge
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Julian Lam 697699f969 updated password reset send success text
Barış Soner Uşaklı caf43e3025 closes
Julian Lam 113fed05d8 closes
Julian Lam c1aa46c663 added new option to disable post diffs /cc @BenLubar
Barış Soner Uşaklı 749b282cdd add matchwords to search api
Timothy Fike 585d613d4b fix reload actions ()
* fix reload actions

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

* Change Reload nominclature to Rebuild and Restart.
Julian Lam 0158b1aa91 Various password logic fixes on client and server-side
Fixes 
Fixes 
Barış Soner Uşaklı 5281b84521 add missing translation
Barış Soner Uşaklı ae0f1847ae allow multiple origins for access-control-allow-origin header
add access-control-allow-credentials header to acp
Peter Jaszkowiak eaae5b52cd ACP quick actions ()
* 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
Barış Soner Uşaklı dcb6af5768 closes
Julian Lam a126f07471 closes
Andrew Rodrigues 5602092de9 closes
Julian Lam a86d91a552 wrapping up post history work
Julian Lam 55788382ea Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 15e9bbac92 closes
Barış Soner Uşaklı a224c557c0 closes
Barış Soner Uşaklı 723f31a362 closes
Julian Lam da3ce2e1d5 added error text for multiple associations
Barış Soner Uşaklı 651b1cc9f8 closes
Barış Soner Uşaklı 7b6282f530 closes
Barış Soner Uşaklı 7a2d6fe22d Merge remote-tracking branch 'refs/remotes/origin/master' into develop
psychobunny 29be18ae5b closes
Barış Soner Uşaklı 155e20d216 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Barış Soner Uşaklı c7506d77b0 closes
Barış Soner Uşaklı 2e2b97033e closes , closes
Barış Soner Uşaklı 33a8cb947e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Julian Lam ac2e185e34 Fixes
If a connection to the parent process is not detected, disable
the restart and reload buttons (as they won't work anyway).
Julian Lam 457194b333 Merge branch 'master' into develop
Barış Soner Uşaklı f3fda152bf closes
Barış Soner Uşaklı 81d4766c1a closes
Barış Soner Uşaklı 72140e5338 closes , closes
Julian Lam 3de54a5488 Merge branch 'develop' into chat-rewrite
Julian Lam f37b9d786d Merge remote-tracking branch 'origin/master' into develop
Barış Soner Uşaklı 2f3b7279be closes
Barış Soner Uşaklı f70ddce5f9 fix typo in language file
Julian Lam 9bcd4928c7 Merge branch 'develop' into chat-rewrite
Julian Lam ec07247854 Merge remote-tracking branch 'origin/master' into develop
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
Barış Soner Uşaklı 530b0e8439 closes
Julian Lam 970c8b6f64 Merge branch 'develop' into chat-rewrite
Julian Lam d1ccd78ac2 Merge remote-tracking branch 'origin/master' into develop
Julian Lam b2b57d49bf WIP add user modal
Barış Soner Uşaklı 8446a733e5 closes
Julian Lam eea124b312 room rename logic
Baris Usakli 242dc41aca move privileges to same page
Julian Lam d967201b2a drastically simplified main window resizing logic, some language changes
Baris Usakli 4a73621dca chat privilege
Julian Lam 82a95a03be Chat message soft deletion -- closes
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
Julian Lam 541aa7fbc6 closes
Barış Soner Uşaklı 108c3c980a show invalid url error if request.head fails
Barış Soner Uşaklı 99eb1d1785 closes
Barış Soner Uşaklı 2bf275fe29
Barış Soner Uşaklı 43180d4b83
Barış Soner Uşaklı 19ae8dc7e7 closes
Baris Usakli f177b01022 closes
Julian Lam 553f894540 error message for disabled SSO registration
Barış Soner Uşaklı d9e115c3e6 closes
Baris Usakli 3551d7d68e closes
Julian Lam 8affaac8f0 tweaking source copy and removing a bit more commented out html. Moving some items around
Linda Badurina c72864888d ACP "Posts" Changes
- Seperate section for "Post Length" settings
- New section for settings that only apply to new users
- Changed order of some settings under "posting restrctions" and "new user restrictions"
- Uncapitalized words that shouldn't have been capitalized
Julian Lam 830028b1d5 language strings and fallbacks for
Julian Lam cdc00cc0f2 added 'dissociate' translation string for
Julian Lam 252f611481 changed error text wording
Muhammad Osama Arshad 64895310a9 fix
Peter Jaszkowiak 74ceb78800 Upvote notification frequency selection ()
Closes 

- Notify on every upvote
- Notify on every tenth upvote
- Notify logarithmically (on 10, 100, 1000...)
- Disable upvote notifications
Baris Usakli 2065f895d5 closes
Barış Soner Uşaklı c839d1cbc0 closes closes
Barış Soner Uşaklı dd176dd5f2
Notification delivery ()
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
Baris Usakli 9e5a8856d1 fix wrong sorting option in acp
Julian Lam cdfa45439e updating email translations to not use template value
close 
acardinale 5ed6b5c414 Add User (uid) Welcome Notification ()
Julian Lam 7e0d0e0eb5 Merge remote-tracking branch 'origin/develop'
Barış Soner Uşaklı 18f4f27fe0 closes
Julian Lam e42ff47e5c closes
Barış Soner Uşaklı 25cd21fba8 closes
Barış Soner Uşaklı d5d6748c71 closes
Baris Usakli 47143a4a09 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Baris Usakli a500e0019c closes
Peter Jaszkowiak 62ae171432 Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak ab8465d7b6 Make deprecation warnings more clear ()
* Add these as warnings

To be removed in next major version

* Make ACP search's purpose more clear

* Only warn once per deprecated path
Baris Usakli c4310395c9 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
Baris Usakli 19dc7da42f closes
Julian Lam 8741f7c63c updated ACP menu label
Julian Lam 9cbf1597cd Merge remote-tracking branch 'origin/master' into develop
Julian Lam cd6dcff38b Split up customJS into customHTML and customJS for better organisation ()
* WIP

* fixed customJS not actually working in footer

* Moving scripts to footer, 

* Added upgrade scripts for 
Baris Usakli 500c978a26 closes
Dravere 38900a9964 Smtp emailer issue 5951 ()
* Fixed typo at emailer.js line 66 (serice -> service)

* When custom SMTP user and password is empty no authentication is attempted

* Added options to choose custom smtp connection security

* Made custom smtp connection security strings translatable

* Changed switch to if-else for custom smtp security option

* Fixed emailer.js lint errors

* Move custom setting to top of list
Julian Lam 4c82539e83 updated goback text,
Julian Lam 38a7030639 Revert "Merge pull request from NodeBB/patch-5922"
This reverts commit f8ddabc884, reversing
changes made to 4976d13013.
Peter Jaszkowiak f40d37ad48 Fix
Peter Jaszkowiak 23e7222dfa Update Nodemailer to v4
also filter out .jst files from email template dropdowns
Julian Lam 53ca6d1199 closes
Barış Soner Uşaklı 0498832317 closes
Baris Usakli 0ce3e4b691 post-queue show category, send notification
Baris Usakli c7db59b37b add post queue title
Baris Usakli 5a968730d5 closes
Barış Soner Uşaklı f161bbf956 Post queue ()
* 

* add user to post queue table

* add time of post into queue

add posting restrictions to queue

* fix shouldQueueLogic for guests

* add test for post-queue route
Julian Lam 4f9cbabec3 fixes
Julian Lam 0cf1fbceff added moderator tools to tracked language strings, closes NodeBB/nodebb-theme-persona/370
Baris Usakli a9dbdc75af closes
Baris Usakli 43a70270ef closes
Barış Soner Uşaklı e613064b06 closes
Baris Usakli da8b1b605c
Baris Usakli d13eb52f39 closes
psychobunny 88d5f97280 closes
Barış Soner Uşaklı 9664033b73 add memory usage to info page
psychobunny 1b98449686 closes
Barış Soner Uşaklı 29ca1dbf08 replies/reply fix
Barış Soner Uşaklı 5e4b9479d4 closes
Julian Lam 816809ce3c fixes
Julian Lam 064a8aa6d7 Allowing custom date range to be supplied in pageviews graph, closes
Barış Soner Uşaklı 873801e9f3 fix test on nodev4 remove console.logs
Barış Soner Uşaklı 3a1eba2537 merge
psychobunny 480352c650 send the banned user an email with reason + time limit if applies
psychobunny b3bd70235a refactor ban messaging; add ban duration to message; use bootbox instead of alert
Barış Soner Uşaklı ea6f981686 closes
Barış Soner Uşaklı af6cde5534 show how many nodes responded
Barış Soner Uşaklı c45c4a5fdb on login display invalid-login-credentials
barisusakli b91b41dfa3 show database values in gbs
Peter Jaszkowiak c7929ec7d8 Add option for disabling language autodetection
barisusakli b45111d44b show max message length in error message
barisusakli 7b91da067b closes
barisusakli b8c606cbbd closes
Peter Jaszkowiak 484a800327 Merge branch master into develop
pichalite 4c89497cc4 Closes
psychobunny 5985a8a7a3 closes
psychobunny e121a5a798 closes
Barış Soner Uşaklı fe27d40ff6 closes
Julian Lam 4b3dcd1a02 Merge remote-tracking branch 'origin/master' into develop
Ben Lubar 7f713ee822 Admin option to allow all users to view votes ()
* Admin option to allow all users to view votes

* Fix </strong></strong>
Julian Lam c805d55b85 creating notification for flag assignment
barisusakli 5a2ff8ed0a closes
Julian Lam 860999fa6c Merge remote-tracking branch 'origin/master' into develop
psychobunny f2eb4b8083 closes
psychobunny 8da8e4d8c3 closes
psychobunny fd8e647ef5 closes
Julian Lam 8154e29ad5 Merge branch 'master' into develop
psychobunny 458cbfd603 show dashboard notice if forum is running in dev mode
Julian Lam a17c26ea45 Merge branch 'master' into develop
Julian Lam d61665c20a updated copy for no-routes-not-found
psychobunny 570efb9e4b Merge branch 'develop' into threads-enhancement
psychobunny 83cd960ffa improved threaded view design
barisusakli 387110fecc closes
Julian Lam b5daedb7a3 Merge remote-tracking branch 'origin/master' into develop
pichalite de28ff5d43 Ability to crop profile images before uploading
Peter Jaszkowiak c14a31644b Merge branch 'master' into 'develop'
Julian Lam 3ab631c82e Merge pull request from Pappmann/patch-4
added missing translation in dashboard
Julian Lam 7414482753 Merge branch 'master' into develop
psychobunny 9d069d76db random \t's in language string
Stephan 56f045e6b0 Update dashboard.json
Julian Lam 1a0e4db466 removing duplicate strings from flags language file
Julian Lam 2c6beb9ffb Merge branch 'master' into develop
Julian Lam 8e7af0291a fixed grammar in admin-manage-categories string
barisusakli c42eaee30c fix typo in language file
Julian Lam 3861b2dd80 Merge remote-tracking branch 'origin/master' into develop
pichalite da8795f666 Add missing translations
pichalite 5b646495af Confirm before removing user and group cover picture
Julian Lam 05fdd35818 removed menu item for flags management in ACP
Julian Lam 29c7ae7645 Merge remote-tracking branch 'origin/master' into develop
Peter Jaszkowiak 6d00d5f6a5 Fix ACP title issues
Anil Mandepudi 8229de5eaa Add missing translation
Julian Lam 7c7cb8cfe6 remove flag translations from development branch
Julian Lam c640bdf2b9 Merge branch 'master' into develop
Julian Lam 926186108b ACP Translations
Peter Jaszkowiak daf3ab4db4 WIP
Peter Jaszkowiak 038c45f4b6 `admin/manage` translations, misc
- Translate Manage templates and JS
- Change `translator.translate -> .html` into `.translateHtml` where fitting
- Translate `admin/partials/download_plugin_item`
Peter Jaszkowiak 94eb74646c `admin/manage/categories` translations
- Fix privilege table headers so bottom borders align
- Fix `/admin` route to show Dashboard title correctly
- Translate ACP category management and privileges templates
- Translate ACP category management JS
- Remove unnecessary translates in JS
- Fix bootbox wrapper to work with translations containing html
Peter Jaszkowiak 862908d0eb ACP search and title improvements
- Search uses translated titles if available
- Use `advanced` for `development` route titles
- Remove route title from showing up in results
- Highlight matching part of result title
- Don't show empty result contents when only title is matched