Skip to content

Commit

Permalink
Add self-contained blocks
Browse files Browse the repository at this point in the history
commit bba7ed9
Author: Quentin Renard <[email protected]>
Date:   Mon Jun 29 01:45:31 2020 -0400

    Fix make:block test

commit 7cae1da
Author: Quentin Renard <[email protected]>
Date:   Mon Jun 29 01:34:07 2020 -0400

    Add defaults to block generator

commit 9705310
Author: Quentin Renard <[email protected]>
Date:   Mon Jun 29 01:33:30 2020 -0400

    Raname blocks annotations, support compiled blocks and prevent BC for users of Twill default blocks

    - Favor @twillBlockProperty syntax for clarity and to preserve syntax highlighting
    - Support new @twillBlockCompiled and @twillBlockCompoment for custom Vue compiled blocks which are not inlined in the response but in the build
    - Restore default compiled text and image blocks when a developer did not create any blocks yet and uses the block_editor form fields without specifying a blocks list or a group
    - Use new text snd image block fields when generating a new block using them as template

commit 52962a0
Author: Quentin Renard <[email protected]>
Date:   Mon Jun 22 01:27:09 2020 -0400

    Remove yarn.lock as Twill is using npm internally

commit 50e241d
Author: Quentin Renard <[email protected]>
Date:   Mon Jun 22 01:26:42 2020 -0400

    Add back twill:module command as deprecated

    Will be removed in Twill 3.0 in favor of twill:make:module

commit 04d671d
Author: Quentin Renard <[email protected]>
Date:   Mon Jun 22 00:08:50 2020 -0400

    Revert "Remove generate blocks command"

    This reverts commit a329ee4.

commit 4e759cd
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 16:09:29 2020 -0400

    Revert "Try only switching the PHPUnit printer through CLI to avoid duplicating the whole configuration file"

    This reverts commit d338140.

commit 9fc6ed9
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 15:58:40 2020 -0400

    Fix PHPUnit CLI option

commit d338140
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 15:52:03 2020 -0400

    Try only switching the PHPUnit printer through CLI to avoid duplicating the whole configuration file

commit a576a1c
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 15:45:20 2020 -0400

    Fix PHP 7.1 tests and Collision issue

commit fcac8c2
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 03:22:11 2020 -0400

    Unskip test on Travis

commit 8b18a29
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 03:19:10 2020 -0400

    Allow older version of Collision for PHP 7.1 compat

commit bb654fc
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 03:11:59 2020 -0400

    Fix tests

    See 1bf93ad. Login has its own test so we do not need to check the status of the login request on every test. It appears that on a first run the Testbench created Laravel app does not pick up the admin.php file resulting in a route missing when being redirected to the dashboard after login.

commit 1bf93ad
Author: Quentin Renard <[email protected]>
Date:   Tue May 26 02:55:21 2020 -0400

    Attempt to fix tests on TravisCI and add Collision output

    Our issue does not seem to be a Travis issue but more likely a Testbench one related to the fact that we copy files in the Laravel project it uses. It seems like added files are not being picked up on first run. To reproduce locally, rm -rf vendor/orchestra/testbench-core && composer install.

commit b3d5cd6
Author: Quentin Renard <[email protected]>
Date:   Mon May 25 16:41:16 2020 -0400

    Fix module authors test

commit 1606afb
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 19 00:36:49 2020 +0100

    Skip test on Travis for now

commit 961dcef
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 18 23:45:32 2020 +0100

    Move test to a different file

commit 0ac062a
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 18 10:30:57 2020 +0100

    Rollback to not stop on all errors and failures

commit 789c888
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 18 10:15:36 2020 +0100

    Fix test errors with translatable

commit 2171b55
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 18 10:15:15 2020 +0100

    Prevent phpunit from showing .blade.php stub files on terminal

commit 0876447
Author: Antonio Ribeiro <[email protected]>
Date:   Wed Mar 18 03:15:58 2020 +0100

    Update packages

commit e86a3ba
Author: Antonio Ribeiro <[email protected]>
Date:   Mon Mar 16 02:10:51 2020 +0100

    Load translatable config file

commit d0c4782
Author: Antonio Ribeiro <[email protected]>
Date:   Mon Mar 16 00:51:10 2020 +0100

    Add group to repeater

commit 151f6ea
Author: Antonio Ribeiro <[email protected]>
Date:   Mon Mar 16 00:42:58 2020 +0100

    Update composer packages

commit 75db16b
Author: Antonio Ribeiro <[email protected]>
Date:   Mon Mar 16 00:36:53 2020 +0100

    Create tests for the new block services

commit 6e9712f
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 20:54:52 2020 +0100

    Remove legacy array

commit 2707be1
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 13:11:40 2020 +0100

    Split commands tests

