171 Commits

Author SHA1 Message Date
Ben Thomson
e84933775d
Add "mix:run" command (#698)
Allows running of scripts defined in the package.json of a Mix package, through Artisan.
2022-09-17 11:40:00 +08:00
Ben Thomson
63133ee41b Fix branch deletion in subsplit 2022-09-06 11:38:16 +08:00
Ben Thomson
51cb6c75fd Print out ref to debug branch deletion 2022-09-06 11:35:06 +08:00
Ben Thomson
c90597fba5 Remove create branch task - not needed with the "push" handling it 2022-09-05 13:22:49 +08:00
Ben Thomson
9c02a1d2ef Further debugging 2022-09-05 13:22:06 +08:00
Ben Thomson
845dfcf37b Debug subsplit on deleting branch 2022-09-05 12:08:33 +08:00
Ben Thomson
a7c54ad7fe Add other actions for subsplit 2022-09-05 11:37:36 +08:00
Ben Thomson
9d3ad152d8 Add test push split 2022-09-05 11:33:50 +08:00
Ben Thomson
ae6e4741f1 Fix variables 2022-09-05 11:29:09 +08:00
Ben Thomson
15c1752886 Fix comparisons 2022-09-05 11:27:25 +08:00
Ben Thomson
321fc3d9d5 Add action 2022-09-05 11:26:03 +08:00
Ben Thomson
1212c764f7 Update testing command in GitHub Actions 2022-07-18 08:34:28 +08:00
Luke Towers
e565728f55 Update GH actions for official 1.2 release 2022-07-15 01:08:36 -06:00
Luke Towers
5b8d189df4 Fix issues with accessing the expected context variables inside of Twig macros.
This fixes #578 by adding the ability to pass the CMS Controller instance to the CMS Twig Extension removing the reliance on context variables as well as making the expected "global" twig variables inside of the CMS Twig environment actually global within that environment.

Replaces #598 & #593.

Credit to @RomainMazB for the initial implementation.
2022-07-10 01:09:09 -06:00
Ben Thomson
5201d710cb Merge branch 'develop' into wip/1.2 2022-06-24 11:58:58 +08:00
Jack Wilkinson
7fe167c41f
Split tests into relevant module folders
This splits the testing suite into the separate modules as appropriate in order to improve the reliability of the testing suite as a whole and make it easier for developers to have an up to date testing suite from the core to build off of. Additionally the tests are now namespaced and some minor improvements to the PluginManager were made.

Now the PluginManager will internally treat plugin identifiers as lower case strings, only transforming them to their normalized versions when requested by methods like getPlugins() & getAllPlugins(). The idea behind this is that it provides a much simpler way to internally handle checking, especially for plugin replacement where casing could cause issues.

Replaces #576. Fixes #575.
2022-06-21 18:30:30 -06:00
Ben Thomson
7652da88d0
Add Winter 1.2 as version option in bug report 2022-06-14 10:19:18 +08:00
Ben Thomson
582725b25b Merge branch 'develop' into wip/1.2 2022-06-05 21:56:01 +08:00
Ben Thomson
7e1cdeccac
Increase stale check to 6 months 2022-05-27 09:29:44 +08:00
Ben Thomson
14f9de003c Merge branch 'develop' into wip/1.2 2022-05-16 14:40:51 +08:00
Ben Thomson
f79e672a13
Establish base Snowboard framework in Backend (#548)
This PR establishes a base Snowboard framework in the Backend. While we won't likely have any specific Snowboard widgets or functionality in the 1.1 branch, it will allow people to use Snowboard in the Backend should they wish.

Fixes #541.

Co-authored-by: Luke Towers <github@luketowers.ca>
2022-05-16 13:31:49 +08:00
Jack Wilkinson
20ac7f6773
Small refactor to workflow utilities (#555)
Refactored workflow utilities to use STDOUT & STDERR
2022-05-16 11:50:31 +08:00
Ben Thomson
0a1b289986 Merge branch 'develop' into wip/1.2 2022-04-07 20:41:28 +08:00
Ben Thomson
8e57999eff Set up System module asset compilation with Mix
- Copied restructure from the "wip/inspector-rewrite" branch.
- Added manifest and vendor files in "{% snowboard %}" tag.
- Used standard Mix config path to auto-register the module.
2022-04-06 22:21:06 +08:00
Ben Thomson
040c6b936b Let's try this... 2022-02-23 10:55:52 +08:00
Ben Thomson
2a47cec76f Further debugging 2022-02-23 10:51:53 +08:00
Ben Thomson
30a4f80cf3 Debug branches in action 2022-02-23 10:49:40 +08:00
Ben Thomson
89397eb85d Prevent testing direct pushes to wip/1.2 - test the PR instead 2022-02-23 10:46:03 +08:00
Luke Towers
8a79307ef6 Run workflows on wip/1.2 2022-02-15 13:30:18 -06:00
Luke Towers
12a9182537 Merge branch 'develop' into wip/1.2
# Conflicts:
#	modules/system/ServiceProvider.php
2022-02-15 13:21:29 -06:00
Ben Thomson
ae67e2fa9b Compile changes from wip/framework-rewrite branch
Represents the entire current state of the Snowboard framework.
2022-01-12 15:35:45 +08:00
Luke Towers
b414396691 Fix library switcher 2021-12-14 15:15:53 -06:00
Luke Towers
8c75a83139 Merge branch 'develop' into wip/1.2
* develop: (90 commits)
  Define signature for "defineProperties" method
  Add definition of "componentDetails" method
  Update `system` french lang files (#366)
  Update `backend` french lang file (#364)
  Update `cms` french lang file (#365)
  Fix clear color picker function, allow empty value
  Trigger "change" event on color picker when value changes
  Use better cursors for readonly color picker
  Adjust "force" option for plugin:remove
  Require explicit confirmations for CLI deletions
  Add PHP 8.1 option, drop other details field
  Add md_line Twig filter to expose Markdown::parseLine() (#370)
  Don't use the Cache facade in the service provider registration process.
  Fix return type hints for CMS Page and Controller (#362)
  Fixes typo in list of available encodings for importing
  Improved Ukrainian translation (#360)
  Constrain PHP version >= 7.2.9 and 8.0.x (#361)
  Improve Latvian translation (#358)
  Docs UI Fix paths to screenshots of diagrams (#359)
  Coerce Inspector set values to string
  ...

# Conflicts:
#	composer.json
#	modules/backend/composer.json
#	modules/cms/composer.json
#	modules/system/composer.json
2021-12-09 15:39:05 -06:00
Ben Thomson
ae57fa0eb1 Add PHP 8.1 option, drop other details field 2021-12-08 09:03:41 +08:00
Ben Thomson
0e44230b27
Adjust tests for 1.2 2021-12-06 20:14:17 +08:00
Ben Thomson
2f4b0c8180 Add new GitHub banner 2021-11-10 12:03:09 +08:00
Ben Thomson
e7cf634c1d
Add additional question to pre-PR form 2021-08-18 17:02:17 +08:00
Luke Towers
bfed0e67b2
Tweaks to issue template 2021-07-29 20:51:17 -06:00
Ben Thomson
a56eb1bb5b
Further adjustments to issue templates 2021-07-30 10:18:44 +08:00
Ben Thomson
e7e2647337
Rename issue config file 2021-07-30 10:04:28 +08:00
Ben Thomson
d41a280477
Update GitHub issue templates 2021-07-30 10:03:40 +08:00
Ben Thomson
6893d56416
Fix bug report form 2021-07-30 09:49:21 +08:00
Ben Thomson
a63c68fbee
Delete old bug report template 2021-07-30 09:41:42 +08:00
Ben Thomson
768d5043d9
Create bug report form 2021-07-30 09:41:08 +08:00
Ben Thomson
0f1ca8a362
Tweak GitHub Actions
- Combine the PR and push code quality check.
- Remove the Commander action, as we don't use it.
- Remove Splitsh executable - we were going to use it for automated split builds, but this is now done through the Winter CLI.
2021-07-23 10:29:00 +08:00
Ben Thomson
d758a9bdbb Add comments to utlities 2021-04-02 10:28:29 +08:00
Luke Towers
07863c0437
Add support for pivot data in deferred bindings (#47)
Requires: wintercms/storm@e7e8da2

Refs: octobercms/library#555, octobercms/october#5466. Fixes octobercms/october#1409.
2021-03-20 23:50:18 -06:00
Ben Thomson
f9d2b32936
Add Splitsh utility for subsplits 2021-03-11 17:58:22 +08:00
Ben Thomson
0623745e02
Use correct Composer branch name 2021-03-11 17:41:23 +08:00
Ben Thomson
3cd0a8cae4
Remove manual library switch from tests 2021-03-11 17:28:52 +08:00