Skip to content

Releases: pluginsGLPI/formcreator

v2.12.7

Choose a tag to compare

@btry btry released this 25 Nov 07:19

Download it

This version is compatible with GLPI 9.5.5 or later only. Users of GLPI 10 must use Formcreator 2.13 or later. Support of GLPI 9.5.4 and earlier has been dropped, see notes of version 2.11.3 to know the reason.

⚠️ Version 2.12.6 had missing files for LDAP questions. This release address this problem.

Help / Contribution needed

  • Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
  • documentation review and updates

Bug Fixes

  • ldapquestion: missing files (4b4d801b)

2.13.3

Choose a tag to compare

@btry btry released this 24 Nov 12:43

Download it

This version is compatible with GLPI 10.0.

Upgrade from 2.13.0 or later

A database sanity check is done before running the upgrade. If the tables of the plugin have a difference with the expected schema the upgrade will fail with a message similar to the following:

The database schema is not consistent with the installed Formcreator 2.13.0. 
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator

It is required to fix the database, using the diff produced by the CLI command given in the message. Once done, try again to upgrade.

ℹ️ If you know what you are doing you may bypass the sanity check from CLI with the following command.

bin/console glpi:plugin:install formcreator -f -p skip-db-check

Possible encoding problems in tickets created in GLPI 9.5 or older

⚠️ GLPI 10.0 encodes rich text content in a different way compared to GLPI 9.5. This revealed some bugs in the plugin in previous versions and GLPI may display old tickets with HTML tags. A CLI tool is available to fix 3 types of inconsistencies. You should test the command in a testing environment or do a backup first.

bin/console glpi:plugins:formcreator:clean_tickets

