mirror of
https://github.com/silverstripe/recipe-cms.git
synced 2024-10-22 08:05:52 +02:00
Compare commits
104 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
69aa62b192 | ||
|
956f23ef1b | ||
|
a99f146452 | ||
|
8eaebc6fa7 | ||
|
9e965dd46a | ||
|
94c0b4904a | ||
|
4eb77877be | ||
|
dd8c8edc56 | ||
|
eb352f49e3 | ||
|
8595b7f657 | ||
|
8ec6751db6 | ||
|
45dfd7e145 | ||
|
b8f12e473d | ||
|
f522367605 | ||
|
5cbabe8848 | ||
|
d51848821f | ||
|
af0e535991 | ||
|
b4ba1ccde7 | ||
|
3da707469d | ||
|
16bd35a030 | ||
|
40b91c4d2b | ||
|
0574971f42 | ||
|
bd10022c57 | ||
|
8278db4db6 | ||
|
c1f535ba4a | ||
|
25e54e0277 | ||
|
0728ab6f95 | ||
|
7560dcd4ba | ||
|
000bf7fa1d | ||
|
d68ae7b0d6 | ||
|
adc98cee4b | ||
|
85601e8668 | ||
|
656e52f60f | ||
|
416dd2d043 | ||
|
1191bf337c | ||
|
46b7dc38e1 | ||
|
f326932b7f | ||
|
274e0c2738 | ||
|
0690aba618 | ||
|
4e95fbeee3 | ||
|
b908975f0e | ||
|
b68e22127b | ||
|
5665a593c1 | ||
|
3f64199c1a | ||
|
ff4400ac31 | ||
|
4074285383 | ||
|
e3f80d5dee | ||
|
ea3c4b16c7 | ||
|
388135e10a | ||
|
a24963a3a9 | ||
|
82be460186 | ||
|
4472888d7b | ||
|
ef2201f1fe | ||
|
1bba7a2976 | ||
|
8e23b8c4fe | ||
|
33955216a7 | ||
|
284f2f6fa3 | ||
|
6fe092aeaf | ||
|
03c6888a7f | ||
|
f748db6878 | ||
|
53f9a7f594 | ||
|
b7e61c1f1c | ||
|
53def4589c | ||
|
861afaddae | ||
|
3e7ecaaacc | ||
|
6ce413d43e | ||
|
9068196bb3 | ||
959e61b9e5 | |||
|
4aa484ba2d | ||
|
e3a0200bda | ||
|
d69f89d972 | ||
|
9936e8fd3f | ||
|
ed6f2fd7b5 | ||
|
840644b96d | ||
|
a0720394ff | ||
|
3ff3c8a196 | ||
|
6c96e7a69f | ||
|
eec0010012 | ||
|
90b3141d0b | ||
|
24e9e27a6e | ||
|
459bf46566 | ||
|
835186ddef | ||
|
72ce309b73 | ||
|
82e7fc229d | ||
|
778fef06fe | ||
|
ed4c1ecd45 | ||
|
5da0c5deb1 | ||
|
e04076f671 | ||
|
e475e07cb9 | ||
|
101c69a27e | ||
|
0c1280b6b0 | ||
|
7ceaab5e8d | ||
|
a781315718 | ||
|
ba2034c282 | ||
|
ebebe164f2 | ||
|
a3bad3b7b8 | ||
|
0bc11379c4 | ||
|
f5aa73baae | ||
|
58a4e04e88 | ||
|
2c16788d30 | ||
|
29320ff4a1 | ||
|
39a40215bb | ||
|
374dd63371 | ||
|
eecd5aae9c |
@ -1,7 +1,7 @@
|
||||
{
|
||||
"github-slug": "silverstripe/recipe-cms",
|
||||
"child-stability-inherit": true,
|
||||
"dependency-constraint": "exact",
|
||||
"dependency-constraint": "loose",
|
||||
"vendors": [
|
||||
"silverstripe"
|
||||
],
|
||||
|
11
.github/workflows/ci.yml
vendored
Normal file
11
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: CI
|
||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: Dispatch CI
|
||||
|
||||
on:
|
||||
# At 2:10 PM UTC, only on Thursday and Friday
|
||||
schedule:
|
||||
- cron: '10 14 * * 4,5'
|
||||
|
||||
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
|
17
.github/workflows/keepalive.yml
vendored
Normal file
17
.github/workflows/keepalive.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Keepalive
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# The 4th of every month at 10:50am UTC
|
||||
schedule:
|
||||
- cron: '50 10 4 * *'
|
||||
|
||||
jobs:
|
||||
keepalive:
|
||||
name: Keepalive
|
||||
# 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: Keepalive
|
||||
uses: silverstripe/gha-keepalive@v1
|
32
.travis.yml
32
.travis.yml
@ -1,32 +0,0 @@
|
||||
language: php
|
||||
|
||||
env:
|
||||
global:
|
||||
- COMPOSER_ROOT_VERSION=4.4.x-dev
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 5.6
|
||||
env: DB=MYSQL
|
||||
- php: 7.0
|
||||
env: DB=PGSQL
|
||||
- php: 7.1
|
||||
env: DB=MYSQL
|
||||
- php: 7.2
|
||||
env: DB=MYSQL
|
||||
|
||||
before_script:
|
||||
- phpenv rehash
|
||||
- phpenv config-rm xdebug.ini
|
||||
|
||||
- composer validate
|
||||
- composer require --no-update silverstripe-themes/simple:~3.2.0
|
||||
- if [[ $DB == PGSQL ]]; then composer require silverstripe/postgresql:2.1.x-dev --no-update; fi
|
||||
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||
|
||||
# Validate cow schema
|
||||
- composer global require silverstripe/cow ^2
|
||||
- ~/.config/composer/vendor/bin/cow schema:validate
|
||||
|
||||
script:
|
||||
- vendor/bin/phpunit --testsuite recipe-cms
|
12
README.md
12
README.md
@ -1,8 +1,9 @@
|
||||
## SilverStripe CMS Recipe
|
||||
## Silverstripe CMS Recipe
|
||||
|
||||
[![Build Status](https://travis-ci.org/silverstripe/recipe-cms.svg?branch=4)](https://travis-ci.org/silverstripe/recipe-cms)
|
||||
[![CI](https://github.com/silverstripe/recipe-cms/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/recipe-cms/actions/workflows/ci.yml)
|
||||
[![Silverstripe supported module](https://img.shields.io/badge/silverstripe-supported-0071C4.svg)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)
|
||||
|
||||
Base page and asset content-editing recipe for a SilverStripe ([http://silverstripe.org](http://silverstripe.org))
|
||||
Base page and asset content-editing recipe for a Silverstripe ([http://silverstripe.org](http://silverstripe.org))
|
||||
installation. This includes the modules:
|
||||
|
||||
Provided by [silverstripe/recipe-core]:
|
||||
@ -21,11 +22,12 @@ Provided by [silverstripe/recipe-cms]:
|
||||
* [errorpage](http://github.com/silverstripe/silverstripe-errorpage)
|
||||
* [reports](http://github.com/silverstripe/silverstripe-reports)
|
||||
* [graphql](http://github.com/silverstripe/silverstripe-graphql)
|
||||
* [session-manager](http://github.com/silverstripe/silverstripe-session-manager)
|
||||
* [siteconfig](http://github.com/silverstripe/silverstripe-siteconfig)
|
||||
* [versioned](http://github.com/silverstripe/silverstripe-versioned)
|
||||
|
||||
This can be either added to an existing project or used as a project base for creating a
|
||||
fully featured SilverStripe CMS project.
|
||||
fully featured Silverstripe CMS project.
|
||||
|
||||
See the [recipe plugin](https://github.com/silverstripe/recipe-plugin) page for instructions on how
|
||||
SilverStripe recipes work.
|
||||
Silverstripe recipes work.
|
||||
|
@ -5,21 +5,23 @@
|
||||
"homepage": "http://silverstripe.org",
|
||||
"license": "BSD-3-Clause",
|
||||
"require": {
|
||||
"silverstripe/recipe-plugin": "^1.2",
|
||||
"silverstripe/recipe-core": "4.4.4@stable",
|
||||
"silverstripe/admin": "1.4.4@stable",
|
||||
"silverstripe/asset-admin": "1.4.4@stable",
|
||||
"silverstripe/campaign-admin": "1.4.2@stable",
|
||||
"silverstripe/versioned-admin": "1.2.3@stable",
|
||||
"silverstripe/cms": "4.4.4@stable",
|
||||
"silverstripe/errorpage": "1.4.2@stable",
|
||||
"silverstripe/graphql": "3.1.4@stable",
|
||||
"silverstripe/reports": "4.4.1@stable",
|
||||
"silverstripe/siteconfig": "4.4.2@stable",
|
||||
"silverstripe/versioned": "1.4.3@stable"
|
||||
"php": "^7.4 || ^8.0",
|
||||
"silverstripe/recipe-plugin": "^1.7",
|
||||
"silverstripe/recipe-core": "4.x-dev",
|
||||
"silverstripe/admin": "1.x-dev",
|
||||
"silverstripe/asset-admin": "1.x-dev",
|
||||
"silverstripe/campaign-admin": "1.x-dev",
|
||||
"silverstripe/versioned-admin": "1.x-dev",
|
||||
"silverstripe/cms": "4.x-dev",
|
||||
"silverstripe/errorpage": "1.x-dev",
|
||||
"silverstripe/reports": "4.x-dev",
|
||||
"silverstripe/siteconfig": "4.x-dev",
|
||||
"silverstripe/versioned": "1.x-dev",
|
||||
"silverstripe/graphql": "3.x-dev || 4.x-dev",
|
||||
"silverstripe/session-manager": "1.x-dev"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
"phpunit/phpunit": "^9.5"
|
||||
},
|
||||
"extra": {
|
||||
"project-files": [
|
||||
|
@ -1,4 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
|
||||
<testsuites>
|
||||
<testsuite name="recipe-cms">
|
||||
<directory>vendor/silverstripe/admin/tests</directory>
|
||||
<directory>vendor/silverstripe/asset-admin/tests</directory>
|
||||
@ -7,8 +9,10 @@
|
||||
<directory>vendor/silverstripe/errorpage/tests</directory>
|
||||
<directory>vendor/silverstripe/graphql/tests</directory>
|
||||
<directory>vendor/silverstripe/reports/tests</directory>
|
||||
<directory>vendor/silverstripe/session-manager/tests</directory>
|
||||
<directory>vendor/silverstripe/siteconfig/tests</directory>
|
||||
<directory>vendor/silverstripe/versioned/tests</directory>
|
||||
<directory>vendor/silverstripe/versioned-admin/tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
|
Loading…
Reference in New Issue
Block a user