Language:
switch to room list switch to menu My folders
Go to page: First ... 11 12 13 14 [15] 16 17 18 19 ... Last
[#] Wed Jul 01 2015 14:05:51 EDT from mo

[Reply] [ReplyQuoted] [Headers] [Print]

Ahh cool!  And you are post 345.

 

Yes the beginning seems a good place to start.Hope this is not a silly question, but:

Does it matter what language any of the things i mentioned  in jest (that's me off the hook :) ) , are written in?



[#] Mon Jul 13 2015 20:18:43 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Well, the text client is written in C, but if you or anyone else were to develop a brand new client from scratch, it could be written in any language at all.


There has been some talk about making things scriptable in some higher level language, but there are other things on our plate before that.

[#] Tue Dec 01 2015 09:25:38 EST from John Goerzen

Subject: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

Hi folks,

I'm guy that was a BBS Sysop 20 years ago (not Citadel, sigh) and have been rediscovering this software for various reasons.

I'm trying out the text client, and can't seem to find a way to add Calendar or Contacts entries with it.  Any ideas?

 

Thanks,

 

John



[#] Tue Dec 01 2015 14:37:09 EST from IGnatius T Foobar

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]


The text client is intended for sites that are running Citadel as a BBS.
It doesn't support most of the PIM/Groupware functions like calendar and contacts.

[#] Tue Dec 01 2015 22:28:40 EST from John Goerzen

Subject: Crash on entering a textfile [patch]

[Reply] [ReplyQuoted] [Headers] [Print]

Not sure if this is the place to report such things -- please let me know if not.

I have a brand new installation here, citadel-server 9.01, citadel-client 8.24, both Debian testing packages.

I have a 100% reproducible problem uploading textfiles.  Here's what it looks like:

Test] . Enter Textfile
Enter filename: test
Receiving test - press Ctrl-D to end.
test
*** Transfer successful.
Enter a short description of 'test':
: desc
*** Error in `/usr/bin/citadel': free(): invalid next size (fast): 0x00000000019580f0 ***

gdb was not helpful.  However, strace showed a failure right after sending UOPN (and getting 200 Ok from the server.

 

Looking at the source, I see this:

 

        aaa = (char *)malloc(strlen(save_as) + strlen(comment) + 7);
        if (!aaa) return -1;

        sprintf(aaa, "UOPN %s|%s|%s", save_as, MimeType,  comment);
        ret = CtdlIPCGenericCommand(ipc, aaa, NULL, 0, NULL, NULL, cret);
        free(aaa);

 

That's a buffer overflow.  strace showed the write as:

 

write(3, "UOPN test|application/octet-stream|desc\n", 40) = 40

But the buffer really only permitted 5 characters for the MimeType.  I believe this could be corrected by simply using

 

        aaa = (char *)malloc(strlen(save_as) + strlen(MimeType) + strlen(comment) + 7);

 

Hope this helps.

 

John



[#] Tue Dec 01 2015 22:29:28 EST from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

The option exists to write your own client (might be fun).  I have tried, and sorta have one.  It does not expose anything more than the message functions that the current client does, but you could use the protocol.  It looks like the parts are there (for ical at least):

http://www.citadel.org/doku.php/documentation:applicationprotocol



[#] Tue Dec 01 2015 22:33:17 EST from ax25

Subject: Re: Crash on entering a textfile [patch]

[Reply] [ReplyQuoted] [Headers] [Print]

I see you are well versed :-)  Please ignore my pointing out of the API.  Going to my corner now. HI HI.



[#] Wed Dec 02 2015 12:53:30 EST from jgoerzen

Subject: Re: Crash on entering a textfile [patch]

[Reply] [ReplyQuoted] [Headers] [Print]

Confirmed.  The attached patch fixes this.



client.diff (text/x-patch, 779 bytes) [ View | Download ]
[#] Thu Dec 03 2015 13:38:01 EST from dothebart

Subject: Re: Crash on entering a textfile [patch]

[Reply] [ReplyQuoted] [Headers] [Print]

Thanks a lot, patch applied.



[#] Sat Dec 05 2015 13:19:24 EST from mo

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

Hi John,

 

I was just about to post about a couple of command line programs people here might be interested in:

A command-line calendar program, that can read and write events/icalendars and sync with amongst other things CALDAV servers.

I have a local copy on my machine with the exported contents of my google calendar on it, works a treat.

https://github.com/geier/khal

 

... and also a command-line  contact manager/addressbook, that "reads, modifies and removes carddav address book entries at your local machine". Also syncs with CALDAV/CARDAV servers like Baikal

I have a local copy on my machine with my google contacts in VCARD format (just remember that your address-book needs to seperate all the contacts into seperate VCARD files ). It works a treat from the command-line. I also setup mutt for the first time to test it with this program, and now can access my gmail (citadel next ) imap folders with mutt and query my khal address-book from mutt too.

 

I have not synced the khal calendar, or khard address-book but they both use vdirsyncer to sync with CALDAV/CARDAV servers.

https://github.com/untitaker/vdirsyncer

 

I would love to see the planned citadel CALDAV support tested against these programs. Is it feasable to have the text client to somehow use these to access our calendar events and contact data directly?

 

 

Btw John, are you by any chance  John Goerzen the author of PyGopherd?

     

Mike



[#] Sat Dec 05 2015 13:24:42 EST from mo

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

khard, was the address-book program:

https://github.com/scheibler/khard

 

I will post about these, with more details, in the room:  "Software" in the floor: "Computer Level"  

 

http://uncensored.citadel.org/dotgoto?room=Software#nonewmsgs



[#] Mon Dec 07 2015 09:32:27 EST from John Goerzen

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

I haven't had the chance to look into the calendar/contacts syncing aspects of Citadel yet.  I'm a little skeptical of the reliability of the GroupDAV protocol (vs. CardDAV/CalDAV which lets you sync one event at a time vs.sending the entire calendar each time).

Anyhow, yes I am that John Goerzen, author of PyGopherd.  What can I say, old stuff fascinates me sometimes ;-)

I built up a Citadel install over the weekend to give my 9-year-old his first real email account.  Some Exim magic in front of it, and it's nicely restricted to only family. Pretty nice.  I gave him textclient only so far, and he picked it right up.  He's excited.

John



[#] Mon Dec 07 2015 16:20:01 EST from mo

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

Thats cool!  Sounds like a great citadel advocacy story.  :) 

Well John, at least one of the guys here has pointed out the merits of using Gopher as a mobile client for citadel as opposed to a webclient. I mean Gopher looks gorgeous on android via the overbite project.

As far as i am aware,  CALDAV (CARDDAV?) support is planned for Citadel for the near future.

 



[#] Wed Dec 09 2015 13:14:18 EST from IGnatius T Foobar

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

It's clear that we have to support CalDAV and CardDAV. We might even have to invent a "MailDAV" and "CitadelConfigDAV" and a few other *DAV's and write connectors for popular clients :)

[#] Wed Dec 09 2015 14:59:09 EST from mo

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

 

Wed Dec 09 2015 13:14:18 EST from IGnatius T Foobar @ Uncensored Subject: Re: Calendar, Contacts?
It's clear that we have to support CalDAV and CardDAV. We might even have to invent a "MailDAV" and "CitadelConfigDAV" and a few other *DAV's and write connectors for popular clients :)

And so you can access your calendar/events and citadel contact on the command line with the two python programs i posted earlier, that support CALDAV and CARDDAV respectively.

Is there any plans, or do you think it a good idea, for the text client to support CALDAV/CARDDAV access, or would there be a way to call an external program or script to get this functionality?

 



[#] Thu Dec 10 2015 10:04:17 EST from IGnatius T Foobar

Subject: Re: Calendar, Contacts?

[Reply] [ReplyQuoted] [Headers] [Print]

I'm not thrilled about the idea of the text client requiring any connectivity to the server other than the single connection on port 504. One of the nice things about the Citadel protocol is that it does everything.

[#] Mon Jan 04 2016 23:19:10 EST from ax25

Subject: Linode outage and success with the text client.

[Reply] [ReplyQuoted] [Headers] [Print]

Just goes to show that old tech is not the worst thing to have on hand.

During the "Merry X-mass" Ddos on Linode - vm hoster - (especially the Atlanta colo - where my Citadel instance lives), connectivity was grim.

Thanks to SMTP and the text clients ability to live on like a cockroach in a nuclear war, I was able to send and receive email during periods of 80 to 95% packet loss.  When things got to 100%, even SMTP timeouts and the text client called it a day.  But, with those options, I did ride out the outage with a small grin of satisfaction with my choice of MTA / MUA setup.  Thanks to the Citadel crew.  



[#] Wed Mar 02 2016 18:01:39 EST from IGnatius T Foobar

Subject: Re: Linode outage and success with the text client.

[Reply] [ReplyQuoted] [Headers] [Print]

That's pretty much the case for any tech, if you can build a command line program to work with it, you know you didn't overbuild complexity.



[#] Mon Mar 07 2016 03:30:26 EST from ryan42

[Reply] [ReplyQuoted] [Headers] [Print]

Greetings from my 68030-based Macintosh IIfx. Text client forever!

[#] Thu Mar 17 2016 11:21:01 EDT from vince-q

[Reply] [ReplyQuoted] [Headers] [Print]

Personally, I rarely (like only a few times a year) use the WebCit interface.


Yes, I am one of the "original citaphreeks" (Morningstar Keep, Brian Riley, Tabernacle NJ, 1983) and then sysop of Jersey Devil Citadel for years.

So you might say I am very partial to the text-client!

Go to page: First ... 11 12 13 14 [15] 16 17 18 19 ... Last