Inhaltsverzeichnis

Horde 5 Applikation Aufgaben(-Verwaltung): Nag unter CentOS 7.x

Als zweite Applikation installieren wir uns die Anwendung Nag. Mit Hilfe dieser Anwendung werden wir unsere Aufgabenplanung bzw. unserer todo-Liste planen und deren Be- und Abarbeitung verfolgen. Informationen zu Installation und Konfiguration findet man auch auf der offiziellen Doku-Seite.

Installation

Die Installation der Applikation Nag können wir ganz einfach über das Paketverwaltungswerkzeug yum vornehmen.

 # yum install php-horde-nag -y

Was uns das Paket php-horde-nag alles mitgebracht hat zeigt uns der folgende Aufruf.

 # rpm -qil php-horde-nag
Name        : php-horde-nag
Version     : 4.2.1
Release     : 1.el7
Architecture: noarch
Install Date: Thu 11 Sep 2014 11:09:09 PM CEST
Group       : Development/Libraries
Size        : 1421719
License     : GPLv2
Signature   : RSA/SHA256, Fri 08 Aug 2014 01:07:49 AM CEST, Key ID 6a2faea2352c64e5
Source RPM  : php-horde-nag-4.2.1-1.el7.src.rpm
Build Date  : Mon 04 Aug 2014 05:56:23 PM CEST
Build Host  : buildvm-01.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.horde.org/apps/nag
Summary     : A web based task list manager
Description :
Nag is a web-based application built upon the Horde Application Framework
which provides a simple, clean interface for managing online task lists
(i.e., todo lists). It also includes strong integration with the other
Horde applications and allows users to share task lists or enable
light-weight project management.
/etc/horde/nag
/etc/horde/nag/conf.xml
/etc/horde/nag/hooks.php.dist
/etc/horde/nag/menu.php.dist
/etc/horde/nag/prefs.php
/etc/horde/nag/routes.php
/etc/httpd/conf.d/php-horde-nag.conf
/usr/bin/nag-convert-datatree-shares-to-sql
/usr/bin/nag-convert-sql-shares-to-sqlng
/usr/bin/nag-create-missing-add-histories-sql
/usr/bin/nag-import-openxchange
/usr/bin/nag-import-vtodos
/usr/share/doc/pear/nag
/usr/share/doc/pear/nag/CHANGES
/usr/share/doc/pear/nag/COPYING
/usr/share/doc/pear/nag/CREDITS
/usr/share/doc/pear/nag/INSTALL
/usr/share/doc/pear/nag/README
/usr/share/doc/pear/nag/RELEASE_NOTES
/usr/share/doc/pear/nag/TODO
/usr/share/doc/pear/nag/UPGRADING
/usr/share/doc/pear/nag/lighttpd-nag.conf
/usr/share/doc/pear/nag/vtodo
/usr/share/doc/pear/nag/vtodo/todo.ics
/usr/share/horde/nag
/usr/share/horde/nag/app
/usr/share/horde/nag/app/controllers
/usr/share/horde/nag/app/controllers/CompleteTask.php
/usr/share/horde/nag/app/controllers/SaveTask.php
/usr/share/horde/nag/config
/usr/share/horde/nag/data.php
/usr/share/horde/nag/index.php
/usr/share/horde/nag/js
/usr/share/horde/nag/js/calendar.js
/usr/share/horde/nag/js/smartmobile.js
/usr/share/horde/nag/js/task.js
/usr/share/horde/nag/lib
/usr/share/horde/nag/lib/Ajax
/usr/share/horde/nag/lib/Ajax/Application
/usr/share/horde/nag/lib/Ajax/Application.php
/usr/share/horde/nag/lib/Ajax/Application/Handler
/usr/share/horde/nag/lib/Ajax/Application/Handler/Smartmobile.php
/usr/share/horde/nag/lib/Ajax/Imple
/usr/share/horde/nag/lib/Ajax/Imple/TagAutoCompleter.php
/usr/share/horde/nag/lib/Api.php
/usr/share/horde/nag/lib/Application.php
/usr/share/horde/nag/lib/Block
/usr/share/horde/nag/lib/Block/Summary.php
/usr/share/horde/nag/lib/CompleteTask.php
/usr/share/horde/nag/lib/Driver
/usr/share/horde/nag/lib/Driver.php
/usr/share/horde/nag/lib/Driver/Kolab.php
/usr/share/horde/nag/lib/Driver/Smartlist.php
/usr/share/horde/nag/lib/Driver/Sql.php
/usr/share/horde/nag/lib/Exception.php
/usr/share/horde/nag/lib/Factory
/usr/share/horde/nag/lib/Factory/Driver.php
/usr/share/horde/nag/lib/Factory/TagBrowser.php
/usr/share/horde/nag/lib/Factory/Tasklists.php
/usr/share/horde/nag/lib/Form
/usr/share/horde/nag/lib/Form/CreateTaskList.php
/usr/share/horde/nag/lib/Form/DeleteTaskList.php
/usr/share/horde/nag/lib/Form/EditTaskList.php
/usr/share/horde/nag/lib/Form/Search.php
/usr/share/horde/nag/lib/Form/Task.php
/usr/share/horde/nag/lib/Form/Type
/usr/share/horde/nag/lib/Form/Type/NagAlarm.php
/usr/share/horde/nag/lib/Form/Type/NagDue.php
/usr/share/horde/nag/lib/Form/Type/NagMethod.php
/usr/share/horde/nag/lib/Form/Type/NagRecurrence.php
/usr/share/horde/nag/lib/Form/Type/NagSearchDue.php
/usr/share/horde/nag/lib/Form/Type/NagStart.php
/usr/share/horde/nag/lib/Form/Type/NagTags.php
/usr/share/horde/nag/lib/LoginTasks
/usr/share/horde/nag/lib/LoginTasks/Task
/usr/share/horde/nag/lib/LoginTasks/Task/PurgeCompleted.php
/usr/share/horde/nag/lib/Nag.php
/usr/share/horde/nag/lib/Prefs
/usr/share/horde/nag/lib/Prefs/Special
/usr/share/horde/nag/lib/Prefs/Special/TaskAlarms.php
/usr/share/horde/nag/lib/QuickParser.php
/usr/share/horde/nag/lib/Search.php
/usr/share/horde/nag/lib/Smartmobile.php
/usr/share/horde/nag/lib/TagBrowser.php
/usr/share/horde/nag/lib/Tagger.php
/usr/share/horde/nag/lib/Task.php
/usr/share/horde/nag/lib/Tasklist.php
/usr/share/horde/nag/lib/Tasklists
/usr/share/horde/nag/lib/Tasklists/Base.php
/usr/share/horde/nag/lib/Tasklists/Default.php
/usr/share/horde/nag/lib/Tasklists/Kolab.php
/usr/share/horde/nag/lib/Ui
/usr/share/horde/nag/lib/Ui/VarRenderer
/usr/share/horde/nag/lib/Ui/VarRenderer/Nag.php
/usr/share/horde/nag/lib/View
/usr/share/horde/nag/lib/View/Helper
/usr/share/horde/nag/lib/View/Helper/List.php
/usr/share/horde/nag/lib/View/List.php
/usr/share/horde/nag/list.php
/usr/share/horde/nag/locale
/usr/share/horde/nag/locale/ar
/usr/share/horde/nag/locale/ar/LC_MESSAGES
/usr/share/horde/nag/locale/ar/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/bg
/usr/share/horde/nag/locale/bg/LC_MESSAGES
/usr/share/horde/nag/locale/bg/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/ca
/usr/share/horde/nag/locale/ca/LC_MESSAGES
/usr/share/horde/nag/locale/ca/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/ca/help.xml
/usr/share/horde/nag/locale/cs
/usr/share/horde/nag/locale/cs/LC_MESSAGES
/usr/share/horde/nag/locale/cs/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/da
/usr/share/horde/nag/locale/da/LC_MESSAGES
/usr/share/horde/nag/locale/da/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/de
/usr/share/horde/nag/locale/de/LC_MESSAGES
/usr/share/horde/nag/locale/de/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/de/help.xml
/usr/share/horde/nag/locale/el
/usr/share/horde/nag/locale/el/LC_MESSAGES
/usr/share/horde/nag/locale/el/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/en
/usr/share/horde/nag/locale/en/help.xml
/usr/share/horde/nag/locale/es
/usr/share/horde/nag/locale/es/LC_MESSAGES
/usr/share/horde/nag/locale/es/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/es/help.xml
/usr/share/horde/nag/locale/et
/usr/share/horde/nag/locale/et/LC_MESSAGES
/usr/share/horde/nag/locale/et/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/eu
/usr/share/horde/nag/locale/eu/LC_MESSAGES
/usr/share/horde/nag/locale/eu/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/eu/help.xml
/usr/share/horde/nag/locale/fi
/usr/share/horde/nag/locale/fi/LC_MESSAGES
/usr/share/horde/nag/locale/fi/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/fi/help.xml
/usr/share/horde/nag/locale/fr
/usr/share/horde/nag/locale/fr/LC_MESSAGES
/usr/share/horde/nag/locale/fr/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/hr
/usr/share/horde/nag/locale/hr/LC_MESSAGES
/usr/share/horde/nag/locale/hr/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/hr/help.xml
/usr/share/horde/nag/locale/hu
/usr/share/horde/nag/locale/hu/LC_MESSAGES
/usr/share/horde/nag/locale/hu/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/hu/help.xml
/usr/share/horde/nag/locale/id
/usr/share/horde/nag/locale/id/LC_MESSAGES
/usr/share/horde/nag/locale/id/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/it
/usr/share/horde/nag/locale/it/LC_MESSAGES
/usr/share/horde/nag/locale/it/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/ja
/usr/share/horde/nag/locale/ja/LC_MESSAGES
/usr/share/horde/nag/locale/ja/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/ko
/usr/share/horde/nag/locale/ko/LC_MESSAGES
/usr/share/horde/nag/locale/ko/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/lt
/usr/share/horde/nag/locale/lt/LC_MESSAGES
/usr/share/horde/nag/locale/lt/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/lv
/usr/share/horde/nag/locale/lv/LC_MESSAGES
/usr/share/horde/nag/locale/lv/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/lv/help.xml
/usr/share/horde/nag/locale/nb
/usr/share/horde/nag/locale/nb/LC_MESSAGES
/usr/share/horde/nag/locale/nb/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/nl
/usr/share/horde/nag/locale/nl/LC_MESSAGES
/usr/share/horde/nag/locale/nl/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/nl/help.xml
/usr/share/horde/nag/locale/nn
/usr/share/horde/nag/locale/nn/LC_MESSAGES
/usr/share/horde/nag/locale/nn/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/pl
/usr/share/horde/nag/locale/pl/LC_MESSAGES
/usr/share/horde/nag/locale/pl/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/pt
/usr/share/horde/nag/locale/pt/LC_MESSAGES
/usr/share/horde/nag/locale/pt/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/pt_BR
/usr/share/horde/nag/locale/pt_BR/LC_MESSAGES
/usr/share/horde/nag/locale/pt_BR/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/ro
/usr/share/horde/nag/locale/ro/LC_MESSAGES
/usr/share/horde/nag/locale/ro/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/ru
/usr/share/horde/nag/locale/ru/LC_MESSAGES
/usr/share/horde/nag/locale/ru/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/sk
/usr/share/horde/nag/locale/sk/LC_MESSAGES
/usr/share/horde/nag/locale/sk/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/sk/help.xml
/usr/share/horde/nag/locale/sl
/usr/share/horde/nag/locale/sl/LC_MESSAGES
/usr/share/horde/nag/locale/sl/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/sv
/usr/share/horde/nag/locale/sv/LC_MESSAGES
/usr/share/horde/nag/locale/sv/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/tr
/usr/share/horde/nag/locale/tr/LC_MESSAGES
/usr/share/horde/nag/locale/tr/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/tr/help.xml
/usr/share/horde/nag/locale/uk
/usr/share/horde/nag/locale/uk/LC_MESSAGES
/usr/share/horde/nag/locale/uk/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/zh_CN
/usr/share/horde/nag/locale/zh_CN/LC_MESSAGES
/usr/share/horde/nag/locale/zh_CN/LC_MESSAGES/nag.mo
/usr/share/horde/nag/locale/zh_TW
/usr/share/horde/nag/locale/zh_TW/LC_MESSAGES
/usr/share/horde/nag/locale/zh_TW/LC_MESSAGES/nag.mo
/usr/share/horde/nag/migration
/usr/share/horde/nag/migration/10_nag_upgrade_categoriestotags.php
/usr/share/horde/nag/migration/11_nag_upgrade_smartlists.php
/usr/share/horde/nag/migration/12_nag_fix_smartlists.php
/usr/share/horde/nag/migration/13_nag_upgrade_parents.php
/usr/share/horde/nag/migration/1_nag_base_tables.php
/usr/share/horde/nag/migration/2_nag_upgrade_autoincrement.php
/usr/share/horde/nag/migration/3_nag_upgrade_addalarmmethods.php
/usr/share/horde/nag/migration/4_nag_upgrade_addcolor.php
/usr/share/horde/nag/migration/5_nag_upgrade_systemshares.php
/usr/share/horde/nag/migration/6_nag_upgrade_sqlng.php
/usr/share/horde/nag/migration/7_nag_upgrade_sqlhierarchical.php
/usr/share/horde/nag/migration/8_nag_upgrade_sqlnghierarchical.php
/usr/share/horde/nag/migration/9_nag_upgrade_recurrence.php
/usr/share/horde/nag/quick.php
/usr/share/horde/nag/search.php
/usr/share/horde/nag/smartmobile.php
/usr/share/horde/nag/task
/usr/share/horde/nag/task.php
/usr/share/horde/nag/task/complete.php
/usr/share/horde/nag/task/save.php
/usr/share/horde/nag/tasklists
/usr/share/horde/nag/tasklists/create.php
/usr/share/horde/nag/tasklists/delete.php
/usr/share/horde/nag/tasklists/edit.php
/usr/share/horde/nag/tasklists/index.html
/usr/share/horde/nag/tasks
/usr/share/horde/nag/tasks/index.php
/usr/share/horde/nag/templates
/usr/share/horde/nag/templates/alarm
/usr/share/horde/nag/templates/alarm/mail.html.php
/usr/share/horde/nag/templates/alarm/mail.plain.php
/usr/share/horde/nag/templates/data
/usr/share/horde/nag/templates/data/export.inc
/usr/share/horde/nag/templates/data/import.inc
/usr/share/horde/nag/templates/javascript_defs.php
/usr/share/horde/nag/templates/list
/usr/share/horde/nag/templates/list.html.php
/usr/share/horde/nag/templates/list/_task.html.php
/usr/share/horde/nag/templates/list/header.html.php
/usr/share/horde/nag/templates/list/task_headers.html.php
/usr/share/horde/nag/templates/quick.inc
/usr/share/horde/nag/templates/smartmobile
/usr/share/horde/nag/templates/smartmobile/lists.html.php
/usr/share/horde/nag/templates/smartmobile/main.html.php
/usr/share/horde/nag/templates/smartmobile/taskform.html.php
/usr/share/horde/nag/templates/view
/usr/share/horde/nag/templates/view/task.inc
/usr/share/horde/nag/themes
/usr/share/horde/nag/themes/default
/usr/share/horde/nag/themes/default/block
/usr/share/horde/nag/themes/default/block/screen.css
/usr/share/horde/nag/themes/default/graphics
/usr/share/horde/nag/themes/default/graphics/add.png
/usr/share/horde/nag/themes/default/graphics/alarm.png
/usr/share/horde/nag/themes/default/graphics/alarm_small.png
/usr/share/horde/nag/themes/default/graphics/az.png
/usr/share/horde/nag/themes/default/graphics/big_alarm.png
/usr/share/horde/nag/themes/default/graphics/checkbox.png
/usr/share/horde/nag/themes/default/graphics/checked.png
/usr/share/horde/nag/themes/default/graphics/complete.png
/usr/share/horde/nag/themes/default/graphics/delete.png
/usr/share/horde/nag/themes/default/graphics/edit.png
/usr/share/horde/nag/themes/default/graphics/favicon.ico
/usr/share/horde/nag/themes/default/graphics/minus.png
/usr/share/horde/nag/themes/default/graphics/nag.png
/usr/share/horde/nag/themes/default/graphics/note.png
/usr/share/horde/nag/themes/default/graphics/plus.png
/usr/share/horde/nag/themes/default/graphics/search.png
/usr/share/horde/nag/themes/default/graphics/smart.png
/usr/share/horde/nag/themes/default/graphics/tasklists.png
/usr/share/horde/nag/themes/default/graphics/unchecked.png
/usr/share/horde/nag/themes/default/graphics/za.png
/usr/share/horde/nag/themes/default/screen.css
/usr/share/horde/nag/themes/default/smartmobile
/usr/share/horde/nag/themes/default/smartmobile/screen.css
/usr/share/horde/nag/view.php
/usr/share/tests/pear/nag
/usr/share/tests/pear/nag/Nag
/usr/share/tests/pear/nag/Nag/AllTests.php
/usr/share/tests/pear/nag/Nag/Autoload.php
/usr/share/tests/pear/nag/Nag/TestCase.php
/usr/share/tests/pear/nag/Nag/Unit
/usr/share/tests/pear/nag/Nag/Unit/Driver
/usr/share/tests/pear/nag/Nag/Unit/Driver/Base.php
/usr/share/tests/pear/nag/Nag/Unit/Driver/KolabTest.php
/usr/share/tests/pear/nag/Nag/Unit/Driver/Sql
/usr/share/tests/pear/nag/Nag/Unit/Driver/Sql/Base.php
/usr/share/tests/pear/nag/Nag/Unit/Driver/Sql/Pdo
/usr/share/tests/pear/nag/Nag/Unit/Driver/Sql/Pdo/SqliteTest.php
/usr/share/tests/pear/nag/Nag/Unit/Factory
/usr/share/tests/pear/nag/Nag/Unit/Factory/TasklistsTest.php
/usr/share/tests/pear/nag/Nag/Unit/Form
/usr/share/tests/pear/nag/Nag/Unit/Form/Task
/usr/share/tests/pear/nag/Nag/Unit/Form/Task/Base.php
/usr/share/tests/pear/nag/Nag/Unit/Form/Task/KolabTest.php
/usr/share/tests/pear/nag/Nag/Unit/Form/Task/Sql
/usr/share/tests/pear/nag/Nag/Unit/Form/Task/Sql/Base.php
/usr/share/tests/pear/nag/Nag/Unit/Form/Task/Sql/Pdo
/usr/share/tests/pear/nag/Nag/Unit/Form/Task/Sql/Pdo/SqliteTest.php
/usr/share/tests/pear/nag/Nag/Unit/Nag
/usr/share/tests/pear/nag/Nag/Unit/Nag/Base.php
/usr/share/tests/pear/nag/Nag/Unit/Nag/KolabTest.php
/usr/share/tests/pear/nag/Nag/Unit/Nag/Sql
/usr/share/tests/pear/nag/Nag/Unit/Nag/Sql/Base.php
/usr/share/tests/pear/nag/Nag/Unit/Nag/Sql/Pdo
/usr/share/tests/pear/nag/Nag/Unit/Nag/Sql/Pdo/SqliteTest.php
/usr/share/tests/pear/nag/Nag/bootstrap.php
/usr/share/tests/pear/nag/Nag/phpunit.xml
/var/lib/pear/pkgxml/php-horde-nag.xml

