> On Jan 29, 2017, at 10:19 AM, Evert Pot <
ever...@gmail.com> wrote:
>
> What I really really want is a tool exactly like that, but one that can operate via HTTP, remotely.
<snip />
Evert —
First of all, I’m sorry about the late reply. I was traveling without my laptop (it was a pleasure trip so the laptop got a rest for the weekend).
I’m about ready to start an overhaul of this code to replace the database access code that I wrote with some new code that uses the Sabre\PDO objects for calendars and address books. In that process, I can overhaul the user-maintenance code too so that it can operate using HTTP (and retain the CLI that I need). I can copy the Sabre\PDO object code style/structure for the new ‘user’ objects.
I can certainly open source it all but I don’t want to support it except for my own needs. I’m retired and this was basically a hobby project for me (mostly out of frustration with iCloud and ownCloud — both too heavyweight for my needs — and, in the case of my wife’s laptop, it runs macOS ‘Snow Leopard’ so it can’t use iCloud).
An HTTP interface would probably be dependent on the following:
- respect/validation (3.3M of code, 6.7M altogether)
- bcosca/fatfree-core (460K of code, 668K altogether)
You can read more about F3 here:
https://fatfreeframework.com/3.6/home. I find it INCREDIBLY USEFUL for doing this kind of stuff.
FYI, the current ‘help’ message for the user maintenance command follows. As you can see, it’s useful but not complicated.
--
==========================================
Steve Witten
ste...@niteflyte.net
—— snip, snip
davusr: User maintenance for shared calendars/addressbooks.
Create : davusr create|crt|c {crtopts} [-v|--verbose]
Delete : davusr delete|rm|d {delopts} [-v|--verbose]
Update : davusr update|upd|u {updopts} [-v|--verbose]
List : davusr list|ls|l {lstopts} [-v|--verbose]
Version : davusr version|ver|v
This msg : davusr [help|?|h]
where:
{crtopts} =
-u|--user <uname> : username
-p|--pass <passwd> : password
-e|--email <addr> : email address
-f|--first <fname> : first name
-l|--last <lname> : last name
{delopts} =
-u|--user <uname> : username
{updopts} =
-u|--user <uname> : username
[-p|--pass <passwd>] : new password
[-e|--email <addr> ] : new email address
[-f|--first <fname> ] : new first name
[-l|--last <lname> ] : new last name
{lstopts} =
[-u|--user <uname> ] : username
n.b.
-v|--verbose produces verbose messages.
No argument value may contain embedded whitespace.