Commit graph

  • 05f7c3a3b7 helpers/php: quote vars to avoid stupid issues with name in path which may happen in backup restore context... Alexandre Aubin 2024-01-14 16:28:51 +01:00
  • 5975dd4310 Merge remote-tracking branch 'origin/dev' into bookworm Alexandre Aubin 2024-01-14 16:25:02 +01:00
  • fc691270f6 i18n: Expect an help key for ssh_port setting Alexandre Aubin 2024-01-13 19:57:41 +01:00
  • 1dc570d082 [CI] Reformat / remove stale translated strings yunohost-bot 2024-01-13 18:44:38 +00:00
  • 491588bb88
    Merge pull request #1763 from YunoHost/fix-dns-suffix-during-xmpp-cert-setup Alexandre Aubin 2024-01-13 19:30:40 +01:00
  • 54ad8dd2cb
    Merge pull request #1761 from YunoHost/small-tools Alexandre Aubin 2024-01-13 19:29:25 +01:00
  • 0f3c92a15b
    Merge pull request #1765 from YunoHost/ssh-port Alexandre Aubin 2024-01-13 19:28:02 +01:00
  • a44ea14141 Update copyright headers to 2024 using maintenance/update_copyright_headers.sh Alexandre Aubin 2024-01-13 19:26:47 +01:00
  • 8ca59703c5
    Improve basic-space-cleanup shell calls and documentation tituspijean 2024-01-13 12:11:05 +01:00
  • 7a819d33ae
    [enh] Add help on ssh port ljf (zamentur) 2024-01-13 11:04:58 +01:00
  • bfe3eb21bd
    Merge pull request #1764 from YunoHost/ci-autofix-translated-strings-dev Alexandre Aubin 2024-01-12 23:08:44 +01:00
  • 7f13ea7d65
    Merge pull request #1756 from YunoHost/enh_app_shell Alexandre Aubin 2024-01-12 23:07:22 +01:00
  • 43c0c3310a
    Merge pull request #1757 from yunohost-bot/weblate-yunohost-core Alexandre Aubin 2024-01-12 23:06:28 +01:00
  • a52b64d2f5
    Merge branch 'dev' into weblate-yunohost-core Alexandre Aubin 2024-01-12 23:06:20 +01:00
  • 4f9e69df01 [CI] Reformat / remove stale translated strings yunohost-bot 2024-01-12 22:05:32 +00:00
  • 890fcee05b maintenance: apply localeautofix script to remove stale strings, fix format inconsistencies Alexandre Aubin 2024-01-12 22:55:13 +01:00
  • 699500dbb0
    Fix DNS suffix edge case during XMPP certificate setup Alexandre Aubin 2024-01-12 22:00:10 +01:00
  • bd0edd0e4e Translated using Weblate (Ukrainian) cube 2024-01-02 22:46:48 +00:00
  • c93d770d4a Translated using Weblate (Arabic) Saeba Ryo 2023-12-31 11:33:55 +00:00
  • f53d09c3a2
    Merge pull request #1762 from Salamandar/remove_upgrade_full Alexandre Aubin 2024-01-11 14:18:20 +01:00
  • c8f0f131fd app.py, helpers: Reword YNH_APP_UPGRADE_TYPE Félix Piédallu 2024-01-11 10:15:28 +01:00
  • b920b82f4e
    Add basic-space-cleanup command tituspijean 2024-01-07 22:14:27 +01:00
  • 6fdcf03e92
    Merge pull request #1760 from OniriCorpe/document-changelog-link-latest_github_release Bram 2024-01-05 00:12:05 +01:00
  • b424ae01c1 document changelog link for latest_github_release OniriCorpe 2024-01-04 23:59:02 +01:00
  • 3aa087ca04 debian/postinst: make sure /etc/yunohost/portal exists Alexandre Aubin 2024-01-01 19:44:13 +01:00
  • aab80f9ecc
    Merge pull request #1758 from OniriCorpe/OniriCorpe-patch-1 Alexandre Aubin 2024-01-01 01:02:00 +01:00
  • b2c3c70742
    add --after= in the usage section OniriCorpe 2024-01-01 00:56:50 +01:00
  • 1c083845e7
    Automatically enable Python environment in app shells tituspijean 2023-12-28 17:47:46 +01:00
  • 0a01423408 Merge remote-tracking branch 'origin/dev' into bookworm Alexandre Aubin 2023-12-28 02:57:12 +01:00
  • 6c3290d8bf Update changelog for 11.2.9.1 debian/11.2.9.1 Alexandre Aubin 2023-12-28 02:46:15 +01:00
  • 0ed6769fcf helpers/utils: replace the damn ynh_die with a warning when patch fails to apply ... Alexandre Aubin 2023-12-28 02:45:10 +01:00
  • f12ed69b7b
    Merge pull request #1755 from YunoHost/ci-format-debian/11.2.9 Alexandre Aubin 2023-12-27 21:03:57 +01:00
  • 8952d69e05 [CI] Format code with Black yunohost-bot 2023-12-27 19:07:29 +00:00
  • 57a0e8b8f8 Update changelog for 11.2.9 debian/11.2.9 Alexandre Aubin 2023-12-27 19:15:09 +01:00
  • 7eb1413d09 zgrmbl Alexandre Aubin 2023-12-27 05:09:36 +01:00
  • 570a22a31c Make linters happy Alexandre Aubin 2023-12-27 04:28:08 +01:00
  • 61551eb40d Fix tests in CI context / yunohost-api is down and it's expected Alexandre Aubin 2023-12-27 04:24:37 +01:00
  • 0856f27b46 Unused imports Alexandre Aubin 2023-12-27 03:22:30 +01:00
  • 665592374d user/password: move to passlib hash.sha512_crypt to generate password hashes to replace deprecated crypt lib Alexandre Aubin 2023-12-27 03:18:48 +01:00
  • f505efc8bb password: utils/password.py is not used by ssowat anymore Alexandre Aubin 2023-12-27 02:41:52 +01:00
  • 7f02fcd985 portalapi/sso: add a first bunch of unit tests Alexandre Aubin 2023-12-27 02:31:06 +01:00
  • 29cac1791d tests: fix hardcoded domain / typo x_x Alexandre Aubin 2023-12-26 19:00:44 +01:00
  • 3070e504ad Make rspamd an optional dependency, because rspamd is only necessary when you really care about incoming mail, is resource-heavy, and for some reason some setups cant install libhyperscan which is required by rspamd Alexandre Aubin 2023-12-26 17:52:08 +01:00
  • 155418409e postfix: fix edge case bug with the sni file when no domain has mail enabled Alexandre Aubin 2023-12-26 17:42:05 +01:00
  • 351d9361fa sso: use PCRE regexes instead of LUA regex Alexandre Aubin 2023-12-23 20:40:20 +01:00
  • 609c3911d3
    Merge pull request #1754 from yunohost-bot/weblate-yunohost-core Alexandre Aubin 2023-12-23 19:35:00 +01:00
  • 6fa59bfd5c Translated using Weblate (Polish) Kuba Bazan 2023-12-21 22:24:47 +00:00
  • ca354cd827 Translated using Weblate (Basque) xabirequejo 2023-12-21 15:21:10 +00:00
  • a729c78379
    apps: add mailbox/IMAP support for apps that declared a system user with mail enabled (#1745) Josue-T 2023-12-23 19:34:22 +01:00
  • 7e7a6845d5 portal-api: improve handling of ldap interfaces Alexandre Aubin 2023-12-22 01:11:49 +01:00
  • 2be1dccb91 mypy doesn't like the function attribute trick Alexandre Aubin 2023-12-22 00:34:15 +01:00
  • 6022be5ff1 Prevent unecessary import resulting in catastrophies + lazy-load the session secrets Alexandre Aubin 2023-12-22 00:25:08 +01:00
  • 38b3cfddd8 quality: make linter gods happy Alexandre Aubin 2023-12-22 00:00:49 +01:00
  • c19e2b7b19 auth/portal/acl: allow admins to log on any main domain Alexandre Aubin 2023-12-21 23:52:04 +01:00
  • 746433c5d1 Whoopsies Alexandre Aubin 2023-12-21 19:48:57 +01:00
  • d0f1d9201c auth/portal/acl : add 'user is allowed for domain X' mechanism, such that users can't log in or add mail aliases for a domain they aint allowed to access. The fact that they are able to access a domain is derived from the fact that they have access to at least one app on that domain (actually .. we may want to bypass this check for admins, otherwise this is gonna be hella confusing for fresh intalls). Alexandre Aubin 2023-12-21 18:36:15 +01:00
  • 20d914fd10 Update 'ssowat conf regenerated' message to reflect that SSO and portal are two slightly different thing Alexandre Aubin 2023-12-21 17:28:38 +01:00
  • 9a45a6ccf2 auth/quality: replace os.path stuff with Path from pathlib Alexandre Aubin 2023-12-21 17:18:06 +01:00
  • 4284cd5d10
    Only warn that mailbox is disabled for admins (#1739) selfhoster1312 2023-12-21 15:35:16 +01:00
  • c8ae9f424b
    Requality warning about "disabled mail perm for user" as debug Alexandre Aubin 2023-12-21 15:34:39 +01:00
  • 5daf33f58e
    Merge pull request #1750 from YunoHost/allow-dots-in-username Alexandre Aubin 2023-12-21 15:28:04 +01:00
  • 308ed0e174 Refactor ynh_use_logrotate madness Alexandre Aubin 2023-12-21 15:14:56 +01:00
  • 4ce101b5c6 More boring warnings Alexandre Aubin 2023-12-19 20:30:18 +01:00
  • c57a7a4cf0 Zrgrml Alexandre Aubin 2023-12-19 20:08:41 +01:00
  • 3922ba9c68 Implement similar cookie mechanism for admin api (compared to portal) with static secret (cookies aint invalidated by api restart) and rolling session validity Alexandre Aubin 2023-12-19 20:01:25 +01:00
  • 83df4d9ff0
    Merge pull request #1753 from YapWC/enh-2287-allow-dots-in-username Alexandre Aubin 2023-12-19 03:25:31 +01:00
  • 5738526349
    Update user.py YapWC 2023-12-19 10:13:03 +08:00
  • 770fdb6861 [fix] First source patches failure doesn't stop app script ljf (zamentur) 2023-12-15 01:23:49 +01:00
  • 9ac713c399
    [fix] First source patches failure doesn't stop app script ljf (zamentur) 2023-12-15 01:23:49 +01:00
  • fb2ca1f27d Add __ARCH__ and __DEBIAN_VERSION__ to available variables in manifest.toml Félix Piédallu 2023-12-14 17:25:21 +01:00
  • 7981653c23 Apply __APP__ -> self.app recursively thanks to recursive_apply Félix Piédallu 2023-12-14 17:22:21 +01:00
  • dc8f51e2f8 Add a new utils.algorithms file for code helpers. Félix Piédallu 2023-12-14 17:21:47 +01:00
  • c0337bf1ef logs: Ignore boring java warning Alexandre Aubin 2023-12-13 15:10:30 +01:00
  • 830d7b47e0 systemutils: when checking debian version and system arch, redirect stderr to /dev/null to prevent stupid issues, for example when the current working dir doesnt exist anymore.. Alexandre Aubin 2023-12-13 13:15:42 +01:00
  • d1022b1a6c Merge remote-tracking branch 'origin/dev' into bookworm Alexandre Aubin 2023-12-12 15:12:13 +01:00
  • 05ea37d694 lazy-load crypt which is a deprecated lib to avoid having DepreciationWarnings all over the place Alexandre Aubin 2023-12-08 09:17:56 +01:00
  • 1d734b5df5 form: fix SelectOption's choices coercing list to dict axolotle 2023-12-12 12:17:19 +01:00
  • 64c616076f i18n: fix fucked up <code> tags Alexandre Aubin 2023-12-11 11:48:55 +01:00
  • bd363c04cf sni_forward: use 444 as the internal nginx port because the 'front' sni forwarder needs to use 443 and this would otherwise conflict sni-forward Alexandre Aubin 2023-12-10 20:20:54 +01:00
  • 3e2167c4e0 Update conf/nginx/sni_forward.conf: replace '.' with underscore in domain to prevent possible conflicts in specific cases Alexandre Aubin 2023-12-10 15:04:57 +01:00
  • 2de070c84f Merge remote-tracking branch 'origin/dev' into sni-forward Alexandre Aubin 2023-12-10 15:07:32 +01:00
  • 91fba4b35a
    Update conf/nginx/sni_forward.conf: replace '.' with underscore in domain to prevent possible conflicts in specific cases Alexandre Aubin 2023-12-10 15:04:57 +01:00
  • 8e3e788842 ynh_setup_source: properly handle --keep for directories when the dir already exists in the new setup Alexandre Aubin 2023-12-10 12:07:39 +01:00
  • 9489d200b2 Update changelog for 11.2.8.2 debian/11.2.8.2 Alexandre Aubin 2023-12-09 18:26:43 +01:00
  • 54a6a1b3d2 Aleks forgot to remove pdb.set_trace ... Alexandre Aubin 2023-12-09 18:26:02 +01:00
  • 207ebbb27f Allow dots in usernames Alexandre Aubin 2023-12-09 17:20:41 +01:00
  • fa848c376f
    Merge pull request #1749 from YunoHost/ci-format-debian/11.2.8.1 Alexandre Aubin 2023-12-09 16:36:40 +01:00
  • 0a7b5fb0ba [CI] Format code with Black yunohost-bot 2023-12-09 15:12:51 +00:00
  • 457289d6ca Update changelog for 11.2.8.1 debian/11.2.8.1 Alexandre Aubin 2023-12-09 15:57:03 +01:00
  • 33774ce625
    Merge pull request #1747 from YunoHost/ci-format-debian/11.2.8 Alexandre Aubin 2023-12-09 15:55:59 +01:00
  • 63d1b5f7fa
    Merge pull request #1748 from yunohost-bot/weblate-yunohost-core Alexandre Aubin 2023-12-09 15:55:39 +01:00
  • 2828b76364 Translated using Weblate (German) Christian Wehrli 2023-12-06 18:19:31 +00:00
  • 169c921444 Fix change_url again, otherwise the lack of path_url default to the old path and fucks up the nginx regen Alexandre Aubin 2023-12-09 15:54:04 +01:00
  • 9809de65f8 tests: fix permission tests Alexandre Aubin 2023-12-08 09:10:03 +01:00
  • 3765349436 tests: fix boring warning about domain_a.dev/domain_b.dev during permissions tests Alexandre Aubin 2023-12-08 09:00:17 +01:00
  • fb52083b09 tests: more debug attempt + remove the boring 'other_domain' for many test where we don't really care about second domain yet this slow things stuff ... Alexandre Aubin 2023-12-07 16:39:27 +01:00
  • 8351d88da1 ci: yolotry to add more info to debug issue with sso check Alexandre Aubin 2023-12-07 15:53:01 +01:00
  • 2db709e043 i18n: add domain configpanel help keys in expected keys + add/remove some keys axolotle 2023-12-07 14:28:08 +01:00
  • 544fe85773 i18n: rename pydantic errors + register in form file axolotle 2023-12-07 14:26:01 +01:00
  • 5563fd8ca0 tests:backuprestore: let hooks gracefully fake exec except 'restore' axolotle 2023-12-07 13:49:47 +01:00