Commit Graph

13 Commits (840220e42d36ed33c3b54788ee90ee137098eb2b)

Author SHA1 Message Date
klongeiger 840220e42d Merge branch 'main' of https://git.waldorf.one/g.klein/C.A.T. 2022-10-23 09:35:11 +02:00
klongeiger 599250a8f3 Create .gitignore 2022-10-22 16:10:23 +02:00
klongeiger 3f0e8e0a24 Generalizations
Comments, changes to reflect common usage scenarios
2022-10-22 16:08:57 +02:00
Georg Klein cd4447cdc4 „importUsers.py“ ändern
- added local storage of access token including a limited means to check for validity
- if mailboxes were supposed to be added and that failed, the tool will dump the missing users into a csv file formatted to import into the Cloudron Email management section.
2022-10-19 21:15:15 +00:00
Georg Klein 7b07615720 Dateien hochladen nach „“
Tool generates a list suitable for importUsers from a simple comma-separated list of first and last names and some command line parameters

Requires an additional file named WordList.txt containing a list of words for default password generation. Three words are picked at random and joined with a dash
2022-10-19 21:13:13 +00:00
Georg Klein b71ae26a44 importUsers:
- accessToken is now stored between runs
- if mailboxes can't be created, tool dumps a list for use with Cloudrons mail import

new tool generateUserlist
- takes a simple comma-separated list of first and last name and some command line
  parameters to generate a CSV-file ready to use with importUsers
2022-10-19 23:07:01 +02:00
Georg Klein 58a5172ff9 Fixed faulty getopt configuration 2022-10-16 14:28:01 +02:00
Georg Klein 5fa727d25b Fixed typo 2022-10-16 14:20:20 +02:00
Georg Klein e3e84c35e7 - added option to add passwords as part of the import
Please note that this method obviously discloses passwords to the admin, so
  users should be encouraged to change their password on first login.
- updated help output to include the optional mailbox and password options
- fixed the revision date of the last commit
2022-10-16 14:12:40 +02:00
Georg Klein e67c63372d - Fixed a missing parameter name in group request 2021-03-19 02:53:23 +01:00
Georg Klein dfb880a6dd - initialized addmailbox variable to False 2021-03-19 01:57:12 +01:00
Georg Klein 3da712347d - Modified file structure to add arbitrary group support
- Removed hardcoded segments
- cleaned up print statements
- removed she-bang, run with python importUsers.py
2021-03-19 01:53:36 +01:00
Georg Klein 7711b9fcdd initial commit 2021-03-10 15:36:59 +01:00