Commit Graph

12 Commits (6b8db007ddfa825d473c69d333860659077a53dc)

Author SHA1 Message Date
Aitor Bouzas 6b8db007dd [MIG] auto_backup: Migration to 12.0
Added test coverage
Added requirements.txt for pysftp
Added in the roadmap the exact version of pysftp for this to work (0.2.8)
Added in the roadmap the problem with list_db=False
Adapted calls to message_post
2025-03-25 12:54:43 +00:00
Jordi Riera 0471c294cf auto_backup: allow to change the format of backup (#1333) 2025-03-25 12:54:43 +00:00
Pedro M. Baeza b00c9d1bc1 [FIX] auto_backup: Fix NL translation 2025-03-25 12:54:43 +00:00
Jos De Graeve a1e8041b9d Translated using Weblate (Dutch)
Currently translated at 58.2% (32 of 55 strings)

Translation: server-tools-11.0/server-tools-11.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-auto_backup/nl/
2025-03-25 12:54:43 +00:00
Stéphane Bidoul (ACSONE) ab2518759d [FIX] syntax error in nl.po 2025-03-25 12:54:43 +00:00
Andrea 5a5eb0adbf [11.0][MIG] auto_backup 2025-03-25 12:54:43 +00:00
Andrea Stirpe ab6bba1b90 Fix icon Test SFTP Connection (#825) 2025-03-25 12:54:43 +00:00
Stéphane Bidoul (ACSONE) c9cbe17f8c [FIX] remove en.po that was erroneously created by transbot 2025-03-25 12:54:43 +00:00
David Beal f46750212b [FIX] logger db_backup for pysftp (#419) 2025-03-25 12:54:43 +00:00
Jairo Llopis 882a072b15 [auto_backup] Refactor.
- Follow template README.
- Remove HTML README.
- Move models to models folder.
- Model and view file names follow guidelines.
- Unused methods cleanup.
- Remove unneeded `.pot` file.
- Fix permissons.
- Follow PEP8 in names everywhere.
- Set more descriptive field names.
- Disable backups for other databases, for security.
- Remove db name from generated file, for easier cleanup.
- EAFP logic everywhere.
- More descriptive name.
- Data files moved to YAML, with cleaner ir.cron record creation.
- Add permissions for db.backup model.
- Icons.
- Update tests with new format.
- Storage method is a selectable, for easier extensibility.
- Instead of custom mailing, it just has a mail thread where you can subscribe.
- Should fix almost all comments in https://github.com/OCA/server-tools/pull/203.
- Reduce headers.

This respects the upstream license choice (GPL/AGPL) but reduces
verbosity.

It would be ideal to have everything under AGPL though.
2025-03-25 12:54:43 +00:00
Alessio Gerace 769f3ef945 Open FTP session on the last moment possible
Used to open  fp = open(file_path,'wb') a few lines before it was needed. This shouldn't be too much of a problem but opening and closing it right after eachother keeps the session open for less time and there are less chances on failure.
2025-03-25 12:54:43 +00:00
Yenthe 5b6526b5e8 Update english pot file
Added all the new fields and sentences. This will be the template for
translations.
2025-03-25 12:54:43 +00:00