Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Godwin 709dc86162 Fixed #559: Trim hashtags to 100 chars or less 2023-05-03 23:12:28 -06:00
Christof Dorner b31c5156ff
Improve hashtag case handling and implement /api/v1/tags/<hashtag> endpoint (#554)
* Lowercase hashtag before loading its timeline

* Implement /api/v1/tags/<hashtag> endpoint

* Lower hashtag before un-/following

* Fix field name for hashtag following/followed boolean
2023-04-06 15:14:21 -06:00
Christof Dorner 79c1be03a6
Add ability to follow hashtags 2023-03-14 15:35:40 -06:00
Andrew Godwin a6922cb9d6 Move to a new HTML parser/stripper
This removes the use of the EOL'd Bleach, and also integrates hashtag,
mention and emoji searching into one single place.
2023-01-29 17:47:06 -07:00
Andrew Godwin 113db4ab3a Fixed #376: Emoji admin page
Also did a new table style for admin pages
2023-01-10 20:31:50 -07:00
Andrew Godwin d3fd365a37 Add boost JSON
(also fix hashtag URLs)
Fixes #313
2022-12-29 10:53:31 -07:00
Michael Manfre cf8c5476e6
Hashtag stats are only computed when a Post is edited or updated (#299) 2022-12-27 19:42:38 -07:00
Andrew Godwin 4ad4f468a4 Refactor HTML rendering into one place
Also suppress using external <a> tags for now, until we can separate
them from hashtags properly.
2022-12-20 11:39:45 +00:00
Andrew Godwin e28294c81a Hashtag admin simplification 2022-12-20 09:16:03 +00:00
Andrew Godwin 1bcdff79e7 Fix hashtag linking and API mentions of empty 2022-12-15 19:26:06 -07:00
Andrew Godwin fc8a21fc5c More API read coverage 2022-12-12 11:56:49 -07:00
Paolo Melchiorre a9bb4a7122
Add pyupgrade with --py310-plus in pre-commit (#103) 2022-12-05 10:38:37 -07:00
Andrew Godwin 8139ccffdb Fix hashtag extraction 2022-11-29 09:44:37 -07:00
Andrew Godwin fb342cfb54 Fix hashtagging of HTML entities 2022-11-28 22:34:14 -07:00
Andrew Godwin 0bced8fe17 A few hashtag fixups 2022-11-28 22:14:52 -07:00
Michael Manfre fb8f2d1098
Hashtags 2022-11-28 21:41:36 -07:00