GoToSocial/internal
ugla 52109776f6
[bugfix] Fix unicode-unaware word boundary check in hashtags (#1049)
* [bugfix] Fix unicode-unaware word boundary check in hashtag regex

Go `\b` does not care for Unicode, and without lookahead, the workarounds got
very ugly. So I replaced the regex with a parser.

The parser runs in O(n) time and performance should not be affected.

* [bugfix] Add back hashtag max length and add tests for it
2022-11-15 16:05:34 +01:00
..
ap [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
api [feature] Serialize local account role via API, and show it via web view (#1045) 2022-11-15 10:19:32 +01:00
cache [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
concurrency [feature] various worker / request queue improvements (#995) 2022-11-08 10:35:24 +01:00
config [feature] add instance-expose-public-timeline flag (#1039) 2022-11-14 10:30:01 +01:00
db [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
email [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
federation [chore] Fixes + updates in emoji dereferencing logic (#1022) 2022-11-11 19:27:37 +00:00
gotosocial test the media manager a bit, add shutdown logic 2022-01-10 18:36:09 +01:00
gtserror [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
gtsmodel [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
httpclient [feature] various worker / request queue improvements (#995) 2022-11-08 10:35:24 +01:00
id change muchos things 2021-09-01 11:11:26 +02:00
log [chore] small logging cleanup (#869) 2022-10-01 16:36:08 +01:00
media [chore] Fixes + updates in emoji dereferencing logic (#1022) 2022-11-11 19:27:37 +00:00
messages Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
netutil [security] transport.Controller{} and transport.Transport{} security and performance improvements (#564) 2022-05-15 11:16:43 +02:00
oauth [feature] oob oauth token support (#889) 2022-10-08 13:49:56 +02:00
oidc [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
processing [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
regexes [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
router [feature] Add opt-in RSS feed for account's latest Public posts (#897) 2022-10-08 14:00:39 +02:00
storage [feature] S3: add config flag to proxy S3 media (#1014) 2022-11-11 12:03:18 +01:00
stream Fix streamed messages ending up in wrong timeline(s) (#325) 2021-11-22 19:03:21 +01:00
text [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
timeline [chore] update dependencies, bump to Go 1.19.1 (#826) 2022-09-28 18:30:40 +01:00
trans [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
transport [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
typeutils [feature] Serialize local account role via API, and show it via web view (#1045) 2022-11-15 10:19:32 +01:00
uris [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
util [bugfix] Fix unicode-unaware word boundary check in hashtags (#1049) 2022-11-15 16:05:34 +01:00
validate [feature] Allow newly uploaded emojis to be placed in categories (#939) 2022-11-14 22:47:27 +00:00
visibility [performance] add user cache and database (#879) 2022-10-03 10:46:11 +02:00
web [bugfix] use the landing page user directly (#956) 2022-11-05 08:39:36 +01:00