6475 Commits

Author SHA1 Message Date
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
Luke Towers
af311f7001 Normalize versions pulled from the version.yaml
Fixes an issue where a plugin switches from no v prefix in version identifiers to having a v prefix and then gets replaced.
2022-05-13 09:29:43 -06:00
Ben Thomson
ae2e2985ad Remove blog plugin from repo 2022-05-13 08:28:12 +08:00
Luke Towers
78a7201461
Force resized images to be regenerated when the source image changes (#178)
This should fix https://github.com/wintercms/winter/issues/177, but it will cause all existing installations to resize all of their already resized images. 

Another alternative could have been to include the hash of the source image; but it would have been at the expense of more work every time this function is called, which could potentially include generating hashes of multiple extremely large (10+ MB) images on every page load if the page includes such images that need to be resized since the filter needs to identify the configuration in order to identify the path to the resized image to check if it needs to return a resizer/ URL or a /resized one.

Further improvements could potentially be made in the isResized()
2022-05-12 15:13:22 -06:00
Jack Wilkinson
907393a586
Respect app.asset_url in AssetMaker (#552) 2022-05-12 12:52:24 -06:00
Ben Thomson
40e625cbd2 Remove Workshop theme from repo.
Accidentally committed in last commit
2022-05-12 22:20:53 +08:00
Ben Thomson
6ac09adf9d Drop "oc-" prefix for icons introduced in Font Awesome 6.
We're only keeping that prefix for backwards compatibility, so no need for the prefix on new icons. Should bring the filesize down a fair chunk.
2022-05-12 22:19:11 +08:00
Ben Thomson
051826c9d8 Include brand icons, small optimisation 2022-05-12 21:46:53 +08:00
Ben Thomson
6cec274a4d Merge branch 'develop' into wip/1.2 2022-05-12 21:17:13 +08:00
Ben Thomson
4ca721cbd8 Manually optimise shimmed icon CSS 2022-05-12 11:44:14 +08:00
Ben Thomson
5e3e9efcf5 Revert "Optimise shimmed icon CSS"
This reverts commit f8be6d7e85bf0bbadcb19294d7309843f6a0eb1f.
2022-05-12 10:55:16 +08:00
Ben Thomson
f8be6d7e85 Optimise shimmed icon CSS 2022-05-12 09:22:23 +08:00
Ben Thomson
a64422be20 View Maker guessed paths can be null 2022-05-12 09:10:24 +08:00
Ben Thomson
e6440daf05 Fix prefixed shims overriding entire element with FA font 2022-05-12 08:55:37 +08:00
Luke Towers
01d926a50a Fix icon usage for ReportContainers, AssetList, & Table widgets 2022-05-11 15:42:51 -06:00
Luke Towers
613a925051
Merge pull request #551 from wintercms/wip/1.2-font-awesome-6
Upgrade Font Awesome 4 to 6
2022-05-11 01:32:50 -06:00
Ben Thomson
eb37a26748 Add docs for icons 2022-05-11 14:24:20 +08:00
Ben Thomson
3e4246390d Load a subset of icons for the exception / message views 2022-05-11 13:07:12 +08:00
Ben Thomson
2df04a75b2 Fix font location 2022-05-11 13:02:40 +08:00
Ben Thomson
1a6ab951a8 Move icons into root UI folder.
Also separated the global base styles for icons with the actual icon list, so we can limit the icons loaded (ie. for the standard exception / error views)
2022-05-11 13:01:41 +08:00
Ben Thomson
8c9de1b399 Load separate icon file in Backend pages 2022-05-11 11:47:01 +08:00
Ben Thomson
af9876b7c9 Compile icon styling into separate CSS file 2022-05-11 11:43:04 +08:00
Ben Thomson
47e01dc84f Remove explicit links to icon LESS file.
We will load icons independently in another file so it can be cached independently.
2022-05-11 11:36:48 +08:00
Ben Thomson
1b3e01e2be Merge branch 'wip/1.2' into wip/1.2-font-awesome-6 2022-05-11 11:16:23 +08:00
Marco
ac130c462c
Fix undefined variable $packagePath in mix:watch error (#485)
When the package is not present in package.json, the correct error is not thrown because $packagePath not exists.

Co-authored-by: Luke Towers <github@luketowers.ca>
2022-05-09 10:48:19 +08:00
Luke Towers
872be9d671 Merge branch 'develop' into wip/1.2 2022-05-08 14:47:50 -06:00
Luke Towers
3fbc50f06a Improve support for custom configuration of ReportContainers
Previously any configuration that was made via makeConfig() before being passed to the ReportContainer would cause it to break. This fixes that issue.
2022-05-08 14:43:35 -06:00
Ben Thomson
ad4704360b
Remove extra license file 2022-05-07 11:46:42 +08:00
Ben Thomson
afb9ae8c0c Fix shimmed icons, remove some CSS variables, recompile 2022-05-06 13:43:23 +08:00
Ben Thomson
bd3401f6de Upgrade Font Awesome 4 to 6 2022-05-06 13:28:57 +08:00
Ben Thomson
6298026d20 Compile all assets 2022-05-06 10:09:51 +08:00
Ben Thomson
9b7bdc2df7 Merge branch 'develop' into wip/1.2 2022-05-05 09:02:41 +08:00
Ben Thomson
b897eebc1d Remove backend module from base package.json for now 2022-05-05 09:01:41 +08:00
Ben Thomson
f5a20dec64 Add base package.json 2022-05-05 09:00:33 +08:00
Ben Thomson
a6c6c747cc Hide root package.json on Gitpod 2022-05-05 08:45:37 +08:00
Ben Thomson
43d3869581 Create custom Snowboard build for Backend
This build does not include the Flash listener, to prevent double flash messages from occurring, as the old flash message system is still used throughout the Backend.
2022-05-03 14:48:41 +08:00
Marc Jauvin
fc57f5b0e7
hide smtp user/password fields if smtp authorization is false (#544) 2022-05-02 14:40:20 -06:00
Luke Towers
c9c4b6113c Fix windows tests & update references to backend view files 2022-05-02 13:02:34 -06:00
Ben Thomson
ceb6cca1ff Fix linting issue with fileupload partial 2022-05-02 16:39:50 +08:00
Ben Thomson
175580aa2f Implement code style for partials.
Adjust all partials to meet new code style.
2022-05-02 16:34:47 +08:00
Luke Towers
747122f169 Fixes for Windows & linter for ViewMaker trait 2022-05-02 00:29:44 -06:00
Luke Towers
85b133090d Use .php for the backend view extension instead of .htm 2022-05-02 00:04:25 -06:00
Luke Towers
643a581ce9 Add support for .php as a backend partial extension 2022-05-01 23:50:38 -06:00
AIC BV
593a5ba8b2
Fix spacing in MailPartial.php (#540) 2022-04-30 12:10:02 +08:00
AIC BV
35d230b43b
Fix spacing in MailLayout.php (#539) 2022-04-30 12:05:41 +08:00
Ben Thomson
7eda7b44a5 Merge branch 'develop' into wip/1.2 2022-04-29 14:26:29 +08:00
Ben Thomson
1d93841594 Fix relation count in lists for non snake-case relations
Laravel will automatically snake-case the given relation name (unless it is aliased) into the field "model_name_count" when retrieving a relation count. Since we don't allow an alias as part of the Lists config, we will simply snake-case the relation name too to retrieve the correct value.

Refs:
- https://github.com/laravel/framework/issues/18381
- https://github.com/laravel/framework/blob/6.x/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php#L402
2022-04-29 14:25:13 +08:00
Marc Jauvin
8dbc2de227
Add spanish localization for 'auth.invalid_login' (#543)
Credit to Federico Schafer
2022-04-28 19:12:27 -06:00
Luke Towers
ba5378c5ef
Add missing import 2022-04-27 10:58:29 -06:00