Commit Graph

42 Commits

Author SHA1 Message Date
Sam Chau
5c8c647be1 fix: stop appending token for 2+ requests 2025-02-05 16:09:58 +10:30
Sam Chau
f54d577a54 fix: adjust push authentication method 2025-02-05 16:09:58 +10:30
Sam Chau
adc7fe836a feat: add auth to git operations 2025-02-05 16:09:58 +10:30
Sam Chau
28851e0270 chore: remove watchdog 2025-02-05 16:09:58 +10:30
Sam Chau
15cd66a775 fix: delete and checkout now work properly - checkout local only / remote only branches - delete local only / not remote branches if !dev mode 2025-02-05 16:09:58 +10:30
Sam Chau
450fcb4973 feat: implement dev mode 2025-02-05 16:09:58 +10:30
Sam Chau
03059638ce refactor: remove API key from clone functionality 2025-02-05 16:09:58 +10:30
Sam Chau
ed12fff994 chore: add watchdog support for backend HMR 2025-02-05 16:09:58 +10:30
Sam Chau
3cc21c6951 feat: new button to push local branches, no longer auto pushes new branches to remote 2025-02-05 16:09:58 +10:30
Sam Chau
20ff5c822b fix: fix checkout / delete branches 2025-02-05 16:09:58 +10:30
Sam Chau
f7f4855953 refactor: adjust git file names 2025-02-05 16:09:58 +10:30
Sam Chau
856fc300de feat: improve unlink functionality - option to remove existing files - confirmation modal 2025-02-05 16:09:58 +10:30
Sam Chau
92b38db7a9 refactor: seperated cloning from settings 2025-02-05 16:09:58 +10:30
Sam Chau
fa4818cb6a refactor: move git operations into their own route 2025-02-05 16:09:58 +10:30
Sam Chau
ec7430466f refactor: move git operations into seperate files 2025-02-05 16:09:58 +10:30
Sam Chau
623f510ff9 refactor: move branch functionality into seperate files 2025-02-05 16:09:58 +10:30
Sam Chau
8fd657a3c8 refactor: move diff into status folder 2025-02-05 16:09:58 +10:30
Sam Chau
8e9cd5e357 refactor: move status functions into seperate files 2025-02-05 16:09:58 +10:30
Sam Chau
a685dfa3a5 refactor: clone repo moved into seperate file 2025-02-05 16:09:58 +10:30
Sam Chau
13cd246a4d refactor: new file for settings file management 2025-02-05 16:09:58 +10:30
Sam Chau
f35ff413eb feat: unlink repo [backend] 2025-02-05 16:09:58 +10:30
Sam Chau
dbbad3816f fix: intialise profile folder if not exist 2025-02-05 16:09:58 +10:30
Sam Chau
7f0979a802 fix: handle cloning empty repos 2025-02-05 16:09:58 +10:30
Sam Chau
f08d5aa73b fix: stop saving settings on bad clone 2025-02-05 16:09:58 +10:30
Sam Chau
7410edf614 debug: add logging to clone and setting functions 2025-02-05 16:09:58 +10:30
Sam Chau
1240f62bed fix: get full path for outgoing changes 2025-02-05 16:09:58 +10:30
santiagosayshey
1ae0151676 show deleted file names in outgoing changes 2025-02-05 16:09:58 +10:30
santiagosayshey
9c510998f9 fix(changes): Fix parsing outgoing changes - now correctly shows changes as staged - can now revert staged files 2025-02-05 16:09:58 +10:30
santiagosayshey
650cfa2dc7 feat(diffViewer): Improve diff viewer - Show untracked, deleted, modified outgoing changes - Improve modal style 2025-02-05 16:09:58 +10:30
santiagosayshey
1cee08bdbd feat(profile-modal): Improvements - Show quality profile type in status page - Increase modal size, split things into columns - Filter formats - Bigger description size 2025-02-05 16:09:58 +10:30
santiagosayshey
174e4ec82d feat(delete): Improve delete functionality - Don't allow deletion of regex / format in use - Add confirmation for deleting before allowing request 2025-02-05 16:09:58 +10:30
santiagosayshey
8cb3d7a827 feat(profiles): Add basic functionality for profile page
- Create ProfileCard and ProfileModal components
- Implement profile.py backend file for CRUD operations
- Update API file with profile-related functions
- Modify main application file to include profile blueprint
- Add profile directory initialization
2025-02-05 16:09:58 +10:30
Sam Chau
fd9d23a828 Refactor backend, enhance Git functionality, and improve UI/UX (#2)
## Backend Changes
- Refactored and restructured backend code
- Consolidated utility functions and updated directory structure
- Improved Git clone functionality to merge local files
- Enhanced Git status retrieval and diff parsing
- Implemented file revert and delete functionality
- Optimized Git status checks for better performance

## Frontend Enhancements
- Added smooth animated background transition in navbar
- Implemented comprehensive Git status display in SettingsManager
- Created branch management modal with improved UI and functionality
- Added loading indicators for Git operations
- Integrated DiffViewer for side-by-side comparisons of changes
- Implemented Toast notifications for better user feedback
- Enhanced file management with conditional revert/delete options
- Added ability to selectively pull incoming changes

## UI/UX Improvements
- Improved branch management UI with tooltips and confirmation dialogs
- Enhanced alert notifications using react-toastify
- Added fun loading messages for Git status
- Implemented CommitSection component for improved commit functionality

## Miscellaneous
- Updated sanitization to be less aggressive
- Initialized database folders on Flask startup
- Added Docker volumes for data storage
- Changed application name to Profilarr
2025-02-05 16:09:58 +10:30
Sam Chau
ae75baca26 feat(backend): Major overhaul of backend structure, git integration, and settings management
- **Backend Refactor:**
  - Merged route and operation files for regex and format.
  - Updated directory structure and consolidated utility functions.
  - Removed unnecessary app.py, using `__init__.py` for app creation.

- **Git Integration:**
  - Enhanced git cloning and merging methods, ensuring accurate local file updates.
  - Implemented comprehensive git status fetching with improved file status display and error handling.
  - Added branch management features, including branch creation, checkout, deletion, and associated UI improvements.
  - Integrated loading indicators and fun messages for better user feedback during git operations.

- **Settings Manager Enhancements:**
  - Expanded Git status display, including connected repository link, branch information, and detailed change listings.
  - Added revert functionality for individual files and all changes, with conditional UI updates based on file statuses.
  - Integrated `react-toastify` for alert notifications with improved styling.
  - Improved file name parsing, handling of file paths, and consistent API request structure.
  - Added UI components for a smooth tab transition and enhanced settings layout.

- **General Improvements:**
  - Revised sanitization logic for less aggressive handling, particularly for regex101 links.
  - Refactored backend logic to improve performance, specifically optimizing git status checks.
  - Implemented dynamic retrieval of default branches and enhanced handling of IDs in files.

**fixes, refactors, and additional features included**:
- Bug fixes for branch handling, git status accuracy, and file name adjustments.
- Improved error handling, logging, and user feedback across various components.
2025-02-05 16:09:58 +10:30
santiagosayshey
7287fb061e feat(db): Add sample data 2 2025-02-05 16:09:58 +10:30
santiagosayshey
4d9514b35f fix(regex): Check if regex is being used in custom format(s) before deleting 2025-02-05 16:09:58 +10:30
santiagosayshey
9fbcaea709 refactor(sanitization): centralize and apply input sanitization 2025-02-05 16:09:58 +10:30
santiagosayshey
2dd93e2588 refactor(regex, format): Change the way regexes and formats are saved - regex IDs are now saved in conditions, not names - sanitisation in custom formats 2025-02-05 16:09:58 +10:30
santiagosayshey
397d9918f1 chore(docker): update Docker configurations and debug Flask setup 2025-02-05 16:09:58 +10:30
santiagosayshey
3391ff76b6 tests(regex): Improve testing functionality for regex. - Add sample unit tests - Add case insensitivity 2025-02-05 16:09:58 +10:30
santiagosayshey
3bd7017917 feat(testing): Add ability to link regex patterns to regex101 links 2025-02-05 16:09:58 +10:30
santiagosayshey
525d86063d Initial Commit 2025-02-05 16:09:58 +10:30