Commit graph

121 commits

Author SHA1 Message Date
Alexandre Aubin
2b12b67847 python3: Add some list() where that sounds relevant 2021-01-02 19:48:44 +01:00
Alexandre Aubin
0434bd5dc2 cmp() doesn't exists anymore 2021-01-01 04:07:27 +01:00
Alexandre Aubin
5f0b1b7450 Encoding fixes 2021-01-01 04:06:09 +01:00
Kay0u
c3e750a97a
add all_users in protected_urls 2020-12-11 16:29:10 +01:00
Kay0u
c823f5ffd5
indent ssow conf 2020-12-11 15:09:37 +01:00
Alexandre Aubin
3f8b922e92 Automatically translate legacy rules in /etc/ssowat/conf.json.persistent 2020-11-21 17:41:43 +01:00
Alexandre Aubin
7aa3ff5255 Added a .strip() to moulinette's check_output because was tired of adding it all over the places 2020-10-31 18:58:19 +01:00
Alexandre Aubin
d4635f0eaa Fix i18n key IDs so that translators don't have to retranslate something already translated.. 2020-10-29 23:49:23 +01:00
Alexandre Aubin
e91f2de0dc Move 'label' migration to migrate_legacy_permission_settings in legacy.py, because the previous code could led to some inconsistencies when restoring apps backuped before the migration 2020-10-29 23:26:28 +01:00
Alexandre Aubin
e047b67b1d Move legacy permission setting migration to legacy.py 2020-10-29 23:16:27 +01:00
Alexandre Aubin
d5abc12b82 Many typo :| 2020-09-30 18:18:39 +02:00
Alexandre Aubin
950dbc6b46
Merge pull request #935 from YunoHost/remove_legacy_settings
Remove legacy settings
2020-09-30 17:06:08 +02:00
Alexandre Aubin
2b4e14cca7 Hardcode some permission labels for non-trivial legacy permissions 2020-09-24 21:46:33 +02:00
Alexandre Aubin
83585b2375
Merge branch 'dev' into permission_protection 2020-09-08 17:06:49 +02:00
Alexandre Aubin
ecbd63636b autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/ 2020-09-03 17:36:59 +02:00
Alexandre Aubin
fa19c9480c Cleanup unused imports / misc 'fatal' flake8 errors 2020-09-03 17:01:24 +02:00
Josué Tille
e6da35abd1
Merge branch 'dev' into permission_protection 2020-08-23 21:48:18 +02:00
Alexandre Aubin
fa5130a7fc [cleanup] Move migration 0011 code to legacy.py 2020-07-27 19:23:07 +02:00
Alexandre Aubin
e7a4b26af8
Also propagate to utils/network.py because we like to maintain duplicated code ;P 2020-05-21 18:01:14 +02:00
Alexandre Aubin
09d8500fda Also run dpkg --audit to check if dpkg is in a broken state 2020-05-13 16:38:27 +02:00
Alexandre Aubin
d8dfa1c5d5
We gotta trash the error stream because gzip complains about broken pipe when ran in python subprocess ~.~ 2020-05-09 15:58:40 +02:00
Alexandre Aubin
6434fad965
Merge pull request #975 from YunoHost/auto-restart-ldap
[fix] handle new auto restart of ldap in moulinette
2020-05-07 22:18:18 +02:00
Alexandre Aubin
8bcf753081 Also split + and - 2020-05-07 18:34:51 +02:00
Laurent Peuch
82c4357421 [fix] handle new auto restart of ldap in moulinette 2020-05-04 14:00:22 +02:00
Alexandre Aubin
9c0ccd0b4f That whole thing about Specifier is completely overengineered, let's have a more simple check for version requirements... 2020-05-03 19:46:21 +02:00
Alexandre Aubin
fc07468051 Simplify / optimize reading version of yunohost packages... 2020-05-02 06:08:54 +02:00
Alexandre Aubin
e85a29fbf3
Typo zblerg ~.~ 2020-05-02 02:34:28 +02:00
Alexandre Aubin
6bd7eb64bd Assert slapd is running to avoid miserably crashing with weird ldap errors 2020-05-01 17:53:07 +02:00
ljf
65d54ba6b9 [fix] Blacklist false positive 2020-04-30 17:16:20 +02:00
Alexandre Aubin
822c731086 Improve default IPv6 route check to cover stuff happening on internet cube 2020-04-29 21:48:22 +02:00
Alexandre Aubin
426d93825d Add a tip about not having IPv6 2020-04-29 19:20:54 +02:00
Alexandre Aubin
d8c2f436f9
Merge branch 'stretch-unstable' into misc-optimizations 2020-04-29 18:14:05 +02:00
Alexandre Aubin
17d3ec5ad3 Improve new dig() helper, and use it in dnsrecords diagnosis as well 2020-04-27 17:30:17 +02:00
ljf
c6c85556ac [fix] False positive on blacklist due to search in resovconf 2020-04-27 17:30:17 +02:00
Alexandre Aubin
b90155423d Add a caching mechanism to get_public_ip to avoid loading requests and calling ip.yunohost.org dozens of time per minute... 2020-04-25 04:33:08 +02:00
Alexandre Aubin
b392efdf85 Also anonymize folder name containing %2e instead of dot 2020-04-21 02:42:46 +02:00
Alexandre Aubin
61ef67252e Don't contact ip6.yunohost if we can know right away that there's no IPv6 at all on the system 2020-04-17 19:38:46 +02:00
Alexandre Aubin
2215786d6e Attempt to anonymize data pasted to paste.yunohost.org (in particular domain names) 2020-03-22 01:24:38 +01:00
Alexandre Aubin
9e9215cc78 Simpler LDAP configuration 2019-11-19 14:48:48 +01:00
Alexandre Aubin
08c23599e2 Improve yunohost package version diagnosis 2019-11-06 23:49:13 +01:00
Alexandre Aubin
aa8aefce02
Merge branch 'stretch-unstable' into simplify-requirement-checks-madness 2019-11-01 15:20:48 +01:00
Alexandre Aubin
61fb0be773 More accurate tests with explicit exception/message excepted to be triggered 2019-09-23 20:57:59 +02:00
Alexandre Aubin
6284ad09c6 Simplify madness code about checking requirements 2019-09-20 15:01:39 +02:00
Alexandre Aubin
0f7b8c3515 Simplify group list interface and code 2019-09-13 16:31:02 +02:00
Laurent Peuch
19dbe87167 [mod] regex must be stored in raw strings 2019-08-25 16:50:30 +02:00
Laurent Peuch
0849adbee1 [mod] remove useless weird comment 2019-08-25 16:48:21 +02:00
Alexandre Aubin
d0c982a422 Check for obvious conflict with already running apt/dpkg commands when running yunohost upgrade 2019-05-31 16:09:25 +02:00
Alexandre Aubin
08dc22b750 Fix funky errors by explicitly destroying the global variable at exit time 2019-05-17 15:26:31 +02:00
Alexandre Aubin
331bdb53aa
Merge branch 'stretch-unstable' into authenticate-as-root 2019-05-16 17:08:48 +02:00
Alexandre Aubin
c15cc788ed Add utils to fetch LDAP interface 2019-05-10 01:56:33 +02:00