Files
NodeBB/src/topics
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
2020-11-20 11:31:14 -05:00
..
2019-07-09 12:46:49 -04:00
2020-11-17 22:11:39 -05:00
2020-10-24 21:14:52 -04:00
2020-05-15 22:10:50 -04:00
2020-11-18 14:25:39 -05:00
2020-06-10 12:48:32 -04:00
2020-10-26 10:43:18 -04:00
2020-10-24 01:49:22 -04:00
2019-07-09 12:46:49 -04:00