Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-06-26 | Use shorthand ternary operator in admin forms | Thomas Lange | 3 | -3/+3 | |
2021-06-26 | Use const to define expressionless admin constants | Thomas Lange | 17 | -33/+33 | |
2021-06-26 | Use shorthand ternary operator | Thomas Lange | 6 | -28/+28 | |
2021-06-26 | Fix bug in user select form field | Thomas Lange | 2 | -2/+2 | |
2021-06-26 | Add and change some Fontello icons for admin theme | Thomas Lange | 16 | -405/+919 | |
2021-06-25 | Fix wrong property name in Repository class | Thomas Lange | 1 | -2/+2 | |
2021-06-25 | Reorganize namespaces | Thomas Lange | 16 | -41/+60 | |
2021-06-24 | Add configuration option MIGRATOR.ENABLED | Thomas Lange | 1 | -1/+4 | |
2021-06-24 | Return NULL instead of config string if unset | Thomas Lange | 1 | -1/+1 | |
2021-06-24 | Implement database schema Migrator | Thomas Lange | 10 | -19/+369 | |
This commit implements the new database schema Migrator which keeps track of the on-disk schema and the schema used by the codebase. It tries to makes future database schema upgrades user-friendlier. | |||||
2021-06-24 | Remove migration for migration table (readme) | Thomas Lange | 2 | -4/+1 | |
This commit removes the migration number 5 which created the migration table. The initialization of the migration table will be implemented in the upcoming migration script by itself. Sorry! If you recently installed the application with a fresh database which contained the migration table, please manually set the schema_version to 4. It is recommended to only install a specific tag instead of the latest master branch unless you are a developer or know what you do. UPDATE migration SET schema_version = 4 | |||||
2021-06-24 | Set Database attribute in Application class | Thomas Lange | 2 | -14/+13 | |
2021-06-23 | Show custom title and description in admin header | Thomas Lange | 1 | -2/+2 | |
2021-06-22 | Add missing static keywords and fix typos | Thomas Lange | 2 | -4/+4 | |
2021-06-22 | Implement new Repository and Entity classes | Thomas Lange | 53 | -1104/+1248 | |
This commit adds new Repository and Entity classes which are better abstracted from the rest of the application. They dont know anymore about configuration options or how to parse to HTML because this is not the job for the ORM but for other parts of the application. The previous commits were a preparation for this big change. An entity now represents just a single record from a specific table of the database – nothing more. The repositories job is it to fetch or update records of the database and instantiate the entities. Another problem that was solved is the high amount of database queries that was needed before. For example, on the blogs home page first were all 10 latest post IDs fetched from the database and then another query was executed with "WHERE id = :id" for *each* single post?! ... This problem is solved with the new repository classes; they now use a single query to fetch and build the entities of the 10 latest posts. This change also solves the problem with database queries spread across the application and limits the exzessive use of try/catch blocks which were used before. The new classes make the whole code much cleaner. :) | |||||
2021-06-21 | Fix prefixes for ADMIN.USER.LIST_* config options | Thomas Lange | 1 | -2/+2 | |
2021-06-21 | Remove unnecessary $ItemTemplate variables | Thomas Lange | 8 | -27/+7 | |
2021-06-21 | Rename some template variables | Thomas Lange | 11 | -24/+24 | |
2021-06-21 | Rename "attr" method of Item class to "get" | Thomas Lange | 19 | -34/+34 | |
2021-06-21 | Remove getArguments method from Item class | Thomas Lange | 1 | -20/+0 | |
2021-06-21 | Use function parseArguments | Thomas Lange | 1 | -1/+1 | |
2021-06-21 | Add function parseArguments | Thomas Lange | 1 | -0/+20 | |
2021-06-21 | Remove unused methods from Item class | Thomas Lange | 1 | -50/+0 | |
2021-06-21 | Use function getMarkdownImageURLs | Thomas Lange | 2 | -2/+2 | |
2021-06-21 | Add function getMarkdownImageURLs | Thomas Lange | 1 | -0/+14 | |
2021-06-21 | Use function parseEntityContent | Thomas Lange | 4 | -4/+4 | |
2021-06-21 | Use function parseContentTags | Thomas Lange | 1 | -1/+3 | |
2021-06-21 | Add function parseEntityContent | Thomas Lange | 1 | -0/+32 | |
2021-06-21 | Add function parseContentTags | Thomas Lange | 1 | -0/+26 | |
2021-06-21 | Remove getGUID methods from Item classes | Thomas Lange | 4 | -35/+0 | |
2021-06-21 | Use function generatePseudoGUID | Thomas Lange | 1 | -1/+1 | |
2021-06-21 | Add function generatePseudoGUID | Thomas Lange | 1 | -0/+22 | |
2021-06-21 | Remove getURL methods from Item classes | Thomas Lange | 4 | -34/+0 | |
2021-06-21 | Use getEntityURL method of Application class | Thomas Lange | 8 | -9/+9 | |
This commit replaces all calls to "$Item->getURL()" with calls to the previously added "getEntityURL" method of the "Application" class. | |||||
2021-06-21 | Add method getEntityURL to Application class | Thomas Lange | 1 | -0/+20 | |
This commit adds the method "getEntityURL" to the "Application" class. This method takes an instance of "Item" as parameter and then builds the absolute URL of the item from its attribute data. | |||||
2021-06-20 | Call password_verify directly in login script | Thomas Lange | 2 | -8/+2 | |
2021-06-19 | Remove unused variable | Thomas Lange | 1 | -1/+0 | |
2021-06-19 | Remove ID form field (and rearrange other fields) | Thomas Lange | 9 | -57/+51 | |
This commit removes the ID form field, enlarges the title form field and rearranges the other form fields in the grid layout. | |||||
2021-06-19 | Rename CRUD methods of Attribute class | Thomas Lange | 10 | -12/+12 | |
2021-06-19 | Fix missing margin on user list | Thomas Lange | 2 | -0/+9 | |
2021-06-17 | Update installation instructions | Thomas Lange | 1 | -4/+5 | |
2021-06-17 | Add .git to forbidden directories | Thomas Lange | 2 | -2/+2 | |
2021-06-17 | Pass configuration array directly to foreach | Thomas Lange | 1 | -8/+3 | |
2021-06-17 | Move database.sql to core/db/ | Thomas Lange | 2 | -1/+1 | |
2021-06-17 | Add migrations directory | Thomas Lange | 5 | -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-16 | Add migration table to database.sql | Thomas Lange | 1 | -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-14 | Remove more redundant try/catch blocks | Thomas Lange | 28 | -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-14 | Remove redundant try/catch block | Thomas Lange | 1 | -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-14 | Darken background on focused/active buttons | Thomas Lange | 2 | -2/+21 | |
2021-06-14 | Remove useless AttributeInterface | Thomas Lange | 2 | -7/+1 | |