Bug Fixes

  • abstractitiltarget: copy may generate unwanted ouput to navigator (8792ed3dc)
  • abstracttarget: support for sla and ola from question (e4c6ffeb6)
  • category: do not access page if the plugin is not active (a959839c7)
  • category: don't activate plugin to access categories (4cd4f600e)
  • checkboxesfield: back to BR (c8908f265)
  • checkboxesfield: back to BR (56d1e7e94)
  • checkboxesfield, radiosfield: checkboxes and radios backslashes (#3050) (47da0ea0a)
  • common: captcha check (b2b7efc89)
  • dashboard: fix dashboard height (712bdc8ad)
  • datefield: change event and comparison (9da947783)
  • filefield: do not assume index of files (a02a9c7ce)
  • form: delete question does not reset preview tab (ad87ddc87)
  • form: prevent SQL error (17aa94309)
  • form: prevent sending two csrf tokens (c04c71bab)
  • form: tab name must obey 'show count' setting (b89232eb3)
  • form_language: call to undefined method (137a66047)
  • formanswer: page switching loose filter (14d3ed7ac)
  • install: bad command in error message (f357d9ca4)
  • install: handle possible null while changing fields (0a847af4c)
  • issue: access to saved searches from service catalog (b7481825a)
  • issue: default joint for issue (631888e47)
  • issue: show save button for followup edit (810c854f1)
  • issue: sync issue fails when a ticket has several validators (3f51fbdd9)
  • issue: useless criteria nesting (369fdb57b)
  • selectfield: too many unescaping (706b70faa)
  • targetticket: set request source if no rule specified (2e04680eb)
  • textareadifield: error when deduplicating uploads (666d81395)
  • wizard: consistent breadcrumb on several pages (6639cda03)

Features

v2.12.6

Choose a tag to compare

@btry btry released this 22 Nov 11:33

Download it

This version is compatible with GLPI 9.5.5 or later only. Users of GLPI 10 must use Formcreator 2.13 or later. Support of GLPI 9.5.4 and earlier has been dropped, see notes of version 2.11.3 to know the reason.

⚠️ This version intends to fix compatibility with GLPI 9.5.10 and 9.5.11 which contains an upgrade of TinyMCE (used for rich text editors). Some other fixes are also available in this release; see the changelog.

⚠️ Important note: Some administrators use business rules relying on the request source field in tickets to distinguish tickets created by Formcreator. A change has been done in the plugin to allow customization of the request source via ticket templates. Target ticktets without template will lose the request source "Formcreator". If business rules use the request source "Formcreator" it is recommended to add a ticket template to target tickets, with a predefiend field "request source" set to "Formcreator".

Help / Contribution needed

  • Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
  • documentation review and updates

Bug Fixes

  • abstracttarget: retrieve sub itemtype from question (eccf3d1a)
  • condition: empty sql IN statement (8e4d0491)
  • dropdownfield,glpiselectfield: shiw item ID only on user preference (53dc3aeb)
  • form: lightbulb always gray in darker theme (76a42bb4)
  • glpiselectfield: bad WHERE criteria with entities (154a3531)
  • glpiselectfield: comparison with regex (e6986b04)
  • issue: performance problem in sync issue query (0e1761c9)
  • issue: performance problem in sync issue query (74b38ec0)
  • issue: requester replaced by author on ticket update (a8580a79)
  • issue: sync issues problem when a ticket has several validators (backport 2.12) (#2971) (e3011590)
  • radiosfield: accessibility from keyboard (e528aae7)
  • targetticket: assign group actor from object (42aaadd4)
  • textareafield: compatibility with GLPI 9.10 (a325a948)
  • textareafield: compatibility with GLPI 9.5.10 (7f2ff1a9)
  • textfield: remove invalid '\r\n' tokens (#3065) (da9d8dca)
  • wizard: bad label when searching KB items (f469d048)

Features

  • ldapselectfield: lazy loading (1afc6753)

2.13.2

Choose a tag to compare

@btry btry released this 20 Oct 11:27

Download it

This version is compatible with GLPI 10.0.

Upgrade from 2.13.0 or later

A database sanity check is done before running the upgrade. If the tables of the plugin have a difference with the expected schema the upgrade will fail with a message similar to the following:

The database schema is not consistent with the installed Formcreator 2.13.0. 
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator

It is required to fix the database, using the diff produced by the CLI command given in the message. Once done, try again to upgrade.

ℹ️ If you know what you are doing you may bypass the sanity check from CLI with the following command.

bin/console glpi:plugin:install formcreator -f -p skip-db-check

Possible encoding problems in tickets created in GLPI 9.5 or older

⚠️ GLPI 10.0 encodes rich text content in a different way compared to GLPI 9.5. This revealed some bugs in the plugin in previous versions and GLPI may display old tickets with HTML tags. A CLI tool is available to fix 2 types of inconsistencies. You should test the command in a testing environment or do a backup first.

bin/console glpi:plugins:formcreator:clean_tickets

Bug Fixes

  • just reencode br (cce2e7e1c)
  • show KB items without category (91f4deb75)
  • abstractitiltarget: email addresses were ignored (4c28a09b8)
  • docs: mix of single and singular/plural locales (dc8f38cc3)
  • dropdownfield: tree depth not restored in design dialog (af4096bba)
  • fields: add default value to prevent SQL error (#2965) (19f039569)
  • form: risk of selecting the wrong form in DOM (bb31fd163)
  • form: submit once (b00844208)
  • form: unescape form name (5b802658a)
  • formanswer: PHP 8.1 compatbility, error message if invalid JSON detected (8ff7ff91a)
  • formanswer: PHP 8.1 compatibility: null passed instead of string (297fb2713)
  • formanswer: redirect after submission of targetless form (4d60239d1)
  • requesttypefield: warning if comparing against empty value (dca5afb82)
  • section: label for conditions in designer (01e570319)
  • wizard: FAQ list (#3031) (bb0732ca7)

Features

  • tool to repair escaping problem in some tickets (68db0ffda)
  • form: submit forms once (abed86101)
  • formanswer: notification with URL to generated objets (fa6a360f0)
  • formanswer: restore toasts when craeting targets (f43df3ebb)
  • install: show the DB diff when upgrade runs from CLI (#2994) (4abb099a6)

2.13.1

Choose a tag to compare

@btry btry released this 19 Sep 09:26

Download it

This version is compatible with GLPI 10.0.

⚠️ You must to upgrade from a previous stable version. Upgrading from a development or testing version is not supported.

Upgrade from a stable version older than 2.13.0

⚠️ The plugin introduces a database sanity check. This feature checks that after the upgrade the tables have the expected structure. This revealed that some instances using Formcreator for years may have accumulated inconsistencies. The upgrade process will fix most of them for you. After the upgrade if some inconsistencies remains a non-blocking error will show:

The database schema is not consistent with the installed Formcreator 2.12.5. 
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator

If this error happens, switch GLPI to maintenance mode, then from a shell, locate to youtr GLPI instance folder and issue the following commands (requires GLPI 10.0.2 or later):

php bin/console glpi:plugin:activate formcreator
php bin/console glpi:database:check_schema_integrity -p formcreator 

Administrators with an average database knowledge should be able to fix them, based on the diff displayed as the output of the last command.

Once the inconsistencies are fixed, disable maintenance mode.

Upgrade from 2.13.0

A database sanity check is done before running the upgrade. If the tables of the plugin have a difference with the expected schema the upgrade will fail with a message similar to the following:

The database schema is not consistent with the installed Formcreator 2.13.0. 
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator

It is required to fix the database, using the diff produced by the CLI command given in the message. Once done, try again to upgrade.

ℹ️ If you know what you are doing you may bypass the sanity check from CLI with the following command.

bin/console glpi:plugin:install formcreator -f -p skip-db-check

Possible encoding problems in tickets created in GLPI 9.5 or older

⚠️ GLPI 10.0 encodes rich text content in a different way compared to GLPI 9.5. This revealed some bugs in the plugin in previous versions and GLPI may display old tickets with HTML tags. A CLI tool is available to fix 2 types of inconsistencies. A 3rd case may happen, but is not confirmed so far, this is why the CLI tool is not included in the release yet. The CLI tool is available here if needed.

Bug Fixes

  • inverted existence test on ticket update (2acc5cd4)
  • log more errors, and update obsolete error logging (ae28ed6d)
  • restore page redirections existing in v2.12 (582f926c)
  • update obsolete error logging (da8929e0)
  • abstractitiltarget: glpi 10.0.3 will require a data with a valid value (5f385bb8)
  • actorfield: default value not saved (c3baebbe)
  • actorfield: php warning (6d3e98d1)
  • checkboxesfield: replace div with p in checkbowes answers (9ef95343)
  • composite: php warning breaks JSON if a ticket is not generated (2108983c)
  • descriptionfield: bad form rendering (87a74058)
  • filefield: php error when switching field type to file (a03c7a0a)
  • form: javascript (f05bc697)
  • form: list on self service homepage (ba6d4a58)
  • form: undefined var (169d2c8e)
  • form: url to form answer lists may be invalid (6cd29e6d)
  • install: avoid alter table fail (4dadea8a)
  • install: missing method in upgrade to 2.13.1 (7e9cdcd5)
  • issue: issue not deleted when tichet goes to trash bin (c977b1ca)
  • issue: purge issue when deleting associated ticket (76444ecc)
  • issue: recreate when restore ticket (2656e284)
  • item_targetticket: uuid to ID conversion (e9f326c0)
  • section: name encoding in designer and rendered form" (491dcb69)
  • targetticket: bad constant name (48dda4f3)
  • targetticket: table structure inconsistency (ff56f3f1)
  • targetticket: table structure inconsistency (892a83c3)
  • targetticket,targetchange: tags from queestion or specific tags not saved (ec08d95e)

Features

  • prepare compatibility with PHP 8.2 (#2966) (4bb7f3c3)
  • formanswer,issue: show title in navigation header (1878e4b0)
  • kb: preselect see all categorie (1b669d4f)

2.13.0

Choose a tag to compare

@btry btry released this 18 Aug 09:26

Download it

This version is compatible with GLPI 10.0.

⚠️ You must to upgrade from a previous stable version. Upgrading from a development or testing version is not supported.

⚠️ The plugin introduces a database sanity check. This feature checks that after the upgrade the tables have the expected structure. This revealed that some instances using Formcreator for years may have accumulated inconsistencies. The upgrade process will fix most of them for you. After the upgrade if some inconsistencies remains a non-blocking error will show:

The database schema is not consistent with the installed Formcreator 2.12.5. 
To see the logs enable the plugin and run the command bin/console glpi:database:check_schema_integrity -p formcreator

If this error happens, switch GLPI to maintenance mode, then from a shell, locate to youtr GLPI instance folder and issue the following commands:

php bin/console glpi:plugin:activate formcreator
php bin/console glpi:database:check_schema_integrity -p formcreator 

Administrators with an average database knowledge should be able to fix them, based on the diff displayed as the output of the last command.

Once the inconsistencies are fixed, disable maintenance mode.

In the next release of Formcreator, the database integrity check will be executed before the upgrade.

⚠️ GLPI 10.0 encodes rich text content in a different way compared to GLPI 9.5. This revealed some bugs in the plugin in previous versions and GLPI may display old tickets with HTML tags. A CLI tool is available to fix 2 types of inconsistencies. A 3rd case may happen, but is not confirmed so far, this is why the CLI tool is not included in the release yet. The CLI tool is available here if needed.

Bug Fixes

  • cannot delete a ticket from service catalog (acec9bb8)
  • abstractitiltarget: alternative email lost if no requester user (78fd8450)
  • abstracttarget: uuid should not be updated (b1e492d3)
  • checkboxesfield: avoid HTML br tag (c3a60bbb)
  • condition: compatibility with Advanced forms validation (6685b943)
  • descriptinfield: conversion to target requires escaping (b79cfa95)
  • filefield: mandatory check may cause exception (3f711a54)
  • form: PHP warning (844ef96c)
  • form: bad URL when using advanced form validation plugin (adb9fba5)
  • formanswer: grid style updated for current version of gridstack (85b6a686)
  • formanswer: select inherited class if needed (955dc969)
  • formanswer: update gridstack css (70deaa06)
  • glpiselectfield: missing entity restrict (40c9ab73)
  • install: prevent useless warnings (001d12f5)
  • install: use modern settings for tables (f04e4181)
  • issue: remove duplicate item in status dropdown (27f9f313)
  • ldapselectfield: log LDAP error instead of showing it to user (e170dc6f)
  • ldapselectfield: no translation for items (d170c79c)
  • targetticket: prevent exception in inconsistent target ticket (ba6ed88e)
  • textarea: on change event broken (9fb70edb)
  • textarea: rn chars added between lines (66571b80)
  • textarea, entityconfig: embedded image question description (#2901) (0d78db1a)
  • textareafield: embedded image upload broken (d58075cd)
  • textareafield: missing escape before compare (ba78e935)

Features

  • formanswer: order formanswers by date desc (7fdeda51)
  • ldapselectfield: lazy loading (bffcb5b7)

2.13.0-rc.2

2.13.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@btry btry released this 20 Jul 07:53

Download it

This version is compatible with GLPI 10 only, and is a Release candidate version. Use it only for testing and bug report purpose.

We expect this version to be the last development release before the final release.

The most important change in this release is the introduction of a tables integrity check at the end of the upgrade process. It also tries to fix schema inconsistencies discovered in some instances of GLPI using Formcreator for years. If the schema of the tables differs from the expected schema, a non blocking error will be reported. GLPI 10.0.2 is now able to check the integrity of tables of this plugin with the CLI command bin/console glpi:database:check_schema_integrity -p formcreator. The plugin must be activated.

Starting from this version, tags format will change. Previous tags were prefixed with v. This prefix is dropped. See #2376

Upgrade from a previous 2.13.0-Alpha or Beta version (excluding 2.13.0-rc.1)

⚠️ The following steps are necessary only when upgrading from a previous development, alpha or beta version. When upgrading from a old release to 2.13.0, you shall not do them.

1 removing the mini_dashboard for Formcreator (counters)

The counters has been changed. You must delete the mini dashboard installed by previous alpha versions of Formcreator. If you're upgrading from 2.13.0-beta.1 or 2.13.0-rc.1 you may skip this step.

Execute the following SQL requests:

DELETE
FROM glpi_dashboards_items
WHERE dashboards_dashboards_id = (
	SELECT id
	FROM glpi_dashboards_dashboards
	WHERE `key`='plugin_formcreator_issue_counters'
);

DELETE FROM glpi_dashboards_dashboards WHERE `key`='plugin_formcreator_issue_counters';

then proceed with the next step (forced upgrade). It will build the new version of the mini dashboard. If you miss this step, the previous dashboard will show empty cards. see #2727

2 Forced upgrade

If you want to upgrade from an older 2.13.0-alpha or 2.13.0-beta version, you should do a forced upgtrade from command line. It will run the upgrade from the previous minor version (2.12.0) to the current version, update the possible differences of schema in the tables of the plugin. Run the following in CLI : php bin/console glpi:plugin:install formcreator -u glpi -f -p force-upgrade This command exists specifically for development purpose or for active testers.

Rename of anonymous forms to public forms

Some users of the plugin have been confused with the anonymous forms. Anonymous form are not a way to create tickets preventing technicians to identify requesters or authors. They are accessible by users without being logged in GLPI. Because of this confusion, anonymous forms are renamed public forms.

Help / Contribution needed

  • Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
  • documentation review and updates

Bug Fixes

  • php warning (9304443c)
  • abstractitiltarget: use_notification is not a bool (fc7d8a2f)
  • changelog: bad anchor (be417f55)
  • fieldsfield: broken rendering of question (e6bb7fbc)
  • fieldsfield: typo in string (ad9bdfb1)
  • form: able to submit when button disabled (bf3ebefe)
  • form: form property showed twice (c5e00541)
  • form: unable to upload files from public_form (6276402b)
  • formanswer: handle null value when parsing tags (63bb428c)
  • formanswer: typo in comparison operator (77415730), closes #2844
  • glpiselectfield: regex comparison (64e28bbd)
  • install: bad argument fordefault values (6f7fbc84)
  • install: convert all FK to unsigned (4ba5ed89)
  • install: disable db check prior upgrade (504727b5)
  • install: fix possible schema errors coming from version older than 2.5.0 (c9338cd6)
  • install: give more instructions to support the upgrade process (104f8fd0)
  • install: handle invalid values before changing columns, add possibly missing index (f5369f6d)
  • install: less picky checks when upgrading from 2.13.0 (7420cdce)
  • install: move command out of localizable string (859443f4)
  • install: move error messages, find schema file with unstable versions (cc886985)
  • install: pick the right schema (d9cf90a4)
  • install: post install db check (722158db)
  • install: preveit failure if tables contains some NULL values (e87b6f57)
  • install: prevent output in ajax response (1d19d7c9)
  • install: try to prevent SQL error in migration (831f273d)
  • install: workaround alter table failure (91baefb9)
  • intall: do not process non-existing tables (d5b5fd89)
  • issue: Show pending / accepted forms search results (58ea0662)
  • issue: accepted status not searchable (2df02ae4)
  • issue: allow null in name column (bb32843d)
  • issue: vonsistency with seaerch for accepted issues (64876111)
  • section: untranslated sring (fb6800cc)
  • target_actor: import requires specific input format (3a8d3eae)
  • targetticket: prevent setting a type from an incompatible question (f5de8bb6)
  • textarea: encoding problem when picture is embedded (525cfd5b)
  • wizard: rename forms menu for simplified interface (07d27926)

Features

  • enable advanced validation (6a24d7bd)
  • update dependencies (3b9c5d8e)
  • update js dependencies (7dba5f2a)
  • fields: manage new fields type plugin (a2b58191)
  • formanswer: do not valdiate if requester is validator (613e6e30)
  • install: add schema of all older versions (814729be)
  • install: attempt to fix old inconsistencies (a94c928c)
  • install: check schema prior to upgrade (60f4bf75)
  • install: find old plugin version (5cbcd2d7)
  • install: method to get the empty SQL file (ef5fd200)
  • install: migrate tables to dynamic (54c40c8d)
  • install: report successful integrity check (f2316602)
  • issue: allow search on techs, not only myself as tech (5a462977)
  • issue: limit tech users list (0feb7d16)
  • question: allow gaps in rows (20c212e8)
  • targetticket,targetcvhange,targetproblem: update actors array (4d92bc59)

2.13.0-rc.1

2.13.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@btry btry released this 07 Jun 11:11

Download it

This version is compatible with GLPI 10 only, and is a Release candidate version. Use it only for testing and bug report purpose.

Starting from this version, tags format will change. Previous tags were prefixed with v. This prefix is dropped. See #2376

Upgrade from a previous 2.13.0-Alpha or Beta version

⚠️ The following steps are necessary only when upgrading from a previous development, alpha or beta version. When upgrading from a old release to 2.13.0, you shall not do them.

1 removing the mini_dashboard for Formcreator (counters)

The counters has been changed. You must delete the mini dashboard installed by previous alpha versions of Formcreator. If you're upgrading from 2.13.0-beta.1 you may skip this step.

Execute the following SQL requests:

DELETE
FROM glpi_dashboards_items
WHERE dashboards_dashboards_id = (
	SELECT id
	FROM glpi_dashboards_dashboards
	WHERE `key`='plugin_formcreator_issue_counters'
);

DELETE FROM glpi_dashboards_dashboards WHERE `key`='plugin_formcreator_issue_counters';

then proceed with the next step (forced upgrade). It will build the new version of the mini dashboard. If you miss this step, the previous dashboard will show empty cards. see #2727

2 Forced upgrade

If you want to upgrade from an older 2.13.0-alpha or 2.13.0-beta version, you should do a forced upgtrade from command line. It will run the upgtrade from the previous minor version (2.12.0) to the current version, update the possible differences of schema in the tables of the plugin. Run the following in CLI : php bin/console glpi:plugin:install formcreator -u glpi -f -p force-upgrade This command exists specifically for development purpose or for active testers.

Rename of anonymous forms to public forms

Some users of the plugin have been confused with the anonymous forms. Anonymous form are not a way to create tickets preventing technicians to identify requesters or authors. They are accessible by users without being logged in GLPI. Because of this confusion, anonymous forms are renamed public forms.

Help / Contribution needed

  • Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
  • documentation review and updates

Bug Fixes

  • missing menu entry in simplified interface (5a07a70c)
  • abstractitiltarget: due date constants (eda3c116)
  • abstractitiltarget: failed to assign group frop object (aa92a2f8)
  • abstractitiltarget: mess with actors dropdown (baf9c042)
  • abstractitiltarget: php warning when processing file questions without answer (63e54162)
  • abstractitiltarget: unable to choose a question for location (6ad92e9a)
  • bastractitiltarget: reapply a324ed9 (c4dac1c0)
  • dropdownfield,glpiselectfield: build parameters even when none in DB (57b7596b)
  • fieldsfield: remove redefined methond identical to parent (728acf60)
  • form: search criteria when using keywords (23ab7a35)
  • form: search forms to approce (5335d0ae)
  • form: show validator dropdown before submit button (3ec88a41)
  • form: where criteria outside where clause (4cdb8d8a)
  • formanswer: quote escaping problem (1b56e540)
  • instal: add column to explicit position, sync issues only on version condition (0bcba9be)
  • issue: pass object isntead of ID (6605ced2)
  • issue: redirect ticket to issue only in service catalog (6826ea86)
  • questionregex: compatibility with PHP 8.1 (b64386f9)
  • requesttypefield: typo (5b9e8f56)
  • selectfield: trim values (4f59294a)
  • target_actor: drop unused var causing PHP warning (7b223001)
  • targetticket: unable to set type (2e186345)
  • textareafield: remove hack for textarea in previous versions (203acd10)
  • urgencyfield,requesttypefield: php error if answers does not exists (42178663)
  • wizard: FAQ page may show forms (d90b0b93)
  • wizard: Info message on emlty FAQ result (d268caea)
  • wizard: adjustable width for ticket footer (80033ada)
  • wizard: card content overflow (8b22b271)
  • wizard: hide save button (48d98870)
  • wizard: margin problem on separated FAQ page (03828b4c)
  • wizard: more space between radio and iconic label (e2cdbe76)
  • wizard: show only one information message (74a55a70)
  • wizard: show plugin menus in service catalog (77c8f62c)
  • wizard: show search input only if config allows it (b807974a)
  • wizard: simplified catalog: only timeline for ticket (7a24970c)
  • wizard: swapped form and faq icons (42a45579)
  • wizard: tooltip and ellipsis on long category name (77036a9d)
  • wizard: various fixes in KB only search (41cbfd22)
  • wizard: vertical overlap of categories (5412ed99)

Features

  • do not modify the menu with simplified interface (f7ccc2b8)
  • install: run sync issues only once when if several upgrade steps require it (c7f329ca)

2.13.0-beta.2

2.13.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@btry btry released this 17 May 13:20

Download it

This version is compatible with GLPI 10 only, and is a Beta version. Use it only for testing and bug report purpose.

Starting from this version, tags format will change. Previous tags were prefixed with v. This prefix is dropped. See #2376

Upgrade from a previous 2.13.0-Alpha or Beta version

(mandatory) removing the mini_dashboard for Formcreator (counters)

The counters has been changed. You must delete the mini dashboard installed by previous alpha versions of Formcreator. If you're upgrading from 2.13.0-beta.1 you may skip this step.

Execute the following SQL requests:

DELETE
FROM glpi_dashboards_items
WHERE dashboards_dashboards_id = (
	SELECT id
	FROM glpi_dashboards_dashboards
	WHERE `key`='plugin_formcreator_issue_counters'
);

DELETE FROM glpi_dashboards_dashboards WHERE `key`='plugin_formcreator_issue_counters';

then proceed with the next step (forced upgrade). It will build the new version of the mini dashboard. If you miss this step, the previous dashboard will show empty cards. see #2727

Note: Upgrading from versions 2.12 or older will not require this manual intervention.

Forced upgrade

If you want to upgrade from an older 2.13.0-alpha or 2.13.0-beta version, you should do a forced upgtrade from command line. It will run the upgtrade from the previous minor version (2.12.0) to the current version, update the possible differences of schema in the tables of the plugin. Run the following in CLI : php bin/console glpi:plugin:install formcreator -u glpi -f -p force-upgrade This command exists specifically for development purpose or for active testers.

Rename of anonymous forms to public forms

Some users of the plugin have been confused with the anonymous forms. Anonymous form are not a way to create tickets preventing technicians to identify requesters or authors. They are accessible by users without being logged in GLPI. Because of this confusion, anonymous forms are renamed public forms.

Help / Contribution needed

  • Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
  • documentation review and updates

Bug Fixes

  • do not overwrite dashboards from other plugins (d0f49e19)
  • remove tech group search option from service catalog (c473076f)
  • condition: condition loss if itil target edited (aaae0344)
  • condition: fail to import conditions (cb4dceb3)
  • conditionnabletrait: php warning (bdfabf8e)
  • form: Form with restricted acces: redirect to login form if not logged in (fe1eadd6)
  • form: allow redirect to login for private forms as well (bdae85a0)
  • form: design css broken (d8c76692)
  • formanswer: bad parenthesis nest and bad oject used (70b77d32)
  • glpiselectfield: generic objects support lost in TWIG conversion (d18852c0)
  • glpiselectfield,dropdownfield: comparisons methods for conditions (f41dafce)
  • install: index overflow (#2775) (cec857b8)
  • issue: restrict tech group search option to assignable groups (230b33ef)
  • targetticket: associated elements from question (0a62b976)
  • targetticket: select questions outside form (c38e1d9c)
  • wizard: bad label when searching KB items (1fc81bc8)
  • wizard: fix KB only browsing (de78b9ed)

Features

  • dashboard: enable label (6309aa37)
  • dashboard: harmonize with GLPI color (529395a4)
  • dashboard: shorter card labels (3e29a467)
  • form: better target list presentation (343e5261)
  • form: default language for new form unset (a57e4a61)
  • formanswer: hook before generating targets (8542adc4)
  • issue: add option to hide search Issue if needed (b37e1c02)
  • tile: radius and margin (b5ce782f)
  • tile: title of tiles in bold (425c71d4)
  • ui: rework category list (2bbbe735)
  • wizard: new tile design, optional (aeb040c6)
  • wizard: replace sort label by icon (f7320a5c)

2.13.0-beta.1

2.13.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@btry btry released this 26 Apr 15:00

Download it

This version is compatible with GLPI 10 only, and is a Beta version. Use it only for testing and bug report purpose.

Starting from this version, tags format will change. Previous tags were prefixed with v. This prefix is dropped. See #2376

Upgrade from a previous 2.13.0-Alpha or Beta version

(mandatory) removing the mini_dashboard for Formcreator (counters)

The counters has been changed. You must delete the mini dashboard installed by previous alpha versions of Formcreator. Execute the following SQL requests:

DELETE
FROM glpi_dashboards_items
WHERE dashboards_dashboards_id = (
	SELECT id
	FROM glpi_dashboards_dashboards
	WHERE `key`='plugin_formcreator_issue_counters'
);

DELETE FROM glpi_dashboards_dashboards WHERE `key`='plugin_formcreator_issue_counters';

then proceed with the next step (forced upgrade). It will build the new version of the mini dashboard. If you miss this step, the previous dashboard will show empty cards. see #2727

Note: Upgrading from versions 2.12 or older will not require this manual intervention.

Forced upgrade

If you want to upgrade from an older 2.13.0-alpha or 2.13.0-beta version, you should do a forced upgtrade from command line. It will run the upgtrade from the previous minor version (2.12.0) to the current version, update the possible differences of schema in the tables of the plugin. Run the following in CLI : php bin/console glpi:plugin:install formcreator -u glpi -f -p force-upgrade This command exists specifically for development purpose or for active testers.

Rename of anonymous forms to public forms

Some users of the plugin have been confused with the anonymous forms. Anonymous form are not a way to create tickets preventing technicians to identify requesters or authors. They are accessible by users without being logged in GLPI. Because if this confusion, anonymous forms are renamed public forms.

Help / Contribution needed

  • Locales updates: Some languages don't have maintainer, or are late (many untranslated content). Please contribute on Transifex.
  • documentation review and updates

Bug Fixes

  • build css command (4b29c0f3)
  • change assistance request menu icon (180a29ec)
  • fix typo in plugin.xml (1f11bc02)
  • restore compatibility with plugin News (alerts) (d421971f)
  • abstacttarget: plugin fields dropdowns not saved on ITIL object (2050c61e)
  • abstractitiltarget: json_decode deprecated null support (a2761ce6)
  • entityconfig: bad ID when editing config (7ee43b8c)
  • fieldsfield: instanciation error when fields plugin disabled (404111bd)
  • filefield: null passed to json_decode deprecated (6f56484e)
  • form: anonymous form with textarea fields (a1e71718)
  • form: check hook before using it (d0d4beff)
  • formanswer: bad id in list of uploaded files (b5a39cf0)
  • formlist: prevent php deprecation (6bc86419)
  • install: bad FK in query (6515c843)
  • install: explicit default value, just in case (f27ddbc2)
  • issue: bad test (8cb1bc3b)
  • issue: performance problem in sync issue query (c81d71ad)
  • issue: redirections when browsing tickets on helpdesk (c4f30322)
  • ldapselectfield: do not translate items (0ede18d8)
  • ldapselectfield: dynamic field update (2c4ffb86)
  • ldapselectfield: use of uninitialized var (376e2104)
  • question,section: rich text features in modals (7c8d7f7a)
  • targetticket: composite ticket settings (b194a602)
  • targetticket: prevent array_merge with null value (a4dc685e)

Features

  • prevent using formcreator's dashboard as default (26f2b17b)
  • redo dashboard with summary (fd3ac826)
  • issue: drop obsolete code for legacy counters (802851ff)
  • ldapselectfield: remove ldap connection test when saving question (536edbf5)
  • targetticket: support location from template (4a142bd9)
  • wizard: replace home pictogram with text and move below category tree (bd79fc53)
  • wizard: show rss menu entry only if rss is avaiable (352ea544)