From 5c683fb1b83ba46a84d1c2fd0d5682e4e78fe723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 20 Apr 2024 11:08:17 +0200 Subject: [PATCH] remove filetransfer. --- client/src/components/files.vue | 520 ------------------ client/src/components/side.vue | 30 +- client/src/neko/events.ts | 7 - client/src/neko/index.ts | 9 - client/src/neko/messages.ts | 15 +- client/src/neko/types.ts | 17 - client/src/store/files.ts | 72 --- client/src/store/index.ts | 3 +- server/internal/config/websocket.go | 21 - server/internal/http/http.go | 88 --- server/internal/types/event/events.go | 5 - server/internal/types/message/messages.go | 7 - server/internal/types/websocket.go | 11 - server/internal/utils/files.go | 36 -- .../websocket/handler/filetransfer.go | 47 -- server/internal/websocket/handler/handler.go | 4 - server/internal/websocket/handler/session.go | 8 - server/internal/websocket/state/state.go | 25 +- server/internal/websocket/websocket.go | 68 +-- 19 files changed, 5 insertions(+), 988 deletions(-) delete mode 100644 client/src/components/files.vue delete mode 100644 client/src/store/files.ts delete mode 100644 server/internal/utils/files.go delete mode 100644 server/internal/websocket/handler/filetransfer.go diff --git a/client/src/components/files.vue b/client/src/components/files.vue deleted file mode 100644 index e8c3005e..00000000 --- a/client/src/components/files.vue +++ /dev/null @@ -1,520 +0,0 @@ - - - - - diff --git a/client/src/components/side.vue b/client/src/components/side.vue index 51d49703..a5608b6e 100644 --- a/client/src/components/side.vue +++ b/client/src/components/side.vue @@ -6,10 +6,6 @@ {{ $t('side.chat') }} -
  • - - {{ $t('side.files') }} -
  • {{ $t('side.settings') }} @@ -79,47 +75,23 @@