update to kirby 3

This commit is contained in:
Stefan Sterz 2019-01-25 13:45:36 +01:00
parent f91b58a534
commit c63f611e1b
Signed by: sterzy
GPG Key ID: DAE2BE6432FB782A
289 changed files with 228 additions and 270 deletions

3
.gitignore vendored Normal file → Executable file
View File

@ -11,4 +11,5 @@ thumbs
assets/avatars
wiki
piwik
media
site/sessions

6
.gitmodules vendored Normal file → Executable file
View File

@ -1,9 +1,3 @@
[submodule "site/fields/markdown"]
path = site/fields/markdown
url = https://github.com/JonasDoebertin/kirby-visual-markdown.git
[submodule "kirby"]
path = kirby
url = https://github.com/getkirby/kirby.git
[submodule "panel"]
path = panel
url = https://github.com/getkirby/panel.git

85
.htaccess Normal file → Executable file
View File

@ -2,49 +2,53 @@
# rewrite rules
<IfModule mod_rewrite.c>
# enable awesome urls. i.e.:
# http://yourdomain.com/about-us/team
RewriteEngine on
RewriteCond %{HTTP_HOST} !^sterzy\.com$
RewriteRule (.*) https://sterzy.com/$1 [L,R=301]
RewriteCond %{HTTPS} !=on
# enable awesome urls. i.e.:
# http://yourdomain.com/about-us/team
RewriteEngine on
RewriteCond %{HTTP_HOST} !^sterzy\.com$
RewriteRule (.*) https://sterzy.com/$1 [L,R=301]
# redirect all trafic to https
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTPS} !=on
Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav
Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav
# redirect all trafic to https
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
# make sure to set the RewriteBase correctly
# if you are running the site in a subfolder.
# Otherwise links or the entire site will break.
#
# If your homepage is http://yourdomain.com/mysite
# Set the RewriteBase to:
#
# RewriteBase /mysite
Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav
Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav
# block text files in the content folder from being accessed directly
RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]
# block files and folders beginning with a dot, such as .git
# except for the .well-known folder, which is used for Let's Encrypt and security.txt
RewriteRule (^|/)\.(?!well-known\/) index.php [L]
# block all files in the site folder from being accessed directly
RewriteRule ^site/(.*) index.php [L]
# make sure to set the RewriteBase correctly
# if you are running the site in a subfolder.
# Otherwise links or the entire site will break.
#
# If your homepage is http://yourdomain.com/mysite
# Set the RewriteBase to:
#
# RewriteBase /mysite
# block all files in the kirby folder from being accessed directly
RewriteRule ^kirby/(.*) index.php [L]
# block text files in the content folder from being accessed directly
RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]
# make panel links work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^panel/(.*) panel/index.php [L]
# block all files in the site folder from being accessed directly
RewriteRule ^site/(.*) index.php [L]
# Enable authentication header
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
# block all files in the kirby folder from being accessed directly
RewriteRule ^kirby/(.*) index.php [L]
# make site links work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
# make site links work
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
</IfModule>
# Additional recommended values
@ -63,3 +67,16 @@ ExpiresActive On
ExpiresByType application/x-javascript M604800
ExpiresByType text/css M604800
ExpiresByType text/x-javascript M604800
# compress text file responses
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/json
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>

0
LICENSE Normal file → Executable file
View File

4
README.md Normal file → Executable file
View File

