Florian Lehner
a9cd28dbec
preallocate memory ( #2201 )
...
**What this PR does / why we need it:**
Preallocate memory instead of enforcing an incremental growth. This will result in less work for the garbage collector.
3 years ago
Matt Owens
4b5a1fcc3f
remove extra w.WriteHeader call ( #2158 )
3 years ago
Matt Owens
96274ad541
Treat fediverse usernames as case-insensitive ( #2155 )
...
* treat fediverse usernames as case-insensitive for auth
* add test for case insensitive, clean up duplicate import in federverse auth controller
* fix test, there was an issue with state when all the tests were run
3 years ago
Matt Owens
717bbcf2e7
Sanitize user submitted values before logging ( #2134 )
...
* strip line breaks from user-submitted values before logging
* finish comment
3 years ago
cel
29972bb4e7
Add Fediverse, Matrix and XMPP social links ( #2044 )
3 years ago
Gabe Kangas
625b0b0099
Limit chat display names to 30 characters. Closes #1919
3 years ago
Gabe Kangas
27afb93e13
Function has been re-exported for use
3 years ago
Gabe Kangas
eb1121e9fa
Fix creating table indexes
3 years ago
Gabe Kangas
e65abb6073
Add util for ungraceful sql execs
3 years ago
Gabe Kangas
29ec8a9091
Messages table fixes to improve query performance ( #2026 )
...
* Move to yaml sqlc config
* Add util for ungraceful sql execs
* Fix messages schema + add indexes
* Add migration to drop+recreate messages table
* Create index only if does not exist
* Fix typo
* Unexport function
3 years ago
Gabe Kangas
ba7861cda9
Limit OTP requests to one per expiry window. Closes #2000
3 years ago
Gabe Kangas
1cbe2a56fb
Do not log inactionable error. Closes #1992
3 years ago
Gabe Kangas
2d44f86035
Add additional information to key verification error
3 years ago
Gabe Kangas
14f405bf58
Fix followers pagination UI
3 years ago
Owncast
e443188cbc
Update admin to 3e92d626c4e429345c238a54ff4a718de128ff76
3 years ago
dependabot[bot]
0d42d4b85e
Bump jsdom from 16.4.0 to 16.7.0 in /test/automated/api ( #1975 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
737d480f80
Bump jsdom from 16.4.0 to 16.7.0 in /test/automated/hls ( #1976 )
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 16.4.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.7.0 )
---
updated-dependencies:
- dependency-name: jsdom
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Owncast
a5e8d2ac35
Commit updated API documentation
3 years ago
Gabe Kangas
3741196de6
Standardize endpoint name and fix doc. Closes #1966
3 years ago
Gabe Kangas
6ff8c89246
Move to the Eartlhy job for the nightly Docker build. Closes #1953
3 years ago
Gabe Kangas
2baad77c5a
Support running tests within Earthly container
3 years ago
Owncast
3bccc5364c
Update admin to 64706cedeefd75f442c03f7d73f91a075b065390
3 years ago
Gabe Kangas
62a580b72c
Use Earthly setup action instead of manually downloading
3 years ago
Gabe Kangas
078462b246
Remove additional branching
3 years ago
Gabe Kangas
a137d7ebb9
Support multi-platform docker builds with qemu
3 years ago
Gabe Kangas
233a2ccb2f
Point to most recent earthly + cd to root on build
3 years ago
Gabe Kangas
fce3672bc1
Add nightly build action that uses Earthly. Another step in #1953
3 years ago
Gabe Kangas
d214f2390e
Pass in the image and tag names separately from the version
3 years ago
Walter Huf
476415bfbc
Hufman/earthly builds ( #1962 )
...
* WIP rework release builds with Earthly
* Build linux dist files with GCC cross-compiling
* Use single Earthfile build/package targets
Uses the --platform argument to pick a non-default platform output
but the target name is the same
* Build and push Docker images with Earthfile
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
3 years ago
tobi
05a134c64e
[bugfix] Fix http signatures trying to derive actor ( #1956 )
...
* add GetResolvedPublicKeyFromIRI
* verify public key using key not actor w/key
* try most common algos first
* try stated algo first
* make sure not to try an algo twice
* return errors per algorithm
* linting
3 years ago
Walter Huf
34629d0f5d
Link the Docker Pull badge to Dockerhub ( #1948 )
3 years ago
Owncast
40d4d71af2
Commit updated API documentation
3 years ago
Gabe Kangas
ee118e905c
Add Prometheus endpoint to OpenAPI spec
3 years ago
Owncast
793e177501
Update admin to cadb926648602bf6fa760ce80ddd600a039fd845
3 years ago
Owncast
3b9ec5de55
Update admin to f1214a5c7c32657eb4fefe8d2384fe629bc797ca
3 years ago
cr0ax
f4392a9e6f
Use a custom http client when connecting to aws ( #1945 )
...
Signed-off-by: Christian Burke <cr0ax64@gmail.com>
3 years ago
cr0ax
0c64c988d5
Change .editorconfig to reflect current state of the code ( #1944 )
...
Signed-off-by: Christian Burke <cr0ax64@gmail.com>
3 years ago
Gabe Kangas
0f4aab24a8
Tweaks for sig verify error message
3 years ago
Owncast
09d3350d50
Update admin to b6858dddff0ae30fbf3b1013b23faaafe091e90d
3 years ago
Owncast
e26442ec7d
Update admin to ce743edb6f68455da9897d5ddf159f5ce258345d
3 years ago
Renovate Bot
5c795afe27
Update golang.org/x/net digest to c690dde
3 years ago
Renovate Bot
ceb2d50403
Update module github.com/aws/aws-sdk-go to v1.44.28
3 years ago
Renovate Bot
251c773661
Update module github.com/yuin/goldmark to v1.4.12
3 years ago
Owncast
365beb525c
Update admin to 678a9600e2eefa97abd712b2f639b718ebab083c
3 years ago
Renovate Bot
0c1e00a643
Update golang.org/x/net digest to c960675
3 years ago
Gabe Kangas
d6814b516a
Require auth middleware only on GET requests
3 years ago
Gabe Kangas
26eebf47d5
Pass back actual error payload
3 years ago
Gabe Kangas
c841e4d32d
Fix middleware attached to wrong endpoint
3 years ago
Gabe Kangas
ab0a46cbd2
Change text to clarify following is on the fediverse
3 years ago
Renovate Bot
2a01b20914
Update module github.com/prometheus/client_golang to v1.12.2
3 years ago