Commit graph

3345 commits

Author SHA1 Message Date
Alexandre Aubin
c847b8265e The real display label is later defined as App (Subperm) so not doing that now 2020-09-30 18:04:44 +02:00
Alexandre Aubin
00d40e5d31 Typo 2020-09-30 18:03:53 +02:00
Alexandre Aubin
11d6cd0cd3 Try to fix uh a bunch of weird undefined stuff 2020-09-30 17:55:28 +02:00
Alexandre Aubin
07cec39af5 Move a bunch of function from domain.py to app.py because it's much simpler to have them here 2020-09-30 17:38:42 +02:00
Alexandre Aubin
1ce1ecc2be Fix tests, keep a special exception when we know we're checking full-domain apps 2020-09-30 17:30:04 +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
452b178d44 journalctl -x in fact makes everything bloated, the supposedly additional info it displays does not contains anything relevant... 2020-09-29 15:57:47 +02:00
Alexandre Aubin
f73ae4eeab c.f. issue 1274, test at the beginning of postinstall that iptables is working instead of miserably crashing at a later stage 2020-09-28 20:00:33 +02:00
Alexandre Aubin
c9b8e27e32 Typo :[ 2020-09-27 18:49:14 +02:00
Alexandre Aubin
dd9df5943e Set sub-permission labels as 'Mainlabel (Sublabel)' 2020-09-27 18:20:29 +02:00
Alexandre Aubin
b55d8e023f Typo 2020-09-24 21:55:34 +02:00
Alexandre Aubin
2b4e14cca7 Hardcode some permission labels for non-trivial legacy permissions 2020-09-24 21:46:33 +02:00
Alexandre Aubin
815c8fc49e Refactor app_setting to better separate legacy permission setting vs. regular setting, hopefully make the core more readable 2020-09-24 20:25:28 +02:00
Alexandre Aubin
05d5d8b81d
Merge branch 'dev' into stretch-unstable 2020-09-24 17:30:09 +02:00
Alexandre Aubin
f36a17d645
Merge pull request #860 from cyxae/enh-1355-sort-alphabetically-domains
[enh] Sort alphabetically the domain list
2020-09-24 17:22:54 +02:00
Alexandre Aubin
8f776d23fc
default -> main 2020-09-23 22:14:42 +02:00
Alexandre Aubin
5a905769dc
(Do no sort domain, to be done in other PR) 2020-09-23 22:12:47 +02:00
Alexandre Aubin
6bd5655830
Return main domain directly, not its index
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2020-09-23 22:11:04 +02:00
Alexandre Aubin
f2b6a883a8 Unused import 2020-09-23 21:37:08 +02:00
Alexandre Aubin
ae897994ca Remove legacy stuff, every instances that got migrated to Buster already have this applied 2020-09-23 21:33:10 +02:00
ljf (zamentur)
95f6772cba
[fix] Typo and ssh as system perm 2020-09-23 03:25:26 +02:00
ljf
c8e24d898a [enh] Group same domains and subdomains together 2020-09-23 00:57:41 +02:00
cyxae
3cecc7cb30 Sort alphabetically domain list 2020-09-23 00:51:38 +02:00
Alexandre Aubin
4186f757e1 Cleanup some old stuff in postinstall code 2020-09-22 17:48:00 +02:00
Alexandre Aubin
bca4cd0c51 Admin/API wasn't logging or displaying messages anymore 2020-09-19 17:27:21 +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
Alexandre Aubin
d5f8eb06c8 Simplify code (suggestion from Bram) 2020-09-16 19:28:45 +02:00
Alexandre Aubin
56ebb06d2b Typo 2020-09-16 18:49:17 +02:00
Alexandre Aubin
2864c07266
Merge pull request #1046 from YunoHost/backup_download
Add possibility to download backups
2020-09-16 17:41:08 +02:00
Alexandre Aubin
ad98b82702
Merge pull request #1049 from YunoHost/enh-package-download-refactoring
[enh] Refactoring of package download process
2020-09-16 17:26:29 +02:00
Alexandre Aubin
674d8e7cb9 [fix] Minor issues in app questions parsing 2020-09-16 17:01:21 +02:00
Alexandre Aubin
532cd5e87e Force locale to C during postgresql migration to avoid some stupid issue related to locale 2020-09-16 16:21:50 +02:00
Alexandre Aubin
4805d43b96 Force locale to C during postgresql migration to avoid some stupid issue related to locale 2020-09-16 15:27:32 +02:00
Kay0u
db9d2aac30
permissions in app_info 2020-09-14 12:09:55 +02:00
Alexandre Aubin
0ad014ad1f
Merge branch 'dev' into enh-relay-smtp 2020-09-10 17:50:10 +02:00
ljf
78c5ea9098 [enh] Refactoring of package download process 2020-09-10 04:02:25 +02:00
Alexandre Aubin
d1d24cb6eb
Merge pull request #1013 from YunoHost/refactoring-yunohost-format-arguments-parsing
WIP: Refactoring yunohost format arguments parsing
2020-09-10 02:18:51 +02:00
Alexandre Aubin
b9189b1979 Fix tests 2020-09-09 23:58:30 +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
864a186862
Merge branch 'dev' into refactoring-yunohost-format-arguments-parsing 2020-09-08 22:25:09 +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
07fb335972 Missing imports 2020-09-08 21:20:40 +02:00
Alexandre Aubin
9792cfed22 Attempt to clarify/simplify some complex pieces of code 2020-09-08 21:13:55 +02:00
Alexandre Aubin
db93307fea
Update src/yunohost/app.py
Co-authored-by: Kayou <pierre@kayou.io>
2020-09-08 19:48:05 +02:00
Alexandre Aubin
33e1567c54 Minor wording/typo, semantic improvements 2020-09-08 18:52:59 +02:00