Commit Graph

78 Commits

Author SHA1 Message Date
Achintha Isuru
7aa84bc536 Remove outdated architecture and API documentation for mobile apps
- Deleted api_map.mermaid files for both client and staff apps to remove obsolete API mappings.
- Removed architecture.md files for both client and staff apps to eliminate outdated architectural overviews.
- Deleted backend_architecture.mermaid files for both client and staff apps to clean up backend architecture diagrams.
- Removed overview.mermaid files for both client and staff apps to streamline application flow documentation.
- Deleted use-case flowchart.mermaid and use_case_flows.mermaid files for both client and staff apps to remove redundant use case diagrams.
2025-11-18 23:02:01 -05:00
Achintha Isuru
e7d324407c fix: update staff app workflow names to include 'App Distribution' for clarity 2025-11-18 18:55:54 -05:00
Achintha Isuru
c78a1114c7 Create .env_dev 2025-11-18 18:41:11 -05:00
Achintha Isuru
a31e45c473 Add environment variables for client app 2025-11-18 18:40:54 -05:00
Achintha Isuru
40c2f9245d Merge branch '26-mobile-cicd-configure-codemagic-firebase-app-distribution---a-production-ready-multi-environment-mobile-pipeline' of https://github.com/Oloodi/krow-workforce into 26-mobile-cicd-configure-codemagic-firebase-app-distribution---a-production-ready-multi-environment-mobile-pipeline 2025-11-18 18:21:43 -05:00
Achintha Isuru
3e3d2b1efc feat: update keyAlias for Android app distribution across environments 2025-11-18 18:21:20 -05:00
Achintha Isuru
2ce59c167a Add files via upload 2025-11-18 17:57:08 -05:00
Achintha Isuru
c4a47398b3 Add files via upload 2025-11-18 17:56:16 -05:00
Achintha Isuru
c6ccd1e2e3 feat: configure Firebase and signing for multiple environments in mobile app 2025-11-18 17:52:23 -05:00
Achintha Isuru
ef35554635 feat: update Firebase configuration for development environment and adjust related scripts 2025-11-18 14:22:28 -05:00
Achintha Isuru
f7f6891781 Add .env_dev file for development environment 2025-11-18 13:50:05 -05:00
Achintha Isuru
5a1dc08a96 Add environment configuration for development 2025-11-18 13:49:39 -05:00
Achintha Isuru
8fba9512e6 feat: create .env file with app configuration variables
Add environment variables for app configuration.
2025-11-18 13:48:56 -05:00
Achintha Isuru
f438041a7c feat: Remove redundant build commands from Flutter build script for clarity 2025-11-18 13:31:38 -05:00
Achintha Isuru
8b8b76e634 feat: Update Codemagic scripts to use consistent naming for Android and iOS build processes 2025-11-18 13:29:25 -05:00
Achintha Isuru
9c108ceb03 feat: Update Codemagic scripts to use consistent naming for Flutter build process 2025-11-18 13:28:08 -05:00
Achintha Isuru
f309cce636 feat: Update Codemagic scripts for enhanced build and distribution processes with improved naming and organization 2025-11-18 13:26:45 -05:00
Achintha Isuru
9eacb8639e feat: Add Codemagic environment variables and update Firebase configurations for multi-environment support 2025-11-18 12:16:42 -05:00
Achintha Isuru
fbb33d025a feat: Refactor Codemagic scripts for improved readability and maintainability 2025-11-18 11:24:12 -05:00
Achintha Isuru
fba12ea3b4 feat: Enhance Codemagic scripts for improved Firebase app distribution and build processes 2025-11-18 11:21:07 -05:00
Achintha Isuru
a8f935d61a feat: Configure Codemagic workflows for multi-environment mobile app distribution 2025-11-18 11:17:06 -05:00
Achintha Isuru
b464699205 feat: Add Firebase configuration for staging and development environments
- Created google-services.json for staging environment.
- Updated firebase.json to include build configurations for dev and staging.
- Added flutterfire-config.sh script to generate Firebase configuration files.
- Modified Xcode project to include GoogleService-Info.plist for staging.
- Created staging.xcscheme for Xcode build configuration.
- Added GoogleService-Info.plist for dev and staging flavors.
- Generated firebase_options_dev.dart and firebase_options_staging.dart for Firebase initialization.
2025-11-17 23:52:37 -05:00
Achintha Isuru
a64cbd9edf feat: Refactor code structure and optimize performance across multiple modules 2025-11-17 23:29:28 -05:00
Boris-Wilfried
831570f2e0 Merge pull request #45 from Oloodi/38-admin-scaffold-the-admin-console-web-application
38 admin scaffold the admin console web application
2025-11-16 17:04:58 -05:00
Boris-Wilfried
362055e053 Merge branch 'dev' into 38-admin-scaffold-the-admin-console-web-application 2025-11-16 17:04:18 -05:00
bwnyasse
6824bded16 feat(Makefile): add data connect management commands to Makefile
This commit introduces new commands to streamline Data Connect
management, including enabling APIs, initializing Firebase, and
deploying schemas. These commands enhance developer experience by
providing easy-to-use shortcuts for common Data Connect tasks.
2025-11-16 17:00:41 -05:00
José Salazar
6e247867e1 configuration makefile and dataconnect init 2025-11-16 16:58:23 -05:00
Achintha Isuru
ed6e51a29e feat(documents): add architecture document for client mobile application 2025-11-16 16:57:47 -05:00
Achintha Isuru
26dff819a1 feat(diagrams): add comprehensive architecture and use case diagrams for client mobile application 2025-11-16 16:57:47 -05:00
Achintha Isuru
c329dbe138 feat(diagrams): add new Mermaid diagrams for client mobile application overview, use cases, API map, and backend architecture 2025-11-16 16:57:47 -05:00
Achintha Isuru
21a1c69a41 feat(documents): update title in documents config to include migration plan 2025-11-16 16:57:47 -05:00
Achintha Isuru
8e0d9e2cf7 feat(documents): add document viewer and configuration for loading markdown files 2025-11-16 16:57:46 -05:00
Achintha Isuru
662008c870 feat(diagrams): add Mermaid diagrams for backend architecture, API map, and use-case flows 2025-11-16 16:57:46 -05:00
bwnyasse
613d64ae9f chore: remove firebase/internal-launchpad/app.yaml
The file is no longer needed.
2025-11-16 16:52:34 -05:00
Boris-Wilfried
167017c82e Merge pull request #43 from Oloodi/setup/dataconnect-init-clean
configuration makefile and dataconnect init
2025-11-16 16:52:19 -05:00
bwnyasse
0467e5b5df feat: remove legacy app engine deployment artifacts
This commit removes obsolete files and configurations related to the
previous App Engine deployment of the internal-launchpad service.
These artifacts are no longer needed since the service has been
migrated to Cloud Run.

