Commit Graph

23 Commits (26d23db661e3d44a162a2145e3003a63ac0ba2f8)

Author SHA1 Message Date
oca-travis 26d23db661 [UPD] Update auto_backup.pot 2022-09-14 13:36:15 +07:00
Aitor Bouzas 0b9c22c80a [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
2022-09-14 13:36:15 +07:00
oca-travis d962c59c20 [UPD] Update auto_backup.pot 2022-09-14 13:36:15 +07:00
Jordi Riera 15c25a6ea0 auto_backup: allow to change the format of backup (#1333) 2022-09-14 13:36:15 +07:00
Pedro M. Baeza e09d655837 [FIX] auto_backup: Fix NL translation 2022-09-14 13:36:15 +07:00
Jos De Graeve 44d4b80923 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/
2022-09-14 13:36:15 +07:00
oca-travis 9f2fd4f4a1 [UPD] Update auto_backup.pot 2022-09-14 13:36:15 +07:00
Stéphane Bidoul (ACSONE) 83206cb248 [FIX] syntax error in nl.po 2022-09-14 13:36:15 +07:00
OCA Transbot dd4f23a3dd OCA Transbot updated translations from Transifex 2022-09-14 13:36:15 +07:00
Andrea a586ac441a [11.0][MIG] auto_backup 2022-09-14 13:36:15 +07:00
Andrea Stirpe 822c99e13d Fix icon Test SFTP Connection (#825) 2022-09-14 13:36:15 +07:00
Lorenzo Battistini 185c9726ad FIX sftp unlink path (#767) 2022-09-14 13:36:15 +07:00
Andrea Stirpe af1b5bc34d [10.0][auto_backup] Menu entry moved (#735)
* [10.0][auto_backup] Menu entry moved

* Update version in manifest
2022-09-14 13:36:15 +07:00
Yenthe V.G 7f8c2215b2 [auto_backup] FIX: failure type notification
Fixes https://github.com/OCA/server-tools/issues/710
2022-09-14 13:36:15 +07:00
Dave Lasley 2fa601160f [MIG] auto_backup: Migrate to v9
* Add self.ensure_ones
* Add test coverage
2022-09-14 13:36:15 +07:00
Stéphane Bidoul (ACSONE) 39e180191e [FIX] remove en.po that was erroneously created by transbot 2022-09-14 13:36:15 +07:00
OCA Transbot 4879a28691 OCA Transbot updated translations from Transifex 2022-09-14 13:36:15 +07:00
David Beal 5bec1123f6 [FIX] logger db_backup for pysftp (#419) 2022-09-14 13:36:15 +07:00
Javi Melendez 73353a8a48 [FIX] auto_backup: bad reference to field sftp_private_key (#423)
Bump module version to 8.0.1.0.1
2022-09-14 13:36:15 +07:00
archetipo 72c17603fe FIX License type 2022-09-14 13:36:15 +07:00
Jairo Llopis 49ff8db5d2 [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.
2022-09-14 13:36:15 +07:00
Alessio Gerace c8a5deba64 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.
2022-09-14 13:36:15 +07:00
Yenthe 0361e59061 Update english pot file
Added all the new fields and sentences. This will be the template for
translations.
2022-09-14 13:36:15 +07:00