mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-21 06:19:31 +08:00
* feat: Implement AppStore synchronization task - Introduced a new `syncAppStoreTask` function to handle the synchronization of applications from the AppStore. - The function checks for updates, retrieves the application list, and manages the synchronization process, including downloading app icons and updating app details. - Refactored the existing app synchronization logic from `SyncAppListFromRemote` into the new task for improved maintainability and clarity. - Added logging for progress tracking during the synchronization process. * feat: Refactor HTTP request handling to support custom client - Introduced `HandleRequestWithClient` function to allow custom HTTP clients for requests. - Moved the transport loading logic into the new function for better separation of concerns. - Updated `HandleRequest` to utilize the new function, enhancing flexibility in request handling. * refactor: Simplify HTTP request handling in app synchronization - Replaced direct HTTP request handling with `HandleRequestWithClient` for downloading app icons and Docker Compose files. - Removed unused variables and logging related to icon download updates for cleaner code. - Improved error handling and logging for failed requests. |
||
|---|---|---|
| .. | ||
| app | ||
| buserr | ||
| cmd/server | ||
| constant | ||
| cron | ||
| global | ||
| i18n | ||
| init | ||
| log | ||
| middleware | ||
| router | ||
| server | ||
| utils | ||
| go.mod | ||
| go.sum | ||