Files
NodeBB/src
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
..
2020-10-16 22:41:38 -04:00
2020-11-06 12:24:50 -05:00
2020-11-18 23:24:51 -05:00
2020-11-05 16:25:55 -05:00
2020-10-26 10:43:18 -04:00
2020-10-26 10:43:18 -04:00
2019-09-23 22:30:17 -04:00
2020-11-06 23:13:12 -05:00
2020-10-26 10:43:18 -04:00
2020-11-10 11:29:15 -05:00
2020-08-14 00:05:03 -04:00
2020-09-06 23:45:00 -04:00
2020-11-17 22:42:08 -05:00
2020-10-26 10:43:18 -04:00
2020-10-26 10:43:18 -04:00
2020-07-07 20:13:14 -04:00
2018-10-18 15:15:54 -04:00
2020-10-07 11:47:44 -04:00
2020-07-25 09:44:50 -04:00