mod_timetable/README.md
2021-01-02 15:48:21 +01:00

79 lines
2.4 KiB
Markdown
Executable file

# mod_timetable #
mod_timetable is a moodle plugin that provides timetables based on Untis export data.
The provides timetable views are:
- teacher
- student
- room
You can search for the timetables:
![timetable text](doc/timetable_search_small.png)
Multiple results can be displayed at same time
![seachresults text](doc/timetable_searchresults_small.png)
Substitutions and events are displayed too.
On clicking on lessons you will get detailed information about it.
Required Untis-exportfiles:
- class.txt
- lesson.txt
- teacher.txt
- time.txt
- room.txt
- GPU012.TXT
- GPU013.TXT
- GPU014.TXT
If file content is changing, the moodle-database will be automatically updated.
You can also specify whether there are no classes on saturday.
The minimum number of teaching hours displayed is also configurable.
## Update data via WebService ##
- create user
- Website-Administration - Users - Rechte ändern - Rollen verwalten
Add new role
Basisrolle: keine
Kurzbezeichnung: webservice-timetable
Kontexttype: User
add: update timetable data
webservice rest:use
webservice reatetoken
- Website-Administration - Users - timetable-user from step 1 - Einstellungen - rollen - Rollen relativ zu diesem Nutzerkonto zuweisen
- Website-Administration - Plugins - Webservice - Externe Webservices - Hinzufügen
Name: timetableupdate
Shortname: timetableupdate
x Aktiviert
x nur berechtigte Personen
Erweitert:
Notwendige Rechte: keine
Funktion hinzufügen: mod/timetable:update: update timetable data
Berechtigte Personen: add user from step 1
- Website-Administration - Plugins - Webservices - Token verwalten
username: user from step 1
service: timetableupdate
## License ##
2020 Raphael Dannecker <raphael.dannecker@steinbeisschule-reutlingen.de>
This program is free software: you can redistribute it and/or modify it 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.
This program 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
this program. If not, see <http://www.gnu.org/licenses/>.