@ -6,6 +6,6 @@ The rest of the code is under this license: [License](https://svs.ankaa.uberspac
# Installing
```
$ git clone --recursive https://svs.ankaa.uberspace.de/sterzy/sterzycom.git
$ mkdir site/config site/accounts thumbs content assets/avatars
$ mkdir site/config media content
```
Then [add your license](http://getkirby.com/docs/installation/license-code) and visit yoursite.com/panel.
Then visit yoursite.com/panel.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

0
assets/css/main.css Normal file → Executable file
View File

0
assets/css/mobile.css Normal file → Executable file
View File

0
assets/css/prism.css Normal file → Executable file
View File

0
assets/fonts/Montserrat-Regular.ttf Normal file → Executable file
View File

0
assets/img/bg.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 473 KiB

After

Width:  |  Height:  |  Size: 473 KiB

0
assets/img/icons/LogoPerfektdursichtigPNG.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

0
assets/img/icons/favicon.ico Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

0
assets/img/icons/favicon.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

0
assets/img/icons/logo.svg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
assets/img/icons/logo100.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

0
assets/img/icons/logo200.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

0
assets/img/notes.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 298 KiB

After

Width:  |  Height:  |  Size: 298 KiB

0
assets/img/projects.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

0
assets/js/components/prism-abap.js Normal file → Executable file
View File

0
assets/js/components/prism-abap.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-actionscript.js Normal file → Executable file
View File

0
assets/js/components/prism-actionscript.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-ada.js Normal file → Executable file
View File

0
assets/js/components/prism-ada.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-apacheconf.js Normal file → Executable file
View File

0
assets/js/components/prism-apacheconf.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-apl.js Normal file → Executable file
View File

0
assets/js/components/prism-apl.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-applescript.js Normal file → Executable file
View File

0
assets/js/components/prism-applescript.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-asciidoc.js Normal file → Executable file
View File

0
assets/js/components/prism-asciidoc.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-aspnet.js Normal file → Executable file
View File

0
assets/js/components/prism-aspnet.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-autohotkey.js Normal file → Executable file
View File

0
assets/js/components/prism-autohotkey.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-autoit.js Normal file → Executable file
View File

0
assets/js/components/prism-autoit.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-bash.js Normal file → Executable file
View File

0
assets/js/components/prism-bash.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-basic.js Normal file → Executable file
View File

0
assets/js/components/prism-basic.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-batch.js Normal file → Executable file
View File

0
assets/js/components/prism-batch.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-bison.js Normal file → Executable file
View File

0
assets/js/components/prism-bison.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-brainfuck.js Normal file → Executable file
View File

0
assets/js/components/prism-brainfuck.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-bro.js Normal file → Executable file
View File

0
assets/js/components/prism-bro.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-c.js Normal file → Executable file
View File

0
assets/js/components/prism-c.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-clike.js Normal file → Executable file
View File

0
assets/js/components/prism-clike.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-coffeescript.js Normal file → Executable file
View File

0
assets/js/components/prism-coffeescript.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-cpp.js Normal file → Executable file
View File

0
assets/js/components/prism-cpp.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-crystal.js Normal file → Executable file
View File

0
assets/js/components/prism-crystal.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-csharp.js Normal file → Executable file
View File

0
assets/js/components/prism-csharp.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-css-extras.js Normal file → Executable file
View File

0
assets/js/components/prism-css-extras.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-css.js Normal file → Executable file
View File

0
assets/js/components/prism-css.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-d.js Normal file → Executable file
View File

0
assets/js/components/prism-d.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-dart.js Normal file → Executable file
View File

0
assets/js/components/prism-dart.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-diff.js Normal file → Executable file
View File

0
assets/js/components/prism-diff.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-django.js Normal file → Executable file
View File

0
assets/js/components/prism-django.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-docker.js Normal file → Executable file
View File

0
assets/js/components/prism-docker.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-eiffel.js Normal file → Executable file
View File

0
assets/js/components/prism-eiffel.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-elixir.js Normal file → Executable file
View File

0
assets/js/components/prism-elixir.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-erlang.js Normal file → Executable file
View File

0
assets/js/components/prism-erlang.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-fortran.js Normal file → Executable file
View File

0
assets/js/components/prism-fortran.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-fsharp.js Normal file → Executable file
View File

0
assets/js/components/prism-fsharp.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-gherkin.js Normal file → Executable file
View File

0
assets/js/components/prism-gherkin.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-git.js Normal file → Executable file
View File

0
assets/js/components/prism-git.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-glsl.js Normal file → Executable file
View File

0
assets/js/components/prism-glsl.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-go.js Normal file → Executable file
View File

0
assets/js/components/prism-go.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-graphql.js Normal file → Executable file
View File

0
assets/js/components/prism-graphql.min.js vendored Normal file → Executable file
View File

0
assets/js/components/prism-groovy.js Normal file → Executable file
View File

0
assets/js/components/prism-groovy.min.js vendored Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More