Skip to content

Commit 4f7fee4

Browse files
econesaglpinonjosuecapgeminiairhernacapf4bbo
authored
Develop (#800)
* Migration to Notifications as Data dict (#718) * Sp7 682 notifications multilanguage (#719) * Changed notifications and added languages * Get data from backend * notifications fixed and finished * Go Route migration & testing (#720) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fixed mypy issues (#725) * Increase coverage of location listener service (#724) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml * location listener service tests Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Update poetry.lock * Missing Types PyYAML * 684 contacts number without prefix should use user prefix (#726) * remove checks in contact_service and added to import phones service with checks of prefix * Updated test for contact service and import phones service * Added condition of start * groups page layout (#728) * 463 own contact appearing in onboarding suggestions (#729) * Added check for user phone in suggestions * update test for suggestions controller and edit_profile_controller * Added test to import_phones_service * Changed 'where' to be an arrow function Co-authored-by: airherna <[email protected]> * Contact profile layout fixed * Manage request errors (500, 400, etc.) (#731) * redirect to error page on request error * Handle exceptions in requests * Fixed profile & edit profile layout (#733) * Fixed profile & edit profile layout * Update fontsize save button in edit profile page * Preferences page layout fixed (#732) * Show dialog if isDesktopOrWeb (#734) * Manage & View Group page fixed layout (#735) * Manage and view group page fixed layout * stay in center when the screen is medium size * Max size to bottom sheet in manage group page * Content added to error page (#737) * Remove push notification tokens no longer valid (#738) * Handle notifications results and remove bad tokens from user profile * Added handle_notifications_response test * fixed sent request layout in web and removed dividers (#739) * fixed sent request layout in web and removed dividers * with a request error goes to the 500 page * fixed profile layout in mid size screen * Check blob exists before delete (#756) * Fixed testing session bugs (#754) * WIP * navigation fixes WIP * fix navigation WIP * groups navigation fix WIP * fix tabbar unexpected null value (flutter bug) * Go walking by default to a contact in android * fix go back with OS in sent requests page * fixed delete account layout * Fixed group save button * Fixed profile save button * update groups after deleting one * removed commented code in manage_group_page * Future<void> annotations in groups_controller * Add additional information to 'hack' solution in contacts_page * fixed tests * 759 contacts profile os back button closes the app (#760) * Update routes to navigation to contact profile from different pages * Correct navigation inside contacts * 751 push notifications not received (#762) * Refactor Notifications Service * Update generate_coverage * International notifications * Feature/cache locations reduce reads (#761) * New algorithm * Reordering to avoid loops * Check share_location * Refactor user * Revert "Refactor user" This reverts commit e65437f. * Use location cache to reduce reads * Cache as variable * Fixed cache dict update * Add type check to MimeType (#764) * remove duplicate code * Temporally avoid test * fixed search bar does not move on tap & delete group optimistic updates (#768) * fixed search bar does not move on tap * optimistic updates on delete group * Blue line in groups picture when using default image removed (#769) * Pipeline/fix and testing (#771) * Pipeline changes * Update cloudbuild_prod_web.yaml * Update pubspec.yaml * Update cloudbuild_prod_web.yaml * Dependencies changes * Update app_icon.png * Update pubspec.yaml * Flutter image uploaded * Update pubspec.yaml * 763 refactor group validator (#772) * Update group page and its controller * Updated test * 681-notifications-redirect-to-friends-page (#774) * WIP * WIP * Refactor Notifications Service * WIP * WIP * redirect to requests page WIP * Notifications redirection Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fix notifications not recevied on first login (#776) * Update gauth_service_impl.dart * fixed tests * Initial page is set to map when putting the app on background * Notifications code should not be executed in web * Fix web not launching due to FirebaseMessaging * fix redirection when opening the app through notifications (#786) * fix redirection when opening the app through notifications * removed prints and commented code * Downgrade build gradle * 687 spike testing e2e (#789) * Create simple example for testing e2e using fake store API * Add docs and test e2e * Simple app showing local notification (#791) * 752 google sign in desktop version (#773) * Desktop support dirs * Google sign in for desktop * Icon for desktop added * Update pubspec.yaml * Fixed tests with cache * Fixed notifications in release mode for Android (#782) * Develop (#779) * Migration to Notifications as Data dict (#718) * Sp7 682 notifications multilanguage (#719) * Changed notifications and added languages * Get data from backend * notifications fixed and finished * Go Route migration & testing (#720) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fixed mypy issues (#725) * Increase coverage of location listener service (#724) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml * location listener service tests Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Update poetry.lock * Missing Types PyYAML * 684 contacts number without prefix should use user prefix (#726) * remove checks in contact_service and added to import phones service with checks of prefix * Updated test for contact service and import phones service * Added condition of start * groups page layout (#728) * 463 own contact appearing in onboarding suggestions (#729) * Added check for user phone in suggestions * update test for suggestions controller and edit_profile_controller * Added test to import_phones_service * Changed 'where' to be an arrow function Co-authored-by: airherna <[email protected]> * Contact profile layout fixed * Manage request errors (500, 400, etc.) (#731) * redirect to error page on request error * Handle exceptions in requests * Fixed profile & edit profile layout (#733) * Fixed profile & edit profile layout * Update fontsize save button in edit profile page * Preferences page layout fixed (#732) * Show dialog if isDesktopOrWeb (#734) * Manage & View Group page fixed layout (#735) * Manage and view group page fixed layout * stay in center when the screen is medium size * Max size to bottom sheet in manage group page * Content added to error page (#737) * Remove push notification tokens no longer valid (#738) * Handle notifications results and remove bad tokens from user profile * Added handle_notifications_response test * fixed sent request layout in web and removed dividers (#739) * fixed sent request layout in web and removed dividers * with a request error goes to the 500 page * fixed profile layout in mid size screen * Check blob exists before delete (#756) * Fixed testing session bugs (#754) * WIP * navigation fixes WIP * fix navigation WIP * groups navigation fix WIP * fix tabbar unexpected null value (flutter bug) * Go walking by default to a contact in android * fix go back with OS in sent requests page * fixed delete account layout * Fixed group save button * Fixed profile save button * update groups after deleting one * removed commented code in manage_group_page * Future<void> annotations in groups_controller * Add additional information to 'hack' solution in contacts_page * fixed tests * 759 contacts profile os back button closes the app (#760) * Update routes to navigation to contact profile from different pages * Correct navigation inside contacts * 751 push notifications not received (#762) * Refactor Notifications Service * Update generate_coverage * International notifications * Feature/cache locations reduce reads (#761) * New algorithm * Reordering to avoid loops * Check share_location * Refactor user * Revert "Refactor user" This reverts commit e65437f. * Use location cache to reduce reads * Cache as variable * Fixed cache dict update * Add type check to MimeType (#764) * remove duplicate code * Temporally avoid test * fixed search bar does not move on tap & delete group optimistic updates (#768) * fixed search bar does not move on tap * optimistic updates on delete group * Blue line in groups picture when using default image removed (#769) * Pipeline/fix and testing (#771) * Pipeline changes * Update cloudbuild_prod_web.yaml * Update pubspec.yaml * Update cloudbuild_prod_web.yaml * Dependencies changes * Update app_icon.png * Update pubspec.yaml * Flutter image uploaded * Update pubspec.yaml * 763 refactor group validator (#772) * Update group page and its controller * Updated test * 681-notifications-redirect-to-friends-page (#774) * WIP * WIP * Refactor Notifications Service * WIP * WIP * redirect to requests page WIP * Notifications redirection Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fix notifications not recevied on first login (#776) * Update gauth_service_impl.dart * fixed tests * Initial page is set to map when putting the app on background * Notifications code should not be executed in web Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Fabián Scherle <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> * Develop (#781) * Migration to Notifications as Data dict (#718) * Sp7 682 notifications multilanguage (#719) * Changed notifications and added languages * Get data from backend * notifications fixed and finished * Go Route migration & testing (#720) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fixed mypy issues (#725) * Increase coverage of location listener service (#724) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml * location listener service tests Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Update poetry.lock * Missing Types PyYAML * 684 contacts number without prefix should use user prefix (#726) * remove checks in contact_service and added to import phones service with checks of prefix * Updated test for contact service and import phones service * Added condition of start * groups page layout (#728) * 463 own contact appearing in onboarding suggestions (#729) * Added check for user phone in suggestions * update test for suggestions controller and edit_profile_controller * Added test to import_phones_service * Changed 'where' to be an arrow function Co-authored-by: airherna <[email protected]> * Contact profile layout fixed * Manage request errors (500, 400, etc.) (#731) * redirect to error page on request error * Handle exceptions in requests * Fixed profile & edit profile layout (#733) * Fixed profile & edit profile layout * Update fontsize save button in edit profile page * Preferences page layout fixed (#732) * Show dialog if isDesktopOrWeb (#734) * Manage & View Group page fixed layout (#735) * Manage and view group page fixed layout * stay in center when the screen is medium size * Max size to bottom sheet in manage group page * Content added to error page (#737) * Remove push notification tokens no longer valid (#738) * Handle notifications results and remove bad tokens from user profile * Added handle_notifications_response test * fixed sent request layout in web and removed dividers (#739) * fixed sent request layout in web and removed dividers * with a request error goes to the 500 page * fixed profile layout in mid size screen * Check blob exists before delete (#756) * Fixed testing session bugs (#754) * WIP * navigation fixes WIP * fix navigation WIP * groups navigation fix WIP * fix tabbar unexpected null value (flutter bug) * Go walking by default to a contact in android * fix go back with OS in sent requests page * fixed delete account layout * Fixed group save button * Fixed profile save button * update groups after deleting one * removed commented code in manage_group_page * Future<void> annotations in groups_controller * Add additional information to 'hack' solution in contacts_page * fixed tests * 759 contacts profile os back button closes the app (#760) * Update routes to navigation to contact profile from different pages * Correct navigation inside contacts * 751 push notifications not received (#762) * Refactor Notifications Service * Update generate_coverage * International notifications * Feature/cache locations reduce reads (#761) * New algorithm * Reordering to avoid loops * Check share_location * Refactor user * Revert "Refactor user" This reverts commit e65437f. * Use location cache to reduce reads * Cache as variable * Fixed cache dict update * Add type check to MimeType (#764) * remove duplicate code * Temporally avoid test * fixed search bar does not move on tap & delete group optimistic updates (#768) * fixed search bar does not move on tap * optimistic updates on delete group * Blue line in groups picture when using default image removed (#769) * Pipeline/fix and testing (#771) * Pipeline changes * Update cloudbuild_prod_web.yaml * Update pubspec.yaml * Update cloudbuild_prod_web.yaml * Dependencies changes * Update app_icon.png * Update pubspec.yaml * Flutter image uploaded * Update pubspec.yaml * 763 refactor group validator (#772) * Update group page and its controller * Updated test * 681-notifications-redirect-to-friends-page (#774) * WIP * WIP * Refactor Notifications Service * WIP * WIP * redirect to requests page WIP * Notifications redirection Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fix notifications not recevied on first login (#776) * Update gauth_service_impl.dart * fixed tests * Initial page is set to map when putting the app on background * Notifications code should not be executed in web * Fix web not launching due to FirebaseMessaging Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Fabián Scherle <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> * Update build.gradle * Changes for local notifications in release * workaround for issue with local notifications * Updated build.gradle * Removed useProguard * Do not shrink resources * modified proguard-rules * updated build.gradle * updated build.gradle * Script for local building * Update launcher.sh * Update Dockerfile * Fixed notifications on android release * Added comments to onBackMessage Co-authored-by: econesag <[email protected]> Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> * 783 local build script (#792) * Develop (#779) * Migration to Notifications as Data dict (#718) * Sp7 682 notifications multilanguage (#719) * Changed notifications and added languages * Get data from backend * notifications fixed and finished * Go Route migration & testing (#720) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fixed mypy issues (#725) * Increase coverage of location listener service (#724) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml * location listener service tests Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Update poetry.lock * Missing Types PyYAML * 684 contacts number without prefix should use user prefix (#726) * remove checks in contact_service and added to import phones service with checks of prefix * Updated test for contact service and import phones service * Added condition of start * groups page layout (#728) * 463 own contact appearing in onboarding suggestions (#729) * Added check for user phone in suggestions * update test for suggestions controller and edit_profile_controller * Added test to import_phones_service * Changed 'where' to be an arrow function Co-authored-by: airherna <[email protected]> * Contact profile layout fixed * Manage request errors (500, 400, etc.) (#731) * redirect to error page on request error * Handle exceptions in requests * Fixed profile & edit profile layout (#733) * Fixed profile & edit profile layout * Update fontsize save button in edit profile page * Preferences page layout fixed (#732) * Show dialog if isDesktopOrWeb (#734) * Manage & View Group page fixed layout (#735) * Manage and view group page fixed layout * stay in center when the screen is medium size * Max size to bottom sheet in manage group page * Content added to error page (#737) * Remove push notification tokens no longer valid (#738) * Handle notifications results and remove bad tokens from user profile * Added handle_notifications_response test * fixed sent request layout in web and removed dividers (#739) * fixed sent request layout in web and removed dividers * with a request error goes to the 500 page * fixed profile layout in mid size screen * Check blob exists before delete (#756) * Fixed testing session bugs (#754) * WIP * navigation fixes WIP * fix navigation WIP * groups navigation fix WIP * fix tabbar unexpected null value (flutter bug) * Go walking by default to a contact in android * fix go back with OS in sent requests page * fixed delete account layout * Fixed group save button * Fixed profile save button * update groups after deleting one * removed commented code in manage_group_page * Future<void> annotations in groups_controller * Add additional information to 'hack' solution in contacts_page * fixed tests * 759 contacts profile os back button closes the app (#760) * Update routes to navigation to contact profile from different pages * Correct navigation inside contacts * 751 push notifications not received (#762) * Refactor Notifications Service * Update generate_coverage * International notifications * Feature/cache locations reduce reads (#761) * New algorithm * Reordering to avoid loops * Check share_location * Refactor user * Revert "Refactor user" This reverts commit e65437f. * Use location cache to reduce reads * Cache as variable * Fixed cache dict update * Add type check to MimeType (#764) * remove duplicate code * Temporally avoid test * fixed search bar does not move on tap & delete group optimistic updates (#768) * fixed search bar does not move on tap * optimistic updates on delete group * Blue line in groups picture when using default image removed (#769) * Pipeline/fix and testing (#771) * Pipeline changes * Update cloudbuild_prod_web.yaml * Update pubspec.yaml * Update cloudbuild_prod_web.yaml * Dependencies changes * Update app_icon.png * Update pubspec.yaml * Flutter image uploaded * Update pubspec.yaml * 763 refactor group validator (#772) * Update group page and its controller * Updated test * 681-notifications-redirect-to-friends-page (#774) * WIP * WIP * Refactor Notifications Service * WIP * WIP * redirect to requests page WIP * Notifications redirection Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fix notifications not recevied on first login (#776) * Update gauth_service_impl.dart * fixed tests * Initial page is set to map when putting the app on background * Notifications code should not be executed in web Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Fabián Scherle <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> * Develop (#781) * Migration to Notifications as Data dict (#718) * Sp7 682 notifications multilanguage (#719) * Changed notifications and added languages * Get data from backend * notifications fixed and finished * Go Route migration & testing (#720) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fixed mypy issues (#725) * Increase coverage of location listener service (#724) * initial code * initial changes * From to login to Main page and profile redirects * reload fixed * url fixes and location web cache * dont show drawer, only navigation rail * advances in routes * advances in migration * completed migration for groups and contacts * profile, logout, phone verification, etc * go router migration without onboarding * phone verification migration * Solve test warning problems * User state test passed * login page test passed * contact profile test passed * Contacts page test passed * migration without tests * Friends page test passed * removed non used imports * current page not used anymore * Profile integration test * refactor and dead code elimination * removed dead code and changed names * name changes * homa map page test passed almost all test * Update map_page.dart * Update home_map_page_test.dart * Onboarding test passed * Progress page test passed * Selected contact test passed * Manage groups page test * View group page test * Solve multiple test problems * Groups page test passed * Manage group page passed * Delete unnecessary profile current pages * Update invite wayat with last_release * partial tests of share location service * share location service partial testing * partial testing app_router and delete unused methods * App Router full tested * Rename statusState to locationListener * services tests * Refactor test * Update contact_profile_page.dart * test env file * Update pubspec.yaml * location listener service tests Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Update poetry.lock * Missing Types PyYAML * 684 contacts number without prefix should use user prefix (#726) * remove checks in contact_service and added to import phones service with checks of prefix * Updated test for contact service and import phones service * Added condition of start * groups page layout (#728) * 463 own contact appearing in onboarding suggestions (#729) * Added check for user phone in suggestions * update test for suggestions controller and edit_profile_controller * Added test to import_phones_service * Changed 'where' to be an arrow function Co-authored-by: airherna <[email protected]> * Contact profile layout fixed * Manage request errors (500, 400, etc.) (#731) * redirect to error page on request error * Handle exceptions in requests * Fixed profile & edit profile layout (#733) * Fixed profile & edit profile layout * Update fontsize save button in edit profile page * Preferences page layout fixed (#732) * Show dialog if isDesktopOrWeb (#734) * Manage & View Group page fixed layout (#735) * Manage and view group page fixed layout * stay in center when the screen is medium size * Max size to bottom sheet in manage group page * Content added to error page (#737) * Remove push notification tokens no longer valid (#738) * Handle notifications results and remove bad tokens from user profile * Added handle_notifications_response test * fixed sent request layout in web and removed dividers (#739) * fixed sent request layout in web and removed dividers * with a request error goes to the 500 page * fixed profile layout in mid size screen * Check blob exists before delete (#756) * Fixed testing session bugs (#754) * WIP * navigation fixes WIP * fix navigation WIP * groups navigation fix WIP * fix tabbar unexpected null value (flutter bug) * Go walking by default to a contact in android * fix go back with OS in sent requests page * fixed delete account layout * Fixed group save button * Fixed profile save button * update groups after deleting one * removed commented code in manage_group_page * Future<void> annotations in groups_controller * Add additional information to 'hack' solution in contacts_page * fixed tests * 759 contacts profile os back button closes the app (#760) * Update routes to navigation to contact profile from different pages * Correct navigation inside contacts * 751 push notifications not received (#762) * Refactor Notifications Service * Update generate_coverage * International notifications * Feature/cache locations reduce reads (#761) * New algorithm * Reordering to avoid loops * Check share_location * Refactor user * Revert "Refactor user" This reverts commit e65437f. * Use location cache to reduce reads * Cache as variable * Fixed cache dict update * Add type check to MimeType (#764) * remove duplicate code * Temporally avoid test * fixed search bar does not move on tap & delete group optimistic updates (#768) * fixed search bar does not move on tap * optimistic updates on delete group * Blue line in groups picture when using default image removed (#769) * Pipeline/fix and testing (#771) * Pipeline changes * Update cloudbuild_prod_web.yaml * Update pubspec.yaml * Update cloudbuild_prod_web.yaml * Dependencies changes * Update app_icon.png * Update pubspec.yaml * Flutter image uploaded * Update pubspec.yaml * 763 refactor group validator (#772) * Update group page and its controller * Updated test * 681-notifications-redirect-to-friends-page (#774) * WIP * WIP * Refactor Notifications Service * WIP * WIP * redirect to requests page WIP * Notifications redirection Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: Eduard Conesa Guerrero <[email protected]> * Fix notifications not recevied on first login (#776) * Update gauth_service_impl.dart * fixed tests * Initial page is set to map when putting the app on background * Notifications code should not be executed in web * Fix web not launching due to FirebaseMessaging Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Fabián Scherle <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> * Update build.gradle * Script for local building * Update launcher.sh * Update Dockerfile * Update launcher.sh * Update launcher.sh * Delete main.dart * Create main.dart Co-authored-by: econesag <[email protected]> Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> * Update Readme * update title * update readme Co-authored-by: LuisPi <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: airherna <[email protected]> Co-authored-by: Fabián Scherle <[email protected]> Co-authored-by: Josué Ausejo Hernández <[email protected]>
1 parent e4a5dfd commit 4f7fee4

File tree

296 files changed

+10769
-66
lines changed

Some content is hidden

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

296 files changed

+10769
-66
lines changed

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
wayat/frontend/windows/
2-
wayat/frontend/linux/
3-
wayat/frontend/macos/
4-
51
# Miscellaneous
62
*.cc
73
*.h

README.md

+39-7
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,48 @@
1-
# WAYAT
1+
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
22

3-
## What is WAYAT?
3+
<img src=title.png height=90> <img src=wayat_icon.png height=90>
4+
5+
6+
7+
8+
[![Generic badge](https://img.shields.io/badge/WAYAT-v.0.7.0-GREEN.svg)](https://shields.io/) [![Generic badge](https://img.shields.io/badge/os-android-GREEN.svg)](https://shields.io/) [![Generic badge](https://img.shields.io/badge/os-ios-GREEN.svg)](https://shields.io/) [![Generic badge](https://img.shields.io/badge/website-up-GREEN.svg)](https://shields.io/)
9+
10+
![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54) ![Flutter](https://img.shields.io/badge/Flutter-%2302569B.svg?style=for-the-badge&logo=Flutter&logoColor=white) ![Google Cloud](https://img.shields.io/badge/GoogleCloud-%234285F4.svg?style=for-the-badge&logo=google-cloud&logoColor=white)
11+
12+
## Table of contents
13+
14+
- [What is WAYAT?](#what-is-wayat)
15+
- [What is WAYAT for?](#what-is-wayat-for)
16+
- [Features](#features)
17+
- [For developers](#for-developers)
18+
19+
# What is WAYAT?
420

521
What is WAYAT? It stands for Where Are You AT, and it's a mobile app which allows people to publish their current location.
622

23+
It is made with Flutter, which provides:
24+
- **Multiplatform** applications (mobile, web, Desktop)
25+
- Very **short time to market**
26+
- Great integration with **Google Cloud**
27+
728
In this App people should be able to connect to “buddies” so they can connect to a network of people which shares each other's locations.
829

9-
## What is WAYAT for?
30+
You can download the Android apk in [here](https://github.com/devonfw-forge/wayat-flutter-python-mvp/releases/latest) or access the web if you are registered by this [link](https://wayat-web-dchj7vzxga-no.a.run.app/)
31+
32+
# What is WAYAT for?
1033

1134
There are many use cases for WAYAT. This are just a few examples. Do any of them sound familiar?
1235

13-
- As a Person working in hybrid mode from Home or at the office I would
36+
- **As a Person working in hybrid mode** from Home or at the office I would
1437
like to obtain easily the location of my “buddies” so I can determine which one I can
1538
meet in person or where I have to go.
1639

17-
- As a Person travelling alone I would like to obtain easily the planned location of my
40+
- **As a Person travelling alone** I would like to obtain easily the planned location of my
1841
“buddies” so I plan where to meet them.
1942

2043
Check our releases if you want to start now! You just need a Google Account and automatically all your selected contacts in your addressbook that has registered to WAYAT will be able to find your location and viceversa.
2144

22-
## Current features
45+
# Features
2346
- See all your contacts wherever they are.
2447
- Login using google account and phone verification.
2548
- Add a photo to your profile and change your username.
@@ -28,10 +51,19 @@ Check our releases if you want to start now! You just need a Google Account and
2851
- Add a photo to a group and add and remove friends from this with a simple tap.
2952
- Get users available in wayat automatically from your addressbook
3053
- Send and receive friend requests.
54+
- Receive push and in-app notifications.
55+
- It supports:
56+
- English
57+
- Spanish
58+
- French
59+
- German
60+
- Dutch
3161
- Log out the application or remove your account whenever you want.
3262
- Stop sharing location with all contacts or decide which one will receive your location just by tapping a switch.
3363

34-
## For developers
64+
![Main Screens](main_screens.png)
65+
66+
# For developers
3567
There is some extra information to those who wants to check how to deploy the flutter application or check how the backend is working. Just check the next links:
3668

3769
- [Frontend Documentation](https://github.com/devonfw-forge/wayat-flutter-python-mvp/tree/main/wayat/frontend#readme)

SPIKES/local_notifications/.gitignore

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
23+
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
**/ios/Flutter/.last_build_id
27+
.dart_tool/
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
30+
.packages
31+
.pub-cache/
32+
.pub/
33+
/build/
34+
35+
# Symbolication related
36+
app.*.symbols
37+
38+
# Obfuscation related
39+
app.*.map.json
40+
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

SPIKES/local_notifications/.metadata

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled.
5+
6+
version:
7+
revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
8+
channel: stable
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
17+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
18+
- platform: android
19+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
20+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
21+
- platform: ios
22+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
23+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
24+
- platform: linux
25+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
26+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
27+
- platform: macos
28+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
29+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
30+
- platform: web
31+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
32+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
33+
- platform: windows
34+
create_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
35+
base_revision: 6928314d505d2bb4777be05e45d7808a5aa91d2a
36+
37+
# User provided section
38+
39+
# List of Local paths (relative to this file) that should be
40+
# ignored by the migrate tool.
41+
#
42+
# Files that are not part of the templates will be ignored by default.
43+
unmanaged_files:
44+
- 'lib/main.dart'
45+
- 'ios/Runner.xcodeproj/project.pbxproj'

SPIKES/local_notifications/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# local_notifications
2+
3+
A new Flutter project.
4+
5+
## Getting Started
6+
7+
This project is a starting point for a Flutter application.
8+
9+
A few resources to get you started if this is your first Flutter project:
10+
11+
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
13+
14+
For help getting started with Flutter development, view the
15+
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16+
samples, guidance on mobile development, and a full API reference.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This file configures the analyzer, which statically analyzes Dart code to
2+
# check for errors, warnings, and lints.
3+
#
4+
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5+
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6+
# invoked from the command line by running `flutter analyze`.
7+
8+
# The following line activates a set of recommended lints for Flutter apps,
9+
# packages, and plugins designed to encourage good coding practices.
10+
include: package:flutter_lints/flutter.yaml
11+
12+
linter:
13+
# The lint rules applied to this project can be customized in the
14+
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15+
# included above or to enable additional rules. A list of all available lints
16+
# and their documentation is published at
17+
# https://dart-lang.github.io/linter/lints/index.html.
18+
#
19+
# Instead of disabling a lint rule for the entire project in the
20+
# section below, it can also be suppressed for a single line of code
21+
# or a specific dart file by using the `// ignore: name_of_lint` and
22+
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
23+
# producing the lint.
24+
rules:
25+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
26+
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27+
28+
# Additional information about this file can be found at
29+
# https://dart.dev/guides/language/analysis-options
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
key.properties
12+
**/*.keystore
13+
**/*.jks
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
def localProperties = new Properties()
2+
def localPropertiesFile = rootProject.file('local.properties')
3+
if (localPropertiesFile.exists()) {
4+
localPropertiesFile.withReader('UTF-8') { reader ->
5+
localProperties.load(reader)
6+
}
7+
}
8+
9+
def flutterRoot = localProperties.getProperty('flutter.sdk')
10+
if (flutterRoot == null) {
11+
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12+
}
13+
14+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15+
if (flutterVersionCode == null) {
16+
flutterVersionCode = '1'
17+
}
18+
19+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
20+
if (flutterVersionName == null) {
21+
flutterVersionName = '1.0'
22+
}
23+
24+
apply plugin: 'com.android.application'
25+
apply plugin: 'kotlin-android'
26+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27+
28+
android {
29+
compileSdkVersion 33
30+
ndkVersion flutter.ndkVersion
31+
32+
compileOptions {
33+
// Flag to enable support for the new language APIs
34+
coreLibraryDesugaringEnabled true
35+
sourceCompatibility JavaVersion.VERSION_1_8
36+
targetCompatibility JavaVersion.VERSION_1_8
37+
}
38+
39+
kotlinOptions {
40+
jvmTarget = '1.8'
41+
}
42+
43+
sourceSets {
44+
main.java.srcDirs += 'src/main/kotlin'
45+
}
46+
47+
defaultConfig {
48+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
49+
applicationId "com.example.local_notifications"
50+
// You can update the following values to match your application needs.
51+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
52+
minSdkVersion flutter.minSdkVersion
53+
targetSdkVersion flutter.targetSdkVersion
54+
versionCode flutterVersionCode.toInteger()
55+
versionName flutterVersionName
56+
multiDexEnabled true
57+
}
58+
59+
buildTypes {
60+
release {
61+
// TODO: Add your own signing config for the release build.
62+
// Signing with the debug keys for now, so `flutter run --release` works.
63+
signingConfig signingConfigs.debug
64+
}
65+
}
66+
}
67+
68+
flutter {
69+
source '../..'
70+
}
71+
72+
dependencies {
73+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
74+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.local_notifications">
3+
<!-- The INTERNET permission is required for development. Specifically,
4+
the Flutter tool needs it to communicate with the running application
5+
to allow setting breakpoints, to provide hot reload, etc.
6+
-->
7+
<uses-permission android:name="android.permission.INTERNET"/>
8+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.local_notifications">
3+
<application
4+
android:label="local_notifications"
5+
android:name="${applicationName}"
6+
android:icon="@mipmap/ic_launcher">
7+
<activity
8+
android:name=".MainActivity"
9+
android:exported="true"
10+
android:launchMode="singleTop"
11+
android:theme="@style/LaunchTheme"
12+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
13+
android:hardwareAccelerated="true"
14+
android:windowSoftInputMode="adjustResize">
15+
<!-- Specifies an Android theme to apply to this Activity as soon as
16+
the Android process has started. This theme is visible to the user
17+
while the Flutter UI initializes. After that, this theme continues
18+
to determine the Window background behind the Flutter UI. -->
19+
<meta-data
20+
android:name="io.flutter.embedding.android.NormalTheme"
21+
android:resource="@style/NormalTheme"
22+
/>
23+
<intent-filter>
24+
<action android:name="android.intent.action.MAIN"/>
25+
<category android:name="android.intent.category.LAUNCHER"/>
26+
</intent-filter>
27+
</activity>
28+
<!-- Don't delete the meta-data below.
29+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
30+
<meta-data
31+
android:name="flutterEmbedding"
32+
android:value="2" />
33+
</application>
34+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.example.local_notifications
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity() {
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="?android:colorBackground" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="@android:color/white" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)