Konfiguration über die WEB-GUI

Die Konfiguration der Applikation Nag erfolgt dann über die GUI des Web-Frameworks. Dazu rufen wir unseren angelegten VHOST im Webbrowser auf.

 $ firefox https://horde.sec-mail.guru/admin/config/

Bild: Bildschirmhardcopy Horde "Configuration"

Da wir die Anwendung Nag noch nicht konfiguriert haben und auch die nötigen mySQL-Datenbanktabellen angelegt haben, sind die beiden Fehlermeldungen normal.

Als erstes legen wir die notwendigen Datenbanktabellen an. Hierzu klicken wir auf den Punkt Update all DB schemas.

Bild: Bildschirmhardcopy Horde "Configuration"

Diese Fehlermeldung zeigt, dass die Tabelle noch nicht angelegt werden konnte - dies holen wir nun nach, in dem wir auf den link SQL DB schema ist out of date klicken.

Bild: Bildschirmhardcopy Horde "Configuration"

Nun fehlt nur noch die Konfiguration vom Taskmanager Nag, diese legen wir nun an, in dem wir auf den Punkt Task (nag) klicken.

Bild: Bildschirmhardcopy Horde "Tasks nag Configuration"

Storage System Settings

$conf[storage][driver]                                                         SQL
$conf[storage][params][driverconfig]                                           Horde defaults
$conf[storage][params][table]                                                  nag_tasks

Tasklist Handler Settings

$conf[tasklists][driver] 	                                                 Default
$conf[menu][import_export]                                                     [✔]

Am Ende unserer Konfigurationsarbeit, sichern wir die Konfiguration mit einem Klick auf die Schaltfläche Bild: Schaltfläche "Generate Tasks Configuration".

Die erfolgreiche Sicherung wird uns entsprechend angezeigt.

Bild: Bestätigung der erfolgreichen Sicherung

Links