fusiondirectory-plugins issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues2021-03-15T16:55:16Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6000correct the get help section in the readme.md2021-03-15T16:55:16Zbmortiercorrect the get help section in the readme.mdcorrect the get help section in the readme.md
hello,
we need to coorect the get help in the readme.md
we have to split community support form commercial support
we got a ticket in github https://github.com/fusiondirectory/fusiondirec...correct the get help section in the readme.md
hello,
we need to coorect the get help in the readme.md
we have to split community support form commercial support
we got a ticket in github https://github.com/fusiondirectory/fusiondirectory-plugins/issues/22
cheersFusionDirectory 1.3.1bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6073Add tar.gz build pour fixes packages2021-03-15T16:47:58ZJonathan SwaelensAdd tar.gz build pour fixes packages## Descriptive title for this enhancement
Add tar.gz build pour fixes packages
### Actual behavior
We only build dev for now
### Expected behavior
Building fixes packages with the CI
### Benefits
The build would be auto after merge## Descriptive title for this enhancement
Add tar.gz build pour fixes packages
### Actual behavior
We only build dev for now
### Expected behavior
Building fixes packages with the CI
### Benefits
The build would be auto after mergeFusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelenshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6087add a security.md for github compliance2021-03-15T16:41:17Zbmortieradd a security.md for github complianceHello,
we need a security.md for github compliance
we can use https://www.fusiondirectory.org/en/security/
CheersHello,
we need a security.md for github compliance
we can use https://www.fusiondirectory.org/en/security/
CheersFusionDirectory 1.3.1bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5911supannRefId field is missing for "etablissement"2021-01-28T21:29:10ZagallavardinsupannRefId field is missing for "etablissement"### Requirements
Add the supannRefId field in FD when adding or modifying an "etablissement"
It is allowed by LDAP schema (field member of supannEntite)
### Actual behavior
![image](/uploads/31d07e7fb6b418351d5cfe2f253b0ea1/image.png)...### Requirements
Add the supannRefId field in FD when adding or modifying an "etablissement"
It is allowed by LDAP schema (field member of supannEntite)
### Actual behavior
![image](/uploads/31d07e7fb6b418351d5cfe2f253b0ea1/image.png)
No supannRefId is shown
### Expected behavior
Supann RefId should be available in this interface
dirty fix :
```
root@mc-pas-test:/usr/share/fusiondirectory/plugins/admin/supannStructures# diff class_etablissement.inc class_etablissement.inc.init
117,125d116
< new SetAttribute(
< new StringAttribute(
< _('Reference IDs'), _('supannRefId - IDs/links for this entity on other systems'),
< 'supannRefId', FALSE,
< '', '',
< // Validation regexp: it must have a prefix
< '/^{[^}]+}.+$/'
< )
< ),
```FusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelenshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5993_getTabFooter has been renamed getTabFooter2021-01-28T21:04:26ZCôme Chilliet_getTabFooter has been renamed getTabFooterBecause of fd#5974 changes, we need to adapt code in argonaut pluginBecause of fd#5974 changes, we need to adapt code in argonaut pluginFusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelenshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5978GPG key addition crash2021-01-03T13:49:05ZPatzke ThomasGPG key addition crash### Description
Uploading of a PGP Key via the web interface caused an exception.
### Distribution Name and Version
Ubuntu 16.04
### FusionDirectory Version
1.3
### Plugin with the defect
gpg
### PHP version used
7.0.4
### Orig...### Description
Uploading of a PGP Key via the web interface caused an exception.
### Distribution Name and Version
Ubuntu 16.04
### FusionDirectory Version
1.3
### Plugin with the defect
gpg
### PHP version used
7.0.4
### Origin of php packages
Debian Repository *debian-stretch* from repos.fusiondirectory.org
### Steps to Reproduce
1. Login to Fusion Directory
2. Click on GPG
3. Click on Add button
4. Select an entry and add it
**Expected behavior:**
Key is added
**Actual behavior:**
Exception is thrown.
**Reproduces how often:**
100%
### Additional Information
I've provided a fix: https://gitlab.fusiondirectory.org/pthomas/fd-plugins/commit/3618a5a0e9382b46dfb21b8f908f548a87452c5b
Unfortunately I'm not able to make a merge request. The fix is tested in our environment.FusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelenshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5935Crash when I try to create a server with argonaut plugin and without dns plugin2021-01-03T12:49:37ZJonathan SwaelensCrash when I try to create a server with argonaut plugin and without dns plugin### Description
I installed the plugin argonaut for FusionDirectory
When I try to create a server I see the next crash
```
Fatal error: Uncaught NonExistingObjectTypeException: Non-existing type "dnsZone" in /usr/share/fusiondirector...### Description
I installed the plugin argonaut for FusionDirectory
When I try to create a server I see the next crash
```
Fatal error: Uncaught NonExistingObjectTypeException: Non-existing type "dnsZone" in /usr/share/fusiondirectory/include/class_objects.inc:335
Stack trace:
#0 /usr/share/fusiondirectory/include/class_objects.inc(61): objects::infos('dnsZone')
#1 /usr/share/fusiondirectory/plugins/admin/systems/services/argonaut/class_argonautDNSConfig.inc(152): objects::ls(Array, NULL, 'dc=nodomain', '', true)
#2 /usr/share/fusiondirectory/plugins/admin/systems/class_serverService.inc(92): argonautDNSConfig->__construct('new', Object(ServerService))
#3 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(92): ServerService->__construct('new', Object(serverGeneric), Object(servtabs), false)
#4 /usr/share/fusiondirectory/include/class_objects.inc(279): simpleTabs->__construct('SERVER', 'new')
#5 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(693): objects::open('new', 'SERVER')
#6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(945): simpleManagement->newEntry('new_SERVER in /usr/share/fusiondirectory/include/class_objects.inc on line 335
```
The crash disappear if I install the dns plugin
### Distribution Name and Version
Debian Stretch
### FusionDirectory Version
1.3
### Plugin with the defect
Systems / DNS
### PHP version used
7.0.33
### Origin of php packages
Debian
### Steps to Reproduce
1. Install FD + Argonaut plugin
2. Try to create a server and see the crash
3. Install DNS plugin and try to create a server again to see it solve the issue
**Expected behavior:**
We should be able to use argonaut plugin alone without the dns plugin
**Actual behavior:**
It look like the DNS plugin must be a dependence of argonaut plugin
**Reproduces how often:**
100%FusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelenshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5976Problem with gidNumber in posix group template2021-01-03T12:43:42Zemmanuel thetasProblem with gidNumber in posix group template### Description
When you do a posixgroup template, gid number is saved, so when you do a posixgroup gid is the same each time you use this template.
### Distribution Name and Version
Centos 7
### FusionDirectory Version
1.3.0
### ...### Description
When you do a posixgroup template, gid number is saved, so when you do a posixgroup gid is the same each time you use this template.
### Distribution Name and Version
Centos 7
### FusionDirectory Version
1.3.0
### PHP version used
7.1
### Origin of php packages
fusiondirectory
### Steps to Reproduce
<!-- Required -->
1. do a posixgroup template
2. do many posixgroup with this template
3. they all have the same gidNumber
**Expected behavior:**
no gid saved in template
**Actual behavior:**
gid saved in template
**Reproduces how often:**
100%
### Additional InformationFusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5970Compatibility error between sudo and mixedgroup plugins2020-10-19T13:47:47ZJason SeculaCompatibility error between sudo and mixedgroup plugins### Description
<!-- Required -->
There is a compatibility error between sudo and mixedgroup plugin triggering an error when adding, deleting or editing a group with 2+ users in it already.
The error only happens when sudo and mixedgrou...### Description
<!-- Required -->
There is a compatibility error between sudo and mixedgroup plugin triggering an error when adding, deleting or editing a group with 2+ users in it already.
The error only happens when sudo and mixedgroup plugins are installed altogether.
Also it sometimes takes multiples retry to successfully edit the group once the error is showing up.
<!-- Description of the issue -->
### Distribution Name and Version
<!-- Required -->
<!-- Debian, Centos -->
Ubuntu 18.04 bionic
### FusionDirectory Version
<!-- Required -->
1.3
### Plugin with the defect
<!-- Required -->
<!-- Name of the plugin -->
Sudo & Mixedgroup
### PHP version used
<!-- Required -->
7.2
### Origin of php packages
<!-- Required -->
<!-- Distribution packages, Out of distribution -->
Distribution packages
### Steps to Reproduce
<!-- Required -->
1. Install both plugins and use rfc2307bis schema so you can use mixedgroup
2. Create a group and add one user in it
3. Try to add one more user to the group
4. Try to delete the user from the group
5. Try editing any data once they are at least two users in the group
**Expected behavior:**
<!-- What you expect to happen-->
The group being edited successfully without any errors since the users are valid.
**Actual behavior:**
<!-- What actually happens -->
An error is showing up blocking you from editing the group.
**Reproduces how often:**
<!-- What percentage of the time does it reproduce?-->
everytime you try to edit a group with already 2+ members
### Additional Information
<!-- optional -->
<!-- Any additional information, configuration or data that might be necessary to reproduce the issue. -->
Error showing up:
```
Fatal error: Uncaught Error: Call to a member function hasChanged() on null in /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:1897 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1632): simplePlugin->attributeHaveChanged('cn') #1 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1543): simplePlugin->browseForeignKeys('handle_move', NULL, NULL) #2 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1397): simplePlugin->handleForeignKeys() #3 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1350): simplePlugin->handle_post_events('modify') #4 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1232): simplePlugin->post_save() #5 /usr/share/fusiondirectory/plugins/admin/ogroups/mixedgroups/class_mixedGroup.inc(180): simplePlugin->save() #6 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(430): mixedGroup->save() #7 /usr/share/fusiondirectory/plugins/admin/groups/t in /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc on line 1897
```FusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/6063Argument 4 passed to DhcpHostsAttribute::postLdapSave() must be of the type a...2020-10-19T13:39:05ZCôme ChillietArgument 4 passed to DhcpHostsAttribute::postLdapSave() must be of the type array, string givenFrom https://github.com/fusiondirectory/fusiondirectory-plugins/issues/24
```
PHP Fatal error:
Uncaught TypeError: Argument 4 passed to DhcpHostsAttribute::postLdapSave() must be of the type array, string given, called in
/usr/share/fu...From https://github.com/fusiondirectory/fusiondirectory-plugins/issues/24
```
PHP Fatal error:
Uncaught TypeError: Argument 4 passed to DhcpHostsAttribute::postLdapSave() must be of the type array, string given, called in
/usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc on line 405 and defined in /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc:159
Stack trace:
#0 /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc(405): DhcpHostsAttribute->postLdapSave(Object(ldapMultiplexer), false, false, '10.168.1.20', '10.168.1.20', false, '00:02:d1:08:05:...', '00:02:d1:08:05:...')
#1 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1226): dhcpSystem->ldap_save()
#2 /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc(430): simplePlugin->save()
#3 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(828): simpleTabs->save()
#4 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(945): simpleManagement->applyChanges('apply', Array, Array)
#5 /usr/share/fusiondirectory/includ in /usr/share/fusiondirectory/plugins/admin/systems/class_dhcpSystem.inc on line 159, referer: http://10.0.173.187/main.php?plug=81
```FusionDirectory 1.3.1https://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5912Unable to spread a user to FD from sinaps if the user is affected to an etabl...2020-02-05T09:44:35ZagallavardinUnable to spread a user to FD from sinaps if the user is affected to an etablissement### Description
Unable to spread a user to FD from sinaps if the user belong to the main structure ( etablissement)
### Distribution Name and Version
debian stretch
### FusionDirectory Version
1.3 dev
### Plugin with the defect
si...### Description
Unable to spread a user to FD from sinaps if the user belong to the main structure ( etablissement)
### Distribution Name and Version
debian stretch
### FusionDirectory Version
1.3 dev
### Plugin with the defect
sinaps ou supann ( maybe related to #5911 )
### PHP version used
php7
### Origin of php packages
from debian official repository
### Steps to Reproduce
1. all structure ares synced between SINAPS and FD
2. on sinaps, the user belong to the main structure : the establishment
3. when user is spread to FD, the main structure isn't found
**Expected behavior:**
user should be spread successfully
**Actual behavior:**
error occurs : `<messageAcquittement>Could not find entite {LDAPUUID}3ba4a924-9bb8-5745-b9f1-fc7347bff2b5</messageAcquittement><codeAcquittement>`
**Reproduces how often:**
100%
### Additional Information
by there is a link with #5911FusionDirectory 1.3.1agallavardinagallavardinhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5991ORCID last character may be 'X' and not a number2019-08-29T14:08:38ZCôme ChillietORCID last character may be 'X' and not a numberValid ORCID values are refused by the personal plugin.
Related documentation: https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-IdentifierValid ORCID values are refused by the personal plugin.
Related documentation: https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-IdentifierFusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelenshttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5992Email icon should be moved to core2019-08-29T13:23:18ZCôme ChillietEmail icon should be moved to coreSee fd#6023See fd#6023FusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5897When a user is removed from Sinaps, we need to send back a deletion acquisition2019-08-29T13:22:20ZCôme ChillietWhen a user is removed from Sinaps, we need to send back a deletion acquisitionhttps://gitlab.opensides.be/irstea-git/sinaps/issues/13https://gitlab.opensides.be/irstea-git/sinaps/issues/13FusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5938Make %passwordClear% available to sambaAccount hooks2019-07-04T13:33:10ZCôme ChillietMake %passwordClear% available to sambaAccount hooksWaiting for something cleaner like fd#5977 , add `%passwordClear%` in the `sambaAccount` tab so that in can be used in hooks for AD sync.Waiting for something cleaner like fd#5977 , add `%passwordClear%` in the `sambaAccount` tab so that in can be used in hooks for AD sync.FusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5972update manpages for 1.3.12019-07-04T13:16:44Zbmortierupdate manpages for 1.3.1Hello,
we need to update the manpages for 1.3.1
CheersHello,
we need to update the manpages for 1.3.1
CheersFusionDirectory 1.3.1bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5949Systems dashboard crashes2019-06-28T20:53:44ZCôme ChillietSystems dashboard crashesSee fd#5967See fd#5967FusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5945unable to add SINAPS Structure2019-06-28T20:53:44Zagallavardinunable to add SINAPS Structure### Description
unabel to add structure, PHP error occurs
### Distribution Name and Version
Debian 9
### FusionDirectory Version
1.3-2~jenkinsbuild113
### Plugin with the defect
fusiondirectory-plugin-sinaps 1.3-2~jenkinsbuild...### Description
unabel to add structure, PHP error occurs
### Distribution Name and Version
Debian 9
### FusionDirectory Version
1.3-2~jenkinsbuild113
### Plugin with the defect
fusiondirectory-plugin-sinaps 1.3-2~jenkinsbuild113
### PHP version used
7
### Origin of php packages
from debian reository
### Steps to Reproduce
1. create structure on sinaps
2. push it on FusionDirectory
**Expected behavior:**
A new structure is create and Id sent to sinaps
**Actual behavior:**
php Error
```
php /usr/share/doc/fusiondirectory-plugin-sinaps/test/testEndPoint.php http://fd-server/sinaps.php?token=991997f4-a48f-4e8d-87e5-78432fbe80ed ./ee67e316-6e9b-4d0a-9935-b8c523ef1db0.xml
***** Server response *****
<br />
<b>Fatal error</b>: Uncaught InvalidValueException: SetAttribute "Parent entities" was set to a non-compatible value in /usr/share/fusiondirectory/include/simpleplugin/attributes/class_SetAttribute.inc:352
Stack trace:
#0 /usr/share/fusiondirectory/include/simpleplugin/class_Attribute.inc(164): SetAttribute->checkValue('DAFA')
#1 /usr/share/fusiondirectory/include/simpleplugin/class_Attribute.inc(643): Attribute->setValue('DAFA')
#2 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(1938): Attribute->deserializeValue('DAFA')
#3 /usr/share/fusiondirectory/include/class_sinapsDiffusionHandlerJob.inc(255): simplePlugin->deserializeValues(Array)
#4 /usr/share/fusiondirectory/include/class_sinapsDiffusionHandlerJob.inc(136): sinapsDiffusionHandlerJob->fillObject('entite', Array, 'supannCodeEntit...')
#5 /usr/share/fusiondirectory/include/class_sinapsDiffusionHandlerJob.inc(59): sinapsDiffusionHandlerJob->handleStructureDiffusion(Array)
#6 /usr/share/fusiondirectory/html/sinaps.php(79): sinapsDiffusionHandlerJob->h in <b>/usr/share/fusiondirectory/include/simpleplugin/attributes/class_SetAttribute.inc</b> on line <b>352</b><br />
***** End of server response *****
```
**Reproduces how often:**
100%
### Additional Information
as attachement xml file and dry-run file
parent structure exist !
[DAFA-G-GEST.DRY-RUN](/uploads/36deb20606ff0bd506235e3a2ba212cd/DAFA-G-GEST.DRY-RUN)
[DAFA-G-GEST.xml](/uploads/4fc605844986f877da9918e0466300aa/DAFA-G-GEST.xml)FusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5944add addvalues/delvalues documentation2019-06-28T20:53:44Zmhamantadd addvalues/delvalues documentationin #5775, @MCMic mentioned :
> There is addvalues and delvalues already, they are just missing from the documentation.
Unless I'm wrong, the documentation still misses at https://api.fusiondirectory.org/classfdRPCService.html#detailsin #5775, @MCMic mentioned :
> There is addvalues and delvalues already, they are just missing from the documentation.
Unless I'm wrong, the documentation still misses at https://api.fusiondirectory.org/classfdRPCService.html#detailsFusionDirectory 1.3.1Côme ChillietCôme Chilliethttps://gitlab.fusiondirectory.org/fusiondirectory/fd-plugins/-/issues/5942Error for user-reminder about smarty2019-06-28T20:53:44ZJonathan SwaelensError for user-reminder about smarty### Description
If we try to access the user-reminder page we see the following error
```
Fatal error: Uncaught --> Smarty: Unable to load template 'file:setup_header.tpl' in '/usr/share/fusiondirectory/ihtml/themes/breezy/user-reminde...### Description
If we try to access the user-reminder page we see the following error
```
Fatal error: Uncaught --> Smarty: Unable to load template 'file:setup_header.tpl' in '/usr/share/fusiondirectory/ihtml/themes/breezy/user-reminder.tpl' <-- thrown in /usr/share/php/smarty3/sysplugins/smarty_internal_template.php on line 185
```
If we remove the part that load setup_header.tpl it looks like there is no other issue
### Distribution Name and Version
Debian 9
### FusionDirectory Version
1.3
### Plugin with the defect
user-reminder
### PHP version used
php7
### Origin of php packages
debian
### Steps to Reproduce
1. Acces the user-reminder page
**Expected behavior:**
No smarty errors
**Actual behavior:**
There is an error
**Reproduces how often:**
100%FusionDirectory 1.3.1Jonathan SwaelensJonathan Swaelens