Skip to content

Releases: pluginsGLPI/formcreator

v2.12.0-beta.1

v2.12.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@btry btry released this 17 Jun 07:54

Download it

This is a Beta version

This release is for testing, bug tracking purpose. Do not use it on production. Need tests on

  • upgrading data from earlier versions
  • forms translations feature (see below for description)
  • regressions

This version is compatible with GLPI 9.5.5 only. Support of GLPI 9.5.4 and earlier has been dropped, see notes of version 2.11.3 to know the reason.

Help / Contribution needed

Major changes

This version allows forms to be translated in several languages. The language is selected depending on the current language of the current user. If the form is used anonymously, the language is selected by scanning the browser's preferences. Play the screencast

The install / upgrade script has been dropped. GLPI provides a plugin management via CLI, use it instead to install, upgrade, activate or deactivate the plugin.

Bug Fixes

  • add and refactor search options (81f4a448)
  • change the placeholder of the search input (8cc14d4e)
  • fatal error when not filling a date (70896c96)
  • inappropriate css loading (bb48bd8b)
  • long text may be truncated (b534f7e9)
  • path detection to load JS (06a10e05)
  • reset obsoleted tabs (75d67687)
  • responsive UI (9f177131)
  • several field have useless slash escaping (14cceffe)
  • show menu when width is low (6571bd57)
  • timestamps in DB (e8649b9e)
  • actorfield: answer not displayed when shwoing saved data (c1e3f91d)
  • actorsfield: missed function rename (9ed3a50d)
  • checkboxesfield: use correct translation input type (50a79820)
  • condition: avoid HTML entities in dropdown (4bdbdb85)
  • condition: loss of condition on submit button (42d5fedd)
  • docs: remove again useless files (f57d04fc)
  • docs: remove useless files from repo (259da94b)
  • dropdownfield: add security token for GLPI 9.5.3 (d6adbbff)
  • dropdownfield: disable recursivity (98f87ab3)
  • dropdownfield: entity restriction relative to the form, not the user (358b78a0), closes #2047
  • dropdownfield: fix SQL error when translations are enabled (c55dc491)
  • dropdownfield: wrong IDOR token construct (d7152e61)
  • entityconfig: bad constant value (b887b204)
  • filefield: mandatory fails when file is uploaded (08e297b2)
  • form: add label to validator inputs (34269120)
  • form: add spacing between questions (68df69f9)
  • form: create dir for translations (d8b49484)
  • form: error message when anonymous form submitted (f48f010d)
  • form: loss of icon when editing a form (ba1ac340)
  • form: reimplement submit button conditions (363141e6)
  • form: sort not applied on 1st display (3ef23095)
  • form: typo in class name (3fcf5bd5)
  • form: version check on import (41e0108b)
  • form_language: limit items with langaues for the form only (d103bb49)
  • formanswer: cacptcha check (c5044cf1)
  • formanswer: load answers when validating a formanswer (8277822d)
  • formanswer: no longer need to call showfields on display (17d85f93)
  • formanswer: status displayed twice, useless (41a46c64)
  • formanswers: execute show conditions when displaying formanswer (3e508a10)
  • glpiselectfield: comparisons need to properly find the itemtype (57578ec2)
  • install: broken upgrade of target_actors (d4441623)
  • install: consistency between datetime and timestamp type in DB (270ee38a)
  • install: php error in upgrade (8477345d)
  • install: port DATETIME to TIMESTAMP upgrade bug from glpi (c8405774)
  • install: prevent ON UPDATE statement in table description (ab32142e)
  • issue: access to tickets (38376d94)
  • issue: enable qtip for formanswer (968c2f9f)
  • issue: include 1st level validator groups of current user (3d86a3f4)
  • issue: loss of issue on automatic action (f6a33adb)
  • issue: php warning when running mailcollector (03869be2)
  • issue: possible SQL error whe naccessing issues from helpdesk (535aa824)
  • issue: restrict user dropdowns to current user in service catalog (3ad80e25)
  • issue: update handling of url in emai: notifications (77d3a329)
  • issue: update modificaitoin date when a followup is added to ticket (0d6597ad)
  • ldapfield: PHP warning when editing the question (09e3a3a9), closes #2116
  • ldapfield: only last page of LDAP results rendered (17ac4615)
  • notificationtargetformanswer: tags not fully rendered (e0b3ba7d)
  • question: better error handling (cf8f56fc)
  • question: handle long label display (e1301b8b)
  • question: make import resilient against missing parameters (6a2e2aba)
  • question: prevent bad request (ea66d631)
  • question: reduce spacing in edition tools (f0e9f139)
  • questionrange: bad search option indexing (f73aa118)
  • section: fail to import condition settings (6f2e76fa)
  • section: handle long label in design mode (5398c4f1)
  • section: improve again UI (faa53a28)
  • section: third iteration of improvements (4a68dbcb)
  • section: various visual fixes ([e8dbaf5](https://g...
Read more

v2.11.4

Choose a tag to compare

@btry btry released this 28 May 07:10

Download it

This version is compatible with GLPI 9.5.5 only. Support of GLPI 9.5.4 and earlier has been dropped, see notes of version 2.11.3 to know the reason.

Important note:

Change of behavior since 2.11.0

The growing popularity of this plugin makes it used in more complex use cases. Recent issues and feedbacks shows that two important design solutions must evolve:

  • entity restrictions in some parts of the plugin;
  • consistency checks when showing forms to requesters;
  • processing their answers
  • consistency checks when designing forms.

These enhancements will impact some complex use cases by changing the available items of dropdowns / assets when a requester fills in a form. Those changes will occur only in minor versions updates.
In other words, we recommend you to check carefully forms containing questions related to dropdowns, assets, users and groups before upgrading to version 2.11.x.

This version contains the following change:

entity of dropdowns is now relative to the form, not the user. see #2023. Those who want to keep the old behavior must revert this change.

Bug Fixes

  • dropdownfield,glpiselectfield: entity recursivity regression (a7e08a69)
  • form: compatibility with themes (43ae9986)
  • ldapselectfield: compatibility with PHP 8 (ca09db9a)
  • selectfield: regex comparison (b211bd39)
  • selectfield,cheeckboxesfield: too much escaping (ee54f8b4)

Features

  • glpiselectfield: hook to allow plugins to declare their itemtypes (3274d3c0)

v2.11.3

Choose a tag to compare

@btry btry released this 30 Apr 09:15

Download it

This version is compatible with GLPI 9.5.5 only. Support of GLPI 9.5.4 and earlier has been dropped, see notes below to know the reason.

Important note:

Possible database issue before GLPI 9.5.5

It was found that the conversion from datetime to timestamp operated by GLPI may introduce a bug in this plugin. To solve the problem for everyone it has been decided to make this plugin compatible with GLPI 9.5.5 and drop compatibility with older 9.5.x maintenance releases. See this PR for more information: glpi-project/glpi#8872 . With this fix introduced in GLPI 9.5.5 users who convert to timestamp won't be affected by the bug, but those who converted earlier may still be impacted. To solve this, this version contains an database upgrade which repairs the impacted columns and the compatibility has been restricted to GLPI 9.5.5.

The issue was timestamp columns looking the following

`date_creation` TIMESTAMP NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),

The statement ON UPDATE current_timestamp() is added by mysql, is unwanted and may be found on 2 tables of the plugin.

Change of behavior since 2.11.0

The growing popularity of this plugin makes it used in more complex use cases. Recent issues and feedbacks shows that two important design solutions must evolve:

  • entity restrictions in some parts of the plugin;
  • consistency checks when showing forms to requesters;
  • processing their answers
  • consistency checks when designing forms.

These enhancements will impact some complex use cases by changing the available items of dropdowns / assets when a requester fills in a form. Those changes will occur only in minor versions updates.
In other words, we recommend you to check carefully forms containing questions related to dropdowns, assets, users and groups before upgrading to version 2.11.x.

This version contains the following change:

entity of dropdowns is now relative to the form, not the user. see #2023. Those who want to keep the old behavior must revert this change.

Bug Fixes

  • condition: avoid HTML entities in dropdown (451dfbd)
  • dropdownfield: disable recursivity (daa7fb0)
  • fields: prevent empty expression evaluation (f9fabb5), closes #2195
  • form: bad sql expression for right check (2e9b693)
  • form: bad SQL to find validator groups (42d0665)
  • form: compatibility with dark theme (4c465f5)
  • form: sort not applied on 1st display (cfe5347)
  • form: version check on import (849db8e)
  • formanswer: load answers when validating a formanswer (9ea1460)
  • formanswer: no longer need to call showfields on display (9cea337)
  • formanswers: execute show conditions when displaying formanswer (edd1247)
  • issue: enable qtip for formanswer (72d89b0)
  • issue: include 1st level validator groups of current user (f9addab)
  • issue: php warning when running mailcollector (c4bc865)
  • issue: restrict user dropdowns to current user in service catalog (9891c89)
  • issue: update modificaitoin date when a followup is added to ticket (4d5ed7f)
  • ldapfield: only last page of LDAP results rendered (ea4ddfc)
  • question: make import resilient against missing parameters (1594e6f)
  • section: ensure unique order for duplicate (9db4229)
  • targetticket: date 'now' from a template (f40ec4d)
  • apply translation on kb list (fb0f1a6)
  • prevent inconsistent timestamps in DB (4b66eb8)
  • responsive UI (33d8ee4)
  • show menu when width is low (9ec53fa)
  • targetticket,targetchange: bad return value in setTargetEntity (e0ddd2d)
  • targetticket,targetchange: error when displaying tag from question settings (3c1ed6a)
  • wizard: don't show tabs for KB item in service catalog (ea3afe5)
  • wizard: responsiveness for mobile devices (e2508f3)
  • wizard: show FAQ items only if have right (8d2cdf1)
  • wizard: wrong menu highlighted when browsing FAQ (cfe2ac0)

Features

  • form: enable / disable form with single click (e7bd38e)
  • glpiselectfield: databases plugin support (e245ba5)
  • issue: change status conversion matrix (60ba8bf)

v2.11.2

Choose a tag to compare

@btry btry released this 25 Feb 11:08

Download it

Important note:

The growing popularity of this plugin makes it used in more complex use cases. Recent issues and feedbacks shows that two important design solutions must evolve:

  • entity restrictions in some parts of the plugin;
  • consistency checks when showing forms to requesters;
  • processing their answers
  • consistency checks when designing forms.

These enhancements will impact some complex use cases by changing the available items of dropdowns / assets when a requester fills in a form. Those changes will occur only in minor versions updates.
In other words, we recommend you to check carefully forms containing questions related to dropdowns, assets, users and groups before upgrading to version 2.11.x.

This version contains the following change:

entity of dropdowns is now relative to the form, not the user. see #2023

Bug Fixes

  • actorfield: answer not displayed when shwoing saved data (003ddda)
  • form: loss of icon when editing a form (d340f79)
  • issue: update handling of url in emai: notifications (b99b19b)
  • fatal error when not filling a date (940bfee)
  • ldapfield: PHP warning when editing the question (db452c7), closes #2116
  • question: better error handling (051184a)
  • question: vertical alignment on display for requester (eda6842)
  • section: fail to import condition settings (7f712bd)
  • selectfield: validity check different from radios field (46ce9b3)
  • wizard: reduce spacing between search bar and results (36870e5)

Features

  • dropdownfield: allow regex comparison (9fd8c1a)

v2.11.1

Choose a tag to compare

@btry btry released this 03 Feb 08:55

Download it

Important note:

The growing popularity of this plugin makes it used in more complex use cases. Recent issues and feedbacks shows that two important design solutions must evolve:

  • entity restrictions in some parts of the plugin;
  • consistency checks when showing forms to requesters;
  • processing their answers
  • consistency checks when designing forms.

These enhancements will impact some complex use cases by changing the available items of dropdowns / assets when a requester fills in a form. Those changes will occur only in minor versions updates.
In other words, we recommend you to check carefully forms containing questions related to dropdowns, assets, users and groups before upgrading to version 2.11.x.

This version contains the following change:

entity of dropdowns is now relative to the form, not the user. see #2023

Bug Fixes

  • dropdownfield: add security token for GLPI 9.5.3 (44b5244)
  • inappropriate css loading (bbde619)
  • dropdownfield: fix SQL error when translations are enabled (0272721)
  • dropdownfield: wrong IDOR token construct (1689ecb)
  • filefield: mandatory fails when file is uploaded (58c2dd1)
  • form: error message when anonymous form submitted (a9dd24b)
  • install: broken upgrade of target_actors (40db225)
  • notificationtargetformanswer: tags not fully rendered (9c2620f)
  • question: prevent bad request (ac9f693)
  • targetticket: dropdowns for SLA/OLA (9e5bd85)

v2.11.0

Choose a tag to compare

@btry btry released this 28 Jan 10:01

Download it

Important note:

The growing popularity of this plugin makes it used in more complex use cases. Recent issues and feedbacks shows that two important design solutions must evolve:

  • entity restrictions in some parts of the plugin;
  • consistency checks when showing forms to requesters;
  • processing their answers
  • consistency checks when designing forms.

These enhancements will impact some complex use cases by changing the available items of dropdowns / assets when a requester fills in a form. Those changes will occur only in minor versions updates.
In other words, we recommend you to check carefully forms containing questions related to dropdowns, assets, users and groups before upgrading to version 2.11.x.

This version contains the following change:

entity of dropdowns is now relative to the form, not the user. see #2023

Major features

  • Questions are now positioned on a 4 columns grid and may have variable width
  • Service catalog may split forms and KB in 2 distinct menu entries (disabled by default)
  • Default sorting of forms (alphabetic, popularity) is now customizable (see entity > forms tab)
  • Captcha for anonymous forms (disabled by default)

Deprecated

  • SyncIssues automatic action is now disabled by default. Upgrading to 2.11 will disable it as well.

Changelog

Bug Fixes

  • actorsfield: missed function rename (8d26857)
  • condition: loss of condition on submit button (bc69358)
  • entityconfig: bad constant value (114f6d1)
  • form: add label to validator inputs (73295e3)
  • form: add spacing between questions (2946d74)
  • form: reimplement submit button conditions (9211926)
  • issue: loss of issue on automatic action (436035c)
  • question: handle long label display (7705e58)
  • question: reduce spacing in edition tools (bdd5240)
  • section: handle long label in design mode (b86de8d)
  • section: improve again UI (bd2dc96)
  • section: third iteration of improvements (8716108)
  • path detection to load JS (c2fa979)
  • several field have useless slash escaping (e61d6ff)
  • section: various visual fixes (c9f9e3b)
  • wizard: use constant (bb326eb)
  • wizard: var declaration mandatory (7645f63)

Features

  • condition: add condition to show or hide the item (2681b9c)
  • dropdownfield: integrate splitcat (1.3.0) (784eae0)

v2.11.0-beta.1

v2.11.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@btry btry released this 07 Jan 12:33

Download it

This version is beta. You may contribute to improve the plugin before the final release, planned for the last week of January 2021.

How can you help?

  • Test the upgrade process of the plugin.
  • Test the new features, especially the new questions layout for forms.
  • Help to translate the locales in your language. Translations are stored on Transifex.

Important note:

The growing popularity of this plugin makes it used in more complex use cases. Recent issues and feedbacks shows that two important design solutions must evolve:

  • entity restrictions in some parts of the plugin;
  • consistency checks when showing forms to requesters;
  • processing their answers
  • consistency checks when designing forms.

These enhancements will impact some complex use cases by changing the available items of dropdowns / assets when a requester fills in a form. Those changes will occur only in minor versions updates.
In other words, we recommend you to check carefully forms containing questions related to dropdowns, assets, users and groups before upgrading to version 2.11.x.

This version contains the following change:

entity of dropdowns is now relative to the form, not the user. see #2023

Major features

  • Questions are now positioned on a 4 columns grid and may have variable width
  • Service catalog may split forms and KB in 2 distinct menu entries (disabled by default)
  • Default sorting of forms (alphabetic, popularity) is now customizable (see entity > forms tab)
  • Captcha for anonymous forms (disabled by default)

Deprecated

  • SyncIssues automatic action is now disabled by default. Upgrading to 2.11 will disable it as well.

Changelog

Bug Fixes

  • bad path for marketplace (e8b38f0c)
  • bad path for marketplace, load tinymce in issue (9b75f05f)
  • class should not be accessed directly (aeb59ebf)
  • class should not be accessed directly (480a8fa7)
  • fix ajax calls (02013495)
  • keep backward compatibility with GLPI 9.4 (834c73a2)
  • keep the user in the service catalog (7f9451a8)
  • marketplace compatibility (08dc1a18)
  • marketplace compatibility (again) (ef5f0803)
  • missing declaration for variable (b765930d)
  • missing declaration for variable (071d39d0)
  • modal positionning (c94df7c7)
  • other bad redirections (3830463b)
  • path for marketplace compatibility (1d8bcf60)
  • remove code left for debug (81bc7b6b)
  • several missing cap in strings (b8a37b6e)
  • syntax error in JS file (84a3707e)
  • update hooks (1ffb1ca1)
  • useless escaping (dca026d2)
  • various fix on fields (a01d603c)
  • various fixes on duplicate / import (0d7c4dd2)
  • actorsfield: compatibility with GLPI 9.5.3 (7e3c6e74)
  • build: invert order of versions in changelog (9a8782e3)
  • category: entity restriction not applied (fb2a1957)
  • category: use short name (ad3d16d1)
  • central: list of forms displayed twice (056b419d)
  • checkbowesfield: migrate data to JSON (2b431253)
  • checkboxfield: avoid unicode escaping (3276b9a7)
  • common: better search for ticket validation (e7bbdccb)
  • common: getMax fails with PHP 7.4 (51ebc459)
  • conditin: export broken (62b1d692)
  • condition: broken UI when adding a conditionnable with conditions (006b2860)
  • condition: catch comparison exception (4bdaab4b)
  • condition: export broken (788d1f17)
  • condition: inability to add a rows to conditions (40129a69)
  • condition: missing FK when editing conditions (c96f2f53)
  • condition: permit update of conditionnable items without specifying conditions agaiin (b95bdae9)
  • condition: php warning if a wuestion does not exists (9e6ae32b)
  • condition: remove conditions when disabled (b2655e54)
  • condition: use of constants (234b4e30)
  • confition: hide garbage conditions (4491e7a2)
  • datefield: undefined var when creating question (b11bc4e5)
  • datefield,datetimefield: avoid PHP warnings (90f82596)
  • datefield,datetimefield: not rendered fields (fe70b426)
  • description: simple text may render HTML tags (09c0b4bd)
  • dropdownfield: SQL error : ambiguous column id (2da15830)
  • dropdownfield: SQL error to find curent user's groups (985a8b28)
  • dropdownfield: bad entity restriction (3a664f80)
  • dropdownfield: compatibility with Document itemtype (bc968b39)
  • dropdownfield: compatibility with Tags plugin (7752758a)
  • dropdownfield: empty dropdown (2b8b7f12)
  • dropdownfield: entity restriction relative to the form, not the user (dc7dda94), closes #2047
  • dropdownfield: label for change categories and request categories (b534ad37)
  • dropdownfield: not rendered (a2633082)
  • dropdownfield: update classname (67aec202)
  • dropdownfield,glpiobjectfield: sub type not dosplayed (b4808b22)
  • dropdownfield,glpiselectfield: empty value parameter not honored (187daa50)
  • dropdownfields: handle empty value for entities dropdown (3a5dab7c)
  • emailfield: disable inherited parameters (2ee1bd5a)
  • exportable: implement missing method (4e867270)
  • exportable: implement missing method (393dfea1)
  • exportable: implement missing method (6897cb17)
  • exportable: unsolved merge conflict (a868aff7)
  • field: normalize class name (a27f82eb)
  • fieldinterface: method signature mismatch (076937b5)
  • filefield: broken mandatory check (f449acaa)
  • filefield: documentt upload with GLPI 9.5 (2b48e824)
  • filefield: php warning when editi...
Read more

v2.10.4

Choose a tag to compare

@btry btry released this 12 Nov 08:49

Download it

This version is compatible with GLPI 9.4.5 or later and GLPI 9.5

Bug Fixes

  • dropdownfield: compatibility with Document itemtype (bdd533a)
  • form: missinb closing tag (faab454)
  • formanswer: uploads lost when re-submitting answers (962eafa)
  • issue: enhance error message when canceling an issue (cf21817)
  • issue: handle deletion of validation (385eee4)
  • issue: update issue status on ticket validation update (ca68eb4)
  • locales: reapply bad translation fix (b8d6466)
  • notificationtargetformanswer: not rendered fullform tag (f83ce3f)
  • targetticket,targetchange: handle import failure on missing question (e17c5a3)
  • wizard: reservation search failure (b6e0dd8)
  • update hooks (d2d9980)

Features

  • targetticket,targetchange: add tag for notification (9da6fb5)

v2.10.3

Choose a tag to compare

@btry btry released this 16 Oct 08:24

Download it

This version is compatible with GLPI 9.4.5 or later and GLPI 9.5

Bug Fixes

  • description: simple text may render HTML tags (dc82b195)
  • dropdownfield: SQL error to find curent user's groups (c86bc4e5)
  • dropdownfield: bad entity restriction (9f4b1add)
  • form: bad path to css (ffff1b4e)
  • form: bad sharing URL (6ea4dff2)
  • glpiselectfield: missing caps un classnames (203b5b95)
  • issue: update issue status on ticket validation update (4819b268)
  • locales: bad locale string (766cea3c)
  • targetticket: undefined type after creation ([e3188ef]
    (e3188efc))
  • targetticket: change default for ticket type rule (19a098fc)
  • textfield,textareafield: escaping problem when editing question (231e9e4c)
  • wizard: missing HTML tag breaking footer (a299a141)

Features

  • use font awesome for all icons (25cb6b7f)
  • descriptionfield: allow description field in targets (5fedd96a)
  • question,section: tip on conditions count (303fe860)

v2.10.2

Choose a tag to compare

@btry btry released this 08 Sep 07:18

Download it

This version is compatible with GLPI 9.4.5 or later and GLPI 9.5

Bug Fixes

  • modal positionning (a0e0873f)
  • condition: duplicated JS function (acbe985b)
  • confition: hide garbage conditions (8810cd68)
  • filefield: broken mandatory check (f70a8472)
  • form: bad session var type when using anonymous form (9d43e80f)
  • form: doubling starcauses SQL error (41101ca1)
  • form: error in displayed form URL (d21c5b3a)
  • form: forbid clone massive action in GLPI 9.5 (2947d6f6)
  • form: prevent SQL errors, remove natural language search (2eabddf5)
  • form_profile: HTML form name mismatch (f201f37a)
  • form_profile: not rendered selection of profiles (1c0d27d5)
  • formanswer: do not render section title if invisible (6bb6be33)
  • formanswer: missing validation checks when user updates a refused form (788ac89c)
  • issue: adjust ticket status n automatic action (397a9127)
  • issue: repopulate table on upgrade (90727ae2)
  • issue: status conversion for ticket (9aae13d0)
  • issue: syncissues drops most requesters (1fa10c82)
  • issue: validated ticket status (24dacd2a)
  • question: parameters duplicated twice (e6889cc0)
  • section: order of sections not respected on import (e9bf84b7)
  • target: load all tag questions (bbcfc8a5)
  • targetchange: do not geenrate HTML for simple text fields (2d7a5f68)
  • targetchange: prevent SQL escaping bug (c88cb991)
  • targetticket: last valid category ignored visibility state (f6e09f09)
  • targetticket,targetchange: too many escaping on target_name (fcfbed98)

Features

  • question,section: show conditions count (dd22ca02)