Compare commits

..

No commits in common. "df2242ea443a8d8917f43e7ccb5263eb41eb2d46" and "132545f996593b89193d3c43af3cba5e87a29cc8" have entirely different histories.

2 changed files with 12 additions and 35 deletions

2
.gitignore vendored
View file

@ -6,4 +6,4 @@ __pycache__/
*.pyc *.pyc
instance/ instance/
db.sqlite3 db.sqlite3
To-Do.md

View file

@ -4,41 +4,18 @@ This file tracks potential new features and improvements for the Interbend banki
## Feature Suggestions ## Feature Suggestions
1. **Automated Payroll System** 1. **Automated Payroll System:**
* **Description:** Instead of requiring users to manually call the `/collect` endpoint, a scheduled script could run periodically to automatically distribute salaries to all eligible users. * **Description:** Instead of requiring users to manually call the `/collect` endpoint, a scheduled script could run periodically (e.g., every 24 hours) to automatically distribute salaries to all eligible users.
* **Benefits:** Improves user experience, ensures consistent pay, and reduces repeated API calls to the server. * **Benefits:** Improves user experience, ensures consistent pay, and reduces repeated API calls to the server.
* **Status:** Under Review * **Important:** Due to the concept of this whole system it needs to be considered to only pay users who are attend. Bad Idea.
* **Note:** Due to system concept, needs to be modified to only pay active users. * **Alternative:** Implement system to make sure you can only collect if the host is online. Make admin route to open server (set global bool)
* **Alternative:** Implement system to verify host is online; add admin route to control server availability.
2. **User Transaction History** 2. **User Transaction History:**
* **Description:** Create API endpoint for retrieving paginated transaction history. * **Description:** Create a new API endpoint (e.g., `GET /transactions`) that allows an authenticated user to retrieve a paginated list of their own transaction history.
* **Benefits:** Provides transparency and financial tracking for users. * **Benefits:** Provides users with transparency and a way to track their finances, which is a core feature of any banking application.
* **Status:** COMPLETED
* **Note:** Needs verification testing.
3. **Changeable Tax Rate** * FINISHED: PLEASE CHECK IF WORKING!
* **Description:** Add system for dynamic tax rate adjustment through admin interface.
* **Benefits:** Allows economic control and flexibility for different transaction types.
* **Status:** In Progress
* **Implementation:** Store in database for persistence, add admin routes for modification.
4. **User Roles System** Frontend?
* **Description:** Implement comprehensive role-based access control (RBAC).
* **Benefits:** Enables different permissions for police, government, admin, and regular users.
* **Status:** Not Started
* **Required Features:**
- Role assignment and management
- Permission hierarchy
- Role-specific interfaces
- Audit logging for role changes
5. **Frontend Development** idfk?
* **Description:** Create user interface for the banking system.
* **Benefits:** Provides intuitive access to banking features.
* **Status:** Not Started
* **Components Needed:**
- User dashboard
- Transaction interface
- Admin control panel
- Role-specific views