Commit graph

146 commits

Author SHA1 Message Date
Alexandre Aubin
61ec02c97c lint: Kill bare excepts 2021-10-05 12:47:32 +02:00
Alexandre Aubin
1c46636b7e tests: add mypy + misc fixes to make test pass 2021-09-19 23:32:26 +02:00
yunohost-bot
a631261cff [CI] Format code 2021-09-17 03:33:35 +00:00
Alexandre Aubin
c4fe991701 log: log list was displaying much less entries than required on webadmin 2021-09-16 20:46:36 +02:00
Alexandre Aubin
2181bc1bab log: Improve filtering of boring/irrelevant lines 2021-09-16 20:34:24 +02:00
Alexandre Aubin
0b8a62c776
Merge branch 'dev' into enh-config-panel-file 2021-09-07 18:34:28 +02:00
ericgaspar
1a64a1d39a
Add passwd to be obfuscated 2021-09-07 08:24:03 +02:00
Alexandre Aubin
3936589d3b Yolofactorize install/upgrade/restore error handling into a smart 'hook_exec_with_script_debug_if_failure' 2021-09-05 20:54:51 +02:00
yunohost-bot
c197e171bb [CI] Format code 2021-09-02 15:04:02 +00:00
Alexandre Aubin
94b1bdebb3
Merge pull request #1089 from YunoHost/enh-csv
[enh] Import users with a CSV
2021-09-02 15:48:49 +02:00
ljf (zamentur)
caef1e0577
Update src/yunohost/log.py 2021-09-02 14:08:18 +02:00
Alexandre Aubin
c78d31b6c1 Merge branch 'dev' into rework-authenticator-system 2021-08-20 10:12:41 +02:00
ljf (zamentur)
61bc676552
[enh] Add a comment 2021-08-14 16:41:58 +02:00
Alexandre Aubin
1b57435910 Merge branch 'dev' into enh-csv 2021-08-13 00:57:33 +02:00
Alexandre Aubin
a2009d6a9a Propagate changes from moulinette : get rid of msettings, and prompt/display are also wrapped in a 'Moulinette' object 2021-07-09 21:49:12 +02:00
Alexandre Aubin
50129f3a29
Sometimes metadata ends up being empty for some reason and ends up being loaded as None, making the "in" operator crash :| 2021-06-21 19:00:26 +02:00
Alexandre Aubin
c8d4bbf82b Case-incensitive search are likely to catch too mnuch legitimate stuff resulting in redacting a shitload of stuff 2021-06-10 15:44:00 +02:00
ljf (zamentur)
dbe5e51ef1
[fix] Capture PASSPHRASE
See https://github.com/YunoHost-Apps/borg_ynh/issues/87
2021-06-10 14:47:13 +02:00
ljf
91e7e5e1c8 [fix] Python3 migration: File args with log 2021-05-08 23:58:36 +02:00
ljf
57dcf45a7c [fix] User import unit test 2021-05-08 23:29:52 +02:00
ljf
3e047c4b94 [fix] CSV import 2021-05-08 23:19:28 +02:00
yunohost-bot
66f2613518 [CI] Format code 2021-04-17 00:31:06 +00:00
Kay0u
8b360ac2e6
getargspec is deprecated in Python3 2021-04-13 18:18:15 +02:00
ljf (zamentur)
6779cc272d
[fix] Remove passphrase keyword from logs 2021-04-07 15:21:10 +02:00
Alexandre Aubin
cd1f64383b log.py: don't inject log_ref if the operation didnt start yet 2021-04-01 15:55:46 +02:00
Alexandre Aubin
11c50c0187 Fix log_ref injection 2021-03-22 18:49:25 +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
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
0dd0337450 Don't redact empty string... 2021-02-25 16:44:55 +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
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00: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
c43a51ba30
Merge branch 'dev' into enh-python3 2021-01-10 18:31:19 +01:00
Alexandre Aubin
00508c9698 For some reason sometimes submetadata is None ... 2021-01-09 18:10:41 +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
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
Alexandre Aubin
0fa17ec2b1 Typo in previous commit, we want the interface name directly.. 2020-11-07 00:45:26 +01:00
Alexandre Aubin
37d7eace43 Merge branch 'privacy-hotfix' into dev 2020-11-04 17:53:12 +01:00
Alexandre Aubin
d34d6b1949 App installs logs were still disclosing secrets when shared sometimes... 2020-11-04 17:26:02 +01:00
Alexandre Aubin
49f6394233 autopep8 --in-place -a -a -a --ignore E402,E501,E722 -r src/yunohost/{__init__.py,certificate.py,diagnosis.py,domain.py,dyndns.py,firewall.py,hook.py,log.py,regenconf.py,service.py,settings.py,ssh.py,tools.py} 2020-09-03 17:37:08 +02:00
Alexandre Aubin
88997f5728 Small old issue where the number of line filtered doesnt match the requested number, and then the admin doesn't display the 'show more line' button.. 2020-09-02 20:57:51 +02:00
Alexandre Aubin
7edd3ff840 Minor fixes after tests.. 2020-09-02 20:30:50 +02:00
Alexandre Aubin
8831c638e6 Add options to include metadata about suboperations 2020-09-02 19:33:48 +02:00
Alexandre Aubin
9a7bd77269 Get rid of unused complexity for other log categories ... it's been since 3.2 and we only have operations 2020-09-01 18:09:15 +02:00