Commit graph

4018 commits

Author SHA1 Message Date
Alexandre Aubin
25f2bdf83a Refactor local CA management for more consistency and simpler postinstall 2021-01-22 23:58:12 +01:00
Alexandre Aubin
9c11fd58e2 service_regen_conf is deprecated in factor of regen_conf 2021-01-22 03:37:29 +01:00
Alexandre Aubin
c659216e23 Make sure tmp_script exists .. 2021-01-22 03:32:27 +01:00
Alexandre Aubin
1fdccb7c7a Forgot to rename function #oopsies 2021-01-21 23:30:15 +01:00
Alexandre Aubin
9971c1751b Abort postinstall if /etc/yunohost/apps ain't empty 2021-01-21 22:49:40 +01:00
Alexandre Aubin
c7b55cdfad migrations migrate -> migrations run 2021-01-21 22:30:31 +01:00
Alexandre Aubin
e22168a98d log display -> log show (+ fix API route) 2021-01-21 21:35:37 +01:00
Alexandre Aubin
15e47b2a2b yunohost log share 2021-01-21 21:34:12 +01:00
Alexandre Aubin
b53859db50 [fix] python3: fix yunopaste encoding 2021-01-21 21:23:57 +01:00
Alexandre Aubin
fd61900352 Also complain about low rootfs total disk space during postinstall 2021-01-21 20:53:07 +01:00
Kayou
02ed684f9a
shell=True, because Aleks says so 2021-01-21 12:00:27 +01:00
Alexandre Aubin
041e175319 Merge branch '4.1.6-hotfixes' into dev 2021-01-20 02:13:46 +01:00
Alexandre Aubin
35a0711713
Stupid yolopatch for not-normalized app path settings >_> (#1141)
* Update app.py
* Be more careful (c.f. _normalize_domain_path code ... maybe the path doesn't start with / either ..)
* Annnnnd ignore case where path is '/' which is fine
2021-01-20 01:28:55 +01:00
Alexandre Aubin
b7293f33b9
Merge pull request #1140 from YunoHost/dyndns-update-more-resilient
Make dyndns update more resilient to ns0.yunohost.org being down
2021-01-20 01:22:30 +01:00
Alexandre Aubin
09acc2a466
Merge branch 'dev' into less-madness-for-hook-exec 2021-01-19 23:25:43 +01:00
Alexandre Aubin
b98dd8585b
Merge pull request #1116 from YunoHost/enh-python3
Python2 -> Python3
2021-01-19 23:06:57 +01:00
Alexandre Aubin
8b05248ad4
Turns out we need to feed the IP of the resolver and can't use the doman name :/ 2021-01-19 02:34:28 +01:00
Alexandre Aubin
e730085970 Linter is angry about unused import 2021-01-18 20:53:38 +01:00
Alexandre Aubin
d5403e5f5f Typo 2021-01-18 20:25:36 +01:00
Alexandre Aubin
7dad37ed04 Make dyndns update more resilient to ns0.yunohost.org being down 2021-01-18 19:57:31 +01:00
Alexandre Aubin
739d831cf9
Merge pull request #1135 from YunoHost/fix-default-in-arg-parse
fix default arg parse for password
2021-01-14 19:46:54 +01:00
Kay0u
e11741ca94
fix default arg parse for password 2021-01-12 10:53:12 +01:00
Kay0u
5999f13142
fix boolean arg parse 2021-01-12 10:21:20 +01:00
Alexandre Aubin
1d2b1d9601
[internally screaming] Follow-up of 116a15f9f1 ... breaking cert regen conf on some setup ... 2021-01-11 23:26:29 +01:00
Alexandre Aubin
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Saxodwarf
bca527aca5 Add the -F flag to prevent grep from using the user password as a regex pattern 2021-01-10 12:09:04 +01:00
Alexandre Aubin
b5bbb44a95 Make sure to use a keyword argument since we have a new arg 2021-01-10 01:51:39 +01:00
Laurent Peuch
fffbd2d10f [fix] only ask about remove apps from a domain being remove in cli 2021-01-10 01:17:34 +01:00
Laurent Peuch
74d956f92b [enh] add --force to 'yunohost domain remove --remove-apps' 2021-01-10 01:17:05 +01:00
Alexandre Aubin
00508c9698 For some reason sometimes submetadata is None ... 2021-01-09 18:10:41 +01:00
Alexandre Aubin
1bad8267c6
Merge pull request #1109 from leo-lb/lle-bout/fix-upnp
firewall: force source port for UPnP.
2021-01-08 02:40:34 +01:00
Kay0u
239dc539a1
use read_yaml for json because lol 2021-01-06 16:34:55 +01:00
cricriiiiii
4c25f442c1 checking that we are in the cli interface 2021-01-06 01:17:47 +01:00
cricriiiiii
c2a730f26c user update -p without argument allowed
when not giving an argument (to avoid clear passwords in bash history) to "yunohost user update -p", now you are prompted for a password
2021-01-06 01:17:47 +01:00
Alexandre Aubin
25ed25e6e9 Annnnd our legacy app is using restore_dir in restore script... 2021-01-04 03:50:25 +01:00
Alexandre Aubin
b0accd506e Report / patch old usage of foo= in install/backup/restore scripts 2021-01-04 01:06:19 +01:00
Alexandre Aubin
9807b76d34 Turns out msettings interface is None is ran from pytest because we bypass the usual moulinette init :/ 2021-01-03 23:53:00 +01:00
Alexandre Aubin
9bf4a12f32 Zblerg debug ain't displayed on the CI 2021-01-03 23:26:46 +01:00
Alexandre Aubin
46a902a263 Merge branch 'dev' into less-madness-for-hook-exec 2021-01-03 23:05:44 +01:00
Alexandre Aubin
fee888d330 Small debug line to try to understand why the test are failing on the CI 2021-01-03 23:03:38 +01:00
Alexandre Aubin
c272d20a31 Zblerg, forgot an unused 'e' 2021-01-03 04:00:51 +01:00
Alexandre Aubin
de126fcdce Don't allow failure for invalid python3 code + fix unsued variables 2021-01-02 20:43:39 +01:00
Alexandre Aubin
58522d4105 Had a buggy exception here ... this syntax ain't supported anymore in python3 2021-01-02 20:31:42 +01:00
Alexandre Aubin
112054f345 Gotta decode the output of subprocess 2021-01-02 19:51:16 +01:00
Alexandre Aubin
2b12b67847 python3: Add some list() where that sounds relevant 2021-01-02 19:48:44 +01:00
Alexandre Aubin
4ddf632e75 We don't need that print ? 2021-01-02 19:10:00 +01:00
Alexandre Aubin
bbfd5eb9d0 python3: Gotta add list() when we manipulate the dict during the loop 2021-01-02 18:39:36 +01:00
Alexandre Aubin
4491568e6d
Merge pull request #1066 from YunoHost/no-upgrade-advertise-for-bad-quality-apps
Do not advertise upgrades for bad-quality apps
2021-01-02 00:40:16 +01:00
Laurent Peuch
865265ea54 [enh] add new option --remove-apps to 'yunohost domain remove' 2021-01-01 21:28:12 +01:00
Laurent Peuch
e51a1b670e [ux] add command instructions and suggest change-url for domain_uninstall_app_first 2021-01-01 19:59:13 +01:00