diff --git a/frontend/.gitignore b/frontend/.gitignore index d32cc78..44fdeff 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -38,3 +38,5 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +certificates \ No newline at end of file diff --git a/frontend/app/admin/blocked-videos/page.tsx b/frontend/app/admin/blocked-videos/page.tsx index 2659314..c0eff2e 100644 --- a/frontend/app/admin/blocked-videos/page.tsx +++ b/frontend/app/admin/blocked-videos/page.tsx @@ -15,6 +15,9 @@ import DeleteBlockedVideoModalContent from "@/app/components/admin/blocked-video import AdminBlockedVideosDrawerContent from "@/app/components/admin/blocked-videos/DrawerContent"; const AdminBlockedVideosPage = () => { + useEffect(() => { + document.title = "Admin - Blocked Videos"; + }, []); const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(20); const [records, setRecords] = useState([]); diff --git a/frontend/app/admin/channels/page.tsx b/frontend/app/admin/channels/page.tsx index 01c6941..bbf16ae 100644 --- a/frontend/app/admin/channels/page.tsx +++ b/frontend/app/admin/channels/page.tsx @@ -15,6 +15,9 @@ import PlatformChannelDrawerContent from "@/app/components/admin/channel/Platfor import DeleteChannelModalContent from "@/app/components/admin/channel/DeleteModalContent"; const AdminChannelsPage = () => { + useEffect(() => { + document.title = "Admin - Channels"; + }, []); const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(20); const [records, setRecords] = useState([]); diff --git a/frontend/app/admin/info/page.tsx b/frontend/app/admin/info/page.tsx index 30682c1..ff35b70 100644 --- a/frontend/app/admin/info/page.tsx +++ b/frontend/app/admin/info/page.tsx @@ -5,8 +5,12 @@ import { useAxiosPrivate } from "@/app/hooks/useAxios"; import { Card, Container, Flex, Title, Text, Code } from "@mantine/core"; import Link from "next/link"; import classes from "./AdminInformationPage.module.css" +import { useEffect } from "react"; const AdminInformationPage = () => { + useEffect(() => { + document.title = "Admin - Info"; + }, []); const axiosPrivate = useAxiosPrivate() const { data, isPending, isError } = useGetGanymedeInformation(axiosPrivate) diff --git a/frontend/app/admin/queue/page.tsx b/frontend/app/admin/queue/page.tsx index 3853ea1..560100f 100644 --- a/frontend/app/admin/queue/page.tsx +++ b/frontend/app/admin/queue/page.tsx @@ -15,6 +15,9 @@ import DeleteQueueModalContent from "@/app/components/admin/queue/DeleteModalCon import Link from "next/link"; const AdminQueuePage = () => { + useEffect(() => { + document.title = "Admin - Queue"; + }, []); const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(20); const [records, setRecords] = useState([]); diff --git a/frontend/app/admin/settings/page.tsx b/frontend/app/admin/settings/page.tsx index 4eedd44..ebfc83f 100644 --- a/frontend/app/admin/settings/page.tsx +++ b/frontend/app/admin/settings/page.tsx @@ -19,6 +19,9 @@ interface SelectOption { const AdminSettingsPage = () => { + useEffect(() => { + document.title = "Admin - Settings"; + }, []); const [notificationsOpened, { toggle: toggleNotifications }] = useDisclosure(false); const [storageTemplateOpened, { toggle: toggleStorageTemplate }] = useDisclosure(false); const [channelSelect, setChannelSelect] = useState([]); diff --git a/frontend/app/admin/tasks/page.tsx b/frontend/app/admin/tasks/page.tsx index 3ae4817..25bac57 100644 --- a/frontend/app/admin/tasks/page.tsx +++ b/frontend/app/admin/tasks/page.tsx @@ -2,12 +2,15 @@ import { useAxiosPrivate } from "@/app/hooks/useAxios"; import { Card, Container, Title, Text, Tooltip, ActionIcon, Group, Box } from "@mantine/core"; import classes from "./AdminTasksPage.module.css" -import { useState } from "react"; +import { useEffect, useState } from "react"; import { IconPlayerPlay } from "@tabler/icons-react"; import { Task, useStartTask } from "@/app/hooks/useTasks"; import { showNotification } from "@mantine/notifications"; const AdminTasksPage = () => { + useEffect(() => { + document.title = "Admin - Tasks"; + }, []); const axiosPrivate = useAxiosPrivate() const [loading, setLoading] = useState(false) diff --git a/frontend/app/admin/users/page.tsx b/frontend/app/admin/users/page.tsx index f25aada..b284807 100644 --- a/frontend/app/admin/users/page.tsx +++ b/frontend/app/admin/users/page.tsx @@ -15,6 +15,9 @@ import AdminUserDrawerContent from "@/app/components/admin/user/DrawerContent"; import DeleteUserModalContent from "@/app/components/admin/user/DeleteModalContent"; const AdminUsersPage = () => { + useEffect(() => { + document.title = "Admin - Users"; + }, []); const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(20); const [records, setRecords] = useState([]); diff --git a/frontend/app/admin/videos/page.tsx b/frontend/app/admin/videos/page.tsx index 9b3474b..b3d3748 100644 --- a/frontend/app/admin/videos/page.tsx +++ b/frontend/app/admin/videos/page.tsx @@ -15,6 +15,9 @@ import DeleteVideoModalContent from "@/app/components/admin/video/DeleteModalCon import MultiDeleteVideoModalContent from "@/app/components/admin/video/MultiDeleteModalContent"; const AdminVideosPage = () => { + useEffect(() => { + document.title = "Admin - Videos"; + }, []); const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(20); const [records, setRecords] = useState([]); diff --git a/frontend/app/admin/watched/page.tsx b/frontend/app/admin/watched/page.tsx index 17648cf..be209d8 100644 --- a/frontend/app/admin/watched/page.tsx +++ b/frontend/app/admin/watched/page.tsx @@ -13,6 +13,9 @@ import AdminWatchedChannelDrawerContent, { WatchedChannelEditMode } from "@/app/ import DeleteWatchedChannelModalContent from "@/app/components/admin/watched/DeleteModalContent"; const AdminWatchChannelsPage = () => { + useEffect(() => { + document.title = "Admin - Watched Channels"; + }, []); const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(20); const [records, setRecords] = useState([]); diff --git a/frontend/app/android-chrome-192x192.png b/frontend/app/android-chrome-192x192.png new file mode 100644 index 0000000..0f9bff6 Binary files /dev/null and b/frontend/app/android-chrome-192x192.png differ diff --git a/frontend/app/android-chrome-512x512.png b/frontend/app/android-chrome-512x512.png new file mode 100644 index 0000000..299a6fa Binary files /dev/null and b/frontend/app/android-chrome-512x512.png differ diff --git a/frontend/app/apple-touch-icon.png b/frontend/app/apple-touch-icon.png new file mode 100644 index 0000000..38a5685 Binary files /dev/null and b/frontend/app/apple-touch-icon.png differ diff --git a/frontend/app/channels/[name]/page.tsx b/frontend/app/channels/[name]/page.tsx index 6bf7132..638896d 100644 --- a/frontend/app/channels/[name]/page.tsx +++ b/frontend/app/channels/[name]/page.tsx @@ -3,7 +3,7 @@ import GanymedeLoadingText from "@/app/components/utils/GanymedeLoadingText"; import ChannelVideos from "@/app/components/videos/ChannelVideos"; import { useFetchChannelByName } from "@/app/hooks/useChannels"; import { Center, Container, Title } from "@mantine/core"; -import React from "react"; +import React, { useEffect } from "react"; interface Params { name: string; @@ -11,6 +11,9 @@ interface Params { const ChannelPage = ({ params }: { params: Promise }) => { const { name } = React.use(params); + useEffect(() => { + document.title = `${name}`; + }, [name]); const { data: channel, isPending, isError } = useFetchChannelByName(name) diff --git a/frontend/app/channels/page.tsx b/frontend/app/channels/page.tsx index 63faa48..4b27567 100644 --- a/frontend/app/channels/page.tsx +++ b/frontend/app/channels/page.tsx @@ -3,9 +3,14 @@ import { Container, SimpleGrid } from "@mantine/core"; import ChannelCard from "../components/channel/Card"; import { useFetchChannels } from "../hooks/useChannels"; import GanymedeLoadingText from "../components/utils/GanymedeLoadingText"; +import { useEffect } from "react"; const ChannelsPage = () => { + useEffect(() => { + document.title = "Channels"; + }, []); + const { data: channels, isPending, isError } = useFetchChannels() if (isPending) return ( diff --git a/frontend/app/favicon-16x16.png b/frontend/app/favicon-16x16.png new file mode 100644 index 0000000..dcc3325 Binary files /dev/null and b/frontend/app/favicon-16x16.png differ diff --git a/frontend/app/favicon-32x32.png b/frontend/app/favicon-32x32.png new file mode 100644 index 0000000..ea98c5d Binary files /dev/null and b/frontend/app/favicon-32x32.png differ diff --git a/frontend/app/favicon.ico b/frontend/app/favicon.ico index 718d6fe..0e9d542 100644 Binary files a/frontend/app/favicon.ico and b/frontend/app/favicon.ico differ diff --git a/frontend/app/fonts/GeistMonoVF.woff b/frontend/app/fonts/GeistMonoVF.woff deleted file mode 100644 index f2ae185..0000000 Binary files a/frontend/app/fonts/GeistMonoVF.woff and /dev/null differ diff --git a/frontend/app/fonts/GeistVF.woff b/frontend/app/fonts/GeistVF.woff deleted file mode 100644 index 1b62daa..0000000 Binary files a/frontend/app/fonts/GeistVF.woff and /dev/null differ diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index 31fabf9..b3f1e1f 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -10,8 +10,8 @@ import Providers from './providers'; import { PublicEnvScript } from 'next-runtime-env'; export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Ganymede", + description: "A platform to archive live streams and videos.", }; export default function RootLayout({ diff --git a/frontend/app/login/page.tsx b/frontend/app/login/page.tsx index 7407c1e..ca5d97e 100644 --- a/frontend/app/login/page.tsx +++ b/frontend/app/login/page.tsx @@ -1,8 +1,12 @@ 'use client' import { Container } from "@mantine/core"; import { AuthenticationForm, AuthFormType } from "../components/authentication/AuthenticationForm"; +import { useEffect } from "react"; const Loginpage = () => { + useEffect(() => { + document.title = "Login"; + }, []); return (
diff --git a/frontend/app/manifest.ts b/frontend/app/manifest.ts new file mode 100644 index 0000000..216f7c5 --- /dev/null +++ b/frontend/app/manifest.ts @@ -0,0 +1,25 @@ +import type { MetadataRoute } from "next"; + +export default function manifest(): MetadataRoute.Manifest { + return { + name: "Ganymede", + short_name: "Ganymede", + description: "A platform to archive live streams and videos.", + start_url: "/", + display: "standalone", + background_color: "#141417", + theme_color: "#000000", + icons: [ + { + src: "/android-chrome-192x192.png", + sizes: "192x192", + type: "image/png", + }, + { + src: "/android-chrome-512x512.png", + sizes: "512x512", + type: "image/png", + }, + ], + }; +} diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index d288d6a..3762124 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -4,10 +4,15 @@ import useAuthStore from "./store/useAuthStore"; import { LandingHero } from "./components/landing/Hero"; import ContinueWatching from "./components/landing/ContinueWatching"; import RecentlyArchived from "./components/landing/RecentlyArchived"; +import { useEffect } from "react"; export default function Home() { const { isLoggedIn } = useAuthStore(); + useEffect(() => { + document.title = "Ganymede"; + }, []); + return (
{!isLoggedIn && ( diff --git a/frontend/app/playlists/[id]/page.tsx b/frontend/app/playlists/[id]/page.tsx index 50f20cb..3e993c1 100644 --- a/frontend/app/playlists/[id]/page.tsx +++ b/frontend/app/playlists/[id]/page.tsx @@ -5,7 +5,7 @@ import { useGetPlaylist } from "@/app/hooks/usePlaylist"; import { useFetchVideosFilter, VideoType } from "@/app/hooks/useVideos"; import useSettingsStore from "@/app/store/useSettingsStore"; import { Center, Container, Title, Text } from "@mantine/core"; -import React, { useState } from "react"; +import React, { useEffect, useState } from "react"; interface Params { id: string; } @@ -17,6 +17,11 @@ const PlaylistPage = ({ params }: { params: Promise }) => { isPending: playlistPending, isError: playlistError } = useGetPlaylist(id); + + useEffect(() => { + document.title = `${playlist?.name}`; + }, [playlist?.name]); + const [activePage, setActivePage] = useState(1); const [videoTypes, setVideoTypes] = useState([]); diff --git a/frontend/app/playlists/page.tsx b/frontend/app/playlists/page.tsx index eabd9b5..e069811 100644 --- a/frontend/app/playlists/page.tsx +++ b/frontend/app/playlists/page.tsx @@ -9,13 +9,17 @@ import { DataTable } from 'mantine-datatable'; import Link from "next/link" import { useDisclosure } from "@mantine/hooks"; import PlaylistEditForm, { PlaylistEditFormMode } from "../components/playlist/EditForm"; -import { useState } from "react"; +import { useEffect, useState } from "react"; import { showNotification } from "@mantine/notifications"; import { useAxiosPrivate } from "../hooks/useAxios"; import { useQueryClient } from "@tanstack/react-query"; const PlaylistsPage = () => { + useEffect(() => { + document.title = "Playlists"; + }, []); + const hasPermission = useAuthStore(state => state.hasPermission); const { data: playlists, isPending, isError } = useGetPlaylists() diff --git a/frontend/app/profile/page.tsx b/frontend/app/profile/page.tsx index 7346080..a56531c 100644 --- a/frontend/app/profile/page.tsx +++ b/frontend/app/profile/page.tsx @@ -8,6 +8,9 @@ import { useDisclosure } from "@mantine/hooks"; import AuthChangePassword from "../components/auth/ChangePassword"; const ProfilePage = () => { + useEffect(() => { + document.title = "Profile"; + }, []); const { user, isLoading, isLoggedIn } = useAuthStore() const router = useRouter(); diff --git a/frontend/app/queue/[id]/page.tsx b/frontend/app/queue/[id]/page.tsx index ed7740f..de151ea 100644 --- a/frontend/app/queue/[id]/page.tsx +++ b/frontend/app/queue/[id]/page.tsx @@ -6,7 +6,7 @@ import GanymedeLoadingText from "@/app/components/utils/GanymedeLoadingText"; import { useAxiosPrivate } from "@/app/hooks/useAxios"; import { useGetQueueItem } from "@/app/hooks/useQueue"; import { Center } from "@mantine/core"; -import React from "react"; +import React, { useEffect } from "react"; import classes from "./QueueIdPage.module.css" import QueueChatTimeline from "@/app/components/queue/ChatTimeline"; @@ -16,6 +16,9 @@ interface Params { const QueueIdPage = ({ params }: { params: Promise }) => { const { id } = React.use(params); + useEffect(() => { + document.title = `Queue - ${id}`; + }, [id]); const axiosPrivate = useAxiosPrivate() diff --git a/frontend/app/queue/logs/[id]/page.tsx b/frontend/app/queue/logs/[id]/page.tsx index f196c51..3ac72e4 100644 --- a/frontend/app/queue/logs/[id]/page.tsx +++ b/frontend/app/queue/logs/[id]/page.tsx @@ -13,6 +13,10 @@ interface Params { const QueueLogsPage = ({ params }: { params: Promise }) => { const { id } = React.use(params); + useEffect(() => { + document.title = `Queue Logs - ${id}`; + }, [id]); + const searchParams = useSearchParams() const logEndRef = useRef(null); const logType: QueueLogType = (searchParams.get('log') as QueueLogType) ?? 'video'; diff --git a/frontend/app/queue/page.tsx b/frontend/app/queue/page.tsx index 6198201..01d9309 100644 --- a/frontend/app/queue/page.tsx +++ b/frontend/app/queue/page.tsx @@ -15,6 +15,10 @@ import { useQueryClient } from "@tanstack/react-query"; import { showNotification } from "@mantine/notifications"; const QueuePage = () => { + useEffect(() => { + document.title = "Queue"; + }, []); + const [page, setPage] = useState(1); const [perPage, setPerPage] = useState(10); const [records, setRecords] = useState([]); diff --git a/frontend/app/register/page.tsx b/frontend/app/register/page.tsx index 0044be5..da18e93 100644 --- a/frontend/app/register/page.tsx +++ b/frontend/app/register/page.tsx @@ -1,8 +1,12 @@ 'use client' import { Container } from "@mantine/core"; import { AuthenticationForm, AuthFormType } from "../components/authentication/AuthenticationForm"; +import { useEffect } from "react"; const Loginpage = () => { + useEffect(() => { + document.title = "Register"; + }, []); return (
diff --git a/frontend/app/search/page.tsx b/frontend/app/search/page.tsx index 20f4a19..abfb3d7 100644 --- a/frontend/app/search/page.tsx +++ b/frontend/app/search/page.tsx @@ -12,6 +12,10 @@ const SearchPage = () => { const searchParams = useSearchParams(); const queryParam = searchParams.get("q"); + useEffect(() => { + document.title = `Search - ${queryParam}`; + }, [queryParam]); + // State and ref for search query const [searchQuery, setSearchQuery] = useState(queryParam || ""); const defaultSearchQuery = useRef(""); diff --git a/frontend/app/videos/[id]/page.tsx b/frontend/app/videos/[id]/page.tsx index d9053f7..76c072c 100644 --- a/frontend/app/videos/[id]/page.tsx +++ b/frontend/app/videos/[id]/page.tsx @@ -1,6 +1,6 @@ "use client" import { useFetchVideo } from "@/app/hooks/useVideos"; -import React from "react"; +import React, { useEffect } from "react"; import classes from "./VideoPage.module.css" import { Box } from "@mantine/core"; import VideoPlayer from "@/app/components/videos/Player"; @@ -27,6 +27,10 @@ const VideoPage = ({ params }: { params: Promise }) => { const { data, isPending, isError } = useFetchVideo({ id, with_channel: true, with_chapters: true, with_muted_segments: true }) + useEffect(() => { + document.title = `${data?.title}`; + }, [data?.title]); + // check if login is required const isLoginRequired = () => { if ( diff --git a/frontend/public/file.svg b/frontend/public/file.svg deleted file mode 100644 index 004145c..0000000 --- a/frontend/public/file.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/public/globe.svg b/frontend/public/globe.svg deleted file mode 100644 index 567f17b..0000000 --- a/frontend/public/globe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/public/next.svg b/frontend/public/next.svg deleted file mode 100644 index 5174b28..0000000 --- a/frontend/public/next.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/public/vercel.svg b/frontend/public/vercel.svg deleted file mode 100644 index 7705396..0000000 --- a/frontend/public/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/frontend/public/window.svg b/frontend/public/window.svg deleted file mode 100644 index b2b2a44..0000000 --- a/frontend/public/window.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/go.mod b/go.mod index e4c7835..f5acfae 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/coreos/go-oidc/v3 v3.11.0 github.com/go-co-op/gocron v1.37.0 github.com/go-jose/go-jose/v4 v4.0.4 - github.com/go-playground/validator/v10 v10.22.0 + github.com/go-playground/validator/v10 v10.23.0 github.com/golang-jwt/jwt/v4 v4.5.1 github.com/google/uuid v1.6.0 github.com/labstack/echo/v4 v4.12.0 @@ -24,7 +24,7 @@ require ( github.com/swaggo/swag v1.16.3 github.com/testcontainers/testcontainers-go v0.33.0 github.com/testcontainers/testcontainers-go/modules/postgres v0.33.0 - golang.org/x/crypto v0.27.0 + golang.org/x/crypto v0.28.0 golang.org/x/oauth2 v0.23.0 ) @@ -46,7 +46,7 @@ require ( github.com/felixge/httpsnoop v1.0.4 // indirect github.com/gabriel-vasile/mimetype v1.4.4 // indirect github.com/ghodss/yaml v1.0.0 // indirect - github.com/go-logr/logr v1.4.1 // indirect + github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-ole/go-ole v1.2.6 // indirect github.com/go-openapi/jsonpointer v0.21.0 // indirect @@ -54,6 +54,7 @@ require ( github.com/go-openapi/spec v0.21.0 // indirect github.com/go-openapi/swag v0.23.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect + github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect github.com/jackc/puddle/v2 v2.2.2 // indirect @@ -87,9 +88,9 @@ require ( github.com/tklauser/numcpus v0.6.1 // indirect github.com/yusufpapurcu/wmi v1.2.3 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect - go.opentelemetry.io/otel v1.24.0 // indirect - go.opentelemetry.io/otel/metric v1.24.0 // indirect - go.opentelemetry.io/otel/trace v1.24.0 // indirect + go.opentelemetry.io/otel v1.29.0 // indirect + go.opentelemetry.io/otel/metric v1.29.0 // indirect + go.opentelemetry.io/otel/trace v1.29.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/goleak v1.3.0 // indirect golang.org/x/sync v0.9.0 // indirect @@ -107,7 +108,6 @@ require ( github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/golang-jwt/jwt v3.2.2+incompatible // indirect - github.com/golang-jwt/jwt/v5 v5.2.1 github.com/google/go-cmp v0.6.0 // indirect github.com/hashicorp/hcl/v2 v2.21.0 // indirect github.com/jackc/pgx/v5 v5.7.1 @@ -131,7 +131,7 @@ require ( github.com/zclconf/go-cty v1.15.0 // indirect golang.org/x/mod v0.20.0 // indirect golang.org/x/net v0.27.0 // indirect - golang.org/x/sys v0.25.0 // indirect + golang.org/x/sys v0.26.0 // indirect golang.org/x/text v0.20.0 // indirect golang.org/x/time v0.5.0 // indirect google.golang.org/protobuf v1.34.2 // indirect diff --git a/go.sum b/go.sum index b426698..53f2180 100644 --- a/go.sum +++ b/go.sum @@ -67,8 +67,8 @@ github.com/go-co-op/gocron v1.37.0/go.mod h1:3L/n6BkO7ABj+TrfSVXLRzsP26zmikL4ISk github.com/go-jose/go-jose/v4 v4.0.4 h1:VsjPI33J0SB9vQM6PLmNjoHqMQNGPiZ0rHL7Ni7Q6/E= github.com/go-jose/go-jose/v4 v4.0.4/go.mod h1:NKb5HO1EZccyMpiZNbdUw/14tiXNyUJh188dfnMCAfc= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= +github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= @@ -89,8 +89,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= -github.com/go-playground/validator/v10 v10.22.0 h1:k6HsTZ0sTnROkhS//R0O+55JgM8C4Bx7ia+JlgcnOao= -github.com/go-playground/validator/v10 v10.22.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= +github.com/go-playground/validator/v10 v10.23.0 h1:/PwmTwZhS0dPkav3cdK9kV1FsAmrL8sThn8IHr/sO+o= +github.com/go-playground/validator/v10 v10.23.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= @@ -100,8 +100,6 @@ github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keL github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo= github.com/golang-jwt/jwt/v4 v4.5.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk= -github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= @@ -113,8 +111,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 h1:YBftPWNWd4WwGqtY2yeZL2ef8rH github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0/go.mod h1:YN5jB8ie0yfIUg6VvR9Kz84aCaG7AsGZnLjhHbUqwPg= github.com/hashicorp/hcl/v2 v2.21.0 h1:lve4q/o/2rqwYOgUg3y3V2YPyD1/zkCLGjIV74Jit14= github.com/hashicorp/hcl/v2 v2.21.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= -github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa h1:s+4MhCQ6YrzisK6hFJUX53drDT4UsSW3DEhKn0ifuHw= -github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa/go.mod h1:a/s9Lp5W7n/DD0VrVoyJ00FbP2ytTPDVOivvn2bMlds= +github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438 h1:Dj0L5fhJ9F82ZJyVOmBx6msDp/kfd1t9GRfny/mfJA0= +github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438/go.mod h1:a/s9Lp5W7n/DD0VrVoyJ00FbP2ytTPDVOivvn2bMlds= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= @@ -163,8 +161,6 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/ github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= -github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU= github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= @@ -183,8 +179,6 @@ github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= -github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= @@ -238,10 +232,6 @@ github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -295,18 +285,18 @@ github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6 github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= -go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= -go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= +go.opentelemetry.io/otel v1.29.0 h1:PdomN/Al4q/lN6iBJEN3AwPvUiHPMlt93c8bqTG5Llw= +go.opentelemetry.io/otel v1.29.0/go.mod h1:N/WtXPs1CNCUEx+Agz5uouwCba+i+bJGFicT8SR4NP8= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 h1:Mne5On7VWdx7omSrSSZvM4Kw7cS7NQkOOmLcgscI51U= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0/go.mod h1:IPtUMKL4O3tH5y+iXVyAXqpAwMuzC1IrxVS81rummfE= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 h1:IeMeyr1aBvBiPVYihXIaeIZba6b8E1bYp7lbdxK8CQg= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0/go.mod h1:oVdCUtjq9MK9BlS7TtucsQwUcXcymNiEDjgDD2jMtZU= -go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= -go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= +go.opentelemetry.io/otel/metric v1.29.0 h1:vPf/HFWTNkPu1aYeIsc98l4ktOQaL6LeSoeV2g+8YLc= +go.opentelemetry.io/otel/metric v1.29.0/go.mod h1:auu/QWieFVWx+DmQOUMgj0F8LHWdgalxXqvp7BII/W8= go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= -go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= -go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= +go.opentelemetry.io/otel/trace v1.29.0 h1:J/8ZNK4XgR7a21DZUAsbF8pZ5Jcw1VhACmnYt39JTi4= +go.opentelemetry.io/otel/trace v1.29.0/go.mod h1:eHl3w0sp3paPkYstJOmAimxhiFXPg+MMTlEh3nsQgWQ= go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= @@ -319,8 +309,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= -golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= @@ -364,15 +354,15 @@ golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= +golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= -golang.org/x/term v0.24.0 h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM= -golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= +golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= +golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=