commit a329ee4
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 13:11:04 2020 +0100

    Remove generate blocks command

commit 4fd23c8
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 12:44:27 2020 +0100

    Use destination directory

commit ce94655
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 12:17:49 2020 +0100

    Remove uneeded method

commit 03eaf56
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 12:11:10 2020 +0100

    Refactor parser

commit 00d39e5
Author: Antonio Ribeiro <[email protected]>
Date:   Sun Mar 15 12:06:43 2020 +0100

    Remove old parser

commit 6bb19e3
Author: Antonio Ribeiro <[email protected]>
Date:   Sat Mar 14 19:12:30 2020 +0100

    Correctly filter groups

commit 8fb8939
Author: Antonio Ribeiro <[email protected]>
Date:   Sat Mar 14 19:04:49 2020 +0100

    Add group and correctly filter blocks for module

commit 257e679
Author: Antonio Ribeiro <[email protected]>
Date:   Sat Mar 14 18:24:02 2020 +0100

    Make directories configurable

commit 0aa4ea6
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Mon Mar 9 12:37:33 2020 +0100

    Fix missing block list

commit 28c787f
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Mon Mar 9 00:41:49 2020 +0100

    Move logic to a service class

commit 99168cf
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Sun Mar 8 18:37:35 2020 +0100

    Fix coding style

commit 53ddb75
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Sun Mar 8 18:36:22 2020 +0100

    Correctly render repeaters

commit 5053977
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Sun Mar 8 15:59:38 2020 +0100

    Refactor blade string compiler

commit 4fff6bd
Merge: 27da77c f0a8822
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Sun Mar 8 15:20:39 2020 +0100

    Add footnote block

commit edd186f
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Sun Mar 8 09:32:11 2020 +0100

    Fix block rendering

commit 4282032
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Sun Mar 8 08:26:10 2020 +0100

    Render blocks and add them to the view

commit 0f07334
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 5 23:43:51 2020 +0100

    Generate and compile block

commit 9e33013
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 5 01:24:17 2020 +0100

    Rename block properties to AREA 17

commit 377116b
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 5 00:53:12 2020 +0100

    Add some docblocks and type hints

commit 7e4116c
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 5 00:49:20 2020 +0100

    Properly export a list of blocks

commit 6334b7f
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 5 00:13:53 2020 +0100

    Add docblocks

commit 82ef426
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Thu Mar 5 00:03:44 2020 +0100

    Move parser to Block class

commit 42053e2
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 4 22:50:11 2020 +0100

    Coding style

commit 3a14fb4
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 4 01:12:36 2020 +0100

    Dinamically load list of blocks

commit c8b5f7c
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 4 00:43:41 2020 +0100

    Add repeaters folder to repository

commit 0e1a2f6
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Wed Mar 4 00:34:30 2020 +0100

    Refactor block create and create block class

commit 6ed3e5b
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Mon Mar 2 00:12:00 2020 +0100

    Parse file blocks

commit 14c51f3
Author: Antonio Carlos Ribeiro <[email protected]>
Date:   Mon Feb 24 23:56:29 2020 +0100

    Create block command

Co-Authored-By: Antonio Carlos Ribeiro <[email protected]>
  • Loading branch information
ifox and antonioribeiro committed Jul 5, 2020
1 parent 5eb8654 commit 1e95b0a
Show file tree
Hide file tree
Showing 58 changed files with 4,261 additions and 1,157 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,17 @@ install:

script:
- vendor/bin/php-cs-fixer --dry-run --config=./.php_cs.travis fix src/ tests/ || travis_terminate 1;
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
- |
if [[ "$TRAVIS_PHP_VERSION" == '7.1' ]]; then
vendor/bin/phpunit --configuration phpunit-7.1.xml
else
vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
fi
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" == '7.3' ]]; then
if [[ "$TRAVIS_PHP_VERSION" == '7.4' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"kalnoy/nestedset": "^5.0",
"nunomaduro/collision": "^3.0|^4.2",
"orchestra/testbench": "~3.3|~3.4|~3.5|~3.6|~3.7|~3.8|^4.0|^5.0",
"phpunit/phpunit": "~5.0|~6.0|~7.0|~8.0"
"phpunit/phpunit": "~5.0|~6.0|~7.0|~8.0|~9.0"
},
"autoload": {
"psr-4": {
Expand All @@ -58,7 +59,7 @@
}
},
"scripts": {
"test:phpunit": "vendor/bin/phpunit --colors=always",
"test:phpunit": "vendor/bin/phpunit",
"test:analyse": "php -d memory_limit=-1 vendor/bin/phpstan analyse",
"test:syntax": "vendor/bin/php-cs-fixer --dry-run --rules=-@PSR1 fix src",
"test": [
Expand Down
Loading

0 comments on commit 1e95b0a

Please sign in to comment.