Skip to content

Commit 3f84efa

Browse files
committed
Merge branch 'dev'
# Conflicts: # docs/faq.md # pubspec.yaml # test/unit/marshalling/configfile_marshalling_test.dart
2 parents 92b0008 + db78154 commit 3f84efa

File tree

85 files changed

+3460
-1211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+3460
-1211
lines changed

.github/workflows/build-Android.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
with:
1414
java-version: '12.x'
1515
- uses: subosito/flutter-action@v2
16-
with:
17-
flutter-version: '3.3.10'
16+
# with:
17+
# flutter-version: '3.3.10'
1818
- run: echo ${{ secrets.GOOGLE_SERVICES_JSON }} | base64 -d > ./android/app/google-services.json
1919
- run: echo ${{ secrets.KEY_PROPERTIES }} | base64 -d > ./android/key.properties
2020
- run: echo ${{ secrets.PLAY_STORE_JKS }} | base64 -d > ./android/app/gps.jks

analysis_options.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ linter:
2727

2828
# Additional information about this file can be found at
2929
# https://dart.dev/guides/language/analysis-options
30+
31+
analyzer:
32+
plugins:
33+
- custom_lint

android/app/build.gradle

+11-5
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,18 @@ if (keystorePropertiesFile.exists()) {
3434
android {
3535
compileSdkVersion rootProject.ext.compileSdkVersion
3636

37-
sourceSets {
38-
main.java.srcDirs += 'src/main/kotlin'
37+
38+
compileOptions {
39+
sourceCompatibility JavaVersion.VERSION_1_8
40+
targetCompatibility JavaVersion.VERSION_1_8
3941
}
4042

41-
lintOptions {
42-
disable 'InvalidPackage'
43+
kotlinOptions {
44+
jvmTarget = '1.8'
45+
}
46+
47+
sourceSets {
48+
main.java.srcDirs += 'src/main/kotlin'
4349
}
4450

4551
defaultConfig {
@@ -74,7 +80,7 @@ flutter {
7480
dependencies {
7581
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
7682

77-
implementation platform('com.google.firebase:firebase-bom:30.5.0')
83+
implementation platform('com.google.firebase:firebase-bom:31.2.3')
7884
implementation 'com.google.firebase:firebase-analytics'
7985
}
8086

android/build.gradle

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
buildscript {
2-
ext.kotlin_version = '1.7.20'
2+
ext.kotlin_version = '1.8.10'
33
ext.minSdkVersion = 25 // or latest
44
ext.compileSdkVersion = 33 // or latest
55
ext.targetSdkVersion = 33 // or latest
6-
ext.appCompatVersion = '1.5.1' // or latest
76

87
repositories {
98
google()
109
mavenCentral()
1110
}
1211

1312
dependencies {
14-
classpath 'com.android.tools.build:gradle:7.0.4'
13+
classpath 'com.android.tools.build:gradle:7.1.2'
1514
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
16-
classpath 'com.google.gms:google-services:4.3.14'
15+
classpath 'com.google.gms:google-services:4.3.15'
1716
}
1817
}
1918

android/gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4-
android.enableR8=true

android/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip

assets/translations/de.json

+1
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@
304304
"connection_watcher": {
305305
"reconnect": "Neu verbinden",
306306
"trying_connect": "Versuche zu verbinden ...",
307+
"trying_connect_remote": "Versuche zu verbinden, nutze remote Client ...",
307308
"server_starting": "Der Server startet ..."
308309
}
309310
},

assets/translations/en.json

+20-4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"shutdown": "Shutdown",
1717
"firmware": "Firmware",
1818
"fetching": "Fetching",
19+
"loading": "Loading",
1920
"unknown": "Unknown",
2021
"disabled": "Disabled",
2122
"confirm": "Confirm",
@@ -256,7 +257,13 @@
256257
"default_addr": "Default Address",
257258
"flip_vertical": "Flip vertical",
258259
"flip_horizontal": "Flip horizontal",
259-
"cam_mode": "Cam Mode"
260+
"cam_mode": "Cam Mode",
261+
"cam_mofde": "Cam fasff",
262+
"cam_rotate": {
263+
"label": "Rotate",
264+
"landscape": "Landscape",
265+
"portrait": "Portrait"
266+
}
260267
},
261268
"macros": {
262269
"new_macro_grp": "New Macro - Group",
@@ -297,6 +304,12 @@
297304
"fetching_machines": "@:general.fetching machines...",
298305
"no_entries": "No machines found",
299306
"add_machine": "Add Machine"
307+
},
308+
"faq": {
309+
"title": "FAQ",
310+
"loading": "@:general.loading FAQ...",
311+
"error":"An error occurred while trying to fetch FAQ",
312+
"open_in_browser": "Open @:pages.faq.title in Browser"
300313
}
301314
},
302315
"components": {
@@ -311,8 +324,10 @@
311324
},
312325
"connection_watcher": {
313326
"reconnect": "Reconnect",
314-
"trying_connect": "Trying to connect ...",
315-
"server_starting": "Server is starting..."
327+
"trying_connect": "Trying to connect...",
328+
"trying_connect_remote": "Trying to connect using remote client...",
329+
"server_starting": "Server is starting...",
330+
"more_details": "More Details"
316331
}
317332
},
318333
"dialogs": {
@@ -369,7 +384,8 @@
369384
"shutdown": "Shutdown",
370385
"starting": "Starting",
371386
"disconnected": "Disconnected",
372-
"error": "Error"
387+
"error": "Error",
388+
"unauthorized": "Unauthorized"
373389
},
374390
"notifications": {
375391
"channel_printer_grp": "Printer {}",

ios/Runner.xcodeproj/project.pbxproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 51;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -293,6 +293,7 @@
293293
/* Begin PBXShellScriptBuildPhase section */
294294
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
295295
isa = PBXShellScriptBuildPhase;
296+
alwaysOutOfDate = 1;
296297
buildActionMask = 2147483647;
297298
files = (
298299
);
@@ -346,6 +347,7 @@
346347
};
347348
9740EEB61CF901F6004384FC /* Run Script */ = {
348349
isa = PBXShellScriptBuildPhase;
350+
alwaysOutOfDate = 1;
349351
buildActionMask = 2147483647;
350352
files = (
351353
);

ios/Runner/Info.plist

+2
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,7 @@
5959
</array>
6060
<key>UIViewControllerBasedStatusBarAppearance</key>
6161
<false/>
62+
<key>UIApplicationSupportsIndirectInputEvents</key>
63+
<true/>
6264
</dict>
6365
</plist>

lib/app_setup.dart

+5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import 'package:mobileraker/data/model/hive/octoeverywhere.dart';
1111
import 'package:mobileraker/data/model/hive/progress_notification_mode.dart';
1212
import 'package:mobileraker/data/model/hive/temperature_preset.dart';
1313
import 'package:mobileraker/data/model/hive/webcam_mode.dart';
14+
import 'package:mobileraker/data/model/hive/webcam_rotation.dart';
1415
import 'package:mobileraker/data/model/hive/webcam_setting.dart';
1516
import 'package:mobileraker/service/machine_service.dart';
1617
import 'package:mobileraker/service/moonraker/klippy_service.dart';
@@ -70,6 +71,10 @@ setupBoxes() async {
7071
if (!Hive.isAdapterRegistered(octoAdapater.typeId)) {
7172
Hive.registerAdapter(octoAdapater);
7273
}
74+
var webCamRotationAdapter = WebCamRotationAdapter();
75+
if (!Hive.isAdapterRegistered(webCamRotationAdapter.typeId)) {
76+
Hive.registerAdapter(webCamRotationAdapter);
77+
}
7378
// Hive.deleteBoxFromDisk('printers');
7479

7580
try {

0 commit comments

Comments
 (0)