Commit graph

4737 commits

Author SHA1 Message Date
Gabe Kangas
505b0bb7e8
Start on admin dark theme. Closes #1904 2023-01-04 16:06:32 -08:00
gabek
e59ac558c5 Prettified Code! 2023-01-04 22:25:02 +00:00
Gabe Kangas
2675150cdf
Revert "improve stream testing script (#2525)"
This reverts commit e748d8f765.
2023-01-04 14:22:55 -08:00
Meisam
2c6fd67276
set a non-root user for containers (#2496)
* change root user in dockerfile

* build container on push/pr

* grab docker build params from env

* consolidate container build

* rm unused container build workflow/script

* cleanup ci

* set user for earthly container build

* rm ci docker build for develop branch

* checkout full repo for docker builds

* read earthly push from env

* cleanup ci

* rm unsupported option for actions/checkout@v3

* check dockerfile in ci

* add dockerfile build to earthfile

* authenticate to GH only on schedule builds

* accurate name for dev container builder script

* add note to the dockerfile about earthfile

* document dev build process more clearly
2023-01-04 14:15:12 -08:00
Meisam
e748d8f765
improve stream testing script (#2525)
* merge testContent.sh into ocContent.sh

* detect ffmpeg

ffmpeg or ffmpeg.exe in path, current dir, or parent dir

* use ocTestStream in api test

* enable verbose logging for api tests

* log ffmpeg version

* change ffmpeg lookup order

* set path properly for using the local ffmpeg

* rm double space from transcoder error logs

* update tests for new video stream

do not test bitrate

* set test stream target to 127.0.0.1

* log ffmpeg path

* update ffmpeg to v4.4.1

* improve logs

* fix ffmpeg installer script

* fix api test runner

* fix logs

* install fonts

* cleanup

* use ocTestStream.sh for all automated tests

* cleanup ocTestStream.sh

* cleanup test/automated/hls/run.sh

* Fix misspell

* fix ffmpeg installer in automated test runners

* spell fix

* cleanup script

* rev quick api tests

* cleanup tmp paths properly in automated tests

* rm unused ffmpeg package

* cleanup
2023-01-04 14:12:05 -08:00
Meisam
dad5b28cc5
use randomString/Number from lib in api tests (#2542) 2023-01-04 14:09:51 -08:00
dependabot[bot]
e1d47d3507
Bump json5 from 2.2.0 to 2.2.2 in /test/automated/browser (#2535)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:09:02 -08:00
dependabot[bot]
0870b71b62
Bump json5 from 2.1.3 to 2.2.2 in /test/automated/api (#2536)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:08:42 -08:00
dependabot[bot]
0c0f8d9312
Bump json5 from 2.1.3 to 2.2.2 in /test/automated/hls (#2537)
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 14:08:24 -08:00
gabek
2607d90094 Bundle embedded web app 2023-01-04 21:58:53 +00:00
Harpreet Singh
2e56684314
Move enable save button logic to a use effect hook. This updates state without delay. (#2548) 2023-01-04 13:54:34 -08:00
renovate[bot]
112c522951 Bundle embedded web app 2023-01-03 19:01:52 +00:00
renovate[bot]
0d7fee33b6 chore(deps): lock file maintenance 2023-01-03 18:58:43 +00:00
renovate[bot]
297afab6df Bundle embedded web app 2023-01-03 12:51:15 +00:00
renovate[bot]
4e5a5e59e0
chore(deps): update dependency eslint to v8.31.0 2023-01-03 09:16:11 +00:00
renovate[bot]
417fe50a14
chore(deps): update peter-evans/create-or-update-comment digest to 66af805 2023-01-03 02:14:09 +00:00
renovate[bot]
87c6c38a7c
chore(deps): update peter-evans/create-or-update-comment digest to 66af805 2023-01-03 02:14:03 +00:00
renovate[bot]
6849e78dd2 Bundle embedded web app 2023-01-02 23:07:29 +00:00
renovate[bot]
706879a5a9
fix(deps): update dependency yaml to v2.2.1 2023-01-02 19:27:40 +00:00
renovate[bot]
d1ce38c069 Bundle embedded web app 2023-01-02 15:38:12 +00:00
renovate[bot]
1856c6764c
fix(deps): update dependency @uiw/react-codemirror to v4.19.5 2023-01-02 12:59:29 +00:00
renovate[bot]
ee31029526 chore(deps): lock file maintenance 2023-01-02 12:54:10 +00:00
renovate[bot]
1b92518502 Bundle embedded web app 2023-01-02 09:42:43 +00:00
renovate[bot]
ee46281196
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.19.5 2023-01-02 06:33:51 +00:00
renovate[bot]
dd3371f7eb Bundle embedded web app 2023-01-02 03:53:05 +00:00
renovate[bot]
45e34678ec
chore(deps): update dependency storybook-dark-mode to v2.0.5 2023-01-02 01:00:55 +00:00
gabek
a785970e57 Bundle embedded web app 2023-01-01 00:12:12 +00:00
Michael David Kuckuk
2f2300db8d
Add initiallyMuted query parameter to embed player (#2539)
* Add query param to initially mute embed player

* Add stories for embed player

* Improve VideoJS typing
2022-12-31 16:08:54 -08:00
Meisam
db3e20b480
cleanup test/automated/api/publicstatic.test.js (#2533) 2022-12-31 15:10:31 -08:00
gabek
a7e198b5d2 Bundle embedded web app 2022-12-31 22:48:39 +00:00
Harpreet Singh
41499c78c3
Update logic for canSave() to allow saving regardless of the enabled value. (#2538) 2022-12-31 14:44:49 -08:00
Gabe Kangas
a5e5037f5c
Add a link to learning more about Git for newcomers. 2022-12-30 20:15:55 -08:00
renovate[bot]
e7318da2b4 Bundle embedded web app 2022-12-30 17:14:11 +00:00
renovate[bot]
3428ead3ed
Update nextjs monorepo to v13.1.1 2022-12-30 14:49:22 +00:00
renovate[bot]
39337c4a50 Bundle embedded web app 2022-12-30 11:42:26 +00:00
renovate[bot]
96afe9481e
Update typescript-eslint monorepo to v5.47.1 2022-12-30 08:34:38 +00:00
gabek
74673770d0 Bundle embedded web app 2022-12-30 07:04:54 +00:00
Gabe Kangas
48f7a18419
Do not show followers bg color on mobile 2022-12-29 23:00:23 -08:00
Gabe Kangas
04b0f4548c
Remove duplicate API call + explicitly set loading state 2022-12-29 22:59:53 -08:00
gabek
74c812ee12 Bundle embedded web app 2022-12-30 04:16:39 +00:00
Gabe Kangas
a971a79296
Fix name change clearing chat history. Closes #2532 2022-12-29 20:11:20 -08:00
renovate[bot]
579444f32a Bundle embedded web app 2022-12-30 03:24:40 +00:00
renovate[bot]
8b80ab1a7e
Update dependency @types/node to v18.11.18 2022-12-30 01:05:56 +00:00
gabek
9813375a7c Bundle embedded web app 2022-12-30 00:29:17 +00:00
Gabe Kangas
533d33847c
Hide disabled features (#2473)
* Hide/show on notify and fediverse feature disable/enable

* Update browser tests to enable features for testing

* Hide/show features in mobile action menu

* Do not show fediauth option if fediverse features are not enabled.

* Force showing tabs when in Storybook
2022-12-29 16:26:04 -08:00
Gabe Kangas
0eba1685b3
Return the actual display name, not the proposed one 2022-12-29 14:52:15 -08:00
Gabe Kangas
6a8473a297
Enforce username limitations on registration for #2527 2022-12-29 14:13:23 -08:00
Gabe Kangas
0c03773c4c
Sanitize+truncate display names on registration+change. For #2527 2022-12-29 14:13:22 -08:00
gabek
51c804f6ae Bundle embedded web app 2022-12-29 21:22:19 +00:00
André Rusakow
15533d3d8a
wrap promise response in set timeout to keep local state in sync (#2531) 2022-12-29 13:19:23 -08:00