Skip to content
This repository was archived by the owner on Jan 18, 2018. It is now read-only.

Commit 342d2b5

Browse files
Merge pull request #1 from GrahamCampbell/develop
Release V0.2 Alpha
2 parents 41f4820 + d75ab5b commit 342d2b5

File tree

147 files changed

+4754
-1788
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+4754
-1788
lines changed

CHANGELOG.md

Lines changed: 51 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,66 @@ CHANGE LOG
22
==========
33

44

5+
## V0.2 Alpha (05/08/2013)
6+
#### Major Release
7+
8+
* Major improvements to page editing and creation
9+
* Added page details for editors
10+
* Added a blogging system
11+
* Added markdown support
12+
* Added load balancer support
13+
* Added some more libs
14+
* Added theme support
15+
* Added a new maintenance page
16+
* Added an error handler in-browser test
17+
* Added a very basic in-browser test page
18+
* Added a new assets system
19+
* Added some proper relations using interfaces
20+
* Added js, and html minification
21+
* Added some working tests
22+
* Added in-browser log viewing
23+
* Added the option to disable blogging and events
24+
* Updated navigation bad
25+
* Added some button icons
26+
* Now using Font Awesome
27+
* Cleaned up the error page css
28+
* Major controller refactoring
29+
* Dropped ardent support
30+
* Minor model refactoring
31+
* View refactoring
32+
* Some composer tweaks
33+
* Changed the behavior of the app commands
34+
* Fixed an issue with $job in BaseHandler
35+
* Fixed a potential bug in the error pages
36+
* Fixed duplicated error logging
37+
* Fixed login redirects
38+
* Fixed some html validation errors
39+
* Fixed some migration and seeding issues
40+
* Fixed a file permission issue
41+
* Fixed some formatting issues
42+
* Removed some old files
43+
* Updated config
44+
* Updated documentation
45+
* Now available through composer
46+
* Other minor fixes
47+
48+
549
## V0.1.1 Alpha (24/07/2013)
650
#### Minor Release
751

852
* Added a base model
9-
* Updated the relational modeling
1053
* Added the db tables for the models
11-
* Use unsigned values in the db where possible
1254
* Added a simple in-browser cache test
13-
* Added basic use of apache mod_secuirty
55+
* Added basic use of apache
56+
* Updated travis config
57+
* Some composer tweaks
58+
* Use unsigned values in the db where possible
1459
* Cleaned up the routes
15-
* Fixed a bug in the page seeding
60+
* Updated the relational modeling
1661
* Changed the behavior of the app commands
17-
* Some composer tweaks
18-
* Updated travis config
19-
* Other minor fixes
62+
* Fixed a bug in the page seeding
2063
* Updated documentation
64+
* Other minor fixes
2165

2266

2367
## V0.1 Alpha (23/07/2013)

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ Bootstrap CMS was designed to run on a Linux machine with PHP 5.4 and MySQL 5.5.
5151

5252
Please check the system requirements before installing Bootstrap CMS.
5353

