Skip to content

Commit

Permalink
update to 2.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Oct 2, 2020
1 parent e74de4f commit 46f57ff
Show file tree
Hide file tree
Showing 7,988 changed files with 132,014 additions and 403,950 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions base-semantic-a/.ubiquity/.htrouter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
$uri = ltrim(urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)),'/');
if ($uri==null || !file_exists(__DIR__ . '/../' .$uri)) {
$uri = \ltrim(\urldecode(\parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)),'/');
if ($uri!=='favicon.ico' && ($uri==null || !\file_exists(__DIR__ . '/../' .$uri))) {
$_GET['c'] = $uri;
include_once '_index.php';
return true;
Expand Down
10 changes: 5 additions & 5 deletions base-semantic-a/.ubiquity/_index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
}
$config = include ROOT . 'config/config.php';
$sConfig= include __DIR__.\DS.'config.php';
$config ["siteUrl"] = 'http://'.$sConfig['host'].':'.$sConfig['port'];
$config ["siteUrl"] = 'http://'.$sConfig['host'].':'.$sConfig['port'].'/';
$config ['sessionName'] = $sConfig['sessionName'];
require ROOT . './../vendor/autoload.php';
$config['debug']=true;
if(class_exists("\\Monolog\\Logger")){
$config['logger']=function () use($sConfig){return new \Ubiquity\log\libraries\UMonolog($sConfig['sessionName'],\Monolog\Logger::INFO);};
$config['debug']=true;
Ubiquity\log\Logger::init($config);
\Ubiquity\log\Logger::init($config);
}
require ROOT . './../vendor/autoload.php';
require ROOT . 'config/services.php';
\Ubiquity\controllers\Startup::run ( $config );
\Ubiquity\controllers\Startup::run ( $config );
2 changes: 1 addition & 1 deletion base-semantic-a/.ubiquity/config.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?php
return array("host"=>"127.0.0.1","port"=>8090,"sessionName"=>"s5cccc8cbb5b29");
return array("host"=>"127.0.0.1","port"=>8090,"sessionName"=>"s5f6a7e626e9c4");
11 changes: 9 additions & 2 deletions base-semantic-a/app/config/services.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<?php
use Ubiquity\controllers\Router;
use Ubiquity\events\EventsManager;
use Ubiquity\events\RestEvents;
use Ubiquity\controllers\rest\RestBaseController;

//\Ubiquity\orm\DAO::start(); to use only with multiple databases
Router::start();
\Ubiquity\cache\CacheManager::startProd($config);
\Ubiquity\orm\DAO::start();
Router::startAll();
Router::addRoute("_default", "controllers\\IndexController");
\Ubiquity\assets\AssetsManager::start($config);
EventsManager::addListener(RestEvents::BEFORE_INSERT, function ($o, array &$datas, RestBaseController $resource) {
unset($datas['aliases']);
});
6 changes: 6 additions & 0 deletions base-semantic-a/app/logs/app.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:38.449898","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
{"message":"The controller `controllers\\public` doesn't exists! <br/>","context":{"context":"Startup","part":"runAction","extra":null},"level":300,"level_name":"WARNING","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:39.126000","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:51.008362","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
{"message":"The controller `controllers\\public` doesn't exists! <br/>","context":{"context":"Startup","part":"runAction","extra":null},"level":300,"level_name":"WARNING","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:47:51.444082","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:48:36.975848","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
{"message":"Route found for /_default/ : controllers\\IndexController/index","context":{"context":"Router","part":"getRouteUrlParts","extra":null},"level":200,"level_name":"INFO","channel":"s5f6a7e626e9c4","datetime":{"date":"2020-10-03 00:51:45.051871","timezone_type":3,"timezone":"Europe/Berlin"},"extra":[]}
8 changes: 8 additions & 0 deletions base-semantic-a/app/views/main/main/vFooter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% block footer %}
{% endblock %}
{% block scripts %}
{{ js('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js') }}
{{ js('https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js') }}
{% endblock %}
</body>
</html>
17 changes: 17 additions & 0 deletions base-semantic-a/app/views/main/main/vHeader.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
{% block header %}
<base href="{{config["siteUrl"]}}">
<meta charset="UTF-8">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<title>quick-start</title>
{% endblock %}
{% block css %}
{{ css('https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css') }}
{{css('css/style.css') | raw}}
{% endblock %}
</head>
<body>
{% block head %}
{% endblock %}
14 changes: 14 additions & 0 deletions base-semantic-a/app/views/main/main/vMenu.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="head">
<div class="ui container">
<div class="ui pointing inverted menu">
<div class="header item">
Themes
</div>
{% for theme in themes %}
<a class="item {{ activeTheme==theme ? 'active' }}" href="IndexController/ct/{{theme}}">
{{theme}}
</a>
{% endfor %}
</div>
</div>
</div>
Loading

0 comments on commit 46f57ff

Please sign in to comment.