Changes for version 2021.02.01
- We now require minimum version of Perl 5.26 to remove from our code `no warnings "experimental::lexical_subs";`. Respectively we explicitly require at least ExtUtils::MakeMaker 7.24.
- Since Perl 5.26 "the lexical_subs feature has no effect; all Perl code can use lexical (private) subroutines, regardless of what feature declarations are in scope." So we replaced `use feature qw(lexical_subs unicode_strings);` with `use feature ':5.26';`. We just use the whole feature bundle now.
- Changed behavior of Slovo::Command::Author::inflate and improved its documentation. The different types of files are now prefixed with `templates/` and `public/` only if they are inflated into the $app->home directory.
- Improved lib/Slovo.pm's POD.
- Database migration is not automatic any more. From now on one must run `bin/slovo eval 'app->dbx->migrations->migrate'`.
- Added new `BEFORE UPDATE` SQL triggers that check if pid!=id and if the parent record is a directory, and throw an SQL statement error.
- Added meta tags for 'author', 'description' and 'keywords' in partials/_head.html.ep with default content from the respective row in table celini.
Documentation
Modules
Искони бѣ Слово
Naive in-memory cache
Slovo Command base class
Generator command
Generate a .htaccess for running Slovo under Apache 2/CGI
Generate a CGI script for running Slovo under Apache 2/CGI
Generate database records, files and pages for a new domain
Inflate embedded files to domains or application folders
и миръ Его не позна.
common methods for Stranici and Celini
the management dashboard
before_dispatch hook under Apache 2/CGI
additional default helpers for Slovo
load and use Mojo::Pg|mysql|SQLite
additional and advanced tag helpers
Send an email with link for first time login
sends email to user containing one time password.
a small theme, using chota.css
additional validator filters and checks
Provides
in lib/Slovo/Controller.pm
in lib/Slovo/Controller/Celini.pm
in lib/Slovo/Controller/Domove.pm
in lib/Slovo/Controller/Example.pm
in lib/Slovo/Controller/Groups.pm
in lib/Slovo/Controller/Stranici.pm
in lib/Slovo/Controller/Users.pm
in lib/Slovo/Model.pm
in lib/Slovo/Model/Celini.pm
in lib/Slovo/Model/Domove.pm
in lib/Slovo/Model/Groups.pm
in lib/Slovo/Model/Stranici.pm
in lib/Slovo/Model/Users.pm