The following changes were made:

- Deleted `fix-appengine-permissions-complete.sh`,
 `fix-project-level-permissions.sh`, and
 `create-missing-repository.sh` scripts.
- Removed the `app.yaml` file from `firebase/internal-launchpad/`.
- Updated `firebase.json` to remove the `launchpad` hosting target.
- Added `security` label to `labels.yml`
2025-11-16 16:47:51 -05:00
Boris-Wilfried
f1c7295028 Merge pull request #46 from Oloodi/achintha-dev
feat: add diagrams and documents related to legacy krow staff and client applications
2025-11-16 16:26:45 -05:00
Achintha Isuru
c3073a26d2 Merge remote-tracking branch 'origin/main' into achintha-dev 2025-11-16 11:12:27 -05:00
bwnyasse
b8739164af feat(Makefile): allow filtering issues by state and label in export-issues target
feat(scripts/export_issues.sh): allow filtering issues by state and label

This commit introduces changes to both the Makefile and the
export_issues.sh script to allow users to filter GitHub issues
by state and label when exporting them to a markdown file.

The Makefile's `export-issues` target now accepts an optional
`ARGS` variable, which is passed to the `export_issues.sh`
script. This allows users to specify command-line arguments
such as `--state=all` or `--label=bug` to filter the issues
being exported.

The `export_issues.sh` script has been updated to parse these
command-line arguments and use them to construct the `gh issue
list` command. The script now supports the `--state` and
`--label` options, which allow users to filter issues by their
state (e.g., open, closed, all) and label, respectively.

