Compare commits

...

19 Commits
5.15.10 ... 5

Author SHA1 Message Date
github-actions 81ace076fd Merge branch '5.15' into 5 2024-03-04 02:51:54 +00:00
Sabina Talipova e7b3c9795d
Merge pull request #1269 from creative-commoners/pulls/5.15/fix-behat
MNT Fix behat test that was relying on a bug
2024-02-29 12:41:12 +13:00
Guy Sartorelli d2bad6a39e
MNT Fix behat test that was relying on a bug 2024-02-27 16:38:47 +13:00
github-actions 1410b29e44 Merge branch '5.15' into 5 2024-02-07 12:37:44 +00:00
Guy Sartorelli c893194775
DOC Update syntax for callout blocks (#1263) 2024-02-02 09:41:31 +13:00
github-actions 92c83d2dfa Merge branch '5.15' into 5 2023-12-06 12:38:57 +00:00
github-actions 3c979039a1 Merge branch '5.15' into 5 2023-11-29 12:39:00 +00:00
github-actions d012198334 Merge branch '5.15' into 5 2023-11-08 12:39:28 +00:00
github-actions d1e322b74b Merge branch '5.15' into 5 2023-09-27 12:38:59 +00:00
github-actions 830e539086 Merge branch '5.15' into 5 2023-09-06 12:38:49 +00:00
github-actions 79dda2f34e Merge branch '5.15' into 5 2023-08-23 12:38:10 +00:00
github-actions 1fb7c8ab83 Merge branch '5.15' into 5 2023-08-16 12:37:55 +00:00
Steve Boyd 98cfb163dd Merge branch '5.15' into 5 2023-06-16 12:12:18 +12:00
Steve Boyd 94fe703b62 Merge branch '5.15' into 5 2023-06-07 15:41:02 +12:00
Steve Boyd a5e5afcb8a Merge branch '5.15' into 5 2023-05-31 14:32:48 +12:00
Steve Boyd 1ccb587f6b Merge branch '5.15' into 5 2023-05-31 11:20:14 +12:00
Guy Sartorelli c57050e090
Merge branch '5.15' into 5 2023-04-26 12:46:51 +12:00
Maxime Rainville d60b97a9eb
Merge pull request #1196 from creative-commoners/pulls/5/dispatch-ci
MNT Use gha-dispatch-ci
2023-03-23 14:19:30 +13:00
Steve Boyd 6ff2d0d8c2 MNT Use gha-dispatch-ci 2023-03-21 13:42:43 +13:00
4 changed files with 25 additions and 14 deletions

View File

@ -4,13 +4,8 @@ on:
push:
pull_request:
workflow_dispatch:
# Every Saturday at 12:30pm UTC
schedule:
- cron: '30 12 * * 6'
jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

16
.github/workflows/dispatch-ci.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Dispatch CI
on:
# At 12:30 PM UTC, only on Saturday and Sunday
schedule:
- cron: '30 12 * * 6,0'
jobs:
dispatch-ci:
name: Dispatch CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1

View File

@ -96,11 +96,10 @@ This decides whether to send the email based on two options
## File Upload Field
[note]
This functionality is specifically included in Silverstripe core functionality 4.6 and above,
[silverstripe-userforms](https://github.com/silverstripe/silverstripe-userforms/) 5.3 and above and is also included in
the module [silverstripe-elemental-userforms](https://github.com/dnadesign/silverstripe-elemental-userforms).
[/note]
> [!NOTE]
> This functionality is specifically included in Silverstripe core functionality 4.6 and above,
> [silverstripe-userforms](https://github.com/silverstripe/silverstripe-userforms/) 5.3 and above and is also included in
> the module [silverstripe-elemental-userforms](https://github.com/dnadesign/silverstripe-elemental-userforms).
Files and other data that is uploaded by your website visitors should be handled with care to reduce the risk of exposing sensitive data.
Files which are uploaded through a form inherit the permissions of the folder they are being placed into, so it's important that you
@ -131,10 +130,9 @@ Indicates that a file/folder has restricted access and will only be visible to c
![Overview of icons usage on thumbnails and headers in the Files area](_images/overview-icons.png)
[note]
Folder with restricted access containing files with custom permissions and their associated file icons.
* FS - Form submission
[/note]
> [!NOTE]
> Folder with restricted access containing files with custom permissions and their associated file icons.
> * FS - Form submission
To get started, create a new **User Defined Form** page in the CMS. See [Creating and editing forms](creating-and-editing-forms)
to learn more. To add a File Upload field to the form, click on the ***Form Fields*** tab in the page editing view.

View File

@ -35,6 +35,7 @@ Feature: Userforms
And I fill in "Options[GridFieldAddNewInlineButton][2][Value]" with "2"
And I press the "Save" button
And I follow "My userform"
And I click the "Form Fields" CMS tab
# Create textfields
And I press the "Add Field" button
@ -64,6 +65,7 @@ Feature: Userforms
And I check "Is this field Required?"
And I press the "Save" button
And I follow "My userform"
And I click the "Form Fields" CMS tab
# Drag and drop my text field 2 to Page Two
Then I drag the ".ss-gridfield-item[data-id='4'] .handle" element to the ".ss-gridfield-item[data-id='6'] .handle" element