Commit graph

2186 commits

Author SHA1 Message Date
Alexandre Aubin
dd9df5943e Set sub-permission labels as 'Mainlabel (Sublabel)' 2020-09-27 18:20:29 +02:00
Josue-T
c4dc8b4cea
Fix typo
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-09-16 23:22:22 +02:00
Alexandre Aubin
8c92f011d5 Rework function that validate and sanitize permission url 2020-09-16 22:38:18 +02:00
Alexandre Aubin
2d3dee8d41 Simplify small piece of code 2020-09-16 20:59:19 +02:00
Kay0u
db9d2aac30
permissions in app_info 2020-09-14 12:09:55 +02:00
Alexandre Aubin
250f69028a Moar fixes 2020-09-09 23:24:39 +02:00
Alexandre Aubin
c6905ed2c8 Merge branch 'dev' into permission_protection 2020-09-09 02:22:35 +02:00
Alexandre Aubin
9cdf8dffc9 Fix linter and tests 2020-09-09 02:21:26 +02:00
Alexandre Aubin
7483d04f54 Fix a weird issue that may arise during test, strangely unspotted so far 2020-09-09 00:06:23 +02:00
Alexandre Aubin
bfa0f304aa mail-aliases key only exists if it's not empty? 2020-09-08 22:23:03 +02:00
Alexandre Aubin
9792cfed22 Attempt to clarify/simplify some complex pieces of code 2020-09-08 21:13:55 +02:00
Alexandre Aubin
33e1567c54 Minor wording/typo, semantic improvements 2020-09-08 18:52:59 +02:00
Alexandre Aubin
83585b2375
Merge branch 'dev' into permission_protection 2020-09-08 17:06:49 +02:00
Alexandre Aubin
8b98360fd2
Merge pull request #1042 from YunoHost/code-cleanup
Code cleanup
2020-09-08 16:55:58 +02:00
Alexandre Aubin
1be93094b5 Fix syntax error + more minor refactoring/cleanup 2020-09-08 16:16:35 +02:00
Alexandre Aubin
42f430d234 Get rid of misleading/old 'no_compress' option 2020-09-08 16:02:47 +02:00
Alexandre Aubin
835701d590 Clean more madness / fix tests 2020-09-08 15:49:54 +02:00
Alexandre Aubin
a6bbe41705 Fuck it these messages are confusing people and we don't need them 2020-09-08 01:18:43 +02:00
Alexandre Aubin
4c75620ee9
Merge branch 'dev' into code-cleanup 2020-09-06 22:16:06 +02:00
Alexandre Aubin
fad373c016 Forgot to propagate change in user_create here as well 2020-09-05 19:05:45 +02:00
Alexandre Aubin
a5a3a905b6
Merge branch 'dev' into code-cleanup 2020-09-05 18:58:47 +02:00
Alexandre Aubin
3bc14bc280
Merge pull request #962 from ekhae/enh-1365-mail-user-creation-ux
[enh] c.f. issue 1365, asking a mail address during user creation is confusing ux, people try enter their existing mail addresses
2020-09-05 18:37:26 +02:00
Alexandre Aubin
5805acbf6a Reimplement --mail as a deprecated option 2020-09-05 18:35:35 +02:00
Alexandre Aubin
3fc4baa08f Propagate change to unit tests 2020-09-05 17:21:45 +02: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
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
Alexandre Aubin
6f75b889b7
Merge pull request #955 from YunoHost/parent-relation-between-log-operations
Keep track of 'parent' operation in operation loggers
2020-09-03 15:52:00 +02:00
Alexandre Aubin
b869f3a7d7
Merge pull request #864 from YunoHost/abort_if_up_to_date_manifest
Implement `upgrade_only_if_version_changes` in manifest
2020-09-03 15:51:47 +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
083776bc4a Get rid of example settings, only keep them for tests 2020-09-02 16:30:29 +02:00
Alexandre Aubin
b10393a5e1
Merge pull request #1020 from YunoHost/do-not-compress-backups
Backup to uncompressed tar by default
2020-09-02 16:07:50 +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
Alexandre Aubin
0f2e9ab1d6 Lazy loading of smtplib to reduce memory footprint a bit 2020-09-01 17:29:24 +02:00
Alexandre Aubin
d00421641c
Merge branch '4.1' into parent-relation-between-log-operations 2020-09-01 17:22:36 +02:00
Alexandre Aubin
bd064e317e
Use global var 2020-09-01 17:22:07 +02:00
Alexandre Aubin
624c7eaf77 Move import to top of file 2020-09-01 17:21:12 +02:00
Alexandre Aubin
6c3a74c5ac Handle case where the lock doesn't exist : just assume we're the root logger 2020-09-01 17:19:50 +02:00
Alexandre Aubin
3612ac434d Enable this behavior by default (no need to enable the option in the app manifest) 2020-08-31 19:45:41 +02:00
Alexandre Aubin
dea6a18712 Polish UX 2020-08-31 19:33:09 +02:00
Alexandre Aubin
4a15358ed9 Revert a few unecessary changes / polish code 2020-08-31 19:33:09 +02:00
ekhae
78a2d012bb UX improved about mail and domains 2020-08-31 19:33:09 +02:00
Alexandre Aubin
48ee808711
Merge branch '4.1' into do-not-compress-backups 2020-08-31 19:10:38 +02:00
Alexandre Aubin
acaa05c2ca Fix a small issue where there would be duplicated entries in backup_list 2020-08-31 19:09:28 +02:00
Alexandre Aubin
839a7b9a47 Add a global setting to still compress tar archives 2020-08-31 19:08:43 +02:00
Alexandre Aubin
659d23ceb3 Simplify the damn spaggethi 2020-08-31 18:36:57 +02:00
Alexandre Aubin
efc2e7ef1d Fuck it let's keep that code simple, we don't need to maintain the list of exception that a command is likely to return, this is supposed to be simple to read if code is well written 2020-08-31 17:51:41 +02:00
Alexandre Aubin
98e972a49a Get rid of unimplemented Borg stuff because that code is complicated enough already -_- 2020-08-31 17:32:03 +02:00