Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement spreed #366

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions .cspell/dart_flutter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ sublist
todos
unawaited
unfocus
videocam
writeln
1 change: 1 addition & 0 deletions .cspell/nextcloud.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ trashbin
turnservers
undelete
unifiedpush
unmute
unstar
updatenotification
uppush
Expand Down
1 change: 1 addition & 0 deletions .cspell/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ strfreev
subprojects
sysroot
tsvg
webrtc
werror
xxxh
xxxhdpi
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ See [here](packages/app/README.md) for screenshots.
| [News](packages/neon/neon_news) | :heavy_check_mark: |
| [Notes](packages/neon/neon_notes) | :heavy_check_mark: |
| [Notifications](packages/neon/neon_notifications) | :heavy_check_mark: |
| [Talk](packages/neon/neon_spreed) | :heavy_check_mark: |
| Activity | :rocket: |
| Calendar | :rocket: |
| Contacts | :rocket: |
Expand All @@ -62,7 +63,6 @@ See [here](packages/app/README.md) for screenshots.
| Deck | :rocket: |
| Photos | :rocket: |
| Photos | :rocket: |
| Talk | :construction: |
| Tasks | :rocket: |

## Platform support
Expand Down
3 changes: 3 additions & 0 deletions docs/architecture.puml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ package "Clients" {
component neon_news
component neon_notes
component neon_notifications
component neon_spreed
}

