Commit Graph

17 Commits

Author SHA1 Message Date
Steven Guikal af6d7ed514 Add aria-labels for comment count and remove button 2021-08-20 10:44:01 +02:00
Drew DeVault 11cf2a5c09 label_badge: add nofollow
This can create a spider loop which ultimately forms increasingly
expensive search queries
2020-11-04 12:54:25 -05:00
Drew DeVault e101e7eeca Utilize srht.cache instead of direct Redis access
This also removes some outdated dependencies in setup.py that were found
while grepping around for redis use-cases.
2020-06-29 10:41:12 -04:00
Drew DeVault 5ca816a2ae Fix markup cache invalidation 2020-03-31 11:51:24 -04:00
Drew DeVault c6060b6707 Incorporate markdown version in cache key 2020-03-30 11:04:44 -04:00
Thorben Günther cec71372c0 Read redis host from cfg. 2019-12-19 10:43:38 -05:00
Drew DeVault fb5d547071 Use participant_url for rendering mentions 2019-08-24 10:57:35 +09:00
Drew DeVault b4c92a39db Generalize users into participants 2019-08-22 11:05:25 +09:00
Drew DeVault 8ff1a0cd20 Append label to search terms from tracker page 2019-06-02 15:58:37 -04:00
Drew DeVault d350f56408 Invalidate markup cache on ticket edit
Fixes #168
2019-04-25 15:36:42 -04:00
Ivan Habunek e5043148ea Render mentions in ticket description 2019-04-04 14:10:37 -04:00
Ivan Habunek 2db8c25c02 Support mentioning tickets on different trackers
fixes: ~sircmpwn/todo.sr.ht/157
2019-03-07 09:53:00 -07:00
Drew DeVault 86d91385b3 Support old versions of py-redis 2019-02-25 20:47:39 -05:00
Ivan Habunek 9821cfa0a9 Cache rendered comments 2019-02-25 20:00:43 -05:00
Ivan Habunek bc24ccbefe Link users and tickets mentioned in comments
NB: caching added in later commit
2019-02-25 20:00:43 -05:00
Ivan Habunek dc0de33664 Make use of filters to make code more readable 2018-11-20 08:12:23 -05:00
Ivan Habunek aa1dba69ed Move filter to own module, add escaping 2018-11-20 08:10:28 -05:00