Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
sidekick
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Privat - Marco Schmiedel
sidekick
Commits
1cb2c1d1
Commit
1cb2c1d1
authored
Apr 13, 2022
by
Marco Schmiedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9bece57e
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
64 additions
and
45 deletions
+64
-45
BashColorDemoCommand.php
src/Commands/BashColorDemoCommand/BashColorDemoCommand.php
+2
-2
CodebeautifierCommand.php
src/Commands/CodebeautifierCommand/CodebeautifierCommand.php
+1
-1
BeautifyManager.php
src/Managers/BeautifyManager/BeautifyManager.php
+13
-4
DirectoryManager.php
src/Managers/DirectoryManager/DirectoryManager.php
+2
-2
AssetHelper.php
src/Managers/PicassoManager/AssetHelper.php
+2
-12
BladeManagement.php
src/Managers/PicassoManager/BladeManagement.php
+3
-3
ResourcePublisherManager.php
...ers/ResourcePublisherManager/ResourcePublisherManager.php
+1
-1
TerminalManager.php
src/Managers/TerminalManager/TerminalManager.php
+2
-2
CommandServiceProvider.php
...oviders/CommandServiceProvider/CommandServiceProvider.php
+1
-1
CoreServiceProvider.php
src/Providers/CoreServiceProvider.php
+1
-1
PicassoServiceProvider.php
...oviders/PicassoServiceProvider/PicassoServiceProvider.php
+2
-2
Config.php
src/Views/Limitless/Element/Config.php
+27
-11
Config.php
src/Views/Limitless/Help/Config.php
+7
-3
No files found.
src/Commands/BashColorDemoCommand/BashColorDemoCommand.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Commands\BashColorDemoCommand
;
namespace
Ceetrox\Commands\BashColorDemoCommand
;
...
...
src/Commands/CodebeautifierCommand/CodebeautifierCommand.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Commands\CodebeautifierCommand
;
namespace
Ceetrox\Commands\CodebeautifierCommand
;
...
...
src/Managers/BeautifyManager/BeautifyManager.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Managers\BeautifyManager
;
namespace
Ceetrox\Managers\BeautifyManager
;
...
@@ -204,8 +204,17 @@
...
@@ -204,8 +204,17 @@
return
$this
->
tpl
;
return
$this
->
tpl
;
}
}
// Its better to abort here when the class does not have any methods...
/*
if
(
!
isset
(
$this
->
classes
[
'Methods'
]))
|----------------------------------------------------------------------------------------
| Its better to abort here when the class does not have any methods to render. Its
| probably a wrong file...
*/
if
(
!
isset
(
$this
->
classes
[
0
][
'Methods'
]))
{
return
false
;
}
if
(
empty
(
$this
->
classes
[
0
][
'Methods'
]))
{
{
return
false
;
return
false
;
}
}
...
...
src/Managers/DirectoryManager/DirectoryManager.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Managers\DirectoryManager
;
namespace
Ceetrox\Managers\DirectoryManager
;
...
...
src/Managers/PicassoManager/AssetHelper.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Sidekick\Managers\PicassoManager
;
namespace
Ceetrox\Sidekick\Managers\PicassoManager
;
...
@@ -43,7 +43,6 @@
...
@@ -43,7 +43,6 @@
*/
*/
static
function
generateAssetTag
(
$configCls
,
$currentNamespace
,
$currentFolder
,
$currentKey
)
static
function
generateAssetTag
(
$configCls
,
$currentNamespace
,
$currentFolder
,
$currentKey
)
{
{
/*
/*
|----------------------------------------------------------------------------------------
|----------------------------------------------------------------------------------------
| Define a defaultempty return value.
| Define a defaultempty return value.
...
@@ -62,7 +61,6 @@
...
@@ -62,7 +61,6 @@
*/
*/
foreach
(
$configCls
->
assetAllocation
[
$currentKey
]
as
$asset
)
foreach
(
$configCls
->
assetAllocation
[
$currentKey
]
as
$asset
)
{
{
/*
/*
|--------------------------------------------------------------------------------
|--------------------------------------------------------------------------------
| Check if the asset is a external url or a private hostet path.
| Check if the asset is a external url or a private hostet path.
...
@@ -73,13 +71,11 @@
...
@@ -73,13 +71,11 @@
|----------------------------------------------------------------------------
|----------------------------------------------------------------------------
| Build array for the secure publisher in case of a private path.
| Build array for the secure publisher in case of a private path.
*/
*/
$path
=
__DIR__
.
'/../../Views/'
.
$currentNamespace
.
'/'
.
$currentFolder
.
'/'
.
$asset
;
$path
=
__DIR__
.
'/../../Views/'
.
$currentNamespace
.
'/'
.
$currentFolder
.
'/'
.
$asset
;
$array
=
[
$array
=
[
'path'
=>
$path
,
'path'
=>
$path
,
'code'
=>
md5
(
env
(
'APP_KEY'
)
.
$path
)
'code'
=>
md5
(
env
(
'APP_KEY'
)
.
$path
)
];
];
}
}
else
else
{
{
...
@@ -134,8 +130,6 @@
...
@@ -134,8 +130,6 @@
*/
*/
static
function
resolveAssetTagCategory
(
$__env
,
$type
)
static
function
resolveAssetTagCategory
(
$__env
,
$type
)
{
{
/*
/*
|----------------------------------------------------------------------------------------
|----------------------------------------------------------------------------------------
| First define a virtual storage for all elements that should be send to the master
| First define a virtual storage for all elements that should be send to the master
...
@@ -155,7 +149,6 @@
...
@@ -155,7 +149,6 @@
*/
*/
foreach
(
$__env
->
getSections
()
as
$section
)
foreach
(
$__env
->
getSections
()
as
$section
)
{
{
/*
/*
|------------------------------------------------------------------------------------
|------------------------------------------------------------------------------------
| Filter the picasso tags with preg_match_all.
| Filter the picasso tags with preg_match_all.
...
@@ -168,8 +161,6 @@
...
@@ -168,8 +161,6 @@
*/
*/
if
(
$picassoTag
[
0
])
if
(
$picassoTag
[
0
])
{
{
/*
/*
|--------------------------------------------------------------------------------
|--------------------------------------------------------------------------------
| Loop all found picasso tags.
| Loop all found picasso tags.
...
@@ -227,7 +218,6 @@
...
@@ -227,7 +218,6 @@
*/
*/
if
(
$type
==
'javascript'
)
if
(
$type
==
'javascript'
)
{
{
$storage
.=
'<script src="'
.
$url
.
'"></script>'
;
$storage
.=
'<script src="'
.
$url
.
'"></script>'
;
}
}
}
}
...
...
src/Managers/PicassoManager/BladeManagement.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Sidekick\Managers\PicassoManager
;
namespace
Ceetrox\Sidekick\Managers\PicassoManager
;
...
...
src/Managers/ResourcePublisherManager/ResourcePublisherManager.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Sidekick\Managers\ResourcePublisherManager
;
namespace
Ceetrox\Sidekick\Managers\ResourcePublisherManager
;
...
...
src/Managers/TerminalManager/TerminalManager.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Managers\TerminalManager
;
namespace
Ceetrox\Managers\TerminalManager
;
...
...
src/Providers/CommandServiceProvider/CommandServiceProvider.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Providers\CommandServiceProvider
;
namespace
Ceetrox\Providers\CommandServiceProvider
;
...
...
src/Providers/CoreServiceProvider.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Providers
;
namespace
Ceetrox\Providers
;
...
...
src/Providers/PicassoServiceProvider/PicassoServiceProvider.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Update: 2022-04-13 0
8:07:22
| Update: 2022-04-13 0
9:16:43
|
|
*/
*/
namespace
Ceetrox\Providers\PicassoServiceProvider
;
namespace
Ceetrox\Providers\PicassoServiceProvider
;
...
...
src/Views/Limitless/Element/Config.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
|
Date: 2022-04-12 14:01:45
|
Update: 2022-04-13 09:16:43
|
|
*/
*/
namespace
Ceetrox\Sidekick\Views\Limitless\Element
;
namespace
Ceetrox\Sidekick\Views\Limitless\Element
;
...
@@ -42,7 +42,6 @@
...
@@ -42,7 +42,6 @@
'Limitless::Example'
=>
'example'
,
'Limitless::Example'
=>
'example'
,
];
];
public
$assetAllocation
=
[
public
$assetAllocation
=
[
'Limitless::Example'
=>
[
'Limitless::Example'
=>
[
'Example/example.js'
,
'Example/example.js'
,
...
@@ -50,10 +49,12 @@
...
@@ -50,10 +49,12 @@
]
]
];
];
/*
/*
|--------------------------------------------------------------------------------------------
|--------------------------------------------------------------------------------------------
| Method "
C
ardStart"
| Method "
c
ardStart"
|--------------------------------------------------------------------------------------------
|--------------------------------------------------------------------------------------------
| Method "CardStart"
*/
*/
public
function
cardStart
(
$parameters
)
public
function
cardStart
(
$parameters
)
{
{
...
@@ -63,16 +64,31 @@
...
@@ -63,16 +64,31 @@
->
withCollapsable
(
(
isset
(
$parameters
[
'collapsable'
])
?
$parameters
[
'collapsable'
]
:
true
)
)
->
withCollapsable
(
(
isset
(
$parameters
[
'collapsable'
])
?
$parameters
[
'collapsable'
]
:
true
)
)
->
withRemoveable
(
(
isset
(
$parameters
[
'removeable'
])
?
$parameters
[
'removeable'
]
:
false
)
)
->
withRemoveable
(
(
isset
(
$parameters
[
'removeable'
])
?
$parameters
[
'removeable'
]
:
false
)
)
->
withExtra
(
(
isset
(
$parameters
[
'extra'
])
?
$parameters
[
'extra'
]
:
[]
)
);
->
withExtra
(
(
isset
(
$parameters
[
'extra'
])
?
$parameters
[
'extra'
]
:
[]
)
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "cardStop"
|--------------------------------------------------------------------------------------------
*/
public
function
cardStop
()
public
function
cardStop
()
{
{
return
View
(
'Limitless::Element.Card.Stop'
);
return
View
(
'Limitless::Element.Card.Stop'
);
}
}
/*
|--------------------------------------------------------------------------------------------
| Method "example"
|--------------------------------------------------------------------------------------------
*/
public
function
example
()
public
function
example
()
{
{
return
View
(
'Limitless::Element.Example.Div'
);
return
View
(
'Limitless::Element.Example.Div'
);
}
}
}
}
...
...
src/Views/Limitless/Help/Config.php
View file @
1cb2c1d1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
| sidekick package.
| sidekick package.
|
|
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
| Author: Marco Schmiedel <marco.schmiedel@itmax.email>
|
Date: 2022-04-12 14:01:45
|
Update: 2022-04-13 09:16:43
|
|
*/
*/
namespace
Ceetrox\Sidekick\Views\Limitless\Help
;
namespace
Ceetrox\Sidekick\Views\Limitless\Help
;
...
@@ -41,7 +41,11 @@
...
@@ -41,7 +41,11 @@
];
];
/*
|--------------------------------------------------------------------------------------------
| Method "internalNavigation"
|--------------------------------------------------------------------------------------------
*/
public
function
internalNavigation
(
$parameters
)
public
function
internalNavigation
(
$parameters
)
{
{
return
View
(
'Limitless::Help.Pages.Home'
);
return
View
(
'Limitless::Help.Pages.Home'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment