1
0
mirror of https://github.com/typemill/typemill.git synced 2025-04-30 08:38:21 +02:00

Version 1.2.9: Add videos and public forms

This commit is contained in:
Sebastian 2019-01-04 00:53:18 +01:00
parent 08ece40117
commit d5182b77a7
5 changed files with 29 additions and 27 deletions

2
cache/lastCache.txt vendored
View File

@ -1 +1 @@
1546546314
1546551286

47
composer.lock generated
View File

@ -135,21 +135,24 @@
},
{
"name": "jbroadway/urlify",
"version": "1.1.1-stable",
"version": "1.1.2-stable",
"source": {
"type": "git",
"url": "https://github.com/jbroadway/urlify.git",
"reference": "e8d6950edc484c29f1a499ca6710e928e219ea43"
"reference": "78118277ba31189fef18323bb78e9c1b89254dcc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/jbroadway/urlify/zipball/e8d6950edc484c29f1a499ca6710e928e219ea43",
"reference": "e8d6950edc484c29f1a499ca6710e928e219ea43",
"url": "https://api.github.com/repos/jbroadway/urlify/zipball/78118277ba31189fef18323bb78e9c1b89254dcc",
"reference": "78118277ba31189fef18323bb78e9c1b89254dcc",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5"
},
"type": "library",
"extra": {
"branch-alias": {
@ -185,7 +188,7 @@
"url",
"urlify"
],
"time": "2018-08-28T14:21:56+00:00"
"time": "2018-12-08T15:51:20+00:00"
},
{
"name": "nikic/fast-route",
@ -649,16 +652,16 @@
},
{
"name": "symfony/event-dispatcher",
"version": "v3.4.19",
"version": "v3.4.20",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
"reference": "d365fc4416ec4980825873962ea5d1b1bca46f1a"
"reference": "cc35e84adbb15c26ae6868e1efbf705a917be6b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/d365fc4416ec4980825873962ea5d1b1bca46f1a",
"reference": "d365fc4416ec4980825873962ea5d1b1bca46f1a",
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/cc35e84adbb15c26ae6868e1efbf705a917be6b5",
"reference": "cc35e84adbb15c26ae6868e1efbf705a917be6b5",
"shasum": ""
},
"require": {
@ -708,7 +711,7 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"time": "2018-11-26T10:17:44+00:00"
"time": "2018-11-30T18:07:24+00:00"
},
{
"name": "symfony/polyfill-ctype",
@ -770,7 +773,7 @@
},
{
"name": "symfony/yaml",
"version": "v2.8.48",
"version": "v2.8.49",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
@ -820,16 +823,16 @@
},
{
"name": "twig/twig",
"version": "v1.35.4",
"version": "v1.36.0",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "7e081e98378a1e78c29cc9eba4aefa5d78a05d2a"
"reference": "730c9c4471b5152d23061feb02b03382264c8a15"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/7e081e98378a1e78c29cc9eba4aefa5d78a05d2a",
"reference": "7e081e98378a1e78c29cc9eba4aefa5d78a05d2a",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/730c9c4471b5152d23061feb02b03382264c8a15",
"reference": "730c9c4471b5152d23061feb02b03382264c8a15",
"shasum": ""
},
"require": {
@ -839,12 +842,12 @@
"require-dev": {
"psr/container": "^1.0",
"symfony/debug": "^2.7",
"symfony/phpunit-bridge": "^3.3"
"symfony/phpunit-bridge": "^3.4.19|^4.1.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.35-dev"
"dev-master": "1.36-dev"
}
},
"autoload": {
@ -882,7 +885,7 @@
"keywords": [
"templating"
],
"time": "2018-07-13T07:12:17+00:00"
"time": "2018-12-16T10:34:11+00:00"
},
{
"name": "vlucas/valitron",
@ -890,12 +893,12 @@
"source": {
"type": "git",
"url": "https://github.com/vlucas/valitron.git",
"reference": "dc3314a0ebeafb51b3f88be6ba90060ac175058d"
"reference": "c6893fc67ef1228f7692a86ca13c34e5e9ecc9a8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/valitron/zipball/dc3314a0ebeafb51b3f88be6ba90060ac175058d",
"reference": "dc3314a0ebeafb51b3f88be6ba90060ac175058d",
"url": "https://api.github.com/repos/vlucas/valitron/zipball/c6893fc67ef1228f7692a86ca13c34e5e9ecc9a8",
"reference": "c6893fc67ef1228f7692a86ca13c34e5e9ecc9a8",
"shasum": ""
},
"require": {
@ -931,7 +934,7 @@
"validation",
"validator"
],
"time": "2018-11-19T21:37:23+00:00"
"time": "2018-12-14T21:15:14+00:00"
}
],
"packages-dev": [],

View File

@ -19,8 +19,7 @@ class SettingsController extends Controller
$settings = $this->c->get('settings');
$copyright = $this->getCopyright();
$languages = $this->getLanguages();
$locale = explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']);
$locale = $locale[0];
$locale = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2) : 'en';
$users = $user->getUsers();
$route = $request->getAttribute('route');

View File

@ -47,7 +47,7 @@ class Settings
'contentFolder' => 'content',
'cache' => true,
'cachePath' => $rootPath . 'cache',
'version' => '1.2.8',
'version' => '1.2.9',
'setup' => true,
'welcome' => true,
'images' => ['live' => ['width' => 820], 'mlibrary' => ['width' => 50, 'height' => 50]],

View File

@ -11,7 +11,7 @@
<h1>Hurra!</h1>
<p>Your account has been created and you are logged in now.</p>
<p><strong>Next step:</strong> Visit the author panel and setup your new website. You can configure the system, choose themes and add plugins.</p>
<p><strong>Coming soon:</strong> You can already use the web-editor to create, edit and sort your content, but there is no media library yet. We will add it together with a cool visual content editor, soon.</p>
<p><strong>New:</strong> We recently added an image upload and youtube videos to the visual content editor.</p>
<p><strong>Get help:</strong> If you have any questions, please consult the <a target="_blank" href="http://typemill.net/typemill"><i class="icon-link-ext"></i> docs</a> or open a new issue on <a target="_blank" href="https://github.com/trendschau/typemill"><i class="icon-link-ext"></i> github</a>.</p>
</div>
<a class="button" href="{{ path_for('settings.show') }}">Configure your website</a>