1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-04 13:17:29 +02:00

finish v2.0 and delete old v1.X files

This commit is contained in:
trendschau
2023-11-11 23:19:38 +01:00
parent f77546fd21
commit 0ffb49b411
167 changed files with 91 additions and 27649 deletions

View File

@@ -4,26 +4,13 @@ Typemill provides detailed settings, and you have access to nearly all settings
![youtube-video](media/live/youtube-7yvlwxjl9dc.jpeg "click to load video"){#7yvlwXJL9dc .youtube}
You will find all configurations and settings under the main navigation point `settings` with the following sub-navigation:
You will find all configurations and settings under the main navigation point `system` with the following sub-navigation:
* System settings
* Theme settings
* Plugin settings
* User settings
* System
* Themes
* Plugins
* Account
* Users
All settings are stored in the `\settings` folder of Typemill. It is not recommended to edit the settings manually, because it might crash the system if done wrong.
## Developer Settings
As of version 1.4.0 you will find some advanced developer settings in the author panel under `settings`. See the details below.
! **Only for devs**
!
! These options are for developers only. Make sure that you fully understand what happens. For example, you should never activate the error reporting on live systems because this is a security risk.
* **Error Reporting**: You can switch the error reporting of the slim-framework on and off here. This can be helpful for bug-analysis, but you should NEVER switch it on (or keep it active) on a productive system.
* **Twig cache**: You can activate the cache for the twig templates. This will speed up the page rendering a bit, but it can also produce a headace if you changed something in your theme. The best option is to clear the cache if something does not work.
* **Clear cache**: This will clear the cache for Twig templates and delete all cache files of Typemill. If you clear the cache, then some details might not work or look strange, for example the navigation is set back to the original state. Everything will work again when the cache has been rebuild. This happens every 10 minutes. If you want to spead up the process, then refresh your browser cache with F12 on windows machines, because it will also trigger the recreation of the Typemill cache.
* **Image sizes**: All images in the content area will be resized to 820px width. If you want to change it, then add another value in the width-field. If you additionally add a height for your images, then the images will be resized first and then cropped to the correct aspect ratio.
* **Proxy**: If you run Typemill behind a proxy (which is a common usecase in companies), then you can activate the proxy detection. This will read the `X-Forwarded-Proto`, `X-Forwarded-Host` and `X-Forwarded-Port` Headers and return the html with the correct urls. Optionally you can also add a comma separated list of trusted IP-addresses.

View File

@@ -1,17 +1,17 @@
# Manage Access
Typemill has a build-in system to restrict access to pages or to the whole websites. You can activate both features in the system settings under the section "access rights". If you activate one of the features, then Typemill will use session cookies on all frontend pages. Learn all the details in the following video tutorial:
Typemill has a build-in system to restrict access to pages or to the whole websites. You can activate both features in the system settings under the tab "restrictions". If you activate one of the features, then Typemill will use session cookies on all frontend pages. Learn all the details in the following video tutorial:
![youtube-video](media/live/youtube-uw-m-4g1kaa.jpeg "click to load video"){#UW_m-4g1kAA .youtube}
## Restrict Access for the Website
This feature is perfect, if you want to lock down the whole website and only grant access for authenticated users. All non-authenticated users will be redirected to the login-page. There are two main use cases for this feature:
This feature is handy, if you want to lock down the whole website and only grant access for authenticated users. All non-authenticated users will be redirected to the login-page. There are two main use cases for this feature:
* **Launch the website later**: You want to create your website first and launch it to the public later, for example if you have finished the website design or if you have polished your content.
* **Share website internally**: You want to share your typemill website only with certain users, for example with the company stuff or only with the members of your it-unit.
* **Share website internally**: You want to share your typemill website only with certain users, for example with the company stuff, or only with the members of your business-unit.
You can activate the feature with a simple checkbox under "Website Restrictions".
You can activate the feature with a simple checkbox under "website restrictions".
## Restrict Access for Pages
@@ -20,7 +20,7 @@ If you need a more fine-tuned access and if you want to restrict access only for
* **Minimum role for access**: Here you can select a miminum role that the user needs to view the page content. Be aware that the roles have a hierarchy, so if you choose the role "author", then the "editor" will also have access.
* **Usernames**: Here you can add one or more usernames (separated with comma) that have access to this page.
If you don't choose anything of it, then the page has no restrictions and everybody can see the content.
If you don't choose anything, then the page has no restrictions and everybody can see the content.
You have some more features in the settings area:

View File

@@ -4,7 +4,7 @@ meta:
description: ' Restrict Access for the Website'
heroimage: null
heroimagealt: null
owner: Sebastian
owner: trendschau
author: null
allowedrole: null
alloweduser: null

View File

@@ -1,6 +1,13 @@
# Write Content
Typemill provides easy and intuitive authoring tools and we work hard to create a good author experience. With the interactive navigation you can create pages and structure your websites. The visual markdown editor will help you to create content in a wysiwyg mode. The publish bar gives you full control over the status of each page. Watch the following video tutorial to learn all the details.
Typemill provides easy and intuitive authoring tools and we work hard to create a good author experience.
* With the **interactive navigation** you can create pages and structure your websites.
* The **visual markdown editor** will help you to create content in a wysiwyg mode.
* With the **raw markdown editor** you can write markdown syntax in textarea.
* The **publish bar** gives you full control over the status of each page.
Watch the following video tutorial to learn all the details.
![youtube-video](media/live/youtube-6i2-uv88gke.jpeg "click to load video"){#6I2-uV88GkE .youtube}

View File

@@ -2,17 +2,9 @@ meta:
navtitle: 'write content'
title: 'Write Content'
description: 'Typemill provides easy and intuitive authoring tools and we work hard to create a good author experience. With the interactive navigation you can create pages'
heroimage: null
heroimagealt: null
owner: Sebastian
author: null
allowedrole: null
alloweduser: null
manualdate: null
owner: trendschau
modified: '2023-05-11'
created: '2023-06-12'
time: 22-09-48
reference: null
referencetype: null
hide: true
hide: false
noindex: false

View File

@@ -1,200 +0,0 @@
# ToDos Version 2
[TOC]
## System settings
* DONE: Migrate from backend to frontend with vue and api
* DONE: Redesign
* DONE: License feature
* DONE: Enhance with plugins
## Visual Editor
* DONE: Refactor and redesign
* DONE: Fix toc component in new block
* DONE: Fix hr component in new block
* DONE: finish shortcode component
* DONE: Fix inline formats
* DONE: fix lenght of page
* DONE: Fix design of new block at the end (background color)
* DONE: Move Block
* DONE: Fix headline design
* DONE: Fix save on two enter
* DONE: fix quote design
* DONE: Fix toc preview
* DONE: disable enable
* DONE: Add load sign (from navigation)
* DONE: File is not published from tmp to media/files if you save the block.
## Raw Editor
* DONE: Refactor and redesign
* DONE: Integrate highlighting
## Navigation
* DONE: Refactor and redesign
* DONE: fix status in navigation
* DONE: refresh navigation after changes
## Publish Controller
* DONE: Refactor and redesign
* DONE: Create
* DONE: publish
* DONE: unpublish
* DONE: discard
* DONE: delete
* DONE: save draft
* DONE: switch to raw
## Meta Tabs
* DONE: Refactor and redesign
* DONE: Enhance with plugins
## Medialib
* DONE: Refactor and redesign
## Posts
* DONE: Refactor and redesign
## Plugins
* Asset Class in progress
## Frontend
* DONE: Refactor
* DONE: Test restrictions
## Other big tasks
* DONE: System setup
* DONE: Recover Password
## Medium tasks
* DONE: Merge processAssets modell
* DONE: Table of content duplicated for published pages
* DONE: Session handling: csrf fail and session start error if restrictions are active
* DONE: Image and files for meta
## Open tasks
* DONE: Sitemap and ping
* DONE: Version check
* DONE: Proxy support
* DONE: SVG checker: https://github.com/TribalSystems/SVG-Sanitizer
* DONE: Backend form builder
* DONE: Image generation on the fly
* DONE: Delete folder in base level
* DONE: Make folder delete easier with glob or scandir
* DONE: fix error messages (check models)
* DONE: error status codes (check middleware)
* DONE: Warn if open another block
* DONE: Customfields not styled yet
* DOING: Fix error api systemnavi + validate
* FIXED: System stores html or sends wrong error messsages
* FIXED: Wrong frontend navigation if unpublished pages
* DONE: Icon for hidden pages
* DOING: Responsive design
* DONE: Captcha integration
* DONE: Solution for logo and favicon
* FIXED: Raw editor jumps if you edit long text at the end
* DONE: Typemill Utilities
* DONE: Update CSS for themes
* DONE: test with different user rights
* Markdown secure rendering
* finish youtube component
* BUG: Error fields in account form not styled correctly
* BUG: Codefield jumps on editing
* False for owner on live?
## Dark Mode
* DONE: system
* DONE: content-navigation
* DONE: visual editor preview
* DONE: visual editor edit modes
* DONE: raw editor
* DONE: meta
* DONE: other tabs
* DONE: modals
* DONE: medialib
* DONE: publish-bar.
## Feedback GitHub
* FIXED: Website restriction
* NO ERROR: Change slug of blog
* FIXED: undefined array key "title" in TwigMetaExtension on line 25
* FIXED: CSS for navigation
* DONE: Test with 8.2.7 (deprecation reports)
* NOT REPRODUCED: Meta from home folder?
* automatic generated password in firefox
* FIXED: upload hero image in landinpage
* FIXED: Restriction for custom css to 10000 characters
* NOT REPRODUCED: Custom css löschen => false
## later
* Handle formdata centrally ???
* Reference Feature
* Clear cache
* Show security Log
* User search only for +10 users
* For api translations should be done completely in backoffice
* Change translation files so they are loaded in settings instead of adding them manually to settings-defaults.yaml
## Cleanups:
* DONE: Events
* DONE: Error messages
* DONE: Translations
## Info: Select userroles
* Userroles for file restriction: in vue-blox-components loaded via api
* Userroles for userfields: in php model user getUserFields()
* Userroles for meta: in php controller apiAuthorMeta getMeta()
* Plugins and themes: in php model extension getThemeDefinitions()
## Info: License Check
* On activation in apiControllerExtension. It checks the license in yaml.
* In plugin php code with setPremiumLicense
* In static plugins, it checks manual premium list and method setPremiumLicense and more
## Plugins
* MAKER: Rebuild search
* MAKER: Rebuild contactform with shortcode
## Status codes
| Status code | Description |
|---|---|
| 200 ok | cell |
| 400 bad request | The request was unacceptable due to missing or invalid parameter. |
| 401 unauthorized | The request requires an authorization. |
| (402 request failed) | The parameters where there but the request failed for other reasons. |
| 403 forbidden | The user is authenticated but he has not enough rights. |
| 404 not found | new |
| 500 internal server error | new |
## Upgrade
* Switch server to php 8.0 at least
* Delete content of system folders
* Upload new content of system folder with folders typemill and vendor
* Backup and delete settings file
* upload new index.php file
* Upload new htaccess file
* Delete theme folder
* Uplload new cyanine-theme
* Deactivate and delete all plugins.

File diff suppressed because one or more lines are too long

View File

@@ -1,14 +0,0 @@
meta:
navtitle: 'To Dos'
title: 'A list of open tasks'
description: ' Visual Editor with more stuff'
heroimage: ''
heroimagealt: ''
owner: 'Sebastian, testauthor'
author: ''
allowedrole: ''
modified: '2023-06-19'
created: '2023-06-19'
time: 15-15-01
hide: false
noindex: false