webapp-tools/webapp_admin/README.md

63 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2019-02-06 12:57:17 +01:00
# WebApp Admin
>**Always make a backup of the user settings and test the new settings afterwards**
2019-02-06 12:57:17 +01:00
WebApp admin is a command-line interface to modify, inject and export WebApp settings.
# Example Usage
2019-09-12 12:00:34 +02:00
Overview of all options:
> python3 webapp_admin -h
2019-02-06 12:57:17 +01:00
Reset WebApp settings
> python3 webapp_admin -u john --reset
Change free/busy to 36 months
> python3 webapp_admin -u john --free-busy=36
2019-03-11 10:28:24 +01:00
If you want to make a change for all users pass the --all-users parameter. Example:
> python3 webapp_admin --all-users --icons Breeze
2019-02-06 15:11:53 +01:00
2021-01-21 17:15:55 +01:00
## Signatures
To restore, replace and backup signatures we need a two part, underscore separated filename consisting of a `name` and `id`.\
2021-01-21 17:15:55 +01:00
Example single user: `this-is-my-signature_1234.html`\
---
**Note**\
The hypens in the filename will be displayed as spaces in WebApp\
The username can also be part of the .html file, but is then ignored by the script.
In WebApp the ID is created based on the unix time, so the ID can be anything
---
Examples
Backup signature for user `henk`
> python3 webapp_admin -u henk --backup-signature
Restore signature for user `henk`
> python3 webapp_admin -u henk --restore-signature my-cool-signature_1615141312112.html
Replace signature for user `henk`
> python3 webapp_admin -u henk --replace-signature my-cool-signature_1615141312112.html
Restore signatures for all users
> python3 webapp_admin --all-users --restore-signature mycompany-signature_1412130992124.html
2019-02-06 12:57:17 +01:00
# Dependencies
- python3
- python-kopano
- python-mapi
- OpenSSL
2019-03-11 10:28:24 +01:00
- dotty_dict
2019-06-25 16:03:28 +02:00
2019-09-12 12:00:34 +02:00
For debian 10 python3-pkg-resources is required
2019-06-25 16:03:28 +02:00
# License
licensed under GNU Affero General Public License v3.