aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-06-17Pass configuration array directly to foreachThomas Lange1-8/+3
2021-06-17Move database.sql to core/db/Thomas Lange2-1/+1
2021-06-17Add migrations directoryThomas Lange5-0/+18
This commit adds the directory core/db/migrations/ which contains all migrations that were applied to the database since the first release.
2021-06-16Add migration table to database.sqlThomas Lange1-0/+7
This commit adds a new table called "migration" to the database which will contain information used for database schema migrations. The current schema version is 5 because 5 modifications (migrations) have been applied to the database schema since the initial release.
2021-06-14Remove more redundant try/catch blocksThomas Lange28-902/+616
Remove all try/catch blocks where the exception handling did not differ from the exception handler already defined by "set_exception_handler".
2021-06-14Remove redundant try/catch blockThomas Lange1-12/+13
Remove the redundant exception handler from core/application.php. The exception handling in the catch block did not differ from the default handler already defined by "set_exception_handler".
2021-06-14Darken background on focused/active buttonsThomas Lange2-2/+21
2021-06-14Remove useless AttributeInterfaceThomas Lange2-7/+1
2021-06-13Use grid layout for items in administration areaThomas Lange24-68/+168
Introduce a new 1/2/3-column CSS grid layout in the administration area for items on overview pages and in the search results. The column count of the grid depends on the users viewport width. In addition, the default value of the following configuration settings has been changed to 12 because 12 can also be divided by 2 and 3 which is useful for the 1/2/3-column grid layout. ADMIN.PAGE.LIST_SIZE = 12 ADMIN.POST.LIST_SIZE = 12
2021-06-13Ignore source maps for Javascript and CSSThomas Lange3-2/+2
2021-06-13Add configuration settings (admin prefixes)Thomas Lange4-6/+20
Introduce the following configuration settings to make it possible to use different settings for the number of displayed items and ordering on the administration areas overview pages. ADMIN.PAGE.LIST_SIZE ADMIN.POST.LIST_SIZE ADMIN.USER.LIST_SIZE ADMIN.PAGE.LIST_SORT ADMIN.POST.LIST_SORT ADMIN.USER.LIST_SORT
2021-06-13Replace the flex layout in favor of a grid layoutThomas Lange11-277/+265
This commit replaces the initial CSS flexbox layout for forms of the admin theme with a more elegant approach called "grid layout". :) Some interesting information: https://www.w3schools.com/css/css_grid.asp https://blog.logrocket.com/flexbox-vs-css-grid/
2021-06-12Remove outline from focused form elementsThomas Lange2-0/+7
2021-06-12Place message boxes outside the <form> elementsThomas Lange7-53/+62
2021-06-12Remove function "getRandomValue"Thomas Lange2-8/+1
This commit removes the "getRandomValue" function. In addition, the Application class now calls PHPs "random_bytes" function directly.
2021-06-12Show first image from items contentThomas Lange6-9/+40
If a item has at least one Markdown image embedded in its content, show this image within the <blockquote> tag in the item.php template files.
2021-06-12Use SCSS for stylesheetsThomas Lange15-1083/+2536
2021-05-25Change header icon link in admin themeThomas Lange1-1/+3
This commit changes the URL of the icon link in the admin theme. The link now leads to the blogs home page instead of the admin dashboard.
2021-05-20Update Parsedown library to version 1.7.4v2.4.3Thomas Lange1-5/+38
This commit updates the Parsedown library to version 1.7.4. The patch to prevent tab indentations in code blocks from being converted to spaces is already applied here. See: 78c5974cd34559d0130d8be509935e2c992cd9ca
2021-05-20Update readme.mdThomas Lange1-3/+0
2020-12-31Remove PHP closing tags and add LF in "core/namespace/User/*"Thomas Lange4-4/+0
In addition to the last commit, remove the unnecessary PHP closing tags from the end of the files and ensure that the files ending with an LF character.
2019-10-29Remove PHP closing tags and add LF to text filesThomas Lange99-99/+40
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
2019-10-16Use strftime() with locale supportThomas Lange2-29/+6
This commit changes the parseDatetime() function to use strftime() with locale support to replace the day-and-month name related parts within the format string. The strftime() function uses the locale defined by the LC_TIME or LC_ALL environment variable which can be set with PHPs own setlocale() function within the configuration.php.
2019-07-27Add notice to readme.mdThomas Lange1-0/+3
2019-07-03Add references to the documentationThomas Lange1-2/+5
2019-05-05Update CSS layoutThomas Lange2-26/+36
2019-04-27Add missing indentationThomas Lange1-6/+6
2019-04-27Remove if condition with empty bodyThomas Lange1-2/+1
2019-04-26Remove "box-sizing" property with invalid valueThomas Lange1-2/+0
The "box-sizing" property can only have two values: "content-box" (default) or "border-box" (the "padding-box" value has been removed from the specification a long time ago).
2019-04-26Replace term "template" with "theme"Thomas Lange2-3/+3
2019-04-26Rename "template" directory to "theme"Thomas Lange69-5/+5
This commit renames the "template" directory to "theme" because "theme" is the more correct term here.
2019-04-26Rename "standard" template to "default"Thomas Lange31-3/+3
2019-04-26Remove template names from header comment blocksThomas Lange21-21/+21
2019-04-26Update readme.mdThomas Lange1-1/+1
2019-01-25Reformat the entire CSS codeThomas Lange2-277/+1315
2019-01-21Close CSS comment blocks correctlyThomas Lange2-156/+156
2018-09-20Update style of emoticon selectionThomas Lange1-3/+2
2018-09-10Remove background imageThomas Lange2-1/+1
2018-09-09Correct regex replace stringsThomas Lange1-2/+2
2018-09-09Use function "parseUnicodeEmoticons"Thomas Lange1-0/+1
We will now use this function (in addition to "parseEmoticons") to parse already UTF-8 encoded unicode emoticons (instead of the ASCII emoticons for which "parseEmoticons" is responsible) from the markdown content.
2018-09-09Add function "parseUnicodeEmoticons"Thomas Lange1-0/+14
This function wraps all the UTF-8 encoded emoticons (from "getUnicodeEmoticons") found in $string into a "span" element with a "title" attribute, which will contain the emoticon explanation text.
2018-09-09Use function "getUnicodeEmoticons" in form templatesThomas Lange3-6/+6
2018-09-09Update example postThomas Lange1-1/+1
2018-09-09Add function "getUnicodeEmoticons"Thomas Lange1-0/+24
This function returns an associative array with the UTF-8 encoded emoticon character as key and the corresponding explanation text as value.
2018-05-20Remove margin-bottom from paragraph in item excerptsThomas Lange1-0/+1
2018-05-18Remove square brackets from form placeholdersThomas Lange3-10/+10
2018-05-15Fix javascript problem that causes unintended behaviorThomas Lange2-2/+2
If you browse in a browser tab through some websites and want to go back to the previous page, post or user, you can either click the history back button, press the corresponding key on your mouse or even press <alt>+<arrow-left> on your keyboard. But if you only press <arrow-left> on a page, post or user, the callback function of the "keyup" event will change the location in the desired direction on the blog if there is a previous page, post or user, and if neither <ctrl> nor <shift> is pressed. This is a functionality of the javascript from the template and not a functionality of your browser. Pressing <alt>+<arrow-left> IS a functionality of the browser and should not conflict with the behavior when <arrow-left> is pressed alone. This commit fixes this problem by adding the condition that <alt> should not be pressed either.
2018-05-15Rename function parameter "event" to "e"Thomas Lange1-4/+4
2018-03-29Update Parsedown library to version 1.7.1v2.4.2Thomas Lange2-24/+195
This commit updates the Parsedown library to the latest version 1.7.1. The patch to prevent that tab indentations in code blocks are being converted to spaces (see 78c5974cd34559d0130d8be509935e2c992cd9ca) is already applied here. In addition, the patch file itself is now shipped within the same directory where the Parsedown.php resides.
2018-02-24Make some minor changes to the contentThomas Lange1-5/+4