Mauricio Siu
922b4d58f1
refactor: enhance backup functionality by incorporating appName and serviceName for S3 bucket paths
2026-03-07 23:32:41 -06:00
Mauricio Siu
a5a4a1a818
refactor: update backup file paths to include app name for better organization
2026-03-07 01:48:11 -06:00
Mauricio Siu
f8628269b9
refactor: improve error handling and logging in cron job setup for backups and log cleanup
2026-02-26 21:04:16 -06:00
Mauricio Siu
110bdce38c
feat(schedules): replace hardcoded cron schedule with CLEANUP_CRON_JOB constant
...
- Updated the cron schedule for Docker cleanup tasks across multiple files to use the new CLEANUP_CRON_JOB constant.
- This change enhances maintainability by centralizing the cron schedule configuration, ensuring consistency across the application.
2026-02-07 22:58:21 -06:00
autofix-ci[bot]
b2be5bc09f
[autofix.ci] apply automated fixes
2025-12-21 07:33:59 +00:00
Mauricio Siu
babd30a110
refactor(settings): migrate user settings to webServerSettings schema and update related components
2025-12-21 01:33:18 -06:00
Abdenour Tadjer
9544b2ace3
fix(backups): optional chaining for logCleanupCron
2025-12-10 09:36:17 +01:00
Mauricio Siu
97bd4de4f1
fix(backups): enhance admin check to ensure user existence
...
- Updated the admin verification logic to check for both admin presence and user existence before proceeding with backup initialization.
2025-12-09 17:06:57 -06:00
fir4tozden
fbd095334c
fix: renames
2025-12-01 00:58:02 +03:00
autofix-ci[bot]
e3832eff07
[autofix.ci] apply automated fixes
2025-11-30 21:50:25 +00:00
fir4tozden
25b7069e31
feat: docker cleanups stable
2025-12-01 00:50:02 +03:00
Mauricio Siu
1300a6242c
fix(backups): change backup file extension from .dump.gz to .sql.gz for consistency
2025-08-02 18:40:40 -06:00
Mauricio Siu
a788a73fa3
feat(database): set default value for logCleanupCron and update existing records
...
- Added SQL script to set default value for "logCleanupCron" in "user_temp" table.
- Updated existing records with NULL "logCleanupCron" to the new default value.
- Updated user schema to reflect the default value for "logCleanupCron".
- Enhanced log cleanup functionality with error handling and logging.
2025-06-19 23:32:49 -06:00
Mauricio Siu
629889f1a8
refactor: reorganize imports and enhance backup functionality across various components
2025-05-28 00:38:53 -06:00
Mauricio Siu
77d7dc1f22
Enhance backup functionality by adding support for compose backups in various components. Update ShowBackups to clarify backup update requirements, modify initCronJobs to include compose backups, and improve logging for backup scheduling. Additionally, ensure that the scheduleBackup function retains the latest backups for compose types and document the addition of domains and backups in the Docker compose process.
2025-04-27 23:09:39 -06:00
autofix-ci[bot]
e176def5b6
[autofix.ci] apply automated fixes
2025-04-03 06:12:08 +00:00
vicke4
94c947e288
fix(backups): web-server backups auto-deletion
2025-04-03 11:41:21 +05:30
Mauricio Siu
0bdaa81263
fix(backups): replace findAdmin with db query to fetch admin by role for cron job initialization
2025-04-02 07:10:19 -06:00
Mauricio Siu
5361e9074f
Refactor backup scheduling: consolidate backup handling for multiple database types into a single loop, enhance error logging, and integrate web server backup functionality.
2025-03-29 20:12:55 -06:00
Mauricio Siu
fe967239b4
Merge branch 'canary' into feat/add-gitea-repo
2025-03-29 13:47:18 -06:00
vicke4
68d0a48843
fix(backups): auto deletion of backups
2025-03-21 01:36:11 +05:30
Jason Parks
9a11d0db97
feat(gitea): add Gitea repository support
2025-03-17 15:17:35 -06:00
Mauricio Siu
acc8ce80ad
fix(backups): prevent error propagation in backup cleanup
...
Remove unnecessary error throwing in backup cleanup to allow partial success and logging
2025-03-10 01:48:28 -06:00
Mauricio Siu
6467ce0a24
feat(backups): improve backup retention across different database types
...
- Add serverId parameter to keepLatestNBackups function
- Execute backup retention commands on the specific server for each database type
- Remove global backup retention call in favor of per-database type retention
2025-03-09 11:54:36 -06:00
Mauricio Siu
688601107c
Merge branch 'canary' into vicke4/canary
2025-03-09 02:48:19 -06:00
Mauricio Siu
673e0a6880
feat(monitoring): add date range filtering and log cleanup scheduling
...
- Implement date range filtering for access logs and request statistics
- Add log cleanup scheduling with configurable cron expression
- Update UI components to support date range selection
- Refactor log processing and parsing to handle date filtering
- Add new database migration for log cleanup cron configuration
- Remove deprecated log rotation management logic
2025-03-08 14:20:27 -06:00
vicke4
cf4d6539e4
feat(server): function to keep only the latest N backups
2025-03-05 17:52:38 +05:30
Mauricio Siu
0478419f7c
refactor: migrate authentication routes to user router and update related components
...
This commit continues the refactoring of authentication-related code by:
- Moving authentication routes from `auth.ts` to `user.ts`
- Updating import paths and function calls across components
- Removing commented-out authentication code
- Simplifying user-related queries and mutations
- Updating server-side authentication handling
2025-02-22 22:02:12 -06:00
Mauricio Siu
e1632cbdb3
refactor: update user and authentication schema with two-factor support
2025-02-16 15:32:57 -06:00
Mauricio Siu
84ad9a5bb3
refactor: revert notifications
2024-12-29 15:45:54 -06:00
Mauricio Siu
d65d050494
fix: add try catch inside of cron jobs
2024-12-29 15:35:15 -06:00
Mauricio Siu
ed543e5397
refactor: lint
2024-12-23 02:28:40 -06:00
Mauricio Siu
7a8bb8f71d
fix: add missing notifications in cron jobs
2024-12-21 02:45:58 -06:00
Mauricio Siu
47aa223f87
refactor: remove save on build on next app and integrate turbopack
2024-10-24 23:13:24 -06:00
Mauricio Siu
f3ce69b656
refactor: rename builders to server
2024-10-05 22:15:47 -06:00