atlantis-labs / atlantis3-framework
Atlantis CMS 3 framework
Requires
- barryvdh/laravel-debugbar: 2.*
- chumper/zipper: 1.0.x
- guzzlehttp/guzzle: ~6.0
- intervention/image: ^2.3
- laravel/framework: 5.5.*
- laravelcollective/html: 5.5.*
- league/flysystem-aws-s3-v3: ~1.0
- maatwebsite/excel: ~3.0
- symfony/polyfill-php56: ^1.0
- dev-master
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.1.51
- 1.1.50
- 1.1.41
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- 0.5.1
- 0.5
- 0.4.18
- 0.4.17
- 0.4.16
- 0.4.15
- 0.4.14
- 0.4.13
- 0.4.12
- 0.4.11
- 0.4.10
- 0.4.9
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4
- 0.3.37
- 0.3.26
- 0.3.25
- 0.3.24
- 0.3.23
- 0.3.22
- 0.3.21
- 0.3.20
- 0.3.19
- 0.3.18
- 0.3.17
- 0.3.16
- 0.3.15
- 0.3.14
- 0.3.13
- 0.3.12
- 0.3.11
- 0.3.10
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.19
- 0.2.18
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
- 0.0.27
- 0.0.26
- 0.0.25
- 0.0.24
- 0.0.23
- 0.0.22
- 0.0.21
- 0.0.20
- 0.0.19
- 0.0.18
- 0.0.17
- 0.0.16
- 0.0.15
- 0.0.14
- 0.0.13
- 0.0.12
- 0.0.11
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.1
This package is auto-updated.
Last update: 2024-11-10 00:23:47 UTC
README
This is the core module for Atlantis CMS. Its distributed freely under MIT license - https://opensource.org/licenses/MIT
0.4.13
- shows included modules in edit page from data-pattern-func attributes.
- Tag Helper added.
- page parent document fixed.
- minor improvements.
- bug fixes.
0.4.14
- crop was added for all image sizes (ex. Responsive Gallery/1024x768/640x480xC/320x240/300x300xC).
- the modules repository is only available for admin users.
- minor improvements.
- bug fixes.
0.4.15
- option "excluded scripts" was added in the config panel.
0.5
- Widgets was added in the Dashboard.
0.5.1
- Widgets fixed.
1.0.11
- unexpected media exceptions fixed.
- security improved.
- minor bug fixes.
- media cache added.
1.0.12
- php 7 exceptions fixed.
1.0.13
- pages and patterns expirations fixed.
- styles improved.
- MobileDetect class updated.
1.0.14
- media tools fixed.
1.0.15
- admin password reset fixed.
1.0.16
- Pages and Patterns Default Order - there is a new column now in the Pages and Patterns default lists, that indicates how many versions they have and orders the list based on amount of versions and last edited version
- Page.body event fixed where event won’t execute properly
- New system admin events added:
- page.created, page.edited, page.deleted, pattern.created, pattern.edited, pattern.deleted
All of those will receive a copy of the page or pattern object respectively at the time of execution.
1.0.17
- page.created, page.edited, page.deleted, pattern.created, pattern.edited, pattern.deleted
All of those will receive a copy of the page or pattern object respectively at the time of execution.
- command atlantis:create:theme was added
- minor bug fixes.
1.0.18
- added new Comments Interface,Tools Method to list Comment providing modules
- minor bug fixes.
1.0.19
- Modules can now install Pages and Patterns.
- DataTable with reorder added.
- minor bug fixes.
1.1.0
- Media uploader is now integrated with smartcrop.js.
- Added facedetection support.
- Smartcrop.js implements an algorithm to find good crops for images.
- You can now manually recrop uploaded image versions phone/tablet/thumbnail.
- New Bulk actions added: add to gallery, add to new gallery, add tags.
- Minor UI updates: popup for tags added, view image in lightbox button, copy path to clipboard button added.
1.1.3
- Atlantis 3 is now Mobile friendly
- Page Sidebar interface
- Bug fixes
1.1.4
- Work from subfolder
- Admin Languages packs
- Frontend lang switch added {!! \Tools::setThemeLanguageSwitch(['lang']) !!}
- User firstname lastname added
- Enable HTTPS schema from admin config
- Image selector resize option issue fix
- Image selector popup scroll fix
- Multiple image selectors on the same page issue - Fixed
1.1.50
- New events added
page.created, page.edited, page.deleted, pattern.created, pattern.edited, pattern.deleted, media.created, media.edited, media.deleted, gallery.deleted, gallery.created, gallery.edited
- Themes can create patterns and pages
- Minor bug fixes
2.0.0
- Updating Atlantis from Laravel 5.3 to 5.5 (Atlantis 1. to Atlantis 2.)
2.0.4
- new: Locked Items functionality
- new: Custom filters to dataTables added
- issue fix: Fixed parser issue when have & into nested patterns
- new: Binding cistom vars in patterns via pattern.set_vars evetnt added
- new: Custom Patterns tabs support for modules via Extra 'admin.tab.pages'
- issue fix: Order by updated_at in pages and patterns datatables
- Icon added: copy to clipboard image html from Media table
- srcset fix for images with data-responsive attribute
- new events added site.login site.logout site.authAttempt
- Minor bug fixes
Migrating Atlantis from Laravel 5.1 to 5.3 (Atlantis 0. to Atlantis 1.)
If you want a fresh copy of Atlantis, you can simply get the latest version which would use Laravel 5.3
To install the latest stable version of Atlantis, you can use the following Composer command (this assumes you have Composer set up, if not, visit: https://getcomposer.org/):
composer create-project atlantis-labs/atlantis3 . --prefer-dist
This will get you the latest stable version of Atlantis.
If you are looking for the latest development version of Atlantis you can use:
composer create-project atlantis-labs/atlantis3 . dev-master
Be careful though, as this version may not be yet stable.
Updating Atlantis from Laravel 5.1 to 5.3 (Atlantis 0. to Atlantis 1.)
Before updating the Atlantis framework to 1.*, you would need to make a few changes to the internal folders.
Make sure your config\app.php looks something like this:
<?php
return [
...
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is used by the Illuminate encrypter service and should be set
| to a random, 32 character string, otherwise these encrypted strings
| will not be safe. Please do this before deploying an application!
|
*/
'key' => env('APP_KEY', 'SOMEAPPKEYISHERE'),
'cipher' => 'AES-128-CBC',
/*
|--------------------------------------------------------------------------
| Logging Configuration
|--------------------------------------------------------------------------
|
| Here you may configure the log settings for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Settings: "single", "daily", "syslog", "errorlog"
|
*/
'log' => 'daily',
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/
'providers' => [
'Atlantis\Providers\AtlantisServiceProvider'
],
...
];
The notable change here is the modification of the value of the cipher key (you may also need to regenerate your app key using php artisan key:generate )
Make sure your config\auth.php file looks like this:
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option controls the default authentication "guard" and password
| reset options for your application. You may change these defaults
| as required, but they're a perfect start for most applications.
|
*/
'defaults' => [
'guard' => 'web',
'passwords' => 'users',
],
/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| here which uses session storage and the Eloquent user provider.
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| Supported: "session", "token"
|
*/
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
'api' => [
'driver' => 'token',
'provider' => 'users',
],
],
/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication drivers have a user provider. This defines how the
| users are actually retrieved out of your database or other storage
| mechanisms used by this application to persist your user's data.
|
| If you have multiple user tables or models you may configure multiple
| sources which represent each model / table. These sources may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => \Atlantis\Models\User::class
]
],
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| Here you may set the options for resetting passwords including the view
| that is your password reset e-mail. You may also set the name of the
| table that maintains all of the reset tokens for your application.
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expire time is the number of minutes that the reset token should be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/
'passwords' => [
'users' => [
'provider' => 'users',
'email' => 'emails.password',
'table' => 'password_resets',
'expire' => 60,
],
],
];
The notable changes here is the addition of guards, so you need the defaults key, the guards key and the syntax for the passwords and providers key may have changed so be sure that your providers/passwords match the syntax expressed above.
Edit app\Providers
- The app\Providers\EventServiceProvider's boot method no longer supports any arguments. Therefore, you would have to edit the boot method to look like this:
public function boot()
{
parent::boot();
//
}
You would have to do the same for **app\Providers\RouteServiceProvider.php**
## Edit config/compile.php
- You would have to remove two entries/lines from the file. Namely, `realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'),` and `realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'),`
## Edit app/Http/Controllers/Controller.php
Your file should resemble the following:
<?php namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests;
abstract class Controller extends BaseController {
use DispatchesJobs, ValidatesRequests;
}
The change to note here is that DispatchesCommands has been replaced by DispatchesJobs so you have to change both use declarations to reflect the new DispatchesJobs class.
## Updating Atlantis
Thereafter, you may update Atlantis by changing the `composer.json` file in your root directory to require Atlantis 1.* version:
"require": {
"atlantis-labs/atlantis3-framework": "1.*"
},
Finally, all you have to do is run `composer update` for your project.