* sha-512 hash passwords longer than 72 bytes
* rename compress_hashing to go conventions
* add api test for long passwords
* fix typo
* chore(test): add unit test for password hashing
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
* make a new function to generate appropriate to and cc apub objects
* use new addressing function to set "public" message addressing appropriately with the followers collection
* early return from sending federated message if federation is disabled
* cleanup old addressing code, apply new addressing mechanism to live notifications as well
* linter fix
* Update activitypub/outbox/outbox.go
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
* fix prometheus handlers not serving responses
* add basic integration test to prometheus handler
* modify .gitignore to ignore all ffmpeg versioned folders instead of just any file exactly matching "ffmpeg"
* Allow icon only status messages such as STATUS_PROCESSING to be displayed
* Add a processing status state for the EditSocialLinks component
* Log warning for the outbound apub channel being full
* Buffer the outbound apub channel so some API requests are less likely to get blocked during handling
* Make the apub outbound request trace-log always occur after being queued.
* Linting fix
* Add emoji-mart deps
* Change EmojiPicker to use emoji-mart
* Change ChatTextField to work with the emoji-mart data object
* Remove picmo, commit package-lock
* Fix mutant svgs having a size of 0
* Get the custom emojis to show up earlier in the picker
* Set emoji-mart to exact semver. Later versions break custom category sorting.
* Add globs for auto-generated CSF screenshot stories to main.js
* Remove unneeded mdx files for screenshots
* Glob for stories.js instead of just js files in the doc pages directory
* Might as well update it to 8.3 while we're at it
* Update knip config file to make it happy
* Fix linter warning
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
* Add bcrypt hashing helpers
* SetAdminPassword now hashes the password before saving it
* BasicAuth now compares the bcrypt hash for the password
* Modify migration2 to avoid a double password hash when upgrading
* Add migration for bcrypt hashed password
* Do not show admin password hash as initial value
* Update api tests to compare the bcrypt hash of the admin password instead
* Remove old admin password api tests
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
* Remove old implementation, add new function to work with the chi router
* Use new URL Param function to get clientID instead
* Remove usage of old restendpoint functions
* Fix typo in url param name
* Remove unused tests
* Change fediAuth message to be more succint
* Update controllers/auth/fediverse/fediverse.go
for -> from
---------
Co-authored-by: Gabe Kangas <gabek@real-ity.com>