Commit Graph

139 Commits (90b4d40e77141ed203494e5cb5f31b8a0209b7bf)

Author SHA1 Message Date
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