Yukki - Yet Uh-nother wiki
version 0.140290
This is intended to be the simplest, stupidest wiki on the planet. It uses git for versioning and it is perfectly safe to clone this repository and push and pull and all that jazz to maintain this wiki in multiple places.
For information on getting started see Yukki::Manual::Installation.
Yukki::Role::App
This is the name of the configuraiton file. The application will try to find it in etc within the current working directory first. If not there, it will check the YUKKI_CONFIG environment variable.
YUKKI_CONFIG
This is the configuration loaded from the "config_file".
my $view = $app->view('Page');
Not implemented in this class. See Yukki::Web.
my $controller = $app->controller('Page');
my $model = $app->model('Repository', { repository => 'main' });
Returns an instance of the requested model class. The parameters are passed to the instance constructor.
my $file = $app->locate('user_path', 'test_user');
The first argument is the name of the configuration directive naming the path. It may be followed by one or more path components to be tacked on to the end.
Returns a Path::Class::File for the file.
my $dir = $app->locate_dir('repository_path', 'main.git');
The arguments are identical to "locate", but returns a Path::Class::Dir for the given file.
my $access_is_ok = $app->check_access({ user => $user, repository => 'main', needs => 'read', });
The user is optional. It should be an object returned from Yukki::Model::User. The repository is required and should be the name of the repository the user is trying to gain access to. The needs is the access level the user needs. It must be an "AccessLevel" in Yukki::Types.
user
repository
needs
The method returns a true value if access should be granted or false otherwise.
Returns a message digest object that can be used to create a cryptographic hash.
I wanted a Perl-based, MultiMarkdown-supporting wiki that I could take sermon notes and personal study notes for church and Bible study and such. However, I'm offline at church, so I want to do this from my laptop and sync it up to the master wiki when I get home. That's it.
Does it suit your needs? I don't really care, but if I've shared this on the CPAN or the GitHub, then I'm offering it to you in case you might find it useful WITHOUT WARRANTY. If you want it to suit your needs, bug me by email at hanenkamp@cpan.org and send me patches.
hanenkamp@cpan.org
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2014 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Yukki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yukki
CPAN shell
perl -MCPAN -e shell install Yukki
For more information on module installation, please visit the detailed CPAN module installation guide.