Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ jobs:
screego:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: 1.25.x
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f #v6.1.0
go-version: 1.26.x
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '25'
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: go mod download
- run: (cd ui && yarn)
- run: (cd ui && yarn build)
- run: (cd ui && yarn testformat)
- uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # 9.2.0
with:
version: v2.7.2
version: v2.11.4
- run: go build ./...
- run: go test -race ./...
- if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -29,9 +29,9 @@ jobs:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
- if: startsWith(github.ref, 'refs/tags/v')
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a #v6.4.0
uses: goreleaser/goreleaser-action@e24998b8b67b290c2fa8b7c14fcfa7de2c5c9b8c # v7.1.0
with:
version: 2.13.0
version: 2.15.4
args: release --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 10 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/screego/server

go 1.24.0

toolchain go1.24.1
go 1.26.0

require (
github.com/gorilla/handlers v1.5.2
Expand All @@ -12,15 +10,15 @@ require (
github.com/joho/godotenv v1.5.1
github.com/kelseyhightower/envconfig v1.4.0
github.com/pion/randutil v0.1.0
github.com/pion/turn/v4 v4.1.3
github.com/pion/turn/v4 v4.1.4
github.com/prometheus/client_golang v1.23.2
github.com/rs/xid v1.6.0
github.com/rs/zerolog v1.34.0
github.com/rs/zerolog v1.35.1
github.com/stretchr/testify v1.11.1
github.com/urfave/cli v1.22.17
golang.org/x/crypto v0.46.0
golang.org/x/term v0.38.0
golang.org/x/text v0.32.0
golang.org/x/crypto v0.50.0
golang.org/x/term v0.42.0
golang.org/x/text v0.36.0
)

require (
Expand All @@ -30,23 +28,23 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.3 // indirect
github.com/gorilla/securecookie v1.1.2 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pion/dtls/v3 v3.0.7 // indirect
github.com/pion/logging v0.2.4 // indirect
github.com/pion/stun/v3 v3.0.1 // indirect
github.com/pion/transport/v3 v3.1.1 // indirect
github.com/pion/transport/v4 v4.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.66.1 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/wlynxg/anet v0.0.5 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
golang.org/x/sys v0.39.0 // indirect
golang.org/x/sys v0.43.0 // indirect
google.golang.org/protobuf v1.36.8 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
128 changes: 25 additions & 103 deletions go.sum

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "11.14.1",
"@mui/icons-material": "7.3.6",
"@mui/material": "7.3.6",
"@mui/icons-material": "9.0.0",
"@mui/material": "9.0.0",
"@mui/styles": "^6.1.1",
"@types/react": "19.2.7",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react-swc": "4.2.2",
"@vitejs/plugin-react": "6.0.1",
"notistack": "^3.0.1",
"prettier": "3.7.4",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-hotkeys-hook": "5.2.1",
"prettier": "3.8.3",
"react": "19.2.5",
"react-dom": "19.2.5",
"react-hotkeys-hook": "5.2.4",
"tss-react": "^4.9.20",
"typescript": "5.9.3",
"typescript": "6.0.3",
"use-http": "^1.0.28",
"vite": "7.3.0",
"vite-plugin-svgr": "4.5.0",
"vite-tsconfig-paths": "6.0.3"
"vite": "8.0.10",
"vite-plugin-svgr": "5.2.0",
"vite-tsconfig-paths": "6.1.1"
},
"scripts": {
"start": "vite",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const LoginForm = ({config: {login}, hide}: {config: UseConfig; hide?: ()
size="small"
margin="dense"
/>
<Box marginTop={1}>
<Box sx={{marginTop: 1}}>
<LoadingButton
type="submit"
loading={loading}
Expand Down
4 changes: 2 additions & 2 deletions ui/src/Room.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const Room = ({
{(stream?.getAudioTracks().length ?? 0) > 0 && videoElement && (
<AudioControl video={videoElement} />
)}
<Box whiteSpace="nowrap">
<Box sx={{whiteSpace: 'nowrap'}}>
{state.hostStream ? (
<Tooltip title="Cancel Presentation" arrow>
<IconButton onClick={stopShare} size="large">
Expand Down Expand Up @@ -390,7 +390,7 @@ const AudioControl = ({video}: {video: FullScreenHTMLVideoElement}) => {
});

return (
<Stack spacing={0.5} pr={2} direction="row" sx={{alignItems: 'center', my: 1, height: 35}}>
<Stack spacing={0.5} direction="row" sx={{alignItems: 'center', my: 1, height: 35, pr: 2}}>
<IconButton size="large" onClick={() => (video.muted = !video.muted)}>
{video.muted ? (
<VolumeMuteIcon fontSize="large" />
Expand Down
4 changes: 2 additions & 2 deletions ui/src/RoomManage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const CreateRoom = ({room, config}: Pick<UseRoom, 'room'> & {config: UIConfig})
}
label="Close Room after you leave"
/>
<Box paddingBottom={0.5}>
<Box sx={{paddingBottom: 0.5}}>
<Typography>
Nat Traversal via:{' '}
<Link
Expand Down Expand Up @@ -79,7 +79,7 @@ export const RoomManage = ({room, config}: {room: FCreateRoom; config: UseConfig
return (
<Grid
container={true}
justifyContent="center"
sx={{justifyContent: 'center'}}
style={{paddingTop: 50, maxWidth: 400, width: '100%', margin: '0 auto'}}
spacing={4}
>
Expand Down
8 changes: 4 additions & 4 deletions ui/src/SettingDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const SettingDialog = ({open, setOpen, updateName, saveSettings}: Setting
<DialogTitle>Settings</DialogTitle>
<DialogContent>
<form onSubmit={doSubmit}>
<Box paddingBottom={1}>
<Box sx={{paddingBottom: 1}}>
<TextField
autoFocus
margin="dense"
Expand All @@ -65,7 +65,7 @@ export const SettingDialog = ({open, setOpen, updateName, saveSettings}: Setting
/>
</Box>
{NativeCodecs.length > 0 ? (
<Box paddingY={1}>
<Box sx={{paddingY: 1}}>
<Autocomplete<PreferredCodec>
options={[CodecBestQuality, CodecDefault, ...NativeCodecs]}
getOptionLabel={({mimeType, sdpFmtpLine}) =>
Expand All @@ -88,7 +88,7 @@ export const SettingDialog = ({open, setOpen, updateName, saveSettings}: Setting
/>
</Box>
) : undefined}
<Box paddingTop={1}>
<Box sx={{paddingTop: 1}}>
<Autocomplete<VideoDisplayMode>
options={Object.values(VideoDisplayMode)}
onChange={(_, value) =>
Expand All @@ -102,7 +102,7 @@ export const SettingDialog = ({open, setOpen, updateName, saveSettings}: Setting
renderInput={(params) => <TextField {...params} label="Display Mode" />}
/>
</Box>
<Box paddingTop={1}>
<Box sx={{paddingTop: 1}}>
<NumberField
label="FrameRate"
min={1}
Expand Down
2 changes: 1 addition & 1 deletion ui/vite.config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {defineConfig} from 'vite';
import react from '@vitejs/plugin-react-swc';
import react from '@vitejs/plugin-react';

export default defineConfig({
base: './',
Expand Down
Loading
Loading