Laurent Peuch
c7d315c7e0
[mod] also display app label on remove_domain with apps
2021-01-01 18:52:24 +01:00
Laurent Peuch
effc87da26
[fix] key name of app label wasn't the real label
2021-01-01 18:36:11 +01:00
Laurent Peuch
2768def391
[mod] avoid calling app_list in user_permission_list
2021-01-01 18:32:41 +01:00
Laurent Peuch
165d2b3225
[mod] no catchall exceptions
2021-01-01 17:14:53 +01:00
Laurent Peuch
9eb6fa1961
[enh] display domain_path of app on app list
2021-01-01 15:53:50 +01:00
Alexandre Aubin
1ac59f9877
More encode/decode fixes
2021-01-01 05:04:54 +01:00
Alexandre Aubin
d5da3d899a
Ignore the __pycache__ folder in diagnosis hook folder
2021-01-01 05:04:33 +01:00
Alexandre Aubin
cce020daac
Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc
2021-01-01 05:03:55 +01:00
Alexandre Aubin
0434bd5dc2
cmp() doesn't exists anymore
2021-01-01 04:07:27 +01:00
Alexandre Aubin
0335bcbf4c
.keys() now returns a generator, gotta wrap it in a list() for what we do here
2021-01-01 04:07:16 +01:00
Alexandre Aubin
5f0b1b7450
Encoding fixes
2021-01-01 04:06:09 +01:00
Alexandre Aubin
86a612fab1
c.f. change in the moulinette regarding call_async_output and the handling of stdinfo ... YNH_STDINFO is now a file descriptor instead of a named pipe
2021-01-01 04:04:56 +01:00
Alexandre Aubin
8e30768598
2to3-2.7 ./src/yunohost/{,data_migrations/,utils/,tests/}*.py data/hooks/diagnosis/*.py -w -x dict -x print --nobackups --no-diffs
2020-12-30 21:53:43 +01:00
Kayou
9e2e5ce55e
not protected by default
2020-12-29 23:59:13 +01:00
Kayou
2b80bac769
Fix restore permission
2020-12-29 23:12:14 +01:00
Kayou
e70f27b7ff
Update legacy.py
2020-12-29 22:48:10 +01:00
Kayou
d6d75c528e
fix legacy permission migration
2020-12-29 22:37:59 +01:00
Alexandre Aubin
d77d5afb2c
When encountering unknown setting, also save the regular setting so we don't re-encounter the unknown settings everytime
2020-12-28 20:05:51 +01:00
Alexandre Aubin
bdff5937f0
Handle permission regexes that may start with ^ or \
2020-12-28 16:58:50 +01:00
Laurent Peuch
0c977d8c70
[fix] double return prevent new code from working
2020-12-28 01:45:00 +01:00
Léo Le Bouter
42f3ff6b00
firewall: force source port for UPnP.
...
miniupnpc uses a random source port by default, the issue is that the
firewall rule to allow destination port 1900 incoming is unused because
the UPnP server will use the random source port as destination port in
the reply which iptables will block. Forcing the source port to be 1900
will ensure the UPnP server also uses that as destination port in the
reply and pass the firewall.
python-miniupnpc 2.0 or later is required for this change to have any
effect, it is otherwise silently ignored. A debian package upgrade is in
the works for official Yunohost repos.
2020-12-21 00:21:50 +01:00
Alexandre Aubin
f9143d531f
Fix a small issue where metadata could be None (because of empty yaml maybe?)
2020-12-18 17:53:05 +01:00
Kayou
4f1ea2405d
fix my mess
2020-12-18 15:11:37 +01:00
Alexandre Aubin
f253b9f215
Merge pull request #1093 from YunoHost/use-organization-name-for-LE-cert
...
Use organization name for le cert
2020-12-17 21:24:05 +01:00
Alexandre Aubin
6dd6d71487
Merge pull request #1105 from YunoHost/add-all_users-in-protected_urls
...
add all_users in protected_urls
2020-12-17 21:23:44 +01:00
Kay0u
c3e750a97a
add all_users in protected_urls
2020-12-11 16:29:10 +01:00
Kay0u
401778f68e
fix the fixme
2020-12-11 16:22:29 +01:00
Kay0u
c823f5ffd5
indent ssow conf
2020-12-11 15:09:37 +01:00
Alexandre Aubin
5422a49d82
We don't care that 'apt-key output should not be parsed'
2020-12-10 17:25:58 +01:00
ljf
cdb1d83eae
[fix] No need for fake password, no app use ,4,5
2020-12-08 18:06:42 +01:00
ljf
2ebef4ebb4
[fix] Missing hook_callback
2020-12-08 17:57:48 +01:00
ljf
792643607b
[fix] Avoid password are given in users hooks
2020-12-08 17:55:29 +01:00
ljf
6aebe6faf9
[fix] Unused line
2020-12-08 17:11:10 +01:00
ljf
f1f97d0235
[fix] DNS conf
2020-12-08 17:05:51 +01:00
Alexandre Aubin
efdb2ee6b5
Gotta make sure everything is a string
2020-12-05 21:06:37 +01:00
Alexandre Aubin
81f3b493e4
Also copy the script env
2020-12-05 21:06:23 +01:00
Alexandre Aubin
2428f01521
Do not pass app args to the command line, they're already provided in the env...
2020-12-05 20:35:53 +01:00
Alexandre Aubin
d6d45cf7a6
Simplify command call, no need to wrap this in a dummy 'sh -c'
2020-12-05 20:30:03 +01:00
Alexandre Aubin
14f6f09993
Do not write the env explicitly in the command to avoid leaking secrets in ps -ef...
2020-12-05 20:19:53 +01:00
Alexandre Aubin
e0ac7de432
We ain't using argument user nor no_trace
2020-12-05 20:17:58 +01:00
ljf
efcf5e1ceb
[fix] Unsuded import
2020-12-03 22:25:58 +01:00
ljf
0e8cc1851d
[fix] Rename migrations
2020-12-03 18:32:36 +01:00
ljf
0f67278afe
[fix] Rename migrations
2020-12-03 18:32:21 +01:00
ljf
32fcbea757
[fix] Remove old ssh allow method
2020-12-03 18:22:02 +01:00
ljf
aa9b8318e7
[fix] pep8
2020-12-03 18:22:02 +01:00
ljf
f79b0ff0a3
[enh] SFTP and SSH permissions
2020-12-03 18:20:45 +01:00
Josué Tille
5e6bcb2346
Add possibility to restrict the user allowed to access by sftp
2020-12-03 18:17:52 +01:00
Kay0u
7780aa658f
fix staging cert url
2020-12-03 14:39:40 +01:00
Kay0u
d15ccc6c23
use organization name for LE cert
2020-12-03 14:39:20 +01:00
frju365
cc2dbaa6b1
[fix] Factorisons...
2020-12-03 12:09:20 +01:00