From aa92fac0d19495ab315c8849a546400141ae0e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Bujnovsk=C3=BD?= <2659269+miakh@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:12:59 +0100 Subject: [PATCH 1/6] Update README.md --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index d9cae7e4..1eb74e2c 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,37 @@ Links to phone install are usually saved in info section. --- ## Latest development +**2024.11** +- Cyber Space game added to the app, enabling group gameplay and submission of codes found in the real world. +- Schedule event editing page introduced, along with a new quick add button for the schedule. +- Songbook now supports a changeable dark/light theme and adjustable text size. +- Food support added, including information about user's choice. +- Dynamic definition of accommodation with links to places on the map. +- Invitation system implemented using codes. +- Progress dialog in DataGrids now indicates success or error, with the option to cancel mid-action. +- Update prompt now allows setting a minimum version requirement for each platform. +- Launch event logging includes app version and platform details. +- Install screen updated with enhancements and instructions. +- Profile button moved to the bottom app bar for better accessibility. +- Admin page refined with sub-tabs, preparing for dynamic configuration features. +- Event page sign-in link is now clickable for easier access. + +**2024.10** +- Support for multi-organizations. +- New bottom app bar. +- Dark/light mode, styles, and colors refactoring (e.g., clickable links are in different colors now). + +**2024.09** +- Refactoring and support for multiple events. +- Support for linking multiple events. + +**2024.08** +- Admin dashboard to support multiple events. +- Better support of linking of anything inside the app. +- Optimized loading for information. +- Compression for large images and automatically converting links, emails, and phone numbers to clickable hypertext. +- Colorful emoji for web. + **2024.07** - Full support for offline display mode on web (and pwa app). - Notifications support for web (and pwa app). From 90b8b7dd6b18dece31760e37ae77d554a2cea53f Mon Sep 17 00:00:00 2001 From: miakh <2659269+miakh@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:51:48 +0100 Subject: [PATCH 2/6] game guess fix --- scripts/database/functions/game_guess.sql | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/database/functions/game_guess.sql b/scripts/database/functions/game_guess.sql index 0e930478..880091df 100644 --- a/scripts/database/functions/game_guess.sql +++ b/scripts/database/functions/game_guess.sql @@ -1,5 +1,8 @@ CREATE OR REPLACE FUNCTION game_guess(check_point_id BIGINT, guess TEXT) -RETURNS JSONB AS $$ +RETURNS JSONB +LANGUAGE plpgsql VOLATILE +SECURITY DEFINER +AS $$ DECLARE hidden_value TEXT; correct_reference BIGINT; @@ -113,4 +116,4 @@ BEGIN RETURN jsonb_build_object('code', 4001, 'message', 'Incorrect guess'); END IF; END; -$$ LANGUAGE plpgsql; +$$; From 73a32b5590189119f56c7da9c52b0374d4b1cb0b Mon Sep 17 00:00:00 2001 From: miakh <2659269+miakh@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:56:49 +0100 Subject: [PATCH 3/6] song button opacity up --- lib/pages/SongDialog.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/SongDialog.dart b/lib/pages/SongDialog.dart index 1fa2d688..78e9c43c 100644 --- a/lib/pages/SongDialog.dart +++ b/lib/pages/SongDialog.dart @@ -37,7 +37,7 @@ class _SongDialogState extends State { double buttonVisibleOpacity(BuildContext context) => ThemeConfig.isDarkMode(context) ? 1 : 0.9; - static const double buttonHiddenOpacity = 0.3; + static const double buttonHiddenOpacity = 0.4; static const int buttonFadeAnimationDuration = 400; @override From e8f9683727a066d869507e90ae3654d606ce8cf8 Mon Sep 17 00:00:00 2001 From: miakh <2659269+miakh@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:20:55 +0100 Subject: [PATCH 4/6] removing parent event fix --- lib/dataServices/DbEvents.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dataServices/DbEvents.dart b/lib/dataServices/DbEvents.dart index f9d75eb5..30be24a8 100644 --- a/lib/dataServices/DbEvents.dart +++ b/lib/dataServices/DbEvents.dart @@ -588,8 +588,8 @@ class DbEvents { } var updatedEvent = EventModel.fromJson(eventData); + await removeEventFromEventGroups(updatedEvent); if(event.parentEventIds?.isNotEmpty ?? false) { - await removeEventFromEventGroups(updatedEvent); var insert = []; for(var eParent in event.parentEventIds!) { From 108147071d03b207bfa8d2ea539e84582acf6004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Bujnovsk=C3=BD?= <2659269+miakh@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:24:50 +0100 Subject: [PATCH 5/6] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1eb74e2c..d9bb75a3 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ Links to phone install are usually saved in info section. - Schedule event editing page introduced, along with a new quick add button for the schedule. - Songbook now supports a changeable dark/light theme and adjustable text size. - Food support added, including information about user's choice. -- Dynamic definition of accommodation with links to places on the map. -- Invitation system implemented using codes. +- Accommodation support added with links to places on the map. +- Invitation based system implemented using invitation codes. - Progress dialog in DataGrids now indicates success or error, with the option to cancel mid-action. - Update prompt now allows setting a minimum version requirement for each platform. - Launch event logging includes app version and platform details. - Install screen updated with enhancements and instructions. -- Profile button moved to the bottom app bar for better accessibility. +- Profile button moved to the bottom app bar. - Admin page refined with sub-tabs, preparing for dynamic configuration features. - Event page sign-in link is now clickable for easier access. From 0954b674dee9c3f00c58dfaec2f2a74054d6ccc0 Mon Sep 17 00:00:00 2001 From: miakh <2659269+miakh@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:28:57 +0100 Subject: [PATCH 6/6] packages update --- pubspec.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 918fa8f3..0f47ad4c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,7 +32,7 @@ dependencies: sdk: flutter flutter: sdk: flutter - flutter_svg: ^2.0.14 + flutter_svg: ^2.0.15 fluttertoast: ^8.2.8 # The following adds the Cupertino Icons font to your application. @@ -43,7 +43,7 @@ dependencies: flutter_map_marker_popup: ^7.0.0 # flutter_map_marker_popup: # path: ./pckgs/flutter_map_marker_popup-master - supabase_flutter: ^2.8.0 + supabase_flutter: ^2.8.1 flutter_secure_storage: ^9.2.2 timelines: ^0.1.0 intl: ^0.19.0 @@ -62,9 +62,9 @@ dependencies: sembast_web: ^2.4.0+4 path_provider: ^2.1.5 select_dialog: ^2.0.1 - onesignal_flutter: ^5.2.6 + onesignal_flutter: ^5.2.7 package_info_plus: ^8.1.1 - flutter_animate: ^4.3.0 + flutter_animate: ^4.5.2 easy_localization: ^3.0.7 flutter_map_cancellable_tile_provider: ^3.0.2 simple_shadow: ^0.3.1 @@ -76,7 +76,7 @@ dependencies: image_downloader_web: ^2.0.4 mobile_scanner: ^6.0.2 flutter_map_pmtiles: ^1.0.4 - flutter_map_animations: ^0.7.1 + flutter_map_animations: ^0.8.0 auto_route: ^9.2.2 adaptive_theme: ^3.6.0 connectivity_plus: ^6.1.0