From 4235c05b1250e63995d9265d03653eeadf84d63c Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 5 Jun 2024 12:30:06 +0200 Subject: [PATCH] LSaddon :: dyngroup: add update_dyngroup_members_cache CLI command --- src/includes/addons/LSaddons.dyngroup.php | 74 +++++++++++++++++- src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo | Bin 96326 -> 96882 bytes src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po | 24 +++++- src/lang/ldapsaisie.pot | 20 ++++- 4 files changed, 112 insertions(+), 6 deletions(-) diff --git a/src/includes/addons/LSaddons.dyngroup.php b/src/includes/addons/LSaddons.dyngroup.php index 8eac2372..ef3c3614 100644 --- a/src/includes/addons/LSaddons.dyngroup.php +++ b/src/includes/addons/LSaddons.dyngroup.php @@ -72,7 +72,18 @@ function LSaddon_dyngroup_support() { LScli :: add_command( 'update_dyngroups_members_cache', 'cli_updateDynGroupsMembersCache', - 'Update dynamic groups members cache' + ___('Update dynamic groups members cache'), + null, + ___('Update members cache of all dynamic groups.') + ); + LScli :: add_command( + 'update_dyngroup_members_cache', + 'cli_updateDynGroupMembersCache', + ___('Update dynamic group members cache'), + '[dn] [dn]...', + ___('Update members cache of one (or multiple) dynamic group specifed by DN.'), + true, + 'cli_updateDynGroupMembersCache_autocompleter' ); } @@ -362,3 +373,64 @@ if (php_sapi_name() != 'cli') function cli_updateDynGroupsMembersCache($command_args) { return updateDynGroupsMembersCache(); } + + +/** + * CLI command to update one dynamic group members cache + * @param array $command_args Command arguments + * @return bool + */ +function cli_updateDynGroupMembersCache($command_args) { + $log = LSlog :: get_logger('LSaddon_dyngroup'); + if (!LSsession :: loadLSobject(DYNGROUP_OBJECT_TYPE)) + $log -> fatal('Fail to load dyngroup object type'); + + // Get dyn group + $dyngroup_class = constant('DYNGROUP_OBJECT_TYPE'); + + $error = false; + foreach ($command_args as $dn) { + $dyngroup = new $dyngroup_class(); + if (!$dyngroup->loadData($dn)) { + $log -> error("Fail to load dynamic groupe '$dn'"); + $error = true; + continue; + } + $name = $dyngroup->getDisplayName(); + if (updateDynGroupMembersCache($dyngroup, false)) { + $log -> info("Dynamic group $name ($dn) members cache updated."); + } + else { + $log -> error("Fail to update dynamic group $name ($dn) members cache."); + $error = true; + } + } + return !$error; +} + + +/** + * Args autocompleter for CLI update_dyngroup_members_cache command + * + * @param array $comp_words List of already typed words of the command + * @param int $comp_word_num The command word number to autocomplete + * @param string $comp_word The command word to autocomplete + * @param array $opts List of global available options + * + * @return array List of available options for the word to autocomplete + **/ +function cli_updateDynGroupMembersCache_autocompleter( + $comp_words, $comp_word_num, $comp_word, $opts +) { + $dns = []; + $opts = LScli :: autocomplete_LSobject_dn( + constant('DYNGROUP_OBJECT_TYPE'), + $comp_word + ); + foreach ($comp_words as $idx => $dn) { + if ($idx == $comp_word_num) continue; + $key = array_search($dn, $opts); + if ($key !== false) unset($opts[$key]); + } + return $opts; +} diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo index 313ee993519cea0d9dd5cf89818894a33d4bfd33..19df34fff4e5c60912257caf80937e4d5cf72ae2 100644 GIT binary patch delta 16320 zcma*s2Yk)v|M&6li5WAoM{r_>*s)2(N+gI?dqhGILL?EJWA9a3qqJ6S+NxR|YR{^+ zHZ`h6>7d%GS@-LGuFHM<{qFnmxc}dWE6>m8`d;64jqf>$BM&k?{40~^TAqw=J8U<6 z947z+3Ode(3|LvUjx!?EaRPB97Qd4PDptgdVU9DH^OyR1?oDxv7F<0oO1+4sCa=buuv1n3C2EH0Ow;FT#tG16js6;$Tgf?O&zBKw!-c> z0(F6NSR5asZp^=#X&;8V@v&Hp>pM#c@>8)3^WiD$O{`1)4~Ap42y^08R6Y-b@Eg>P zK0%(r@r!gE{yFXWkqeih&btY9V_#wjevf`!-|=hiIO^>{?1OEvJ?_A8^o??y9vF>X za07Cz;}gxXs>htz4cB5Ks;hI;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KY98x76n(^|9@~rfd*(SBRr+SsZ>&dBzb- zz8-BRl6L&3yeAE+XT;p!nMshJMv0^_@^eU97drNl{{!!lQYfp3ev}2{KvEj{OgNi5 zAJTC0KjSRYUXqTFtX1)Qo8QEFI^6B}5lxVdbl6kGZ@E~5^oX*(q#%+nC$6F_nRJl+ z0#Y|p0(C#(G3-gwk(c-y`Aeu{s=@QKiY+^B%JlsF(m>%d(q8fnaJdRO4%iF6!Ly{T zHtvMYNO3k++qE{|k@HKcfTITa>$m}n;bhY1k?lhUmSUa_P0 JKv(%}{|6ZFoeBT| diff --git a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po index 08d7d951..79b958b6 100644 --- a/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po +++ b/src/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: LdapSaisie\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2024-04-04 15:14+0200\n" +"PO-Revision-Date: 2024-06-05 12:29+0200\n" "Last-Translator: Benjamin Renard \n" "Language-Team: LdapSaisie \n" @@ -370,7 +370,25 @@ msgstr "" "Groupes dynamiques : Impossible d'analyser la valeur de l'attribut %{attr} : " "nombre de parties invalide." -#: includes/addons/LSaddons.dyngroup.php:338 +#: includes/addons/LSaddons.dyngroup.php:75 +msgid "Update dynamic groups members cache" +msgstr "Mettre à jour le cache des membres des groupes dynamiques" + +#: includes/addons/LSaddons.dyngroup.php:77 +msgid "Update members cache of all dynamic groups." +msgstr "Mettre à jour le cache des membres de tous les groupes dynamiques." + +#: includes/addons/LSaddons.dyngroup.php:82 +msgid "Update dynamic group members cache" +msgstr "Mettre à jour le cache des membres d'un groupe dynamique" + +#: includes/addons/LSaddons.dyngroup.php:84 +msgid "Update members cache of one (or multiple) dynamic group specifed by DN." +msgstr "" +"Mettre à jour le cache des membres d'un (ou plusieurs) groupe dynamique " +"spécifié par son DN." + +#: includes/addons/LSaddons.dyngroup.php:349 msgid "" "Members cache of %{count} dynamic group(s) have been updated because thes " "were potentially impacted by your changes." @@ -378,7 +396,7 @@ msgstr "" "Le cache des membres de %{count} groupe(s) dynamique(s) as été mis à jour " "suite à vos modifications qui les impactaient potentiellement." -#: includes/addons/LSaddons.dyngroup.php:345 +#: includes/addons/LSaddons.dyngroup.php:356 msgid "" "Members cache of %{count} dynamic group(s) have NOT been updated but thes " "were potentially impacted by your changes. A delay of some minutes could be " diff --git a/src/lang/ldapsaisie.pot b/src/lang/ldapsaisie.pot index 52ad4799..baec5b74 100644 --- a/src/lang/ldapsaisie.pot +++ b/src/lang/ldapsaisie.pot @@ -291,13 +291,29 @@ msgstr "" msgid "Dynamic groups: Fail to parse %{attr} value : invalid number of parts." msgstr "" -#: includes/addons/LSaddons.dyngroup.php:338 +#: includes/addons/LSaddons.dyngroup.php:75 +msgid "Update dynamic groups members cache" +msgstr "" + +#: includes/addons/LSaddons.dyngroup.php:77 +msgid "Update members cache of all dynamic groups." +msgstr "" + +#: includes/addons/LSaddons.dyngroup.php:82 +msgid "Update dynamic group members cache" +msgstr "" + +#: includes/addons/LSaddons.dyngroup.php:84 +msgid "Update members cache of one (or multiple) dynamic group specifed by DN." +msgstr "" + +#: includes/addons/LSaddons.dyngroup.php:349 msgid "" "Members cache of %{count} dynamic group(s) have been updated because thes " "were potentially impacted by your changes." msgstr "" -#: includes/addons/LSaddons.dyngroup.php:345 +#: includes/addons/LSaddons.dyngroup.php:356 msgid "" "Members cache of %{count} dynamic group(s) have NOT been updated but thes " "were potentially impacted by your changes. A delay of some minutes could be "