Commit Graph

1775 Commits

Author SHA1 Message Date
Gabe Kangas
aadf721808
Move the contributor comment to end of source 2023-01-11 23:50:26 -08:00
Gabe Kangas
c7e12643e9
Point link to genera admin settings page 2023-01-11 22:44:55 -08:00
Gabe Kangas
2ff4316ee6
Fix admin subpages not having a layout 2023-01-11 22:44:15 -08:00
Gabe Kangas
4bac079a73
Make footer sit on bottom of page. Closes #2188 2023-01-11 18:56:10 -08:00
Gabe Kangas
9cc7b1cf2d
Add a little comment for those viewing HTML source that we could use contributors 2023-01-11 18:26:54 -08:00
renovate[bot]
92eb042c39
chore(deps): update dependency @babel/core to v7.20.12 (#2555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-11 14:22:35 -08:00
Gabe Kangas
bb9b8a8123
Use own scroll to bottom function instead of built-in. Closes #2500 2023-01-11 00:53:18 -08:00
Gabe Kangas
b989e9a462
Remove chat container bottom margin 2023-01-11 00:52:03 -08:00
Gabe Kangas
7ce35a8a08
Increase user message border width 2023-01-11 00:51:39 -08:00
Meisam
64d3c37fb2
improve stream testing script (#2549)
* 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

* fix s3 test

* cache ffmpeg bin for automated tests

* shellcheck allow source

* rm missplaced file if backup fails

* use ffmpeg full path

* set lookup path for shellcheck
2023-01-10 18:50:32 -08:00
Gabe Kangas
8b36194471
Fix another rendering error 2023-01-10 16:51:15 -08:00
Gabe Kangas
d8a5380b7f
Fix some React lifecycle and rendering errors that exist in build 2023-01-10 16:39:20 -08:00
Gabe Kangas
73fbb4c075
Use header tag 2023-01-10 01:09:49 -08:00
Gabe Kangas
85dc3bf21e
Fix storybook errors 2023-01-10 01:00:13 -08:00
Gabe Kangas
98070d8751
Turnning swc back off as it does not seem to work with storybook 2023-01-10 00:44:03 -08:00
Gabe Kangas
03cd2af1d2
Experiment with enabling swc for faster builds 2023-01-10 00:37:13 -08:00
Gabe Kangas
37cd19c567
Inline some CSS upfront for performance. #2167 2023-01-10 00:37:12 -08:00
Gabe Kangas
cfaeda94b0
Lazy load more components. #2167 2023-01-10 00:37:12 -08:00
Gabe Kangas
7392ae8a54
Reorganize admin components to help bundling 2023-01-10 00:37:11 -08:00
Gabe Kangas
29882f1291
Lazy load tooltip 2023-01-10 00:37:11 -08:00
Gabe Kangas
bd3c81c353
Replace he html decoding lib with entities 2023-01-10 00:37:10 -08:00
Gabe Kangas
c542dc10da
Fix some components being rendered as pages 2023-01-10 00:37:10 -08:00
renovate[bot]
ee795a21af
fix(deps): update dependency react-hotkeys-hook to v4 (#2568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 13:57:14 -08:00
renovate[bot]
249469a688
fix(deps): update dependency chart.js to v4.1.2 (#2559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 13:15:53 -08:00
renovate[bot]
6a60aa9509
fix(deps): update dependency react-virtuoso to v4 (#2563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 12:53:37 -08:00
renovate[bot]
75f4b95c9c
chore(deps): update dependency eslint-config-prettier to v8.6.0 (#2552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 10:49:59 -08:00
renovate[bot]
68d79ed04d
fix(deps): update dependency style-dictionary to v3.7.2 (#2554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 10:46:50 -08:00
Gabe Kangas
c05a20a460
Use built-in Next layout support + lazy load
Instead of doing manual layout switching use the Nextjs nested layout
support. Also add some additional lazy loading of components. This is to
work on performance score re: #2167.
2023-01-09 01:08:24 -08:00
Gabe Kangas
15747f86dd
Lazy load followers components 2023-01-09 01:08:24 -08:00
renovate[bot]
6925257fb4 chore(deps): update typescript-eslint monorepo to v5.48.0 2023-01-09 07:52:37 +00:00
Gabe Kangas
f95fbcc38b
Enable source maps in production 2023-01-08 20:41:46 -08:00
Gabe Kangas
e4a02dea91
No reason to use the Image component here 2023-01-08 20:03:06 -08:00
Gabe Kangas
81c505d731
Hack to force scroll to very bottom at mount. For #2500 2023-01-05 02:16:37 -08:00
gabek
f0b9ad867b Prettified Code! 2023-01-05 00:35:08 +00:00
Gabe Kangas
2bd3ab82a9
Removing the attempt at an admin dark mode. #1904 2023-01-04 16:33:56 -08:00
Gabe Kangas
505b0bb7e8
Start on admin dark theme. Closes #1904 2023-01-04 16:06:32 -08:00
Gabe Kangas
2675150cdf
Revert "improve stream testing script (#2525)"
This reverts commit e748d8f765.
2023-01-04 14:22:55 -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
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]
0d7fee33b6 chore(deps): lock file maintenance 2023-01-03 18:58:43 +00:00
renovate[bot]
4e5a5e59e0
chore(deps): update dependency eslint to v8.31.0 2023-01-03 09:16:11 +00:00
renovate[bot]
706879a5a9
fix(deps): update dependency yaml to v2.2.1 2023-01-02 19:27:40 +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]
ee46281196
fix(deps): update dependency @uiw/codemirror-theme-bbedit to v4.19.5 2023-01-02 06:33:51 +00:00
renovate[bot]
45e34678ec
chore(deps): update dependency storybook-dark-mode to v2.0.5 2023-01-02 01:00:55 +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
Harpreet Singh
41499c78c3
Update logic for canSave() to allow saving regardless of the enabled value. (#2538) 2022-12-31 14:44:49 -08:00
renovate[bot]
3428ead3ed
Update nextjs monorepo to v13.1.1 2022-12-30 14:49:22 +00:00
renovate[bot]
96afe9481e
Update typescript-eslint monorepo to v5.47.1 2022-12-30 08:34:38 +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
Gabe Kangas
a971a79296
Fix name change clearing chat history. Closes #2532 2022-12-29 20:11:20 -08:00
renovate[bot]
8b80ab1a7e
Update dependency @types/node to v18.11.18 2022-12-30 01:05:56 +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
André Rusakow
15533d3d8a
wrap promise response in set timeout to keep local state in sync (#2531) 2022-12-29 13:19:23 -08:00
Jambaldorj Ochirpurev
31a3868216
fix Notify Reminder Popup Design (#2529) 2022-12-29 12:04:28 -08:00
André Rusakow
0a602edf5e
Double scrollbars (#2509)
* hide footer on mobile to avoid double scrollbars

* fix double scrollbars on desktop by removing scroll behaviour from main section

* add scrollbar styles to body and html

* add vertical scrolling back to main section

* prevent header from collapsing and messing around with scrolling

* prevent body from scrolling for main layout

* move tablet breakpoint into breakpoint mixin

* preffify code

* remove js height calc for lower section on mobile and use css

* enable scrolling within a tab on mobile

* remove scrollbar from main section on mobile

* adjust header height on mobile

* add react use to web

* lock body scroll for main layout
2022-12-29 10:14:12 -08:00
André Rusakow
05c8ce223b
Filesize limit for logoupload (#2522)
* add readable byts helper function

* adjust wording for logo upload

* limit file size to 2 MB

* remove log

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2022-12-28 15:41:49 -08:00
Gabe Kangas
a88da10c74
Rework some of the css var state to fix flaky customization UI. Fixes #2505 2022-12-28 13:05:35 -08:00
Gabe Kangas
6b0ac9d0bc
Revert "chore(deps): update nextjs monorepo to v13.1.1"
This reverts commit 2af6a0b99d.
2022-12-28 10:44:15 -08:00
renovate[bot]
2af6a0b99d chore(deps): update nextjs monorepo to v13.1.1 2022-12-28 11:29:05 +00:00
Shashwat Agrawal
397f940669
Center followers list 2515 (#2520)
* centered the follower

* left-align in desktop devices

Co-authored-by: Shashwat <shashwat>
2022-12-27 22:49:41 -08:00
Gabe Kangas
5a41f4a1ea
Reorganize admin pages and consolidate some sections. For #1904 2022-12-27 18:51:13 -08:00
Rishav Raj
1a9b3f85bb
Footer text wrap solved. (#2508)
* Font size reduced

* Update Footer.module.scss
2022-12-27 12:08:49 -08:00
Jambaldorj Ochirpurev
f8a481ff70
Fix/issue#2441 (#2443)
* fix the rendering issues related to More Info

* update

* update Chat Moderation Details component
2022-12-27 11:57:44 -08:00
Anderer Zyklus
35e6c69612
updated 'Help' menu item on admin panel to point to '/admin/help'. (#2516) 2022-12-27 11:39:16 -08:00
Gabe Kangas
b55b7a54ea
Specify what element the popup should draw in to fix scrolling. For #2358 2022-12-26 20:05:00 -08:00
Gabe Kangas
b21dfaa2b9
Tweak the border of account in follow modal 2022-12-26 20:04:59 -08:00
André Rusakow
53d3a67533
hide user name in user dropdown on mobile (#2512)
* hide user name in user dropdown on mobile

* truncate title in header

* prettify code

* Add line height to prevent cutting of lower length letters
2022-12-26 14:09:52 -08:00
renovate[bot]
a56d3d185d chore(deps): lock file maintenance 2022-12-26 13:27:52 +00:00
Meisam
c74d5b4f31
add shellcheck to CI (#2478)
* add shellcheck to ci

* test ci

* install bash for shellcheck

* set globstar for bash

* cleanup shell scripts

* do not ignore automated hls tests

* rm legacy build script

* update shell scripts

* cleanup ci

* Fix misspell

* cleanup ci

* fail on curl error in ci
2022-12-25 19:17:13 -08:00
Gabe Kangas
d4ffe02645
Fix title getting lost due to multiple callbacks firing. Closes #2351 2022-12-25 16:04:01 -08:00
renovate[bot]
02fc945d05
chore(deps): update dependency @babel/core to v7.20.7 2022-12-25 09:52:20 +00:00
Gabe Kangas
353e9c5896
Add logging to troubleshoot #2351 2022-12-24 21:21:39 -08:00
Gabe Kangas
5c01efd3e2
Wrap title in header tag. Do not allow it to wrap. Closes #2474 #2446 2022-12-24 16:45:45 -08:00
Gabe Kangas
fb1aca165f
Give the chat text input surrounding a background color 2022-12-24 15:32:15 -08:00
Gabe Kangas
c871251769
Tweak positioning of emoji picker popover 2022-12-24 15:08:46 -08:00
Gabe Kangas
01082c5e0b
Reduce top padding in content header 2022-12-24 14:59:03 -08:00
renovate[bot]
6caca2daad
fix(deps): update dependency sharp to v0.31.3 2022-12-24 17:43:13 +00:00
renovate[bot]
50c349022a
fix(deps): update dependency yaml to v2.2.0 2022-12-24 13:08:17 +00:00
renovate[bot]
ff443e9209
fix(deps): update dependency slate-react to v0.88.0 2022-12-23 22:40:58 +00:00
renovate[bot]
5cc566fda3
chore(deps): update dependency chromatic to v6.14.0 (#2479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 14:21:45 -08:00
renovate[bot]
888fe15844
chore(deps): update dependency sass to v1.57.1 (#2476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 14:20:55 -08:00
Meisam
d814ff77ac
update SocialLinks module width (#2477) 2022-12-23 13:49:09 -08:00
renovate[bot]
f96da5a50d
fix(deps): update dependency xstate to v4.35.1 (#2481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 13:31:56 -08:00
renovate[bot]
ff1d82ef84
chore(deps): update typescript-eslint monorepo to v5.47.0 (#2482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-23 13:31:04 -08:00
renovate[bot]
d68296da82
chore(deps): update storybook monorepo to v6.5.15 2022-12-23 20:18:37 +00:00
Gabe Kangas
508ca8c5cb
Downgrade nextjs to get rid of the React error.
Revert "chore(deps): update nextjs monorepo to v13.0.7"
This reverts commit 3676e737b3.
2022-12-23 11:59:34 -08:00
renovate[bot]
b6021547f0 fix(deps): update dependency chart.js to v4.1.1 2022-12-22 05:58:51 +00:00
Gabe Kangas
3b1a8828bb
Tweak modal drop shadow 2022-12-21 17:35:36 -08:00
gabek
ce4293891a Prettified Code! 2022-12-21 07:57:09 +00:00
Gabe Kangas
c9768bd8f8
Add appearance setting for rounded corners. Closes #2471 2022-12-20 23:55:07 -08:00
renovate[bot]
d813280487
chore(deps): update dependency @types/node to v18.11.17 2022-12-21 01:21:09 +00:00
renovate[bot]
89eb8a9b93
chore(deps): update dependency eslint to v8.30.0 2022-12-20 19:34:05 +00:00
renovate[bot]
3676e737b3 chore(deps): update nextjs monorepo to v13.0.7 2022-12-20 15:51:00 +00:00
Gabe Kangas
31f77cf1f0
Tweaks to chat bottom handling for #2342 2022-12-20 00:37:22 -08:00
Meisam
8f29acb7dd
properly detect lowestVariant for system health (#2455) 2022-12-19 23:19:21 -08:00
Gabe Kangas
c597a0de9e
Add accessibility properties to chat text input. Closes #2444 2022-12-19 21:49:11 -08:00
Gabe Kangas
e85f7c8086
Remove unused imports 2022-12-19 18:38:07 -08:00
Gabe Kangas
8376420e86
Add additional descriptive text to compose post modal. 2022-12-19 18:38:06 -08:00