Commit Graph

31 Commits

Author SHA1 Message Date
bwnyasse
b8d156b35a feat(Makefile): restructure Makefile into modular files for better organization and maintainability
feat(Makefile): introduce common.mk for shared variables and environment configuration
feat(Makefile): create web.mk for web frontend-related tasks
feat(Makefile): create launchpad.mk for internal launchpad deployment tasks
feat(Makefile): create mobile.mk for mobile app development tasks
feat(Makefile): create dataconnect.mk for Data Connect management tasks
feat(Makefile): create tools.mk for development tools like git hooks
feat(Makefile): remove admin-web specific tasks and files as the admin console is no longer actively maintained
feat(Makefile): update help command to reflect the new modular structure and available commands
feat(Makefile): remove base44 export workflow as it is no longer relevant
feat(Makefile): remove IAP configuration as it is no longer used
feat(Makefile): remove harness-related tasks as they are no longer relevant

The Makefile has been significantly refactored to improve organization and maintainability. The changes include:

- Modularization: The monolithic Makefile has been split into smaller, more manageable files, each responsible for a specific area of the project (web, launchpad, mobile, dataconnect, tools).
- Common Configuration: Shared variables and environment configuration are now centralized in common.mk.
- Removal of Unused Tasks: Tasks related to the admin console, base44 export workflow, IAP configuration, and API test harness have been removed as they are no longer relevant.
- Updated Help Command: The help command has been updated to reflect the new modular structure and available commands.
- Improved Readability: The modular structure makes the Makefile easier to read and understand.
- Maintainability: The modular structure makes it easier to maintain and update the Makefile.
- Scalability: The modular structure makes it easier to add new tasks and features to the Makefile.
2026-01-10 20:59:18 -05:00
bwnyasse
d0a536ffa4 chore: remove obsolete documentation files
These files contained outdated analysis and planning
related to the mobile app and data modeling. They are
no longer relevant to the current state of the project
and were removed to reduce clutter and confusion.

docs: remove outdated mock data analysis document

The file `validation_staff_mock_dataconecct_last_update.md`
contained an outdated analysis of mock data structures
compared to the Data Connect schema. This information is
no longer relevant and the file has been removed to
maintain a clean and up-to-date repository.
docs: remove outdated mock data analysis document v2

The file `validation_staff_mock_dataconecct_v2.md`
contained an outdated analysis of mock data structures
compared to the Data Connect schema. This information is
no longer relevant and the file has been removed to
maintain a clean and up-to-date repository.
2026-01-10 12:20:22 -05:00
bwnyasse
d2e84addb1 Remove legacy Mobile apps folders 2026-01-10 12:00:39 -05:00
bwnyasse
a5a4eae255 feat(launchpad): implement secure email hashing for access control
This commit introduces a more secure method for verifying user
access to the internal launchpad by hashing email addresses.

- Replaces the plain-text email list with SHA-256 hashes.
- Adds a script to generate these hashes from `iap-users.txt`.
- Updates the launchpad HTML to hash the input email and compare
 it against the `allowed-hashes.json` file.
- Updates Makefile to generate hashes before deploy and serve.
- Adds .keep file for krow_client folder.
2026-01-10 11:48:54 -05:00
José Salazar
5136b1d6b5 other modifications days ago 2025-12-26 15:14:51 -05:00
Achintha Isuru
3993cffc1a feat: Update Android package and application ID, and introduce product flavors for different build environments. 2025-12-03 01:42:36 -05:00
Achintha Isuru
323968c79c feat: Implement Flutter flavors for dev, stage, and prod environments with corresponding configurations and build scripts. 2025-12-03 01:41:15 -05:00
Achintha Isuru
02470e196f feat: Initialize Flutter project for krow_staff app including multi-platform configurations and build artifacts. 2025-12-03 00:34:41 -05:00
Achintha Isuru
8e7753b324 feat: legacy mobile apps created 2025-12-02 23:51:04 -05:00
Achintha Isuru
62f00dd961 chore: bump version of staff-app 1.0.28+112 2025-12-01 10:35:15 -05:00
Achintha Isuru
9553b03398 fix: update Flutter SDK version to ^3.8.0 and adjust dependencies for client and staff apps 2025-11-19 13:51:36 -05:00
Achintha Isuru
4ca290917f fix: correct program path for DEV Android configuration and update package versions in pubspec.lock 2025-11-19 12:40:15 -05:00
Achintha Isuru
7f27d94e61 fix: update project configurations for staging environment and Firebase dependencies 2025-11-19 12:20:54 -05:00
Achintha Isuru
a2eb67ab5c fix: update Firebase configuration for dev and staging environments 2025-11-19 11:55:41 -05:00
Achintha Isuru
03177b9a42 Update project.pbxproj 2025-11-19 00:02:08 -05:00
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
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
9eacb8639e feat: Add Codemagic environment variables and update Firebase configurations for multi-environment support 2025-11-18 12:16:42 -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
bwnyasse
554dc9f9e3 feat: Initialize monorepo structure and comprehensive documentation
This commit establishes the new monorepo architecture for the KROW Workforce platform.

Key changes include:
- Reorganized project into `frontend-web`, `mobile-apps`, `firebase`, `scripts`, and `secrets` directories.
- Updated `Makefile` to support the new monorepo layout and automate Base44 export integration.
- Fixed `scripts/prepare-export.js` for ES module compatibility and global component import resolution.
- Created and updated `CONTRIBUTING.md` for developer onboarding.
- Restructured, renamed, and translated all `docs/` files for clarity and consistency.
- Implemented an interactive internal launchpad with diagram viewing capabilities.
- Configured base Firebase project files (`firebase.json`, security rules).
- Updated `README.md` to reflect the new project structure and documentation overview.
2025-11-12 12:50:55 -05:00