Commit Graph

354 Commits (87a6ff0dce21fc01b6775ea4031fb779f4aba3f5)

Author SHA1 Message Date
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
Barış Soner Uşaklı 5e91a67e78 feat: add user ip to admin/dev/info
Barış Soner Uşaklı 326367556f fix: tag key
Barış Soner Uşaklı 067034082f fix: , update deleted/restored messages
Barış Soner Uşaklı 05c9fe2735 feat: , allow changing user groups from manage users page
Baris Usakli 4d66978338 fix: , configurable necroThreshold
Barış Soner Uşaklı 7ed002a138 fix:
Julian Lam df139928b6
feat: displaying one-click unsubscribe link in email footer ()
closes 
Julian Lam 645d647248
feat: wip, better digest handling (+ eventual digest resend logic) ()
* feat: wip, better digest handling (+ eventual digest resend logic)

- await emailer.send call in digest.send method
- save send success to a new sorted set digest:{interval}:byUid

* feat: continuing work on digest tools

- Added ACP page to view digest settings and delivery times per user

* feat: added paginator and stub buttons for resending digest

* feat: wrapping up digest revamp

- New language strings in ACP digest page
- Client-side ACP script for digest ACP page
- Websocket call for ACP page to execute digests
- Broke out logic to retrieve user digest settings to getUsersInterval

* fix: minor cleanup

* fix:  and some style suggestions from baris

* fix: resolve confusing comment
Barış Soner Uşaklı 1cedc4a0d6 feat: , allow post queue based on group
allow multiple select in ACP pages
Julian Lam 3952849f30
fix: , tweak wording; password reset success
Baris Usakli 485fbd2f14 feat: , change all categories at once
allow passing cids to setCategoryWatchState and category.exists
Baris Usakli 990508a533 feat: closes , translate widget-settings
Baris Usakli 554e67116f feat: remove ability to delete events from acp
Julian Lam 54c9f877a6 fix: , ACP digest wording
Barış Soner Uşaklı ed1223645e feat: send notification to group owners when someone leaves
Barış Soner Uşaklı babb9d7c55 fix: , dont allow urls in fullname/location, validate birthday
Barış Soner Uşaklı 5b8550f060 fix: time cutoff and lang string
Opliko b9583ed838 Add privilege for accessing user information ()
* Add view users info global privilege

* Show user ip only to global mods and admins

* fix missing comma

* Hide link for users without correct privilege

* move getting privilege information to getAllData

* Hide the link from Global Moderators as well

* Give Global Moderator view:users:info privilege

* Restrict ip in post menu to view:users:info

* add some trailing commas....

* Add privilege to categories test

* Add group privilege to categories test

* add upgrade script

* fix style for TravisCI

* more styling - change spaces to tabs

* some more styling fixes (hopefully final one)

* fix style for Travis CI

* hide ip in chat messages

* Don't show even hidden ips on user profile page
Barış Soner Uşaklı 2a5fe2b8f4 fix: , translate log in to view
Julian Lam 1796b65d34 feat: option to restrict group leaving, closes
Barış Soner Uşaklı 547bb4966d fix: , show correct title based on digest interval
Barış Soner Uşaklı 21e81f961c fix:
Barış Soner Uşaklı 3ff6e1bb64 feat: dashboard stats
show
yesterday/today
lastweek/this week
lastmonth/this month
Julian Lam 1a2a381ae3 feat: notification on membership acceptance, closes
Barış Soner Uşaklı 7162051905 fix:
Barış Soner Uşaklı 47e30a67be feat: move group privs above user, add labels
Barış Soner Uşaklı 6a289fbac9 fix:
Julian Lam 4fb271c684
System chat messages ()
* fix: removed duplicate checkContent call in addMessage

addMessage is called in one place (sendMessage), and the checks
are already contained there. addMessage is the lower level call
and so should be called only from within core itself.

* feat:  chat system messages for join, leave, rename

* fix: add back content checking in .addMessage();

* fix: tests, and added .addSystemMessage() method

Tests were relying on message indices that changed due to the
new system messages.

* feat: add tests for system chat messages

* refactor: rewrite half of src/messaging/rooms.js, fix tests

* feat:  messaging/room.js

* fix: tests for messaging/room.js, 

* fix: trying to fix tests

* fix: omg :rage2:
Julian Lam 0e8ee31b90 fix: removed check for another user when sending messages
This is an old check back when the sorted set that messages were
appended to depended on what users were in the chat room. Once
messages were refactored (in 2017) to use roomIds, this is no
longer a limitation of the platform and users should be free to
talk to themselves all they want.
Barış Soner Uşaklı 53e1b349ae
Change post owner ()
* feat: , allow array of keys for setObject

* feat: sortedSetRemoveBulk

* feat: test for bulk remove

* feat: , ability to change post ownership

* feat: , fix tid:<tid>:posters

* feat: , front end

* fix: , psql methods

* fix: add missing await

* fix: maybe psql
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
Baris Usakli ee4d78cae3 feat: closes
Barış Soner Uşaklı f24c14d712 feat: ability to sort watched topics, closes
Barış Soner Uşaklı b53a60c278 feat: show best & latest posts on profile
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 868dedd194 revert: accidental removal of some needed translation source strings
Julian Lam 5cd9e1bf86 fix:
Barış Soner Uşaklı 157b921e14 fix: , make strip exif configurable
Julian Lam f552cea523
fix: , removing nbsp from email CTAs ()
* fix: , removing nbsp from email CTAs

* fix: added right arrow to CTA button
Julian Lam b32da57faf
fix: shortened CTA text and added custom text for some notifs ()
* fix:  shortened CTA text and added custom text for some notifs

Specifically, new-reply and new-chat have different CTA text as they
do not go to the forum home like other email templates send users to.

* fix: minor optimization as suggested by @barisusakli
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.