10 Commits
Author SHA1 Message Date
tothbt 5494a4a26b release 1.1.2
Build and Release Court Pilot / draft (push) Canceled after 0s
Build and Release Court Pilot / build (ubuntu-22.04) (push) Canceled after 0s
Build and Release Court Pilot / build (windows-latest) (push) Canceled after 0s
Build and Release Court Pilot / publish (push) Canceled after 0s
2026-09-05 13:19:01 +02:00
tothbt 174d5440f5 fix updater script 2026-09-05 12:30:52 +02:00
tothbt 62745172dd fix version number on settings tab 2026-09-05 11:18:34 +02:00
tothbt 6319f2c270 fix: small bugfixes
Build and Release Court Pilot / draft (push) Canceled after 0s
Build and Release Court Pilot / build (ubuntu-22.04) (push) Canceled after 0s
Build and Release Court Pilot / build (windows-latest) (push) Canceled after 0s
Build and Release Court Pilot / publish (push) Canceled after 0s
* Typo in the Hungarian vocab
* Translate language labels
* Start app on full screen
* Clear TOs data in the add-modal
* Change version number to 1.1.1
2026-09-05 11:13:43 +02:00
tothbt 0dd30c6c14 fix releaser 2026-09-04 22:06:06 +02:00
tothbt 06f7cb5c8c fix releaser 2026-09-04 21:35:21 +02:00
tothbt e1c519adf5 fix releaser 2026-09-04 20:33:08 +02:00
tothbt ae86f6962a fix(git): add path to publish job 2026-09-04 19:45:52 +02:00
tothbt 4f95404f0b fix(git): remove duplicated process 2026-09-04 19:14:58 +02:00
tothbt 0d7e4b5c3a fix(git): install ionic for Github acitons 2026-09-04 18:46:59 +02:00
7 changed files with 59 additions and 14 deletions
+7
View File
@@ -69,6 +69,9 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Install Ionic CLI
run: npm install -g @ionic/cli
- name: Build Tauri app - name: Build Tauri app
env: env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
@@ -88,8 +91,12 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4
- name: Publish CrabNebula release - name: Publish CrabNebula release
uses: crabnebula-dev/cloud-release@v0 uses: crabnebula-dev/cloud-release@v0
with: with:
command: release publish ${{ env.CN_APPLICATION }} --framework tauri command: release publish ${{ env.CN_APPLICATION }} --framework tauri
api-key: ${{ secrets.CN_API_KEY }} api-key: ${{ secrets.CN_API_KEY }}
path: ./src-tauri
working-directory: ./src-tauri
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "court-pilot", "name": "court-pilot",
"version": "1.1.0", "version": "1.1.2",
"author": "Ionic Framework", "author": "Ionic Framework",
"homepage": "https://ionicframework.com/", "homepage": "https://ionicframework.com/",
"scripts": { "scripts": {
+5 -4
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json", "$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "court-pilot", "productName": "court-pilot",
"version": "1.1.0", "version": "1.1.2",
"identifier": "com.courtpilot.dev", "identifier": "com.courtpilot.dev",
"build": { "build": {
"frontendDist": "../www", "frontendDist": "../www",
@@ -15,10 +15,11 @@
"minHeight": 600, "minHeight": 600,
"minWidth": 800, "minWidth": 800,
"title": "Court Pilot", "title": "Court Pilot",
"width": 1366, "width": 800,
"height": 768, "height": 600,
"resizable": true, "resizable": true,
"fullscreen": false "fullscreen": false,
"center": true
} }
], ],
"security": { "security": {
+18
View File
@@ -41,10 +41,28 @@ export class AppComponent {
text: 'OK', text: 'OK',
handler: async () => { handler: async () => {
try { try {
// Show loading message
alert.message =
this.translationService.translate('updateDownloading');
// Disable the button while updating
const okButton = alert.buttons[0];
if (typeof okButton !== 'string') {
okButton.htmlAttributes = { disabled: true };
}
await update.downloadAndInstall(); await update.downloadAndInstall();
await relaunch(); await relaunch();
} catch (error) { } catch (error) {
console.error('Failed to install update:', error); console.error('Failed to install update:', error);
alert.message =
this.translationService.translate('updateFailed');
const okButton = alert.buttons[0];
// Re-enable the button if the update failed
if (typeof okButton !== 'string') {
okButton.htmlAttributes = { disabled: false };
}
} }
} }
} }
+12 -4
View File
@@ -42,7 +42,11 @@ export const translations = {
sendUmpiresMessage: '{umpire} - {serviceJudge}', sendUmpiresMessage: '{umpire} - {serviceJudge}',
version: 'Version', version: 'Version',
updateAvailable: 'Update available', updateAvailable: 'Update available',
newVersion: 'A new version {version} is available. The application will restart to install the update.' newVersion: 'A new version {version} is available. The application will restart to install the update.',
english: 'English',
hungarian: 'Hungarian',
updateDownloading: 'Downloading and installing update...',
updateFailed: 'Failed to install the update. Please try again.',
}, },
hu: { hu: {
@@ -68,12 +72,12 @@ export const translations = {
confirmDeleteUmpire: 'Biztosan törölni szeretnéd ezt a tisztségviselőt?', confirmDeleteUmpire: 'Biztosan törölni szeretnéd ezt a tisztségviselőt?',
no: 'Nem', no: 'Nem',
yes: 'Igen', yes: 'Igen',
umpires: 'Játékeveztők', umpires: 'Játékvezetők',
serviceJudges: 'Adogatásbírók', serviceJudges: 'Adogatásbírók',
notOnDuty: 'Pihenő', notOnDuty: 'Pihenő',
shortCourtName: 'P', shortCourtName: 'P',
court: 'Pálya', court: 'Pálya',
umpire: 'Játékeveztő', umpire: 'Játékvezető',
removeUmpireFromCourt: 'Biztos leveszed őt a pályáról?', removeUmpireFromCourt: 'Biztos leveszed őt a pályáról?',
removeUmpiresFromCourt: 'Biztos leveszed őket a pályáról?', removeUmpiresFromCourt: 'Biztos leveszed őket a pályáról?',
courtConfirm: 'Pálya {courtNo}', courtConfirm: 'Pálya {courtNo}',
@@ -83,7 +87,11 @@ export const translations = {
sendUmpiresMessage: '{umpire} - {serviceJudge}', sendUmpiresMessage: '{umpire} - {serviceJudge}',
version: 'Verzió', version: 'Verzió',
updateAvailable: 'Új verzió elérhető', updateAvailable: 'Új verzió elérhető',
newVersion: 'Új elérhető verzió: {version} is available. A frissítések telepítése után az alkalmazás újraindul.', newVersion: 'Új elérhető verzió: {version}. A frissítések telepítése után az alkalmazás újraindul.',
english: 'Angol',
hungarian: 'Magyar',
updateDownloading: 'Frissítés letöltése és telepítése...',
updateFailed: 'Frissítés sikertelen. Kérlek próbáld újra.',
} }
} as const; } as const;
+7 -2
View File
@@ -102,8 +102,8 @@ export class Tab2Page {
this.modal.dismiss(null, 'cancel'); this.modal.dismiss(null, 'cancel');
} }
confirm() { async confirm() {
this.modal.dismiss( await this.modal.dismiss(
{ {
lastName: this.lastName, lastName: this.lastName,
firstName: this.firstName, firstName: this.firstName,
@@ -112,6 +112,11 @@ export class Tab2Page {
}, },
'confirm' 'confirm'
); );
this.lastName = '';
this.firstName = '';
this.country = '';
this.gender = '';
} }
isValidUmpire(): boolean { isValidUmpire(): boolean {
+9 -3
View File
@@ -17,9 +17,13 @@
[value]="translationService.language()" [value]="translationService.language()"
(ionChange)="updateLanguage($event)" (ionChange)="updateLanguage($event)"
interface="popover"> interface="popover">
<ion-select-option value="en"> English </ion-select-option> <ion-select-option value="en">
{{ 'english' | translate }}
</ion-select-option>
<ion-select-option value="hu"> Magyar </ion-select-option> <ion-select-option value="hu">
{{ 'hungarian' | translate }}
</ion-select-option>
</ion-select> </ion-select>
</ion-item> </ion-item>
@@ -57,7 +61,9 @@
<ion-row> <ion-row>
<ion-col sizeLg="6" pushLg="3"> <ion-col sizeLg="6" pushLg="3">
<ion-item> <ion-item>
<ion-label class="ion-text-center">{{ 'version' | translate }}: 1.0.0</ion-label> <ion-label class="ion-text-center"
>{{ 'version' | translate }}: 1.1.2</ion-label
>
</ion-item> </ion-item>
</ion-col> </ion-col>
</ion-row> </ion-row>