Commit graph

328 commits

Author SHA1 Message Date
Alexandre Aubin
3949333599 We need to explicitly ask for the ssh conf to be generated 2018-12-03 19:03:58 +00:00
Alexandre Aubin
e871ff3b20 Semantics 2018-12-03 17:06:05 +00:00
Alexandre Aubin
5461025479 tools_adminpw was still checking the password strength despite --force-password 2018-11-28 16:16:24 +01:00
Alexandre Aubin
e596758184 Add a comment about /etc/ssh/sshd_config.to_restor 2018-11-28 00:03:58 +01:00
ljf
8598d81bb1 [wip] Standardize ssh config 2018-11-27 23:58:29 +01:00
Alexandre Aubin
b5afd0abc4 We do need to use the serial file and to generate it ourselves 2018-11-18 17:56:19 +01:00
Alexandre Aubin
361f4e7a60 Unused imports 2018-11-04 16:47:20 +01:00
Alexandre Aubin
fb2d85b90d
Merge branch 'stretch-unstable' into migrate-pwd 2018-11-04 16:02:59 +01:00
Alexandre Aubin
fe452a6de6
Merge pull request #196 from YunoHost/cracklib
[enh] Automatically check for weak password
2018-11-04 15:59:21 +01:00
Alexandre Aubin
d6053f5eed This ain't used anywhere ? 2018-10-31 18:01:00 +00:00
Alexandre Aubin
354cd8106e Misc cleaning 2018-10-25 19:36:27 +00:00
Alexandre Aubin
914088954d Propagate interface changes everywhere the assertion is used 2018-10-25 19:21:15 +00:00
Alexandre Aubin
848a6b6088 Gotta remove that '{CRYPT}' thing here too 2018-10-25 15:18:44 +00:00
ljf (zamentur)
1c5b93f532 [fix] Set random serial number for CA (#557)
[fix] Use random serial number for CA
2018-10-24 21:15:25 +02:00
ljf
2d5077e2ea [enh] Synchronize root and admin password 2018-08-30 01:34:12 +02:00
ljf
783c512628 [enh] PasswordValidator without Moulinette 2018-08-28 08:56:12 +02:00
ljf
67e82111c1 [enh] Validate pwd with Online Pwned List 2018-08-28 03:09:43 +02:00
ljf
06276a621b [enh] Check password in cli/api 2018-08-27 03:40:50 +02:00
ljf
dc19646504 [fix] Remove old migration call 2018-08-23 19:16:27 +02:00
ljf
775a16d883 [enh] Rename uo in operation_logger 2018-08-23 18:59:44 +02:00
ljf (zamentur)
39639044ca
Merge branch 'stretch-unstable' into journals 2018-08-10 16:08:07 +02:00
Alexandre Aubin
77b7f96b33 Remove 'auto' option, essentially irrelevant if we want to properly manage errors 2018-08-09 00:24:31 +00:00
Alexandre Aubin
5e99db7c63 Explicitely tell when to start the uo logging to avoid displaying the message about logs when not needed 2018-08-08 17:05:52 +00:00
Bram
cd88f98bf9
Merge pull request #508 from Josue-T/patch-9
Fix container detection
2018-07-23 06:58:28 +02:00
Laurent Peuch
886afd4d69 [enh] after postinstall tell admin to had its first user 2018-07-22 13:38:44 +02:00
Josue-T
314fe83002
Fix container detection
Since LXC 3.0 it's not possible to detect if we are in a container by the init process ID
2018-07-19 21:17:54 +02:00
Alexandre Aubin
36c8d1a787 e.strerror don't always exists, use str(e) instead 2018-07-02 14:32:41 +02:00
ljf
a5ebc76eda Merge from stretch-unstable 2018-06-21 22:41:20 +02:00
ljf
65d8d88a09 [fix] Some unit operation setup 2018-06-05 16:32:12 +02:00
ljf
a20281ebfc [enh] Operational unit for backup regenconf, migrations and others 2018-06-04 18:57:00 +02:00
Alexandre Aubin
91483f3896 Reflag some messages as info or debug 2018-06-01 21:52:19 +00:00
Alexandre Aubin
dd8af083b3 Merge branch 'unstable' into stretch-unstable 2018-05-20 21:43:05 +02:00
Laurent Peuch
7ea53f2ff7 [fix] metldown script can now returns 2/3 return code 2018-05-11 01:25:41 +02:00
Alexandre Aubin
e0ac622ffc Skip all migrations during postinstall 2018-05-02 18:07:30 +02:00
Alexandre Aubin
30ad9a9547 Nscd version fixed at deb repo level, so this isn't needed anymore 2018-05-02 18:07:30 +02:00
Alexandre Aubin
c763aae453 Removing 'hostname -d' output from stdout during postinstall 2018-05-02 18:04:15 +02:00
Alexandre Aubin
0373da4a46 Hiding useless message (?) 2018-05-02 18:04:15 +02:00
Alexandre Aubin
59c8c0d100 We also need to regen nsswitch before ldapinit otherwise sudo doesnt work 2018-05-02 18:04:15 +02:00
Alexandre Aubin
03dac66bcb Regenerate nslcd config before creating admin in ldap 2018-05-02 18:04:15 +02:00
Alexandre Aubin
ddebd9f091 We also need to regen nsswitch before ldapinit otherwise sudo doesnt work 2018-05-02 18:04:15 +02:00
Alexandre Aubin
6fc3f08cda Regenerate nslcd config before creating admin in ldap 2018-05-02 18:04:15 +02:00
Alexandre Aubin
5013965c0e
[enh] [wip] Stretch migration (#433)
* Add migration skeleton
* Clumsy attempt to adapt the upgrade script to python
* At the end of the migration, force the regen conf of specific services
* Implement the apt clean/autoremove at the end of migration
* Attempt to fix the upgrade of yunohost packages
* Dumb mistake :|
* Adding strings
* Add test of free space for /var/
* Fix sources.list patching
* Stupid mistake :|
* Check system is up to date
* Working on disclaimer draft
* Add a function to list installed 'unstable' apps
* Get actual list of problemtic apps + improve disclaimer message building
* Use helper to run the apt update
* More simplifications of disclaimer building
* Add helper function to get manually modified files
* Fetch actuall list of manually modified files to build disclaimer
* Internationalize disclaimer
* Don't skip stretch migration when running postinstall on jessie
* Add a done message at the very end of the migration
* Also patch jessie/updates and backports in sources.list
* Backup and restore conf files modified during the upgrade to not mess regen-conf
* Also check for yunohost being in 2.x at the beginning of upgrade
* Fix the check for upgradable packages..
* Try to be more robust if folder already exists (when running multiple times)
* I probably meant fail2ban here o.O
* Try to improve robustness when running multiple time
* Add a check after the main upgrade that we're effectively on stretch
* Hold apps equivs packages during the upgrade
* Show dist-upgrade logs in the yunohost admin, using call_async_output
* Misc fixes because I broke things /o\
* Touch /etc/yunohost/installed at the end, because for some weird reason it get deleted sometimes :|
* Removing this unecessary message, especially because it 'hide' the previous one when running from the webadmin
* Install php-zip for nextcloud and kanboard
* Don't crash if there's no [app]-ynh-deps
* Revert previous commit that added this, should be fixed in the stretch branch now
* [fix] Unhold metronome for migration (#452)
* Let's use forge.yunohost.org as repo now
2018-05-02 02:10:46 +02:00
Alexandre Aubin
01956d22bd
Merge pull request #429 from YunoHost/manual-migrations
[enh] Manual migrations
2018-05-02 02:00:32 +02:00
pitchum
b9330d7501 [enh] Lazy-load some module for perf improvements (#451)
* Lazy load some python imports (perfs improved a lot).

These commands became way faster:
- yunohost app setting ...
- yunohost app list
- yunohost domain list
- yunohost domain dns-conf
- yunohost dyndns installcron/removecron
- ... and maybe others

* [fix] Timeout wat not defined anymore
2018-04-26 16:56:48 +02:00
ljf
650b768229 [enh] Replace category by related_to fields 2018-04-14 04:04:09 +02:00
ljf
79ee0396d0 [enh] Add related info 2018-04-12 21:22:17 +02:00
Alexandre Aubin
79eb70ec61 Use number/name in i18n string to avoid breaking existing translations... 2018-03-16 14:38:04 +01:00
Alexandre Aubin
44a66b1ff4 Fix migration skipping during postinstall 2018-03-16 14:38:04 +01:00
Alexandre Aubin
9009b3f9d3 Handle disclaimers 2018-03-16 14:38:04 +01:00
Alexandre Aubin
c8b1d7e2c3 Forgot to adapt this also.. 2018-03-16 14:38:04 +01:00