54-
1. Clone this repository to your server.
54+
1. You may install by cloning from github, or via composer.
55+
* Github: "git clone [email protected]:GrahamCampbell/Bootstrap-CMS.git"
56+
* Composer: "composer create-project gjc/bootstrap-cms"
5557
2. From a command line open in the folder, run "composer install".
5658
3. Navigate to app/config, and adjust the config accordingly.
5759
* If you don't want Boostrap CMS to send emails, you can disable that in cms.php
@@ -68,7 +70,7 @@ Please check the system requirements before installing Bootstrap CMS.
6870
The latest and greatest source can be found on [GitHub](https://github.com/GrahamCampbell/Bootstrap-CMS).
6971
Before submitting a pull request, you should ensure that your fork is up to date.
7072

71-
You may fork the Bootstrap CMS:
73+
You may fork Bootstrap CMS:
7274

7375
git remote add upstream git://github.com/GrahamCampbell/Bootstrap-CMS.git
7476

app/commands/AppCommand.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
abstract class AppCommand extends Illuminate\Console\Command {
4+
5+
protected function genAppKey() {
6+
$this->call('key:generate');
7+
}
8+
9+
protected function resetMigrations() {
10+
$this->call('migrate:reset');
11+
}
12+
13+
protected function runMigrations() {
14+
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
15+
$this->call('migrate');
16+
}
17+
18+
protected function runSeeding() {
19+
$this->call('db:seed');
20+
}
21+
22+
protected function genAssets() {
23+
$this->call('basset:build', array('--production' => true));
24+
}
25+
}

app/commands/AppInstall.php

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<?php
22

3-
use Illuminate\Console\Command;
4-
use Symfony\Component\Console\Input\InputOption;
5-
use Symfony\Component\Console\Input\InputArgument;
6-
7-
class AppInstall extends Command {
3+
class AppInstall extends AppCommand {
84

95
protected $name = 'app:install';
106

@@ -14,9 +10,9 @@ class AppInstall extends Command {
1410
* Run the command.
1511
*/
1612
public function fire() {
17-
$this->call('key:generate');
18-
$this->call('migrate');
19-
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
20-
$this->call('db:seed');
13+
$this->genAppKey();
14+
$this->runMigrations();
15+
$this->runSeeding();
16+
$this->genAssets();
2117
}
2218
}

app/commands/AppReset.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<?php
22

3-
use Illuminate\Console\Command;
4-
use Symfony\Component\Console\Input\InputOption;
5-
use Symfony\Component\Console\Input\InputArgument;
6-
7-
class AppReset extends Command {
3+
class AppReset extends AppCommand {
84

95
protected $name = 'app:reset';
106

@@ -14,9 +10,10 @@ class AppReset extends Command {
1410
* Run the command.
1511
*/
1612
public function fire() {
17-
$this->call('key:generate');
18-
$this->call('migrate:refresh');
19-
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
20-
$this->call('db:seed');
13+
$this->genAppKey();
14+
$this->resetMigrations();
15+
$this->runMigrations();
16+
$this->runSeeding();
17+
$this->genAssets();
2118
}
2219
}

app/commands/AppUpdate.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
<?php
22

3-
use Illuminate\Console\Command;
4-
use Symfony\Component\Console\Input\InputOption;
5-
use Symfony\Component\Console\Input\InputArgument;
6-
7-
class AppUpdate extends Command {
3+
class AppUpdate extends AppCommand {
84

95
protected $name = 'app:update';
106

@@ -14,7 +10,7 @@ class AppUpdate extends Command {
1410
* Run the command.
1511
*/
1612
public function fire() {
17-
$this->call('migrate');
18-
$this->call('migrate', array('--package' => 'cartalyst/sentry'));
13+
$this->runMigrations();
14+
$this->genAssets();
1915
}
2016
}

app/config/app.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,12 @@
114114
'Illuminate\View\ViewServiceProvider',
115115
'Illuminate\Workbench\WorkbenchServiceProvider',
116116
'Cartalyst\Sentry\SentryServiceProvider',
117-
'Way\Generators\GeneratorsServiceProvider'
117+
'VTalbot\Markdown\MarkdownServiceProvider',
118+
'Fideloper\Proxy\ProxyServiceProvider',
119+
'Basset\BassetServiceProvider',
120+
'Kmd\Logviewer\LogviewerServiceProvider',
121+
'Way\Generators\GeneratorsServiceProvider',
122+
118123

119124
),
120125

@@ -181,7 +186,8 @@
181186
'Validator' => 'Illuminate\Support\Facades\Validator',
182187
'View' => 'Illuminate\Support\Facades\View',
183188
'Sentry' => 'Cartalyst\Sentry\Facades\Laravel\Sentry',
184-
'Ardent' => 'LaravelBook\Ardent\Ardent'
189+
'Markdown' => 'VTalbot\Markdown\Facades\Markdown',
190+
'Basset' => 'Basset\Facade',
185191

186192
),
187193

app/config/cms.php

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,38 @@
4343

4444
'regemail' => true,
4545

46+
/*
47+
|--------------------------------------------------------------------------
48+
| Enable Blogging
49+
|--------------------------------------------------------------------------
50+
|
51+
| This defines if the blog functionality is enabled.
52+
|
53+
| Disabling it will not delete anything from your database, it will just
54+
| inaccessible from the web. All associated route will not be registered,
55+
| and the navigation bar will not show any associated links.
56+
| Default to true.
57+
|
58+
*/
59+
60+
'blogging' => true,
61+
62+
/*
63+
|--------------------------------------------------------------------------
64+
| Enable Events
65+
|--------------------------------------------------------------------------
66+
|
67+
| This defines if the event functionality is enabled.
68+
|
69+
| Disabling it will not delete anything from your database, it will just
70+
| inaccessible from the web. All associated route will not be registered,
71+
| and the navigation bar will not show any associated links.
72+
| Default to true.
73+
|
74+
*/
75+
76+
'events' => true,
77+
4678
/*
4779
|--------------------------------------------------------------------------
4880
| Use In Memory Caching
@@ -57,4 +89,21 @@
5789

5890
'cache' => true,
5991

92+
/*
93+
|--------------------------------------------------------------------------
94+
| CSS Theme
95+
|--------------------------------------------------------------------------
96+
|
97+
| This defines what theme of Bootstrap to use from bootswatch.com.
98+
|
99+
| Supported: "amelia", "cerulean", "cosmo", "cyborg", "default", "flatly",
100+
| "journal", "readable", "simplex", "slate", "spacelab", "spruce",
101+
| "superhero", "united"
102+
|
103+
| Default to "default".
104+
|
105+
*/
106+
107+
'theme' => 'default',
108+
60109
);

0 commit comments

Comments
 (0)