Laurent Peuch
40a5bcc96b
[mod] pep8 on backup.py
2017-08-20 22:51:26 +02:00
Laurent Peuch
83971afb9c
[mod] pep8 on hooks.py
2017-08-20 21:19:04 +02:00
Laurent Peuch
40ea2f9477
[mod] pep8 on tools.py
2017-08-20 21:18:25 +02:00
Laurent Peuch
66524213cd
Merge pull request #348 from YunoHost/clean_domains.py
...
Clean domains.py
2017-08-19 20:23:31 +02:00
Alexandre Aubin
360ac66bc7
Use app_ssowatconf instead of os.system call
2017-08-19 11:11:49 -04:00
Laurent Peuch
b77d58a671
Merge pull request #347 from YunoHost/enh-simpler-lock-system
...
[enh] Simpler lock system
2017-08-18 04:13:15 +02:00
Laurent Peuch
4f1cf058c2
Merge pull request #351 from YunoHost/dev_shell
...
Integrate a command to launch a dev shell from within moulinette context
2017-08-18 04:12:25 +02:00
Laurent Peuch
20c3c8386d
Merge pull request #349 from YunoHost/fix-925-local-domain-resolution
...
[fix] Local domain resolution in cert-install/renew
2017-08-18 03:44:46 +02:00
Laurent Peuch
8567164d58
Merge pull request #346 from YunoHost/fix-559-dns-conf-is-not-actual-conf
...
[fix] Tell user that domain dns-conf shows a recommendation only
2017-08-18 03:24:48 +02:00
Laurent Peuch
c864565683
Merge pull request #350 from YunoHost/clean_user.py
...
[fix] Use SHA-512 for passwords in LDAP
2017-08-18 02:20:09 +02:00
Alexandre Aubin
d010a288b2
[enh] Add a complete docstring with explanations and reference
2017-08-15 21:06:00 +02:00
Laurent Peuch
1cd121e801
[doc] add comment explaining choices in _hash_user_password
2017-08-15 20:54:58 +02:00
Laurent Peuch
4e1a839557
[enh] can do a 'yunohost tools shell -c command' à la python -c
2017-08-15 17:24:26 +02:00
Laurent Peuch
52c7a37a78
[enh] add 'yunohost tools shell'
2017-08-15 17:18:50 +02:00
Laurent Peuch
970d9b0207
[fix] uses strong hash for admin password
2017-08-15 12:52:44 +02:00
Laurent Peuch
c5a44b8638
[fix] also uses sha512 in user_update()
2017-08-15 00:34:33 +02:00
Laurent Peuch
147b305e8a
[mod] extract password generation code to a function
2017-08-15 00:34:07 +02:00
Laurent Peuch
685f3746ef
[fix] forgot to remove args from actionsmap
2017-08-14 23:07:47 +02:00
Laurent Peuch
6c9156c3ae
[enh] according to https://www.safaribooksonline.com/library/view/practical-unix-and/0596003234/ch04s03.html we can go up to 16 salt caracters
2017-08-14 16:49:50 +02:00
Laurent Peuch
4419ec10ce
[fix] move to sh512 because it's fucking year 2017
2017-08-14 16:09:46 +02:00
Laurent Peuch
49d5c70fd6
[mod] add more salt because life is miserable
2017-08-14 15:44:06 +02:00
Laurent Peuch
9d0e615bb4
[enh] use the full length of available chars for salt generation
2017-08-14 15:24:45 +02:00
Laurent Peuch
8c6db3845d
[fix] use real random for hash selection
2017-08-14 15:23:51 +02:00
Laurent Peuch
c14acc0fae
[mod] don't use exception when not needed
2017-08-14 10:38:32 +02:00
Laurent Peuch
d14bc31771
[mod] directly call python instead of using os.system
2017-08-14 10:37:05 +02:00
Laurent Peuch
32002d56a0
[mod] inline for code lisibility
2017-08-14 00:54:33 +02:00
Laurent Peuch
062ceff612
[mod] style
2017-08-14 00:53:46 +02:00
Laurent Peuch
d441290b2f
[mod] lisibility
2017-08-14 00:53:13 +02:00
Laurent Peuch
ad285937f3
[mod] to the real test
2017-08-14 00:50:35 +02:00
Laurent Peuch
c8ce4f843a
[mod] style
2017-08-14 00:48:37 +02:00
Laurent Peuch
d0666d86d6
[mod] we don't use those filter/offset/limit stuff
2017-08-14 00:47:16 +02:00
Laurent Peuch
968259239d
[mod] call directly python code instead of using os.system
2017-08-13 23:40:44 +02:00
Laurent Peuch
1fe568a60d
[mod] style, declare everything as once to make code more readable
2017-08-13 23:38:11 +02:00
Laurent Peuch
555caa9c73
[mod] only check once if the domain exist
2017-08-13 23:37:12 +02:00
Laurent Peuch
a8e57d9c6a
[mod] don't request the server if a dyndns domain is already subscribed
2017-08-13 23:34:35 +02:00
Laurent Peuch
3f65543dc2
[mod] we need timeout everywhere to avoid blocking code
2017-08-13 23:33:41 +02:00
Laurent Peuch
4c069c5c3f
[mod] fails when registering dynette domain and that dynette can't be reached
2017-08-13 23:32:50 +02:00
Laurent Peuch
286449386c
[mod] clean code, this is what we indeed want to check
2017-08-13 23:25:11 +02:00
Laurent Peuch
56513bbdb1
[mod] we never used those filtering/offset things
2017-08-13 23:18:18 +02:00
Alexandre Aubin
951589ad07
Regen dnsmasq conf if it's not up to date :|
2017-08-13 17:16:07 -04:00
Laurent Peuch
f41c2dd763
[mod] remove unused import
2017-08-13 23:14:40 +02:00
Laurent Peuch
ee7fd825d4
[mod] remove unused variables
2017-08-13 23:14:17 +02:00
Alexandre Aubin
a050b40559
Removed unusted socket import
2017-08-13 17:07:20 -04:00
Alexandre Aubin
0a8362c764
Remove old 'lock' configuration
2017-08-13 17:01:06 -04:00
ljf (zamentur)
bb4af396d8
[fix] Make read-only mount bind actually read-only ( #343 )
...
* [fix] Mount bind readonly not really readonly
* Attempt to clarify and fix some issues with the readonly mount
* Fix some missing messages and exception handling
* Get rid of horrible bash command
* Use subproces.check_call to avoid security hazard
* Revert comment about hard link
* Add test that mount binds are readonly
2017-08-13 22:28:36 +02:00
ljf (zamentur)
3ede5fc39d
[fix] Backup without info.json ( #342 )
...
* [fix] Backup without info.json
* Add test of archive restore with no info.json
* Fix exception handling in backup_delete when info.json is missng
2017-08-13 22:26:28 +02:00
Alexandre Aubin
1f7d56940e
[fix] Tell user that domain dns-conf shows a recommendation only
2017-08-13 14:00:15 -04:00
Alexandre Aubin
b892284266
[fix] Remove check that domain is resolved locally
2017-08-13 12:59:39 -04:00
Laurent Peuch
02ea0c0656
[enh] Add reboot/shutdown actions in tools ( #190 )
...
* [enh] Implements shutdown/reboot helpers.
* [enh] Improve reboot/shutdown help.
2017-08-11 16:16:09 +02:00
Laurent Peuch
cd9444f647
Merge pull request #341 from YunoHost/timeout_dyndns
...
[fix] timeout on request to avoid blocking process
2017-08-11 08:49:51 +02:00