Skip to content

xionluhnis/yoctomanager

Repository files navigation

YoctoManager

Media manager for PicoCMS based on Pico-Editor-Plugin.

How to use

  1. Clone plugin or unzip archive in your plugins directory.
  2. Generate your hash into .passwd or replace the call to file_get_contents by your hash string in config.php.
  3. Visit http://www.yoursite.com/admin and login

The file config.php contains different extra configuration.

To generate a hash of yourpassword with sha128 with php in command-line:

php -r 'echo hash("sha128", "yourpassword");'

TODO

  • Switch from EpicEditor to Lepture's editor based on CodeMirror
  • Debug the editor_XXX.html pages (page, medias and tree): especially the bug with selecting media directory
  • Have meta images (medium/thumbnail versions into a different directory to remove ambiguities in directory tree (or use .medium/.thumbnail/.version)
  • Button to reprocess images (medium + thumbnail generation) in a directory
  • Provide meaningful examples in config.php especially about image versions

TODO Design

In-place editing is probably not a good idea as we may want to use EpicEditor. Then we may want to extract the new components:

  • Media manager
  • File manager

So that we can have the new popup page editor that also provides access to the medias and files. This means using twig templates and including them where they need to be reused. The javascript code may need refactoring.

License

Released under the MIT license.

About

Media manager for PicoCMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published