Commit graph

201 commits

Author SHA1 Message Date
Alexandre Aubin
32d3a9940b Update changelog for 2.7.2 release 2017-08-22 21:26:15 -04:00
Alexandre Aubin
a06b69438d Merge branch 'testing' into unstable 2017-08-22 21:22:35 -04:00
Alexandre Aubin
d5b6072c84 [fix] Explicitly require moulinette and ssowat >= 2.7.1 2017-08-22 15:27:52 +02:00
root
c05b4e7f50 Update changelog for 2.7.1 release 2017-08-20 02:10:45 +00:00
Alexandre Aubin
0d6a0d6f7d Update changelog for 2.7.0 release 2017-08-07 13:28:33 -04:00
Laurent Peuch
a441f37454 Migration framework (#195)
* [enh] list migrations
* [enh] first version of the migrate command
* [mod] add todo comment
* [mod] migrate command shouldn't return anything
* [mod] rename yunohost_migrations to data_migrations
* [mod] better regex
* [enh] had base class for migration
* [fix] inverted condition
* [enh] save last runned migration
* [enh] add migrations state command
* [mod] add todo comments
* [mod] error handling
* [mod] DRY
* [doc] more comment
* [enh] handle exceptions on migration
* [mod] error handling
* [mod] DRY
* [enh] error handling
* [mod] this is done earlier
* [doc] docstring
* [enh] handle fail to load migration case
* [doc] add TODO Comment
* [fix] typos, thx ju
* [enh] add a migration to remove archivemount (as an example)
* [fix] check_call is boring
* [enh] support forward/backward migrations
* [mod] I don't need auth
* [fix] apt is expecting input...
* [mod] save it as int
* [mod] add some logging
* [doc] update todo
* [fix] I also need to run backward latest runed migration
* [enh] add target cli argument
* [enh] fake migration
* [enh] uniformly convert to int at the same place
* [fix] we need to filename now
* [enh] validate input
* [enh] handle 0 special case
* [mod] rename fake to skip
* [mod] s/runed/run/g
* [doc] anglich typo in comments
* [mod] more explicit error message
* [mod] more typo
* [doc] put comment in the right place
* [mod] typo
* [fix] forgot to cape migrations by target
* [fix] typo
* [mod] uses moulinette helpers
* [enh] launch migrations during package upgrade
* [mod] remove unused import
* [mod] sort translation keys
* [enh] i18n
* [fix] missing __init__.py in data_migrations
* [mod] move to a subcategory
* Typo / caps / consistency
* [fix] forgot that migrations is now in tools, in postinst
* Skip migrations during postinstall
* Remove archivemount example migration
It relied on apt-get, which can't be used during 'postinst' debian scripts because we're already inside a apt
* Add migration for cert group from 'metronome' to 'ssl-cert'
2017-08-07 15:55:18 +02:00
Alexandre Aubin
91bfd5e266 Update changelog for 2.6.5 release 2017-07-26 11:57:12 -04:00
ljf
9bbdaac58b Update changelog for 2.6.4 release 2017-06-21 17:34:41 -04:00
Alexandre Aubin
d9761aad7b [fix] Move archivemount to suggested dependency (#322) 2017-06-21 21:04:25 +02:00
Alexandre Aubin
a687b85025 Update changelog for 2.6.3 release 2017-06-02 09:58:18 -04:00
ljf (zamentur)
d3eeb4bbc7 [enh] Refactor backup management to pave the way to borg (#275)
* [enh] Use a csv to list file to backup
* [enh] Use csv python module
* [wip] Backup refactoring
* [wip] Backup class refactoring
* [enh] Add archivemount dependencies
* [wip] Restore refactoring
* [fix] Some error in this refactoring
* [fix] Missing backup key translation
* [fix] Bad YNH_CWD in hook backup
* [fix] App backup part was broken
* [fix] Restore operation was broken
* [fix] No compressed backup
* [fix] Don't commit backup path into csv if app backup fail
* [fix] Default backup collect_dir should be in tmp subdir
* [enh] Simplify a copy code
* [enh] Build backup info from properties
* [enh] Improve comments presentation
* Adding first tests for backup/restore
* Adding more backup/restore app test scenario
* [enh] Separate BackupMethods in distinct class
* Adding test of restoring a wordpress archive from 2.4
* [fix] Be able to delete backup link too
* [fix] Bad internationalization key
* [fix] Edge case with empty mysql pwd restore
* [fix] Unset var in restore
* [fix] Edge case with empty mysql pwd restore
* Adding test for backup crash handling
* Cleaning tests + checking tmp dir is empty
* [fix] Missing tmp in backup path
* [fix] Error on reading backup csv
* Adding test of failed restore
* Adding tests when not enough space available
* Simplifying tests using markers
* [fix] ynh backup/restore helpers with only one arg
* [fix] Unmount subdir with python
* [enh] Improve backup size management
* [fix] None object in backup
* [enh] Remove dead code
* [fix] Missing locales
* [enh] Adapat test about needed space
* [fix] Pass some test
* [enh] Remove dead code
* [enh] Pass all test
* [enh] Adding test that backups contains what's expected
* Fix typo in tests
* [fix] Bad documentation
* [enh] Add comment
* [enh] Use len in place of implicit {} == False
* [enh] Add comment
* [enh] Add comment
* [enh] Refactoring on _collect_app_files
* Adding skeleton for remaining tests to write
* [enh] Use a csv to list file to backup
* [enh] Use csv python module
* [wip] Backup refactoring
* [wip] Backup class refactoring
* [enh] Add archivemount dependencies
* [wip] Restore refactoring
* [fix] Some error in this refactoring
* [fix] Missing backup key translation
* [fix] Bad YNH_CWD in hook backup
* [fix] App backup part was broken
* [fix] Restore operation was broken
* [fix] No compressed backup
* [fix] Don't commit backup path into csv if app backup fail
* [fix] Default backup collect_dir should be in tmp subdir
* [enh] Simplify a copy code
* [enh] Build backup info from properties
* [enh] Improve comments presentation
* Adding first tests for backup/restore
* Adding more backup/restore app test scenario
* [enh] Separate BackupMethods in distinct class
* Adding test of restoring a wordpress archive from 2.4
* [fix] Be able to delete backup link too
* [fix] Bad internationalization key
* [fix] Edge case with empty mysql pwd restore
* [fix] Unset var in restore
* [fix] Edge case with empty mysql pwd restore
* Adding test for backup crash handling
* Cleaning tests + checking tmp dir is empty
* [fix] Missing tmp in backup path
* [fix] Error on reading backup csv
* Adding test of failed restore
* Adding tests when not enough space available
* Simplifying tests using markers
* [fix] ynh backup/restore helpers with only one arg
* [fix] Unmount subdir with python
* [enh] Improve backup size management
* [fix] None object in backup
* [enh] Remove dead code
* [fix] Missing locales
* [enh] Adapat test about needed space
* [fix] Pass some test
* [enh] Remove dead code
* [enh] Pass all test
* [enh] Adding test that backups contains what's expected
* Fix typo in tests
* [fix] Bad documentation
* Adding skeleton for remaining tests to write
* [enh] Add comment
* [enh] Use len in place of implicit {} == False
* [enh] Add comment
* [enh] Add comment
* [enh] Refactoring on _collect_app_files
* [fix] Replay e1a507 deleted by rebase
* [fix] ynh_restore helper
* Renaming 'hooks' terminology to 'system' where it makes sense
* Propagating new --system/--ignore-system to actionmap
* Adding more tests + clarifying some functions and messages
* Factorize out the definition and validation of backup/restore targets
* Add missing key
* Use list comprehension instead of dirty loops
* [enh] Add docstring in BackupManager
* [enh] Add docstring on BackupMethod(s)
* [fix] Remove deadcode
* [fix] Remove debug message
* [enh] Add comments on RestoreManager
* [enh] Add comments on backup constants
* Adding a proper report/result for each backup target
* Skipping tests not implemented yet
* Fixing little mistake from merging
* [fix] Support different fs or archivemount error
* [enh] Backup helpers readability
* [fix] Copy backup method
* [fix] Deprecated warning always displayed
* [enh] Retrieve info.json file inside tar.gz
* Trying to reorganize methods with sections for readability
* [enh] Support archivemount failure
* [fix] Missing env var for system part restore helpers
* Clarifying disk usage / free space computation
* [enh] Refactoring around backup set_targets()
* Clarifying structure of backup_create and backup_restore
* Move RestoreManager between BackupManager and BackupMethods
* [fix] Missing locales
* [fix] System part restore if archivemount failure
* [enh] Extract all conf instead of specific code
* [fix] Other output directory (compressed archive)
* [enh] Add test for uncompressed backup
* [fix] Compressed backup in an existing output directory
* [fix] Return size for retro-compatibility
* [fix] Mountpoint check aborting script when called with -eu
* [fix] Avoid failure test with set -eu
* [fix] locale strings missing/bad arguments
* Check free space before mount
* [fix] ynh_restore_helpers with existing archive path
* Adding skeletons for moar tests
* Fixing some weird bug in _get_archive_path
* Adding a regen-conf at the end of system restore
* Adding tests of system restore from 2.4
* Have a class dedicated to target management
* Cleaning tests
* Misc formatting
* More meaningful variable names inside app restore
* [fix] can't call source ../settings/scripts/_common.sh in app backup
* [fix] ynh_install_app_dependencies is not compatible with readonly mount
* [fix] Remove temporary file
2017-06-02 13:41:16 +02:00
Alexandre Aubin
dc720cc2ce Update changelog for 2.6.2 release 2017-04-24 09:21:44 -04:00
Alexandre Aubin
7718ed6000 [fix] Properly manage resolv.conf, dns resolvers and dnsmasq (#290)
* Adding resolvconf as dependency
* Adding new templates for dnsmasq
* Adding libnss-myhostname as dependency
* tableflip.gif
* Moar tableflip.gif :/
* Tweaking dns resolvers used by dnsmasq
* Adding Aquilenet + moving FDN back to top
* Clarifying how the resolv.dnsmasq.conf template is used
* Moving nsswitch force regen back to postinstall
2017-04-18 00:37:21 +02:00
opi
4a729ba035 [enh] Add libnss-mdns as Debian dependency. (#279) 2017-03-28 01:36:27 +02:00
Moul
856699445e Update changelog for 2.6.1 release 2017-03-23 10:01:46 +00:00
opi
e0ee4542df Update changelog for 2.6.0 release 2017-02-20 16:34:03 +01:00
opi
088abd694e Merge branch 'testing' into unstable 2017-02-18 15:53:39 +01:00
opi
82060f2082 Update changelog for 2.5.6 release 2017-02-18 15:51:18 +01:00
Laurent Peuch
d4feb879d4 [enh] include script to reset ldap password (#217) 2017-02-13 16:10:37 +01:00
opi
1af7b9cf32 Update changelog for 2.5.5 release 2017-02-09 22:27:26 +01:00
opi
4daaba82d6 Update changelog for 2.5.4 release 2017-02-02 11:26:09 +01:00
ljf
3be7aff065 Revert "[enh] Compatibility with debian stretch"
This reverts commit 73d1630459.
2017-01-23 11:46:21 +01:00
ljf
73d1630459 [enh] Compatibility with debian stretch 2017-01-13 02:09:14 +01:00
Laurent Peuch
c1b5fbab61 Update changelog for 2.5.3.1 release 2017-01-10 02:59:24 +01:00
Laurent Peuch
7f5604653b Update changelog for 2.5.3 release 2017-01-09 18:43:40 +01:00
Laurent Peuch
0a7479cc37 Update changelog for 2.5.2 release 2016-12-16 00:59:10 +01:00
Laurent Peuch
d84d667b3e Merge branch 'unstable' into testing 2016-12-16 00:39:12 +01:00
M5oul
d315348d83 Merge pull request #209 from YunoHost/fix_662_missing_openssl_dependency
[fix] Missing 'python-openssl' dependency for Let's Encrypt integration.
2016-12-11 23:08:19 +01:00
Laurent Peuch
fc108bbc7c Merge pull request #202 from YunoHost/enh-haveged-dependency
[enh] Add haveged as Debian dependency
2016-12-11 23:06:04 +01:00
Moul
4897c39edf [fix] [#662](https://dev.yunohost.org/issues/662): missing
'python-openssl' dependency for Let's Encrypt integration.
2016-12-11 18:14:42 +01:00
Laurent Peuch
3464415a77 Update changelog for 2.5.1 release 2016-12-11 15:34:33 +01:00
opi
87bdc5a5ce [fix] Add missing dependency to nscd package #656
See https://dev.yunohost.org/issues/656

nscd is called during user_create and user_delete, but this package is only in Recommends for libnss-ldapd.
2016-12-05 10:45:55 +01:00
opi
397aeb2498 [enh] Add haveged as dependency
Increase entropy on virtual servers. Speed up key generation by openssl and dnssec
See https://github.com/YunoHost/yunohost/pull/201 & https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/963368
2016-12-05 10:42:38 +01:00
opi
777c4833fd Update changelog for 2.5.0 release 2016-12-01 21:33:50 +01:00
Laurent Peuch
2c0c53d06f [fix] need to be stable 2016-08-14 19:03:58 +02:00
Laurent Peuch
5a1ea37ca5 Update changelog for 2.4.2 release 2016-08-14 18:55:57 +02:00
Jérôme Lebleu
431e6ffb78 Update changelog for 2.4.1 release 2016-07-14 12:07:48 +02:00
Jérôme Lebleu
af2847f99c Update changelog for 2.4.0.7 release 2016-06-12 15:59:10 +02:00
Jérôme Lebleu
853f5d65d9 Update changelog for 2.4.0.6 release 2016-05-30 12:16:21 +02:00
Jérôme Lebleu
6a96e072d3 Update changelog for 2.4.0.5 release 2016-05-28 22:02:40 +02:00
Jérôme Lebleu
6bf4307b44 Update changelog for 2.4.0.4 release 2016-05-22 16:48:45 +02:00
Jérôme Lebleu
e7786064fa Update changelog for 2.4.0.3 release 2016-05-21 18:01:22 +02:00
Jérôme Lebleu
c81f098cb2 Update changelog for 2.4.0.2 release 2016-05-18 11:13:35 +02:00
Jérôme Lebleu
254e592f5e Update changelog for 2.4.0.1 release 2016-05-14 14:31:32 +02:00
Jérôme Lebleu
ec887626b5 Update changelog for 2.4.0 release 2016-05-08 00:49:29 +02:00
Jérôme Lebleu
865e3ec8cb Update changelog for 2.3.15 release 2016-05-06 20:33:01 +02:00
Jérôme Lebleu
2ebd926785 Update changelog for 2.3.14 release 2016-04-30 21:00:56 +02:00
Jérôme Lebleu
7223a627af [fix] Remove old PAM config file at package postinstall 2016-04-27 21:12:09 +02:00
Jérôme Lebleu
052b76de9b Update changelog for 2.3.13 release 2016-04-26 16:39:22 +02:00
Jérôme Lebleu
4912a2afae [fix] Init LDAP with package installation to fix ynh post-install 2016-04-21 22:59:36 +02:00