Commit Graph

148 Commits (cf13dd8fbb8dce6be4ff6e3f16716bebbe2c497e)

Author SHA1 Message Date
Julian Lam 6b1c97db79 feat: feature flag for auto-resolving a user's flags on ban [breaking]
The default behaviour has now been changed to 'off'. Going forward, a user's flags will no longer automatically resolve on ban.
Julian Lam ac734b8335 fix:
Barış Soner Uşaklı 9ca44e6f54
feat: add displayname into user obj ()
* feat: add displayname into user obj 

* fix: spec

* perf: dont load settings if acp setting is turned off
Barış Soner Uşaklı 4e9b10ab76 feat:
Barış Soner Uşaklı fb567a7a33 feat:
Barış Soner Uşaklı 1d6bcbebde feat: https://github.com/NodeBB/NodeBB/issues/8147
Opliko 04f4429f72
Resolve - optional timer for registration queue ()
* feat:  Optional timer for registration queue

* feat: show minutes in average time

* fix: don't show total number of minutes

* feat: implement requested changes

* fix: just store minutes instead of milliseconds

* feat: set default values
Barış Soner Uşaklı 9e3eb5d41a feat: , allow guest topic views
Barış Soner Uşaklı 6ac73ccb7e feat: , disable express compression by default
cryptoethic b3ed26ac2c
feat: revoke user sessions above threshold ()
* feat: revoke user sessions above threshold

* fix: removed translations from en-US

* fix: defined default maxUserSessions in install\data\defaults.json
Julian Lam 2ec838fc59 feat(writeapi): token generation/delete routes, ACP updates
Julian Lam 49652e6f1b feat: management of API tokens via ACP
psychobunny 14ba1a6dbb feat: analytics:maxCache setting in ACP
I removed a TODO from core. Watch your head as flying pigs are abound
psychobunny 9c5b690799 feat: up recommended size to 512x512 + ACP labels for PWA
psychobunny 6478b32d0e feat: upload maskable icon for PWA
psychobunny 4c1e717b2b fix: update notification delay ACP help text
psychobunny 5b427a0c3b feat: option in ACP to configure notification/email delay for chats
Barış Soner Uşaklı 46ab2711d4 fix: , add CSP frame-ancestors
Kyle Farris 2b785628e7
fix: removed invalid options for the sendmail transport ()
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.

* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
Barış Soner Uşaklı fd4c3cda42 fix: , remove new notif alert
Julian Lam e3e55f25d0 refactor: flag sanity checks, +feat: flag limits
- Added new config flag:limitPerTarget, to disallow flags after an item has
  already been flagged x times (default 0, or infinite)
- New zset flags:byTarget, score is the number of times a flag has been made
  against that item
- "already-flagged" translation key removed, now "post-already-flagged" or
  "user-already-flagged" -- this fixed bug where flagging a user you've already
  flagged would tell you you've already flagged this post already.
- Refactored Flags.canFlag to throw errors only, instead of returning boolean
- Updated ACP form inputs for reputation settings page to be more bootstrappy
- +1 upgrade script
Barış Soner Uşaklı c513b88dff feat: , daily downvote limits
Barış Soner Uşaklı e09ab3dc19 feat: closes , allow configuring max topic count
Barış Soner Uşaklı a255c8f6fd fix: language
Julian Lam 260a482caa fix: remove duplicate link to manage/tags in settings/tags
Julian Lam 0633ad3277 fix: acp menu items
- Shuffled items in settings
- Moved post-queue and ip-blacklist to front-end
- Removed Settings > Sockets, merged with Settings > Advanced
Julian Lam a83f4259e8 fix: re-jigged tags acp pages
Julian Lam a51fff8bd1
refactor: remove general menu from ACP ()
* refactor: remove general menu from ACP

* fix: incorrect translation keys, fixed tests
Barış Soner Uşaklı 2d07634494
fix: , update gdpr link again
Barış Soner Uşaklı 17d664e098 fix: , point to official site
Opliko 6e5ebb6184
feat: manifest.json improvements from ()
* feat: manifest.json improvements from 

* Fix short title placeholder

* use lowercase letters for hex colors
Barış Soner Uşaklı 0b5fac75b0 fix: , add missing lang key
psychobunny b67af70da4 fix: hsts max-age missing translation
Baris Usakli 4d66978338 fix: , configurable necroThreshold
Barış Soner Uşaklı 1cedc4a0d6 feat: , allow post queue based on group
allow multiple select in ACP pages
Julian Lam 54c9f877a6 fix: , ACP digest wording
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ı 4b843ba16f fix: , allow invite and approval at the same time
Barış Soner Uşaklı 157b921e14 fix: , make strip exif configurable
Julian Lam 4f0dc44307 fix: updated chat and post edit and delete timeout labels in ACP
Baris Usakli cf5aeace6b feat: closes
Julian Lam 63e16ec0a2 fix: , email throttling options set
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
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 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ı 77beaf2e15
Allow local login,closes ()
* WIP

* reset groups cache after every suite
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
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
Barış Soner Uşaklı 14f6e74bad closes
Barış Soner Uşaklı 5bb908b836 fix lang strings
Barış Soner Uşaklı 6eea11a4fd closes
Barış Soner Uşaklı a7267df404 closes
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
Barış Soner Uşaklı ae0f1847ae allow multiple origins for access-control-allow-origin header
add access-control-allow-credentials header to acp
Barış Soner Uşaklı dcb6af5768 closes
Barış Soner Uşaklı 723f31a362 closes
Barış Soner Uşaklı 72140e5338 closes , closes
Barış Soner Uşaklı 99eb1d1785 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 ()
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
Barış Soner Uşaklı 0498832317 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
Baris Usakli a9dbdc75af closes
Baris Usakli 43a70270ef closes
Barış Soner Uşaklı 5e4b9479d4 closes
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
barisusakli 387110fecc closes
psychobunny 9d069d76db random \t's in language string
barisusakli c42eaee30c fix typo in language file
Peter Jaszkowiak daf3ab4db4 WIP