Skip to content

Commit de51f81

Browse files
committed
FormIt 4.2.6
1 parent 9fb6104 commit de51f81

File tree

4 files changed

+50
-9
lines changed

4 files changed

+50
-9
lines changed

_build/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"lowCaseName": "formit",
44
"description": "FormIt is a dynamic form processing Snippet for MODx Revolution. It handles a form after submission, performing validation and followup actions like sending an email. It does not generate the form, but it can repopulate it if it fails validation.",
55
"author": "Sterc",
6-
"version": "4.2.5",
6+
"version": "4.2.6",
77
"package": {
88
"menus": [{
99
"text": "formit",
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?php
2+
/**
3+
* Resolve creating db tables
4+
*
5+
* THIS RESOLVER IS AUTOMATICALLY GENERATED, NO CHANGES WILL APPLY
6+
*
7+
* @package formit
8+
* @subpackage build
9+
*
10+
* @var mixed $object
11+
* @var modX $modx
12+
* @var array $options
13+
*/
14+
15+
if ($object->xpdo) {
16+
$modx =& $object->xpdo;
17+
switch ($options[xPDOTransport::PACKAGE_ACTION]) {
18+
case xPDOTransport::ACTION_INSTALL:
19+
case xPDOTransport::ACTION_UPGRADE:
20+
$modelPath = $modx->getOption('formit.core_path', null, $modx->getOption('core_path') . 'components/formit/') . 'model/';
21+
22+
$modx->addPackage('formit', $modelPath, null);
23+
24+
25+
$manager = $modx->getManager();
26+
27+
$manager->createObjectContainer('FormItForm');
28+
29+
break;
30+
}
31+
}
32+
33+
return true;
257 KB
Binary file not shown.

core/components/formit/docs/changelog.txt

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
Changelog for FormIt.
22

3+
FormIt 4.2.6
4+
====================================
5+
- Add support for UTF-8 when exporting (PR#221)
6+
- Move limit from foreach to query in migration class (PR#236)
7+
- Remove unnecessary mail->reset from autoresponder hook (PR#240)
8+
- Add Ukrainian lexicon + some changes to RU and EN lexicons (PR#242)
9+
- Update Composer autoloader for newer Composer versions (PR#243)
10+
311
FormIt 4.2.5
412
====================================
513
- Added new properties to email hook (#229, thanks to @jako)
6-
- emailSelectTo, emailSelectToName, emailSelectField
14+
- emailSelectTo, emailSelectToName, emailSelectField
715

816
FormIt 4.2.4
917
====================================
@@ -30,15 +38,15 @@ FormIt 4.2.0
3038
====================================
3139
- Bug on hasHook() fixed (#182, #181, #170, #193)
3240
- ExtJS refactored for faster and better UI/UX
33-
- IP number added to the grid (#194)
34-
- Better form view with textfields and textareas (#136)
35-
- Remove multiple forms (#143)
36-
- Search by IP (and context menu option to view all forms from 1 IP)
41+
- IP number added to the grid (#194)
42+
- Better form view with textfields and textareas (#136)
43+
- Remove multiple forms (#143)
44+
- Search by IP (and context menu option to view all forms from 1 IP)
3745
- New permissions added
38-
- formit_encryptions to encrypt/decrypt forms
39-
- Context awereness, an user can only see the forms with the contexts that the user has access to.
46+
- formit_encryptions to encrypt/decrypt forms
47+
- Context awereness, an user can only see the forms with the contexts that the user has access to.
4048
- Swedish translation updated
41-
- All other language files checked and filled with English strings
49+
- All other language files checked and filled with English strings
4250
- Formit deprecation notice in 2.7.0dev bug fixed (#190)
4351

4452
FormIt 4.1.2

0 commit comments

Comments
 (0)