-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gero Gothe
committed
Dec 25, 2020
1 parent
e0d5802
commit a6095fe
Showing
1 changed file
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Addressbook Plugin for DokuWiki | ||
|
||
This is a first testing / working version! | ||
|
||
Adds an addressbook functionality to DokuWiki. The contacts are stored in a sqlite3-database. The [sqlite-plugin](https://www.dokuwiki.org/plugin:sqlite) ist required. | ||
|
||
## Usage | ||
|
||
![](screenshots/search.png) | ||
|
||
``` | ||
[ADDRESSBOOK:search] | ||
``` | ||
Adds a search bar to perform a fulltext search | ||
|
||
|
||
![](screenshots/list.png) | ||
|
||
``` | ||
[ADDRESSBOOK:index] | ||
``` | ||
Lists all contacts. | ||
|
||
|
||
* ``[ADRESSSBOOK:index?departments]`` - Separate List by departments | ||
|
||
![](screenshots/addnew.png) | ||
|
||
``` | ||
[ADDRESSBOOK:addcontact] | ||
``` | ||
Provides a form with which contacts can be added | ||
|
||
|
||
``` | ||
[ADDRESSBOOK:contact=<nr>] | ||
``` | ||
Show all information about a contact. | ||
|
||
|
||
``` | ||
[ADDRESSBOOK:print<?option1&option2>] | ||
``` | ||
|
||
Creates a printable list | ||
|
||
* ``[ADDRESSBOOK:print?department]`` - Separate contacts by department | ||
* ``[ADDRESSBOOK:print?select=<name>]`` - Show only contacts from department ``<name>`` | ||
|
||
|
||
|
||
## Issues / Ideas | ||
|
||
* Import and export CSV-Files | ||
* Integration into DokuWikis search | ||
* Improve styling of the search box | ||
* Add print styles for contact cars and the index list | ||
|
||
* übersetzungen | ||
|
||
|
||
## Compatibility | ||
|
||
Tested with | ||
* PHP / **7.3** | ||
* DokuWiki / **Hogfather** | ||
* [sqlite-plugin](https://www.dokuwiki.org/plugin:sqlite) / **2020-11-18** | ||
|
||
|
||
## Data storage | ||
|
||
The data is stored ``data/meta/addressbook.sqlite3`` and can be backuped easily. An addressbook (sqlite3) with 1.000 contacts has a size of approximately 4.1 MB if every contact has a photo. The photo is scaled down and compressed, so it uses about 3-4kB. It is stored within the database as a blob (base64encoded). |