ljf (zamentur)
7a947dbce1
[fix] True instead of description ( #1189 )
2021-03-15 00:03:31 +01:00
Alexandre Aubin
721f6f265e
Typo ...
2021-03-14 18:45:36 +01:00
Alexandre Aubin
1a0ef94109
Define HTTP codes for Yunohost Errors
2021-03-12 04:24:27 +01:00
Alexandre Aubin
37f0c30ddc
Inject log_ref into all is_unit_operation failures
2021-03-11 03:57:15 +01:00
Alexandre Aubin
01ccab5252
Add semantic of YunohostValidationError for all exceptions which are related to validating stuff
2021-03-11 01:39:52 +01:00
Alexandre Aubin
727e135c72
Unused import
2021-03-10 19:39:45 +01:00
Alexandre Aubin
e639c8cd5a
Move applist refresh cron + lets encrypt renewal cron to regen conf
2021-03-10 19:00:24 +01:00
Alexandre Aubin
78cc445bd2
Typo
2021-03-09 06:00:04 +01:00
Alexandre Aubin
50a42e1d87
Rework the authenticator system, split the LDAP stuff into auth part and utils part
2021-03-09 05:45:24 +01:00
Alexandre Aubin
7ba08eb550
Merge branch 'hotfixes-4.1.7.3' into dev
2021-03-02 02:14:35 +01:00
Alexandre Aubin
88b414c8f3
Don't redact empty string...
2021-03-02 02:02:10 +01:00
Alexandre Aubin
0c172cd3f9
Catch more secrets not redacted
2021-03-02 02:00:44 +01:00
Alexandre Aubin
01058aca28
Catch more secrets not redacted
2021-03-02 01:49:23 +01:00
Alexandre Aubin
d763247df4
No need for mysql root password ( #912 )
...
* Get rid of /etc/yunohost/mysql
* Get rid of restore hook for mysql password
* Tab -> spaces
* declare->local lost while merging conflicts etc
* Gotta keep that var
2021-03-01 19:11:41 +01:00
Alexandre Aubin
0884a0c162
Further simplify logging configuration by using the 'cli' handler when running yunohost-api in debug mode instead of creating a 'console' handler which is pretty much the same
2021-03-01 18:06:43 +01:00
Alexandre Aubin
38bed2aab2
Merge branch 'dev' into moulinette-logging
2021-02-28 17:03:15 +01:00
Alexandre Aubin
4131ddb070
Fix cases where we want to test if translation exists for a key
2021-02-28 17:00:48 +01:00
Alexandre Aubin
64a1b4cad2
Misc fixes after testing
2021-02-26 00:20:39 +01:00
Alexandre Aubin
071732dd7f
Improve check that a dyndns domain already exists
2021-02-26 00:00:19 +01:00
Alexandre Aubin
a8e11c19db
Delete dyndns key during domain removal if any
2021-02-25 23:59:51 +01:00
Alexandre Aubin
2752a8e485
Deprecate yunohost dyndns installcron/removecron
2021-02-25 23:59:51 +01:00
Alexandre Aubin
7efc6dcd07
Handle the dyndns cron from the regenconf
2021-02-25 23:59:17 +01:00
Alexandre Aubin
0dd0337450
Don't redact empty string...
2021-02-25 16:44:55 +01:00
Alexandre Aubin
acfea3d76d
Define YNH_APP_BASEDIR to be able to properly point to conf folder depending on the app script we're running
2021-02-23 02:17:04 +01:00
Alexandre Aubin
f398f463f4
Replace \t in conf.json.persistent...
2021-02-21 05:23:52 +01:00
ljf (zamentur)
29bd3c4a26
[fix] Avoid admin part of apps to be reachable from visitors
2021-02-21 05:23:50 +01:00
Alexandre Aubin
3b6ea369ab
Merge pull request #1166 from YunoHost/fix-admin-available-by-visitors
...
[fix] Avoid admin part of apps to be reachable from visitors
2021-02-21 05:19:41 +01:00
Alexandre Aubin
0f8a44028c
Replace \t in conf.json.persistent...
2021-02-21 05:12:38 +01:00
Alexandre Aubin
e7db40e9c8
Merge branch 'dev' into domain-remove-remove-apps
2021-02-13 20:43:46 +01:00
ljf (zamentur)
6d625d457d
[fix] Unused import
2021-02-11 19:42:55 +01:00
ljf (zamentur)
958c052f1e
[fix] Avoid admin part of apps to be reachable from visitors
2021-02-11 18:35:35 +01:00
Kay0u
dfa0b21fce
fixing my mess about firewall _TO_CLOSE
2021-02-03 14:33:10 +01:00
Alexandre Aubin
717cd26927
Yo dawg i heard you like exceptions so i created an exception in your exception so you can debug while you debug
2021-02-03 03:09:32 +01:00
Kay0u
9faf2d89a2
fix format
2021-02-02 17:15:45 +01:00
Kay0u
bfd7257a8c
fix linter, remove allow_failure for corresponding tests
2021-02-02 16:16:07 +01:00
Laurent Peuch
97f26015c6
[fix] kill all bare exceptions
2021-02-02 14:40:29 +01:00
yunohost-bot
c4439110e1
[CI] Format code
2021-02-02 03:37:40 +00:00
Alexandre Aubin
08e7b42c82
logger.exception -> logger.error because logger.exception displays a stacktrace and it ain't relevant in any of these cases
2021-02-02 04:15:01 +01:00
ljf
aef3ee1434
[fix] If uid is less than 1001 nsswitch ignore it
2021-02-02 04:13:42 +01:00
ljf
4e335e0782
[fix] If uid is less than 1000 nsswitch ignore it
2021-02-02 04:13:42 +01:00
Alexandre Aubin
62e84d8b4b
service_regen_conf is deprecated in factor of regen_conf
2021-02-02 04:13:42 +01:00
Alexandre Aubin
2fc016e3e5
Make sure tmp_script exists ..
2021-02-02 04:13:42 +01:00
Alexandre Aubin
10ba00affe
logger.exception -> logger.error because logger.exception displays a stacktrace and it ain't relevant in any of these cases
2021-02-02 03:57:33 +01:00
Alexandre Aubin
071d8c4cbe
Misc fixes for cert / local CA management
2021-01-31 18:15:51 +01:00
Alexandre Aubin
29a3ad0484
Merge branch 'dev' into move-ldap-init-before-postinstall
2021-01-31 16:21:23 +01:00
Alexandre Aubin
3c0649f1e3
Merge branch 'dev' into folder-init-in-regenconf
2021-01-31 16:19:03 +01:00
Alexandre Aubin
68e24c986a
Merge pull request #1062 from YunoHost/move-local-ca-mangement-to-regenconf
...
Refactor local CA management for more consistency and simpler postinstall
2021-01-31 16:17:20 +01:00
Alexandre Aubin
2ab330a0e2
I think we don't need this hack anymore
2021-01-31 16:14:28 +01:00
Alexandre Aubin
fcf9e58ce4
Rework logging configuration
2021-01-31 16:14:28 +01:00
Laurent Peuch
c931f8a532
[mod] activate moulinette.core and moulinette.interface.api logging in api
2021-01-31 16:14:28 +01:00