Commit Graph

1498 Commits

Author SHA1 Message Date
Maxime Rainville
27228d12af [CVE-2020-9309] Require MimeUploadValidator on userformis' File Upload field 2020-07-13 11:33:46 +12:00
Chris Penny
0c09eec6f8
DOC Add docs around creating custom fields. Fixed #928 (#932)
* Add docs around creating custom fields
* Update docs/en/creating-custom-fields.md
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2020-07-06 08:41:59 +12:00
Maxime Rainville
9645d9d809 Merge branch '5.4' into 5.5 2020-06-25 17:07:42 +12:00
Maxime Rainville
6f04f9537d Fix linting issue 2020-06-25 17:04:20 +12:00
Maxime Rainville
b80868c091 Merge branch '5.4' into 5.5 2020-06-25 16:57:44 +12:00
Maxime Rainville
de9b93f5cd Merge branch '5.3' into 5.4 2020-06-25 16:53:04 +12:00
Maxime Rainville
3dffbef9f2 Merge branch '5.2' into 5.3 2020-06-25 16:44:42 +12:00
Maxime Rainville
a3896eb39e
Test postgresql (#979) 2020-06-25 16:44:11 +12:00
Steve Boyd
c3d990f70f
FIX Create image thumbnails for asset-admin for images uploaded through userforms (#969) 2020-05-27 12:26:14 +12:00
Maxime Rainville
319fa4734c Merge branch '5.4' into 5.5 2020-05-26 15:11:46 +12:00
Maxime Rainville
1bbdb86c9a Merge branch '5.3' into 5.4 2020-05-26 15:04:51 +12:00
Maxime Rainville
8307b8bee9 Merge branch '5.2' into 5.3 2020-05-26 15:04:08 +12:00
Maxime Rainville
826025c68d Merge branch '5.1' into 5.2 2020-05-26 15:03:44 +12:00
Maxime Rainville
24c24ad7b8 Merge branch '5.0' into 5.1 2020-05-26 15:02:57 +12:00
Robbie Averill
26004d464a
Merge pull request #961 from dhensby/pulls/5.5/lint-fix
Linting fixes
2020-05-11 12:44:31 -07:00
Dan Hensby
e86cc8d872
Add lint and lint-clean scripts to composer 2020-05-05 16:33:28 +01:00
Dan Hensby
ede2d93363
Linting fixes 2020-05-05 16:30:57 +01:00
Dan Hensby
5a1da4c2c1
Merge pull request #958 from silverstripe-terraformers/bugfix/empty-anchor 2020-05-05 16:29:08 +01:00
Mojmir Fendek
6276e990c1 BUG: Better anchor fallback 2020-05-05 10:18:25 +12:00
Serge Latyntcev
3349599a89 Merge tag '5.4.2' into 5.4
Release 5.4.2
2020-04-15 12:37:43 +12:00
Serge Latyntcev
23de5a85c2 [CVE-2020-9280] Task for shifting UserForm uploads into correct folders
A task helper for recovering UserForm uploads targeting incorrectly migrated folders (from Silverstripe CMS 3)
    If your project has not been migrated from Silverstripe CMS 3, you do not need this helper.
    Before running this task make sure you have repaired the migrated folders themselves.
    To do that you have to run the extra migration subtask (`migrate-folders`).

    This task is particularly looking at all UserForm file submissions and checks they are in the same
    folder where the particular version of its EditableFileField has been set up to upload it to.

    If it finds the file has been misplaced, it tries to move it to the correct folder, but only if
    the file has not had any manipulations since the uploading happened (the file Version=1).

    If an affected file has a draft, then only Live version will be moved, but the draft will be preserved as is.

    For more details see CVE-2020-9280
2020-04-15 12:19:23 +12:00
Serge Latyntcev
3bbad20442 [CVE-2020-9280] Task for shifting UserForm uploads into correct folders
A task helper for recovering UserForm uploads targeting incorrectly migrated folders (from Silverstripe CMS 3)
    If your project has not been migrated from Silverstripe CMS 3, you do not need this helper.
    Before running this task make sure you have repaired the migrated folders themselves.
    To do that you have to run the extra migration subtask (`migrate-folders`).

    This task is particularly looking at all UserForm file submissions and checks they are in the same
    folder where the particular version of its EditableFileField has been set up to upload it to.

    If it finds the file has been misplaced, it tries to move it to the correct folder, but only if
    the file has not had any manipulations since the uploading happened (the file Version=1).

    If an affected file has a draft, then only Live version will be moved, but the draft will be preserved as is.

    For more details see CVE-2020-9280
2020-04-14 15:58:23 +12:00
Garion Herman
c58565e6ce
Merge pull request #943 from creative-commoners/pulls/5.0/revert-default-value
Revert default value
2020-03-16 16:56:27 +13:00
Steve Boyd
1c73fd90ca Revert default value 2020-03-16 16:36:36 +13:00
Maxime Rainville
71a8cac9e5
BUG Remove bad default value for UserForm Content (#926)
* BUG Remove bad default value for UserForm Content

* BUG Update travis build to use Xenial
2020-03-09 15:35:58 +13:00
Steve Boyd
09b4f9c4a3
Merge pull request #931 from creative-commoners/pulls/5.5/jquery-update
Update jQuery to 3.4.1
2020-01-28 17:27:42 +13:00
Garion Herman
4e0f0e903d Update jQuery to 3.4.1 2020-01-24 10:06:59 +13:00
Garion Herman
cc2526aac4 Update Composer / Travis configuration for Userforms 5.5 release 2019-11-15 17:22:21 +13:00
Andre Kiste
2d6687be25
Merge pull request #916 from open-sausages/pulls/5/upgrade-dependency
Upgrade dependencies
2019-11-12 11:41:36 +13:00
Maxime Rainville
b92143a776 Upgrade dependencies 2019-11-12 07:32:26 +13:00
Dylan Wagstaff
1b193b5ce4
Merge pull request #907 from ichaber/fix/906_validation_result
Fix missing ValidationResult class
2019-10-08 09:14:28 +13:00
Charlie Bergthaler
dfeb922818
FIX Add missing import statement for SilverStripe\ORM\ValidationResult in UserDefinedFormController and EditableFileField. 2019-10-07 21:56:22 +13:00
Dylan Wagstaff
a01692153c
Merge pull request #904 from Valandur/feature/fix-submittedform-cancreate
fix(submitted-form): canCreate not checking parent
2019-09-09 14:08:28 +12:00
Dylan Wagstaff
76c3576de6 Update travis yaml 'dist:' version 2019-09-09 14:00:51 +12:00
Marco (Valandur)
0348e5dd15 fix(submitted-form): Pass member to parent calls 2019-09-06 15:37:13 +02:00
Marco (Valandur)
696fa1d05e fix(submitted-form): canCreate not checking parent 2019-09-05 12:12:26 +02:00
Guy Marriott
75bec8ceb2
Enable better button functionality (#897)
Enable better button functionality

Co-authored-by: Bram de Leeuw <bram-de-leeuw@hotmail.com>
Co-authored-by: Bram de Leeuw <bram@xd.nl>
2019-07-16 14:09:54 +12:00
Bram de Leeuw
8703ace32a validate that a classname had been set 2019-07-15 11:15:30 +02:00
Bram de Leeuw
e80795b52d
Add a comment for clarity 2019-07-12 10:48:59 +02:00
Remy Vaartjes
d489271197 Disable add action in Submissions detail form 2019-07-08 14:49:00 +02:00
Remy Vaartjes
f682e74f44 Enable 4.4 better button functionality 2019-07-08 14:26:58 +02:00
Robbie Averill
1386f1b80f Merge branch '5.4' 2019-06-27 14:16:02 +12:00
Robbie Averill
0c59065d32 Merge branch '5.3' into 5.4 2019-06-27 14:13:52 +12:00
Robbie Averill
3c1197c0a6 Merge branch '5.2' into 5.3 2019-06-27 14:13:41 +12:00
Robbie Averill
551ef4fa56 Merge branch '5.1' into 5.2 2019-06-27 14:13:29 +12:00
Robbie Averill
4fb27d3138 Merge branch '5.0' into 5.1 2019-06-27 14:12:57 +12:00
Robbie Averill
0114ea4275 Remove SilverStripe 4.0-4.2 from Travis builds 2019-06-27 14:12:46 +12:00
Robbie Averill
25be471ea3
Merge pull request #895 from adrhumphreys/feature/onsubmitevent
Form submission now triggers an event
2019-06-13 09:38:07 +12:00
Adrian Humphreys
701460505e Form submission now triggers an event 2019-06-13 08:59:13 +12:00
Guy Marriott
d7c76ecf80
FIX Preview email link now handles cases where it's loaded in the browser, requested via AJAX and used in a trait or a page context (#887)
FIX Preview email link now handles cases where it's loaded in the browser, requested via AJAX and used in a trait or a page context
2019-05-27 20:01:56 +12:00