Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gammamatrix authored Aug 18, 2024
1 parent a8b0272 commit cf3c245
Show file tree
Hide file tree
Showing 559 changed files with 28,906 additions and 11,587 deletions.
5 changes: 2 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
/.php-cs-fixer.cache export-ignore
/.php-cs-fixer.dist export-ignore
/.phpunit.cache export-ignore
# Database components are for testing only.
/database export-ignore
/docs export-ignore
/resources/docs export-ignore
/resources/package export-ignore
/tests export-ignore
/vendor export-ignore
/composer.lock export-ignore
/package.json export-ignore
/phpunit-ci.xml export-ignore
/phpunit.xml export-ignore
/phpunit.xml.dist export-ignore
/psalm.xml export-ignore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
with:
level: 9
php_version: "8.2"
path: config/ routes/ src/ tests/Feature/ tests/Unit/
path: config/ resources/views/ routes/ src/ tests/Feature/ tests/Unit/
args: --verbose --debug
- name: Stopping timer
if: ${{ !cancelled() }}
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ database/migrations/*.disabled
resources/packages

composer.lock
package-lock.json

tmp-*
temp-*
Expand All @@ -59,12 +60,14 @@ public/storage

output

public/tests
public/docs

phpunit.xml
public/tests

phpstan.neon

phpunit.xml

.phpunit.cache

tests/_output/*
Expand Down Expand Up @@ -97,4 +100,3 @@ yarn-error.log
/.fleet
/.idea
/.vscode

1 change: 0 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@
__DIR__.'/config',
// __DIR__.'/lang',
__DIR__.'/routes',
__DIR__.'/resources',
__DIR__.'/src',
__DIR__.'/tests/Feature',
__DIR__.'/tests/Unit',
Expand Down
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) Playground <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
33 changes: 17 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
"name": "gammamatrix/playground-matrix-resource",
"description": "Playground: Provides an API and a Blade UI for interacting with Playground Matrix, a Project Management System for Laravel applications.",
"keywords": [
"matrix",
"agile",
"sprints",
"projects",
"tickets",
"gammamatrix",
"laravel",
"playground"
"matrix",
"playground",
"playground-blade",
"projects",
"sprints"
],
"homepage": "https://gammamatrix-playground.readthedocs.io/",
"homepage": "https://github.com/gammamatrix/playground-matrix-resource",
"license": "MIT",
"authors": [
{
Expand All @@ -22,18 +22,16 @@
],
"require": {
"php": "^8.2",
"gammamatrix/playground": "*",
"gammamatrix/playground-auth": "*",
"gammamatrix/playground-blade": "*",
"gammamatrix/playground-http": "*",
"gammamatrix/playground-matrix": "*"
},
"require-dev": {
"gammamatrix/playground-test": "*",
"gammamatrix/playground-login-blade": "*",
"gammamatrix/playground-site-blade": "*",
"gammamatrix/playground-test": "*"
"gammamatrix/playground-site-blade": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Playground\\Matrix\\Resource\\": "src/"
Expand All @@ -50,24 +48,27 @@
"preferred-install": {
"gammamatrix/*": "source",
"*": "dist"
},
"process-timeout": 0
}
},
"extra": {
"branch-alias": {
"dev-develop": "73.x-dev",
"dev-master": "73.x-dev"
"dev-develop": "73.x-dev"
},
"laravel": {
"providers": [
"Playground\\Matrix\\Resource\\ServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"analyse": "vendor/bin/phpstan analyse --verbose --debug --level max",
"cloc": "cloc --exclude-dir=node_modules,output,vendor .",
"format": "vendor/bin/php-cs-fixer fix",
"test": "vendor/bin/phpunit"
"test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/testbench package:test"
]
}
}
78 changes: 15 additions & 63 deletions config/playground-matrix-resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
return [

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| About Information
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
| By default, information will be displayed about this package when using:
|
Expand All @@ -24,9 +24,9 @@
'about' => (bool) env('PLAYGROUND_MATRIX_RESOURCE_ABOUT', true),

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Loading
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
| By default, translations and views are loaded.
|
Expand All @@ -35,14 +35,14 @@
'load' => [
'policies' => (bool) env('PLAYGROUND_MATRIX_RESOURCE_LOAD_POLICIES', true),
'routes' => (bool) env('PLAYGROUND_MATRIX_RESOURCE_LOAD_ROUTES', true),
'translations' => (bool) env('PLAYGROUND_MATRIX_RESOURCE_LOAD_TRANSLATIONS', false),
'translations' => (bool) env('PLAYGROUND_MATRIX_RESOURCE_LOAD_TRANSLATIONS', true),
'views' => (bool) env('PLAYGROUND_MATRIX_RESOURCE_LOAD_VIEWS', true),
],

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Middleware
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
*/
Expand All @@ -54,9 +54,9 @@
],

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Policies
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
*/
Expand All @@ -81,9 +81,9 @@
],

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Routes
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
*/
Expand All @@ -109,9 +109,9 @@
],

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Sitemap
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
*/
Expand All @@ -124,9 +124,9 @@
],

/*
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Templates
|---------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
*/
Expand Down Expand Up @@ -194,56 +194,8 @@
'playground-matrix-resource:team:viewAny',
'playground-matrix-resource:ticket:view',
'playground-matrix-resource:ticket:viewAny',
'playground-matrix-resource:ticket:create',
'playground-matrix-resource:ticket:edit',
'playground-matrix-resource:ticket:store',
'playground-matrix-resource:ticket:update',
'playground-matrix-resource:version:view',
'playground-matrix-resource:version:viewAny',
],
// 'guest' => [
// 'deny',
// ],
// 'guest' => [
// 'app:view',

// 'playground:view',

// 'playground-auth:logout',
// 'playground-auth:reset-password',

// 'playground-matrix-resource:backlog:view',
// 'playground-matrix-resource:backlog:viewAny',
// 'playground-matrix-resource:board:view',
// 'playground-matrix-resource:board:viewAny',
// 'playground-matrix-resource:epic:view',
// 'playground-matrix-resource:epic:viewAny',
// 'playground-matrix-resource:flow:view',
// 'playground-matrix-resource:flow:viewAny',
// 'playground-matrix-resource:matrix:view',
// 'playground-matrix-resource:matrix:viewAny',
// 'playground-matrix-resource:milestone:view',
// 'playground-matrix-resource:milestone:viewAny',
// 'playground-matrix-resource:note:view',
// 'playground-matrix-resource:note:viewAny',
// 'playground-matrix-resource:project:view',
// 'playground-matrix-resource:project:viewAny',
// 'playground-matrix-resource:release:view',
// 'playground-matrix-resource:release:viewAny',
// 'playground-matrix-resource:roadmap:view',
// 'playground-matrix-resource:roadmap:viewAny',
// 'playground-matrix-resource:source:view',
// 'playground-matrix-resource:source:viewAny',
// 'playground-matrix-resource:sprint:view',
// 'playground-matrix-resource:sprint:viewAny',
// 'playground-matrix-resource:tag:view',
// 'playground-matrix-resource:tag:viewAny',
// 'playground-matrix-resource:team:view',
// 'playground-matrix-resource:team:viewAny',
// 'playground-matrix-resource:ticket:view',
// 'playground-matrix-resource:ticket:viewAny',
// 'playground-matrix-resource:version:view',
// 'playground-matrix-resource:version:viewAny',
// ],
],
];
Loading

0 comments on commit cf3c245

Please sign in to comment.