diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 078609bbd..fc5818051 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -169,12 +169,18 @@ jobs: - name: Download dependencies run: go mod download - - name: Run gofmt + - name: Run gofmt (warning) run: | - if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then - echo "Code is not formatted. Run 'go fmt ./...'" - gofmt -s -d . - exit 1 + UNFORMATTED_FILES=$(git ls-files '*.go' | xargs gofmt -s -l) + + if [ -n "$UNFORMATTED_FILES" ]; then + echo "⚠️ Code is not formatted. Consider running 'go fmt ./...' or 'gofmt -s -w .'" + echo "Unformatted files:" + echo "$UNFORMATTED_FILES" + echo "Diffs:" + echo "$UNFORMATTED_FILES" | xargs gofmt -s -d + else + echo "✅ All Go files are formatted." fi - name: Run golangci-lint (if available) @@ -220,12 +226,18 @@ jobs: - name: Download dependencies run: go mod download - - name: Run gofmt + - name: Run gofmt (warning) run: | - if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then - echo "Code is not formatted. Run 'go fmt ./...'" - gofmt -s -d . - exit 1 + UNFORMATTED_FILES=$(git ls-files '*.go' | xargs gofmt -s -l) + + if [ -n "$UNFORMATTED_FILES" ]; then + echo "⚠️ Code is not formatted. Consider running 'go fmt ./...' or 'gofmt -s -w .'" + echo "Unformatted files:" + echo "$UNFORMATTED_FILES" + echo "Diffs:" + echo "$UNFORMATTED_FILES" | xargs gofmt -s -d + else + echo "✅ All Go files are formatted." fi - name: Run tests diff --git a/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index 7f5b05416..f38b49670 100644 Binary files a/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png new file mode 100644 index 000000000..0ae415f55 Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png differ diff --git a/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..02cd16185 Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index 7f5b05416..6eb8608e5 100644 Binary files a/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/formulus/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index bace74a59..a884377cb 100644 Binary files a/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png new file mode 100644 index 000000000..6458df668 Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png differ diff --git a/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..eeba930d7 Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index bace74a59..f0a2a8c80 100644 Binary files a/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/formulus/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 26e3c186b..4458cb3af 100644 Binary files a/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png new file mode 100644 index 000000000..9de908f4c Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..4bd7e650d Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index 26e3c186b..c74cec514 100644 Binary files a/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/formulus/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 11dd2e6ad..26d7ca8b0 100644 Binary files a/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png new file mode 100644 index 000000000..40f0b76ad Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..ad12a2ad4 Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index 11dd2e6ad..ecba8babe 100644 Binary files a/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/formulus/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index b2f30768a..180f6fe9e 100644 Binary files a/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png new file mode 100644 index 000000000..7885ec8b0 Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..535ee6dea Binary files /dev/null and b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index b2f30768a..0fea927f3 100644 Binary files a/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/formulus/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/ode_logo.png b/ode_logo.png index eb63645c1..ac0454834 100644 Binary files a/ode_logo.png and b/ode_logo.png differ diff --git a/synkronus-cli/synk.ico b/synkronus-cli/synk.ico index 85fd52627..79999fb0a 100644 Binary files a/synkronus-cli/synk.ico and b/synkronus-cli/synk.ico differ diff --git a/synkronus-portal/index.html b/synkronus-portal/index.html index 121da84ab..aa7693961 100644 --- a/synkronus-portal/index.html +++ b/synkronus-portal/index.html @@ -4,6 +4,13 @@ Synkronus Portal + + + + + + +
diff --git a/synkronus-portal/src/assets/android-chrome-192x192.png b/synkronus-portal/src/assets/android-chrome-192x192.png new file mode 100644 index 000000000..c193e6e0a Binary files /dev/null and b/synkronus-portal/src/assets/android-chrome-192x192.png differ diff --git a/synkronus-portal/src/assets/android-chrome-512x512.png b/synkronus-portal/src/assets/android-chrome-512x512.png new file mode 100644 index 000000000..44f489e10 Binary files /dev/null and b/synkronus-portal/src/assets/android-chrome-512x512.png differ diff --git a/synkronus-portal/src/assets/apple-touch-icon.png b/synkronus-portal/src/assets/apple-touch-icon.png new file mode 100644 index 000000000..7621bc137 Binary files /dev/null and b/synkronus-portal/src/assets/apple-touch-icon.png differ diff --git a/synkronus-portal/src/assets/favicon-16x16.png b/synkronus-portal/src/assets/favicon-16x16.png new file mode 100644 index 000000000..bf0653b75 Binary files /dev/null and b/synkronus-portal/src/assets/favicon-16x16.png differ diff --git a/synkronus-portal/src/assets/favicon-32x32.png b/synkronus-portal/src/assets/favicon-32x32.png new file mode 100644 index 000000000..208a23b2c Binary files /dev/null and b/synkronus-portal/src/assets/favicon-32x32.png differ diff --git a/synkronus-portal/src/assets/favicon.ico b/synkronus-portal/src/assets/favicon.ico new file mode 100644 index 000000000..9d0a3e7de Binary files /dev/null and b/synkronus-portal/src/assets/favicon.ico differ diff --git a/synkronus-portal/src/assets/ode_logo.png b/synkronus-portal/src/assets/ode_logo.png index eb63645c1..55d7ba4c8 100644 Binary files a/synkronus-portal/src/assets/ode_logo.png and b/synkronus-portal/src/assets/ode_logo.png differ diff --git a/synkronus-portal/src/assets/site.webmanifest b/synkronus-portal/src/assets/site.webmanifest new file mode 100644 index 000000000..1406f036d --- /dev/null +++ b/synkronus-portal/src/assets/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "ODE Synkronus Portal", + "short_name": "Synkronus Portal", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file