package "OpenAPI" {
Expand All @@ -27,12 +28,14 @@ app ..> neon_files
app ..> neon_news
app ..> neon_notes
app ..> neon_notifications
app ..> neon_spreed

neon_dashboard --> neon_framework
neon_files --> neon_framework
neon_news --> neon_framework
neon_notes --> neon_framework
neon_notifications --> neon_framework
neon_spreed --> neon_framework


neon_framework --> nextcloud
Expand Down
2 changes: 1 addition & 1 deletion docs/architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>

<!-- WebRTC -->
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />

<application
android:label="@string/app_name"
android:name="${applicationName}"
Expand Down
4 changes: 4 additions & 0 deletions packages/app/linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <dynamic_color/dynamic_color_plugin.h>
#include <emoji_picker_flutter/emoji_picker_flutter_plugin.h>
#include <file_selector_linux/file_selector_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
#include <screen_retriever/screen_retriever_plugin.h>
#include <url_launcher_linux/url_launcher_plugin.h>
#include <window_manager/window_manager_plugin.h>
Expand All @@ -23,6 +24,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
g_autoptr(FlPluginRegistrar) flutter_webrtc_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterWebRTCPlugin");
flutter_web_r_t_c_plugin_register_with_registrar(flutter_webrtc_registrar);
g_autoptr(FlPluginRegistrar) screen_retriever_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin");
screen_retriever_plugin_register_with_registrar(screen_retriever_registrar);
Expand Down
1 change: 1 addition & 0 deletions packages/app/linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
dynamic_color
emoji_picker_flutter
file_selector_linux
flutter_webrtc
screen_retriever
url_launcher_linux
window_manager
Expand Down
120 changes: 120 additions & 0 deletions packages/app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.6"
dart_webrtc:
dependency: transitive
description:
name: dart_webrtc
sha256: "5cbc40bd9b33d0c9b8004cff52e9883c71f0f54799afc8faca77535eeb9ef857"
url: "https://pub.dev"
source: hosted
version: "1.2.1"
dbus:
dependency: transitive
description:
Expand All @@ -297,6 +305,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.16.4+3"
diffutil_dart:
dependency: transitive
description:
name: diffutil_dart
sha256: e0297e4600b9797edff228ed60f4169a778ea357691ec98408fa3b72994c7d06
url: "https://pub.dev"
source: hosted
version: "3.0.0"
dynamic_color:
dependency: transitive
description:
Expand All @@ -320,6 +336,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.0"
equatable:
dependency: transitive
description:
name: equatable
sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2
url: "https://pub.dev"
source: hosted
version: "2.0.5"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -412,6 +436,22 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_chat_types:
dependency: transitive
description:
name: flutter_chat_types
sha256: e285b588f6d19d907feb1f6d912deaf22e223656769c34093b64e1c59b094fb9
url: "https://pub.dev"
source: hosted
version: "3.6.2"
flutter_chat_ui:
dependency: transitive
description:
name: flutter_chat_ui
sha256: c8580c85e2d29359ffc84147e643d08d883eb6e757208652377f0105ef58807f
url: "https://pub.dev"
source: hosted
version: "1.6.12"
flutter_file_dialog:
dependency: transitive
description:
Expand All @@ -428,6 +468,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.0-beta.2"
flutter_link_previewer:
dependency: transitive
description:
name: flutter_link_previewer
sha256: "007069e60f42419fb59872beb7a3cc3ea21e9f1bdff5d40239f376fa62ca9f20"
url: "https://pub.dev"
source: hosted
version: "3.2.2"
flutter_linkify:
dependency: transitive
description:
name: flutter_linkify
sha256: "74669e06a8f358fee4512b4320c0b80e51cffc496607931de68d28f099254073"
url: "https://pub.dev"
source: hosted
version: "6.0.0"
flutter_local_notifications:
dependency: transitive
description:
Expand Down Expand Up @@ -481,6 +537,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.10"
flutter_parsed_text:
dependency: transitive
description:
name: flutter_parsed_text
sha256: "529cf5793b7acdf16ee0f97b158d0d4ba0bf06e7121ef180abe1a5b59e32c1e2"
url: "https://pub.dev"
source: hosted
version: "2.2.1"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
Expand All @@ -507,6 +571,14 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_webrtc:
dependency: transitive
description:
name: flutter_webrtc
sha256: "2f17fb96e0c9c6ff75f6b1c36d94755461fc7f36a5c28386f5ee5a18b98688c8"
url: "https://pub.dev"
source: hosted
version: "0.9.48+hotfix.1"
flutter_zxing:
dependency: transitive
description:
Expand Down Expand Up @@ -707,6 +779,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.1"
linkify:
dependency: transitive
description:
name: linkify
sha256: "4139ea77f4651ab9c315b577da2dd108d9aa0bd84b5d03d33323f1970c645832"
url: "https://pub.dev"
source: hosted
version: "5.0.0"
list_counter:
dependency: transitive
description:
Expand Down Expand Up @@ -987,6 +1067,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "6.0.2"
photo_view:
dependency: transitive
description:
name: photo_view
sha256: "8036802a00bae2a78fc197af8a158e3e2f7b500561ed23b4c458107685e645bb"
url: "https://pub.dev"
source: hosted
version: "0.14.0"
platform:
dependency: transitive
description:
Expand All @@ -995,6 +1083,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.1.4"
platform_detect:
dependency: transitive
description:
name: platform_detect
sha256: "08f4ee79c0e1c4858d37e06b22352a3ebdef5466b613749a3adb03e703d4f5b0"
url: "https://pub.dev"
source: hosted
version: "2.0.11"
plugin_platform_interface:
dependency: transitive
description:
Expand Down Expand Up @@ -1115,6 +1211,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.1.9"
scroll_to_index:
dependency: transitive
description:
name: scroll_to_index
sha256: b707546e7500d9f070d63e5acf74fd437ec7eeeb68d3412ef7b0afada0b4f176
url: "https://pub.dev"
source: hosted
version: "3.0.1"
scrollable_positioned_list:
dependency: transitive
description:
Expand Down Expand Up @@ -1487,6 +1591,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.2"
visibility_detector:
dependency: transitive
description:
name: visibility_detector
sha256: dd5cc11e13494f432d15939c3aa8ae76844c42b723398643ce9addb88a5ed420
url: "https://pub.dev"
source: hosted
version: "0.4.0+2"
vm_service:
dependency: transitive
description:
Expand Down Expand Up @@ -1527,6 +1639,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.5.0"
webrtc_interface:
dependency: transitive
description:
name: webrtc_interface
sha256: "2efbd3e4e5ebeb2914253bcc51dafd3053c4b87b43f3076c74835a9deecbae3a"
url: "https://pub.dev"
source: hosted
version: "1.1.2"
webview_flutter:
dependency: transitive
description:
Expand Down
5 changes: 5 additions & 0 deletions packages/neon/neon_talk/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
include: package:neon_lints/flutter.yaml

linter:
rules:
# TODO
public_member_api_docs: false

analyzer:
exclude:
- lib/l10n/**
15 changes: 14 additions & 1 deletion packages/neon/neon_talk/lib/l10n/en.arb
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
{
"@@locale": "en",
"actorSelf": "You",
"actorGuest": "Guest"
"actorGuest": "Guest",
"roomCreate": "Create room",
"roomCreateUserName": "User name",
"roomCreateGroupName": "Group name",
"roomCreateRoomName": "Room name",
"roomTypeOneToOne": "Private",
"roomTypeGroup": "Group",
"roomTypePublic": "Public",
"callStart": "Start call",
"callJoin": "Join call",
"callLeave": "Leave call",
"screenSharingSelectScreen": "Select screen",
"screenSharingSelectScreenScreens": "Screens",
"screenSharingSelectScreenWindows": "Windows"
}
Loading
Loading