+
+
{topNavLeft}
@@ -77,6 +77,7 @@
{ISSUES}
diff --git a/app/plugins/bugreport/plugin.php b/app/plugins/bugreport/plugin.php
index d54e69d..6a4be8e 100644
--- a/app/plugins/bugreport/plugin.php
+++ b/app/plugins/bugreport/plugin.php
@@ -44,7 +44,7 @@ class Bugreport extends Plugin {
],
];
public $permissionMatrix = [
- 'bugReport' => [
+ 'canSendBugReports' => [
'pretty' => 'Can Submit Bug Reports',
'default' => false,
],
diff --git a/app/plugins/contact/plugin.php b/app/plugins/contact/plugin.php
index 98cf81b..6bdf78a 100644
--- a/app/plugins/contact/plugin.php
+++ b/app/plugins/contact/plugin.php
@@ -40,7 +40,7 @@ class Contact extends Plugin {
],
];
public $permissionMatrix = [
- 'contact' => [
+ 'canUseContactForm' => [
'pretty' => 'Can Submit Contact',
'default' => true,
],
diff --git a/app/views/admin/images/list/combined.html b/app/views/admin/images/list/combined.html
new file mode 100644
index 0000000..f237802
--- /dev/null
+++ b/app/views/admin/images/list/combined.html
@@ -0,0 +1,30 @@
+
+
\ No newline at end of file
diff --git a/app/views/admin/images/rename.html b/app/views/admin/images/rename.html
new file mode 100644
index 0000000..f429c88
--- /dev/null
+++ b/app/views/admin/images/rename.html
@@ -0,0 +1,35 @@
+
+ {ADMIN_BREADCRUMBS}
+ Create
+
+
+
+
+
+ {ADMIN_BREADCRUMBS} + +
\ No newline at end of file
diff --git a/app/views/admin/images/upload.html b/app/views/admin/images/upload.html
new file mode 100644
index 0000000..5ad1b0c
--- /dev/null
+++ b/app/views/admin/images/upload.html
@@ -0,0 +1,29 @@
+
+
+
++ {ADMIN_BREADCRUMBS} + +
+
+
\ No newline at end of file
diff --git a/app/views/admin/images/view.html b/app/views/admin/images/view.html
new file mode 100644
index 0000000..fde455e
--- /dev/null
+++ b/app/views/admin/images/view.html
@@ -0,0 +1,66 @@
+Image Upload
++
+
+
+
+
+
+
diff --git a/app/views/faq.html b/app/views/faq.html
index 6922629..9c8c25b 100644
--- a/app/views/faq.html
+++ b/app/views/faq.html
@@ -1,6 +1,7 @@
-
+
+
+ {ADMIN_BREADCRUMBS}
+
+
+
+
+
+
+
+
+ {filename}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ filename | +{filename} | +
---|---|
extension | +{extension} | +
fileSize | +{fileSize} | +
location | +{location} | +
url | +{url} | +
folder | +{folder} | +
-
+
diff --git a/bin/tempus_project.php b/bin/tempus_project.php
index a5fddd1..1859136 100644
--- a/bin/tempus_project.php
+++ b/bin/tempus_project.php
@@ -576,7 +576,7 @@ class TheTempusProject extends Bedrock {
$url = trim( Input::get( 'url' ), '/' );
$url = str_ireplace( '.php', '', $url );
}
- $route = $routes->findByOriginalUrl($url);
+ $route = $routes->findByOriginalUrl( $url );
if (false !== $route) {
$route = $route;
if ('internal' === $route->redirect_type) {
@@ -585,6 +585,26 @@ class TheTempusProject extends Bedrock {
Redirect::external($route->forwarded_url);
}
}
+
+ if ( 'home/login' !== $url ) {
+ if ( Config::getValue( 'maintenance/enabled' ) ) {
+ if ( ! self::$isLoggedIn ) {
+ Session::flash( 'notice', Config::getValue( 'maintenance/maintenanceMessage' ) );
+ Redirect::to( 'home/login' );
+ }
+ if ( self::$activeGroup->ID != 1 ) {
+ if ( empty( self::$activeGroup->perms['maintenanceAccess'] ) ) {
+ Session::flash( 'notice', Config::getValue( 'maintenance/maintenanceMessage' ) );
+ Redirect::to( 'home/login' );
+ }
+ }
+ }
+ } elseif ( Config::getValue( 'maintenance/enabled' ) ) {
+ if ( ! self::$isLoggedIn ) {
+ Issues::add( 'notice', Config::getValue( 'maintenance/maintenanceMessage' ) );
+ }
+ }
+
parent::load();
}
diff --git a/composer.json b/composer.json
index fc09ab4..efc2eea 100644
--- a/composer.json
+++ b/composer.json
@@ -2,19 +2,22 @@
"name": "thetempusproject/thetempusproject",
"type": "project",
"description": "The aim of this project is to provide a simple and stable platform for rapidly prototyping new web applications.",
+ "license": "MIT",
+ "minimum-stability": "dev",
"keywords":
[
"thetempusproject",
+ "php",
+ "mvc",
"framework"
],
- "license": "MIT",
"homepage": "https://TheTempusProject.com",
"authors":
[
{
"name": "Joey Kimsey",
"email": "Joey@thetempusproject.com",
- "homepage": "https://TheTempusProject.com",
+ "homepage": "https://JoeyKimsey.com",
"role": "Lead Developer"
}
],
@@ -23,9 +26,9 @@
"components/jquery": "1.9.*",
"fortawesome/font-awesome": "4.7",
"stripe/stripe-php": "^16.3",
- "thetempusproject/bedrock": "1.1.1",
- "thetempusproject/canary": "1.0.6",
- "thetempusproject/houdini": "2.0.2",
+ "thetempusproject/bedrock": "1.1.2",
+ "thetempusproject/canary": "1.0.7",
+ "thetempusproject/houdini": "2.0.3",
"twbs/bootstrap": "5.2.3"
},
"autoload":
@@ -62,6 +65,5 @@
"robloach/component-installer": true
}
},
- "minimum-stability": "dev",
"prefer-stable": true
}
Frequently Asked Questions
-+
+
diff --git a/app/views/install/welcome.html b/app/views/install/welcome.html
index 454bede..62fd726 100644
--- a/app/views/install/welcome.html
+++ b/app/views/install/welcome.html
@@ -3,13 +3,13 @@
+
diff --git a/app/views/install/verify.html b/app/views/install/verify.html
index 4423007..61ae0a1 100644
--- a/app/views/install/verify.html
+++ b/app/views/install/verify.html
@@ -15,7 +15,7 @@
Frequently Asked Questions
+
diff --git a/app/views/forms/folderSelect.html b/app/views/forms/folderSelect.html
new file mode 100644
index 0000000..94c9148
--- /dev/null
+++ b/app/views/forms/folderSelect.html
@@ -0,0 +1,17 @@
+Folder: {FOLDER_SELECT_ROOT}
+
diff --git a/app/views/install/terms.html b/app/views/install/terms.html
index 69ab428..199b517 100644
--- a/app/views/install/terms.html
+++ b/app/views/install/terms.html
@@ -8,7 +8,7 @@
+ {LOOP}
+
+
\ No newline at end of file
diff --git a/app/views/forms/folderSelectChild.html b/app/views/forms/folderSelectChild.html
new file mode 100644
index 0000000..ebe3caa
--- /dev/null
+++ b/app/views/forms/folderSelectChild.html
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/app/views/forms/folderSelectParent.html b/app/views/forms/folderSelectParent.html
new file mode 100644
index 0000000..ea182b6
--- /dev/null
+++ b/app/views/forms/folderSelectParent.html
@@ -0,0 +1,14 @@
+{LOOP}
+
+
+ {subdirs}
+
+ {/LOOP}
+
+ {subdirs}
+
+{/LOOP}
\ No newline at end of file
diff --git a/app/views/install/routing.html b/app/views/install/routing.html
index 1742a7d..77a95ce 100644
--- a/app/views/install/routing.html
+++ b/app/views/install/routing.html
@@ -10,7 +10,7 @@
{installer-nav}
-
Welcome to The Tempus Project Installer.
-+
Welcome to The Tempus Project Installer.
+This installer will guide you through the process of installing and configuring The Tempus Project. Do not forget to delete this file once you have completed installation.