Commit Graph
21 Commits
Author SHA1 Message Date
f30b80d473 sha-512 hash passwords longer than 72 bytes (#4331)
* 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>
2025-10-13 15:05:42 -07:00
mahmed2000andGitHub d1879e74b5 fix errorMessage being set as a raw error type instead of a string (#4333) 2025-05-10 13:20:24 -07:00
mahmed2000andGitHub b0d5f1ecfb check for webfinger status code before parsing (#4332) 2025-05-10 13:15:11 -07:00
c9a69b281c address activitypub notes to the streamer's follower collection (#4314)
* 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>
2025-05-07 17:35:12 -07:00
mahmed2000andGitHub 9a0e487d54 Fix prometheus handlers (#4311)
* 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"
2025-05-03 23:27:08 -07:00
00be7720b5 change go:embed call to use the go:embed all: directive (#4312)
* change go:embed call to use the all: directive to include underscored dirs instead

* Update static/static.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-03 22:28:59 -07:00
mahmed2000andGitHub 849c4e85b0 Removes trailing whitespace causing web hydration errors (#4208) 2025-02-14 22:49:08 -08:00
mahmed2000andGitHub 8a1c05abf4 Make the error alert in OfflineEmbed closable (#4062) 2024-12-20 09:17:34 -08:00
mahmed2000andGitHub d9a0d13479 Communicate and handle apub outgoing updates being delayed (#4009)
* 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
2024-11-30 14:38:00 -08:00
mahmed2000andGitHub eca880ac1f Replace picmo with emoji-mart (#4001)
* 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.
2024-11-09 13:58:38 -08:00
mahmed2000andGitHub d31d2948c3 Change websocket mock from empty object to empty class (#3998) 2024-11-08 11:43:41 -08:00
mahmed2000andGabe Kangas 3d9bd9d353 Storybook 8 fixes (#3937)
* 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>
2024-10-19 17:53:45 -07:00
mahmed2000andGitHub deb938d521 Fix incorrect timestamp on Eartlhy packaged binary (#3955) 2024-10-11 08:31:44 -07:00
mahmed2000andGitHub dd5a14cd1a Fix mistyped filter value in the admin's log table (#3952) 2024-10-10 08:05:05 -07:00
mahmed2000andGitHub 43fdadd361 Override default videojs volume panel width (#3796) 2024-06-30 19:53:27 -07:00
a7e5f20337 Implement admin password hashing with bcrypt (#3754)
* 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>
2024-06-26 21:20:22 -07:00
mahmed2000andGitHub f6045fbd63 Add modal state for browser notifications being denied (#3771) 2024-06-12 21:34:53 -07:00
mahmed2000andGitHub 414a8aeed8 Rework utils/restendpointhelper to use the new chi router functionality (#3750)
* 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
2024-05-30 12:31:07 -07:00
mahmed2000andGitHub d9ee7578d1 Rework stream duration string formatting for the status bar (#3729)
* Use date-fns formatDuration to generate stream duration string

* Remove unneeded pluralize function
2024-05-02 22:03:26 -07:00
mahmed2000andGitHub 56eef2e601 Add effect to set media session metadata (#3713) 2024-04-19 14:01:50 -07:00
d3b0cb261a Change fediAuth message to be more succinct (#3696)
* Change fediAuth message to be more succint

* Update controllers/auth/fediverse/fediverse.go

for -> from

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2024-04-17 11:01:32 -07:00