These changes provide users with more flexibility in exporting
GitHub issues, allowing them to generate markdown files that
contain only the issues that are relevant to their needs.
2025-11-16 11:01:43 -05:00
bwnyasse
cf2a2d89d9 feat(admin-web): add KROW logo and title to admin console
feat(admin-web): display environment badge in admin console
feat(admin-web): configure Nginx for SPA and copy config
fix(Makefile): fix typo in CR_ADMIN_IMAGE_URI variable assignment
feat(firebase): update launchpad title to "Launchpad"
2025-11-16 08:54:11 -05:00
bwnyasse
813988293e feat(Makefile): introduce admin console deployment to Cloud Run with IAP
feat(Makefile): add IAP configuration management for both launchpad and admin
feat(Makefile): refactor IAP user management commands for reusability
feat(Makefile): add Dockerfile for admin-web to containerize the application
feat(Makefile): remove App Engine deployment targets for admin-web

This commit introduces significant changes to the deployment process
for the admin console, migrating it from App Engine to Cloud Run and
integrating Identity-Aware Proxy (IAP) for enhanced security.

The key changes include:

- **Admin Console Deployment to Cloud Run:** The admin console is now
 deployed to Cloud Run using a Dockerfile that builds and
 containerizes the application. This provides a more scalable and
 flexible deployment environment.
- **IAP Integration:** IAP is now enabled for the admin console,
 restricting access to authorized users only. This enhances the
 security of the application and protects sensitive data.
- **IAP Configuration Management:** New commands have been added to
 the Makefile to manage IAP configuration for both the launchpad and
 admin console. These commands allow for easy addition and removal
 of IAP users.
- **Refactored IAP User Management Commands:** The IAP user management
 commands have been refactored to be more reusable and generic. This
 allows for easier management of IAP users for both the launchpad and
 admin console.
- **Removal of App Engine Deployment Targets:** The App Engine
 deployment targets for the admin console have been removed, as the
 application is now deployed to Cloud Run.

These changes provide a more secure, scalable, and maintainable
deployment process for the admin console.
2025-11-16 08:26:20 -05:00
bwnyasse
3bd2dfc002 refactor(Makefile): remove App Engine configs and scripts, migrate launchpad to Cloud Run
This commit removes legacy App Engine deployment artifacts and updates the Makefile to reflect the successful migration of the `internal-launchpad` service to Cloud Run.

The following changes were made:

- Deleted obsolete permission scripts:
 - `fix-appengine-permissions-complete.sh`
 - `fix-project-level-permissions.sh`
 - `create-missing-repository.sh`
- Removed the `firebase/internal-launchpad/app.yaml` file.
- Updated `firebase.json` to remove the `launchpad` hosting configuration.

These changes streamline the repository, reduce developer confusion, and prevent the accidental use of outdated deployment logic.
2025-11-16 08:10:31 -05:00
Achintha Isuru
fe6186265a feat(documents): add architecture document for client mobile application 2025-11-15 23:18:18 -05:00
Achintha Isuru
8005161fb6 feat(diagrams): add comprehensive architecture and use case diagrams for client mobile application 2025-11-15 23:13:58 -05:00
Achintha Isuru
865484a508 feat(diagrams): add new Mermaid diagrams for client mobile application overview, use cases, API map, and backend architecture 2025-11-15 23:00:15 -05:00
José Salazar
81323fa7c3 configuration makefile and dataconnect init 2025-11-15 19:24:33 -05:00
Achintha Isuru
e88538efd6 feat(documents): update title in documents config to include migration plan 2025-11-15 18:25:21 -05:00
Achintha Isuru
453012fa0d feat(documents): add document viewer and configuration for loading markdown files 2025-11-15 18:16:23 -05:00
Achintha Isuru
678d46e87d feat(diagrams): add Mermaid diagrams for backend architecture, API map, and use-case flows 2025-11-15 17:49:18 -05:00
bwnyasse
383fc14bf8 feat(Makefile): add admin console commands to Makefile
feat(README.md): update README to reflect monorepo structure and admin console
feat: remove setup_admin_console.sh script

The setup_admin_console.sh script is removed because the admin console setup is now integrated into the Makefile.
The README is updated to reflect the new monorepo structure and the admin console.
The Makefile is updated to include commands for installing, developing, and building the admin console.
2025-11-15 17:38:58 -05:00