* Allow tags to lead with and contain only numbers
* Break tags on other whitespace characters
* Export regexes from rich text detection
* Add test
* Add test
* Disallow number-only tags
* Avoid combining enclosing screen chars
* Allow full-width number sign
* Clarify tests
* Fix punctuation edge case
* Reorder
* Simplify, add another test
* Another test, comment
* Don't remove hash from muted words
* Split out crud actions, only sanitize on inserts
* Add changeset
* Handle hash emoji in mute words
* Add sanitization for invalid chars
* Remove console
* Add util
* Clean up changesets
* Format
* Wow forgot to commit change
* Version packages
* Give Mary credit
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Bailey <git@esb.lol>
* Do not parse hashtag emoji as tag (#2242)
* fix: prevent hashtag emoji from being parsed as tag
* chore: fmt
* fix: properly calculate length of tag
* Add a couple tests
---------
Co-authored-by: Mary <148872143+mary-ext@users.noreply.github.com>
* draft of account migration lexicons
* format
* clean up schemas
* second pass on schemas
* small fix
* move around checkImportStatus
* getServiceAuth
* schema tweaks
* format
* update schemas
* email flow for signed plc operation
* refactor listMissingBlobs a bit
* codegen
* return did in describeServer
* changeset
* ✨ Add initial lexicons to manage communication templates
* ✨ All 3 endpoints are functional
* ✨ Add list and delete endpoints
* ✅ Add tests for communication template CRUD
* 🔒 Allow only admins to create and update templates
* 🧹 Cleanup according to PR review
* ✨ Make updatedBy and createdBy optional in lexicon
* ✨ Typo
* ✨ Allow string id and update lexicon language
* ✅ Fix tests
* ✨ content -> contentMarkdown
* ✨ Change column name in db table
* add changeset
---------
Co-authored-by: Devin Ivy <devinivy@gmail.com>
* Better handling of resumeSession errors
* Update test
* Format
* Pare back to only necessary
* Update handling for 500s
* Should really be update
* Update logic from feedback
* Update tests
* Feedback
* Revert debug change
* Changeset
* Bump minor
* limit external embed strings sizes
* set a (very large) alt text length limit
The motivation is to have *some* size limit on every string in post
records, to maximize interoperation. For example, we currently have a
CBOR library rejecting some records because of too-long strings.
We don't want to limit the ability of folks to be very descriptive in
alt text, specifically, so chose what seems to be a very large limit. If
this is not large enough, based on feedback, we can bump it even higher.
As context this is the largest string length limit in all of our
lexicons.
* make thumbnail URL fields format=uri
This mostly results in checks against the string being empty, or
unlimited size.
* codegen: string limits
* add changeset for string format lex updates
* Fix: elevate !no-unauthenticated label to affect the entire account when on the profile
* lint
* Add changeset
---------
Co-authored-by: dholms <dtholmgren@gmail.com>