Commit Graph

318 Commits (df81fec76d58fd9f341c0f84f066351b660344f5)

Author SHA1 Message Date
Barış Soner Uşaklı 3ff6e1bb64 feat: dashboard stats
show
yesterday/today
lastweek/this week
lastmonth/this month
Barış Soner Uşaklı 47e30a67be feat: move group privs above user, add labels
Barış Soner Uşaklı 6a289fbac9 fix:
Julian Lam 8a6a58ee43
feat: added new admin option newbiePostEditDuration ()
* feat: added new admin option newbiePostEditDuration

Also:
  - Grammar-checked a couple language strings
  - Moved a couple form inputs around in new user restrictions
  - Added a test for the new option
  - fix: 'defore' typo
Barış Soner Uşaklı 25ea634787 fix: add option to change cookie link url
Barış Soner Uşaklı 5fa5e999f8
Plugin metrics ()
* feat: add enable/disable checkbox for plugin usage

* feat: submit plugin data to packages.nodebb.org

only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs

* fix: hash not working after first send

fix statusCode

* fix: remove url

* feat: show compatibilty

* feat: add install question for submit plugin usage
Julian Lam c7f95ccecc
feat: design revamp of ACP events page ()
* feat: design revamp of ACP events page

- minor UX changes
- new filter controls, filters moved to sidebar
- form usable without js
- start/end filters NOT programmed yet

* feat: events ACP limit by date and perPage

* feat: pre-fill applied filters on template render

* fix: missing translation for ACP events perPage filter

* fix: added some comments to explain setHours behaviour

* fix: stop - start + 1

* fix: socket tests

* fix: +inf, not just inf

* fix: tests, because I am an idiot
Barış Soner Uşaklı 4b843ba16f fix: , allow invite and approval at the same time
Julian Lam 5cd9e1bf86 fix:
Barış Soner Uşaklı 157b921e14 fix: , make strip exif configurable
Barış Soner Uşaklı dfab231afd
Copy group privs ()
* feat: ability to copy a groups privileges

ability to copy a group's privileges to all categories, or children of current category

* feat: switch to dropdown

added copy from category to groups

* fix: indents
Julian Lam 4f0dc44307 fix: updated chat and post edit and delete timeout labels in ACP
Baris Usakli cf5aeace6b feat: closes
Julian Lam c38db4f765 feat:
This reverts commit 81f8cfe3da.
Barış Soner Uşaklı 81f8cfe3da Revert "feat: #7515"
This reverts commit ac889db16b.
Barış Soner Uşaklı ac889db16b feat:
Barış Soner Uşaklı 2ee2cd528f feat:
Julian Lam 63e16ec0a2 fix: , email throttling options set
Andrew Rodrigues 24dcae2193 feat: manual password expiry. closes
Baris Usakli 7211dde7b9 feat:
Barış Soner Uşaklı 2b6f1a05bf feat: admin/groups style change
Barış Soner Uşaklı db47753877 feat: add process cpu usage to admin
Julian Lam 57069a5c48 fix: better handling for errors in Adv>Databases
Julian Lam e8f3c25676 fix: re-introducing indeterminate checkbox state to ACP privs
Barış Soner Uşaklı 70d9c6c4ce fix:
Barış Soner Uşaklı c72da5595a fix:
3 new global privileges
view:users
view:tags
view:groups
Barış Soner Uşaklı 9d1fcf4e36 fix: closes
Julian Lam df6f75eb05 fix: privilege header misalignment
Barış Soner Uşaklı cf918078e5 fix:
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
Barış Soner Uşaklı 6330d51446 less derpy output
Barış Soner Uşaklı ed1bf9a16f add more info to advanced db page
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
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
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
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
Andrew Rodrigues 12940b577b closes
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
Barış Soner Uşaklı 85a55d1740 closes
Julian Lam 5cf662e565 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ı 5bb908b836 fix lang strings
Barış Soner Uşaklı 6eea11a4fd closes
Barış Soner Uşaklı a7267df404 closes
Barış Soner Uşaklı 1f8b000530 log and show last restart on ACP dashboard
Julian Lam 7089e5c6a6 Merge remote-tracking branch 'origin/master' into develop
Andrew Rodrigues 1c09094011 show success alert + rebuild msg when ordering plugins
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
Barış Soner Uşaklı 47606c8df5 merge
Julian Lam c1aa46c663 added new option to disable post diffs /cc @BenLubar
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.
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
Barış Soner Uşaklı 15e9bbac92 closes
Barış Soner Uşaklı a224c557c0 closes
Barış Soner Uşaklı 723f31a362 closes
Barış Soner Uşaklı 651b1cc9f8 closes
psychobunny 29be18ae5b closes
Barış Soner Uşaklı c7506d77b0 closes
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).
Barış Soner Uşaklı f3fda152bf closes
Barış Soner Uşaklı 81d4766c1a closes
Barış Soner Uşaklı 72140e5338 closes , closes
Barış Soner Uşaklı f70ddce5f9 fix typo in language file
Barış Soner Uşaklı 8446a733e5 closes
Baris Usakli 242dc41aca move privileges to same page
Baris Usakli 4a73621dca chat privilege
Barış Soner Uşaklı 99eb1d1785 closes
Barış Soner Uşaklı 19ae8dc7e7 closes
Baris Usakli f177b01022 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
Baris Usakli 2065f895d5 closes
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ı 25cd21fba8 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
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
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 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
Baris Usakli a9dbdc75af closes
Baris Usakli 43a70270ef closes
Barış Soner Uşaklı e613064b06 closes
psychobunny 88d5f97280 closes
Barış Soner Uşaklı 9664033b73 add memory usage to info page
psychobunny 1b98449686 closes
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ı 3a1eba2537 merge
Barış Soner Uşaklı ea6f981686 closes
Barış Soner Uşaklı af6cde5534 show how many nodes responded
barisusakli b91b41dfa3 show database values in gbs
Peter Jaszkowiak c7929ec7d8 Add option for disabling language autodetection
barisusakli 7b91da067b closes
Peter Jaszkowiak 484a800327 Merge branch master into develop
pichalite 4c89497cc4 Closes
psychobunny 5985a8a7a3 closes
psychobunny e121a5a798 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 860999fa6c Merge remote-tracking branch 'origin/master' into develop
psychobunny f2eb4b8083 closes
psychobunny 8da8e4d8c3 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
barisusakli 387110fecc closes
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 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 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 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
Peter Jaszkowiak 3008794797 `admin/general` JS translations and misc
Peter Jaszkowiak 95bef8f3f6 `admin/extend` JS translations and misc
Peter Jaszkowiak 38eba81933 ACP menu and title translations
Peter Jaszkowiak 606de990e9 `admin/advanced` JS translations
Peter Jaszkowiak 20db4657b2 `admin/general` translations
Peter Jaszkowiak 3cd6a8a94b `admin/extend` translations
Peter Jaszkowiak 50aed01c57 `admin/development` translations
Peter Jaszkowiak 6c1b852d48 `admin/appearance` translations
Peter Jaszkowiak 8931702136 `admin/advanced` translations
Peter Jaszkowiak f1cfed50a1 Translate skins and themes fully
Peter Jaszkowiak 77e58f31c5 Fixes, passes tests