You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam 046d0b1637
feat: allow pins to expire (if set) (#8908)
* fix: add back topic assert middleware for pin route

* feat: server-side handling of pin expiries

* refactor: togglePin to not require uid parameter [breaking]

* feat: automatic unpinning if pin has expiration set

* feat: client-side modal for setting pin expiration

* refactor: categories.getPinnedTids to accept multiple cids

... in preparation for pin expiry logic, direct access to *:pinned zsets is discouraged

* fix: remove references to since-removed jobs file for topics

* feat: expire pins when getPinnedTids is called

* refactor: make the togglePin change non-breaking

The 'action:topic.pin' hook now sends uid again, as before. However, if it is a system action (that is, a pin that expired), 'system' will be sent in instead of a valid uid
4 years ago
..
admin
category.json
email.json
error.json feat: allow pins to expire (if set) (#8908) 4 years ago
flags.json
global.json
groups.json
ip-blacklist.json
language.json
login.json
modules.json
notifications.json
pages.json
post-queue.json
recent.json
register.json
reset_password.json
search.json
success.json
tags.json
top.json
topic.json feat: allow pins to expire (if set) (#8908) 4 years ago
unread.json
uploads.json
user.json
users.json