2107 Commits

Author SHA1 Message Date
Owncast
1d6151c867 Commit updated API documentation v0.0.13 2022-11-22 01:44:19 +00:00
Gabe Kangas
3a7f69531c
Bump version for 0.0.13 release 2022-11-21 12:34:56 -08:00
Albin Larsson
a74ea4ef40
improve chat input accessibility (#2353)
Sets aria-role="textbox" and aria-placeholder
2022-11-21 12:12:02 -08:00
Gabe Kangas
c2a7d9f50b
Explicitly set AP post as public. Closes #2112 2022-11-21 12:11:54 -08:00
John Regan
e64dd2d206
activitypub: ensure Undo request has valid type (#2317) 2022-11-21 12:11:41 -08:00
M. Ajmal Moochingal
f39c1184e5
Using prepared statements for SQL queries. (#2257)
* using prepared statements for sql query for fixing sql injection

* returning error in getChat instead of logging
2022-11-21 12:11:28 -08:00
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.
2022-11-21 12:11:04 -08:00
Matt Owens
4b5a1fcc3f
remove extra w.WriteHeader call (#2158) 2022-11-21 12:10:36 -08:00
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
2022-11-21 12:10:17 -08:00
Matt Owens
717bbcf2e7
Sanitize user submitted values before logging (#2134)
* strip line breaks from user-submitted values before logging

* finish comment
2022-11-21 12:09:47 -08:00
cel
29972bb4e7
Add Fediverse, Matrix and XMPP social links (#2044) 2022-11-21 12:09:20 -08:00
Gabe Kangas
625b0b0099
Limit chat display names to 30 characters. Closes #1919 2022-11-21 12:09:03 -08:00
Gabe Kangas
27afb93e13
Function has been re-exported for use 2022-11-21 12:08:36 -08:00
Gabe Kangas
eb1121e9fa
Fix creating table indexes 2022-11-21 12:08:28 -08:00
Gabe Kangas
e65abb6073
Add util for ungraceful sql execs 2022-11-21 12:08:21 -08:00
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
2022-11-21 12:07:54 -08:00
Gabe Kangas
ba7861cda9
Limit OTP requests to one per expiry window. Closes #2000 2022-11-21 12:07:43 -08:00
Gabe Kangas
1cbe2a56fb
Do not log inactionable error. Closes #1992 2022-11-21 12:07:32 -08:00
Gabe Kangas
2d44f86035
Add additional information to key verification error v0.0.12 2022-07-06 21:46:03 -07:00
Gabe Kangas
14f405bf58
Fix followers pagination UI 2022-07-05 12:53:21 -07:00
Owncast
e443188cbc Update admin to 3e92d626c4e429345c238a54ff4a718de128ff76 2022-07-04 14:49:22 +00:00
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>
2022-06-25 21:16:18 -07:00
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>
2022-06-25 21:16:04 -07:00
Owncast
a5e8d2ac35 Commit updated API documentation 2022-06-20 15:48:48 +00:00
Gabe Kangas
3741196de6
Standardize endpoint name and fix doc. Closes #1966 2022-06-20 08:46:53 -07:00
Gabe Kangas
6ff8c89246
Move to the Eartlhy job for the nightly Docker build. Closes #1953 2022-06-20 08:08:03 -07:00
Gabe Kangas
2baad77c5a
Support running tests within Earthly container 2022-06-20 08:04:04 -07:00
Owncast
3bccc5364c Update admin to 64706cedeefd75f442c03f7d73f91a075b065390 2022-06-20 14:37:23 +00:00
Gabe Kangas
62a580b72c
Use Earthly setup action instead of manually downloading 2022-06-19 10:41:15 -07:00
Gabe Kangas
078462b246
Remove additional branching 2022-06-19 10:32:12 -07:00
Gabe Kangas
a137d7ebb9
Support multi-platform docker builds with qemu 2022-06-18 23:05:50 -07:00
Gabe Kangas
233a2ccb2f
Point to most recent earthly + cd to root on build 2022-06-18 20:46:05 -07:00
Gabe Kangas
fce3672bc1
Add nightly build action that uses Earthly. Another step in #1953 2022-06-18 20:23:23 -07:00
Gabe Kangas
d214f2390e
Pass in the image and tag names separately from the version 2022-06-18 20:19:43 -07:00
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>
2022-06-18 18:42:25 -07:00
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
2022-06-18 15:29:10 -07:00
Walter Huf
34629d0f5d
Link the Docker Pull badge to Dockerhub (#1948) 2022-06-14 15:36:37 -07:00
Owncast
40d4d71af2 Commit updated API documentation 2022-06-13 20:34:48 +00:00
Gabe Kangas
ee118e905c
Add Prometheus endpoint to OpenAPI spec 2022-06-13 13:33:35 -07:00
Owncast
793e177501 Update admin to cadb926648602bf6fa760ce80ddd600a039fd845 2022-06-13 20:28:09 +00:00
Owncast
3b9ec5de55 Update admin to f1214a5c7c32657eb4fefe8d2384fe629bc797ca 2022-06-13 13:47:15 +00:00
cr0ax
f4392a9e6f
Use a custom http client when connecting to aws (#1945)
Signed-off-by: Christian Burke <cr0ax64@gmail.com>
2022-06-11 18:21:11 -07:00
cr0ax
0c64c988d5
Change .editorconfig to reflect current state of the code (#1944)
Signed-off-by: Christian Burke <cr0ax64@gmail.com>
2022-06-11 18:04:50 -07:00
Gabe Kangas
0f4aab24a8
Tweaks for sig verify error message 2022-06-11 15:17:43 -07:00
Owncast
09d3350d50 Update admin to b6858dddff0ae30fbf3b1013b23faaafe091e90d 2022-06-09 04:52:55 +00:00
Owncast
e26442ec7d Update admin to ce743edb6f68455da9897d5ddf159f5ce258345d 2022-06-07 23:44:16 +00:00
Renovate Bot
5c795afe27
Update golang.org/x/net digest to c690dde 2022-06-07 05:51:52 +00:00
Renovate Bot
ceb2d50403
Update module github.com/aws/aws-sdk-go to v1.44.28 2022-06-06 22:24:54 +00:00
Renovate Bot
251c773661
Update module github.com/yuin/goldmark to v1.4.12 2022-06-06 14:38:23 +00:00
Owncast
365beb525c Update admin to 678a9600e2eefa97abd712b2f639b718ebab083c 2022-06-06 13:30:05 +00:00