View the documentation at AsgardCMS.com/docs.
Join the conversation on Slack
The AsgardCMS is open-sourced software licensed under the MIT license.
A modular multilingual CMS built with Laravel 5.
Home Page: https://asgardcms.com/
License: MIT License
View the documentation at AsgardCMS.com/docs.
Join the conversation on Slack
The AsgardCMS is open-sourced software licensed under the MIT license.
Is there any Blocks documentation anywhere - or am I being a total muppet?
Hi,
When I try to upload an image in the page editor, I got an error (take some time to see it, it could be a good idea to catch it throught javascript ...).
Error is
TokenMismatchException in compiled.php line 2548
I test it throught php artisen serve with PHP 5.6.4
I suggest the following:
Their a couple of issues related to scaffolding a new module:
module.json
, providers
key: $MODULE_NAMESPACE$
not replacedRoute [admin.product.product.create] not defined
RouteServiceProvider
, unused class import use Illuminate\Routing\Router;
.RouteServiceProvider
not added in the module.json
file.ServiceProvider
: removing Illuminate\Support\Facades\Config
unused import$table->foreign('category_id')->references('id')->on('product.categories')->onDelete('cascade');
should be on(product__categories'
Translations
suffix in needed migrations class name.This happens when posting to the register user page.
As far as I know it is triggered on this line, don't know why as the RoleRepository is also used on the role CRUD without problems.
I've come to the conclusion that its trying to load backend assets from the frontend theme, adding
\Stylist::activate(\Config::get('asgard.core.core.admin-theme'));
just in the getLogin()
of Modules\User\Http\Controllers\AuthController
seems to fix it on my install(s)
I haven't put this into a pull request cause i'm pretty sure there's something else at play here, not sure what :S
This has happened a couple of times already.
Haven't been able to reproduce it, or figure out why.
module was created with entity and objects but when adding record there are no fields associated
For all modules, find a way to be able to run the unit tests outside a laravel application.
For instance in a CI service like Travis-Ci. Also to make contributing to AsgardCMS easier.
Add a manual image crop functionality, using http://fengyuanchen.github.io/cropper/.
This will be done after the image is uploaded, meaning after the main thumbnails have been created.
Still looking for the best solution
An additional email notification could be sent if the user is offline. This would require an user account setting to disable email notifications.
Also use http://lab.ejci.net/favico.js/ to add notification count in favicon.
Could be an idea to add support for multiple formats such as markdown etc
Hi
i try to run php artisan asgard:install
but give me error
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asgardcms.settin
g__settings' doesn't exist (SQL: select * from `setting__settings` where `n
ame` = core::locales limit 1)
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'asgardcms.settin
g__settings' doesn't exist
any idea?
try to run php artisan migrate
and php artisan module:migrate
but still no luck
Thanks
Add a Theme scaffold command
A command that generates all base files for a theme.
theme.json
gulpfile.js
package.json
elixir.json
views/layouts
views/partials
views/default.blade.php
This causes an error
acp.MODULE.index
Hi there,
Seems like the table dashboard__widgets is missing.
After a successful installation I've got this error after I'd log in:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database.dashboard__widgets' doesn't exist (SQL: select * from dashboard__widgets
where user_id
= 1 limit 1)
Guess this has been forgotten to be added to migrations as this is a new feature.
When you have an error at the install you can't reinstall it
Steps:
php artisan asgard:install
Welcome!
Starting the installation process...
Enter your database host [localhost]:
Enter your database name []: asgardcms
Enter your database username [root]:
Enter your database password []:
Database successfully configured
User Module
Starting the User Module setup...
Which user driver do you wish to use? Please make sure you installed your preferred driver beforehand. [1]
[0] Sentinel (Paid)
[1] Sentry (Free)
> 1
SQLSTATE[HY000] [1049] Unknown database 'asgardcms'
And after fixing it, I have the following message
php artisan asgard:install
Welcome!
Starting the installation process...
Asgard has already been installed. You can already log into your administration.
I'll list the packages needed for AsgardCms, and if they're 5.1 ready, or not.
2.1@dev
3.1.x@dev
Just trying to create a module and it errored out
$ art asgard:scaffold
Please enter the module name. Example: vendor/name. xlink/faq
Do you want to use Eloquent or Doctrine ? [eloquent]
[0] Eloquent
[1] Doctrine
> 0
Enter entity name. Leaving option empty will continue script. Faq
Enter entity name. Leaving option empty will continue script.
Enter value object name. Leaving option empty will continue script.
exception 'ErrorException' with message 'file_put_contents(/Faq/Providers/FaqServiceProvider.php): failed to open stream: No such file or directory' in /Users/danaldridge/Sites/portfolio/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:74
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'file_put_conten...', '/Users/danaldri...', 74, Array)
#1 /Users/danaldridge/Sites/portfolio/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(74): file_put_contents('/Faq/Providers/...', '<?php namespace...', 0)
#2 /Users/danaldridge/Sites/portfolio/Modules/Workshop/Scaffold/Generators/Generator.php(93): Illuminate\Filesystem\Filesystem->put('/Faq/Providers/...', '<?php namespace...')
#3 /Users/danaldridge/Sites/portfolio/Modules/Workshop/Scaffold/Generators/FilesGenerator.php(30): Modules\Workshop\Scaffold\Generators\Generator->writeFile('/Faq/Providers/...', '<?php namespace...')
#4 /Users/danaldridge/Sites/portfolio/Modules/Workshop/Scaffold/ModuleScaffold.php(101): Modules\Workshop\Scaffold\Generators\FilesGenerator->generateModuleProvider()
#5 /Users/danaldridge/Sites/portfolio/Modules/Workshop/Console/ScaffoldCommand.php(52): Modules\Workshop\Scaffold\ModuleScaffold->scaffold()
#6 [internal function]: Modules\Workshop\Console\ScaffoldCommand->fire()
#7 /Users/danaldridge/Sites/portfolio/vendor/laravel/framework/src/Illuminate/Container/Container.php(523): call_user_func_array(Array, Array)
#8 /Users/danaldridge/Sites/portfolio/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /Users/danaldridge/Sites/portfolio/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(253): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /Users/danaldridge/Sites/portfolio/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /Users/danaldridge/Sites/portfolio/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /Users/danaldridge/Sites/portfolio/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(Modules\Workshop\Console\ScaffoldCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /Users/danaldridge/Sites/portfolio/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /Users/danaldridge/Sites/portfolio/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(91): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /Users/danaldridge/Sites/portfolio/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Hello,
the documentation is hard to read because of the too light font color. Would you consider darker color for fonts?
my development db server doesnt have a password
so how to install asgardcms using no password?
Using view share for instance.
Have an upload button which is linked to the media gallery. Once an item selected. Link it with the current item.
Using a polymorphic relation.
Very weird bug, since the GUI just calls an artisan command to update a specific module.
If calling that artisan command via the CLI, it works as expected.
When running
php artisan migrate:refresh --seed
I'll get the following error
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'CreateWidgetsTable' not found
Can someone hint me in the right direction? I can submit my logfile if this is necessary.
Just a reminder
not available : isDIrectory, isFile
SO we need to check the usage and check if we need to create a fix or whatever.
Show an error message if the vendor folder isn't present at installation.
During the installation process, when run php artisan asgard:install
, you should modify the sequence order to have all prompt at first and create/modify after.
Like this, if an error occurred during any prompt, we can run again this command.
In order, I think :
Followed instructions here:
https://asgardcms.com/en/docs/menu-module/managing-menus
Menu is referenced in views/partials/navigation.blade.php
as the default {!! Menu::get('main') !!}
and menu added as per below:
...however menu fails to appear in front end.
Migrated: 2015_04_02_184200_create_widgets_table
Seeds
Running the module seeds ...
Module [Setting] seeded.
SQLSTATE[HY000]: General error: 1364 Field 'status' doesn't have a default value (SQL: insert into `page__page_translations` (`locale`, `title`, `slug`, `body`, `meta_title`, `page_id`, `updated_at`, `created_at`) values (en, Home page, home, <p><strong>You made it!</strong></p>
<p>You've installed AsgardCMS and are ready to proceed to the <a href="/en/backend">administration area</a>.</p>
<h2>What's next Home page</h2>
<p>Learn how you can develop modules for AsgardCMS by reading our <a href="https://github.com/AsgardCms/Documentation">documentation</a>.</p>
, 1, 2015-06-01 13:53:19, 2015-06-01 13:53:19, ?))
Add a button next to disable module
in the workshop module, to remove a module.
Thinks to consider:
public/modules/{name}
)after installation when i go to /backend it gives me this error.
Add a way to add assets to the view.
So in the view we can just loop over those to include assets.
API draft:
$this->assetPipeline->javascript->require('jquery');
$this->assetPipeline->css->require('main');
# $this->assetManager->addAsset('keyname '/path/to/asset', order);
$this->assetManager->addAsset('jquery', '/path/to/asset.js', 1);
$this->assetManager->addAsset('main', '/path/to/asset.css', 1);
$this->assetManager->allCss()
$this->assetManager->allJs()
I think it would interesting to be able to integrate Stapler (should it get updated to a L5-stable version) into AsgardCMS, since Stapler provides out-of-the-box support for stuff like partitioned filepaths and Amazon S3 storage. It would make for a terrific combination with the whole media-library idea.
There should be a unique check on the file slug.
A big problem for this: the file slug is not yet created at that point.
This is critical to avoid module conflicts.
The current progress of upgrading all Modules to the latest version of Laravel 5.
After all Modules are migrated, the platform repository will be updated to latest laravel 5 version and using the latest modules versions.
Add a better error message then undefined
when uploading a file that's not allowed in the allowed extensions config.
I've just install AsgardCms and after I login backend I get:
FatalErrorException in compiled.php line 1039
from log:
PHP message: PHP 61. Illuminate\View\Engines\PhpEngine->evaluatePath() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14240
PHP message: PHP 62. include() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14206
PHP message: PHP 63. Illuminate\View\View->render() /home/pavel/Code/asgardcms/storage/framework/views/02a792ed0def4b4c8b7225a181f45171:160
PHP message: PHP 64. Illuminate\View\View->renderContents() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14055
PHP message: PHP 65. Illuminate\View\View->getContents() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14064
PHP message: PHP 66. Illuminate\View\Engines\CompilerEngine->get() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14077
PHP message: PHP 67. Illuminate\View\Engines\PhpEngine->evaluatePath() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14240
PHP message: PHP 68. include() /home/pavel/Code/asgardcms/bootstrap/cache/compiled.php:14206
PHP message: PHP 69. Illuminate\View\Factory->make() /home/pavel/Code/asgardcms/storage/framework/views/1e9c3965dee229487b53b2437e835b89:37
PHP message: PHP 70. Illuminate\View\Factory->callCreator() /home/pavel/Code/asgardcms/bootstrap/cache/co
Could you please help me? Thanks.
Pavel.
For some reason the NestedCollection
isn't working property, anymore.
It doesn't show the sub items, only the root item.
FatalErrorException in E:\Jekyll\agardcms\vendor\maatwebsite\laravel-sidebar\src\Maatwebsite\Sidebar\SidebarBadge.php line 3:
Maximum function nesting level of '100' reached, aborting!
When I try php artisan asgard:install
, I have an error at the end of script :
[Predis\Connection\ConnectionException] Connection refused [tcp://127.0.0.1:6379]
Would it be possible to do all model validation within the models themselves using https://github.com/dwightwatson/validating for example, in addition (or instead of) using the BaseFormRequest classes to define rules concerning data validation?
For example:
<?php
use Watson\Validating\ValidatingTrait;
use Dimsav\Translatable\Translatable;
class Post extends Eloquent {
use Translatable;
use ValidatingTrait;
protected $rules = [
'title' => 'required',
'body' => 'required'
];
}
It would make doing more complex stuff regarding validation easier, since you'd have direct access to your model when defining rules (such as: defining rules dynamically for example).
Would love to hear your thoughts about this!
When you have a password prompt, you should have an other prompt for confirm this password and a loop for check if this two entries are same.
And I think you should add a chek prompt at the end of prompts who resume all entries and ask if all it's OK.
In my opinion, the php artisan module:publish-migration
should be part of the Composer post-install-cmd
and post-update-cmd
, to keep everything centralized and not force developers to change the way migrations work or the way they are executed.
See also #51.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.