-
Notifications
You must be signed in to change notification settings - Fork 0
lasjoh/moodle-mod_tiddlywiki
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Attention: At the moment this Repo contains the listDBs.php which is usefull for debugging purposes - but should not be installed on moodles in Production, because it can give an overview over all DBs and their content! ⠀⠀⠀⠀ ⠀⢀⣤⣤⣴⣶⣶⣶⣿⣿⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⢀⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⡁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⢀⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⢀⣠⣤⣶⣶⣤⣄⡀⠀⠀⠀ ⠀⢸⡇⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⠟⢀⣴⣷⣴⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀ ⠀⢸⡇⠀⠀⠙⠛⠿⠿⢿⣿⠟⠁⠐⢿⣿⣿⣿⣿⡿⠛⠉⠉⠙⢿⣿⣿⣿⡆ ⢸⡇ ⠀⠀⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀ ⢿⣿⣿⣿⠁⠀⠀⠀⠀⠀⣿⣿⣿⣿⠀ ⣿ |\__/,| (`\ ⣿⣿⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿ _.|o o }_ ) )⣿⣿⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿ ---(((---(((-----------------⣿⣿⣿⣿ This file is an activityplugin which is built to store and modify TiddlyWikis - http://tiddlywiki.com within the Moodle Learning Plattform - http://moodle.org/ Moodle, TiddlyWiki and this plugin are all free software: you can redistribute it and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. As Moodle, this plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. The Code this plugin was built on is copyright 2009 by Petr Skoda (http://skodak.org) This plugin was started by JanJoh https://talk.tiddlywiki.org/u/janjo/summary This plugin will work with the Tiddlyspot saver pointing to ../../../../../mod/tiddlywiki/store.php because it saves from an IFrame, it needs its URL and other settings to save. These will be set automatically by a moodle-plugin $:/plugins/JJ/Moodle which is part and can be loaded from the TiddlyWiki Classroom-suite. ============= Tiddlywiki activity module is made starting from a clone to of the "Resource module." Clone the ressource module Add a clone of libdir/resourcelib.php to the directory rename it twlib.php. grep libdir/resourcelib.php > dirroot/mod/tiddlywiki/twlib.php gerp resource > tiddlywiki replace pix and lang/en/tiddlywiki ROADMAP: * add a modified version of store.php * get it to work with the db: * intergrate the moodle roles and capabilities (hardcoded at the moment - should become part of the settings) * upload TW in filedir * updated the record in the mdl_files DB to point to the contenthash of the new record (and thus show it as new file) * implement a function to automatically delete the deprecated TWs from filedir --------------------------< We are here * create a new record for the old content as backupcopy * implement clean backups to reduce the backups to a reasonable number and delete records and blobs ins filedir. -------------------------< alpha-release-point * settings to allow normal users uploading and setting the main File * modify the Iframe to optionally add the username to the URL in the view.php * implement json reciever in the moodle-plugin * implement media-hosting retrieving files to show in the Wiki with a media.php * ...
About
An activity_Module that can save and manage changes in a TiddlyWiki
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published