From 2a6e327d1f641702b261994d515a96f998a8a6e1 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Thu, 26 Nov 2009 00:35:44 +0100 Subject: [PATCH] no, i mean THIS bugtracker --- CHANGESTODO | 14 +++++++++++--- bin/todo2csv | 38 +++++++++++++++++++------------------- world/net/include/peers.h | 3 ++- world/net/irc/user.c | 9 ++++++++- 4 files changed, 40 insertions(+), 24 deletions(-) diff --git a/CHANGESTODO b/CHANGESTODO index 8408a2a..1660500 100644 --- a/CHANGESTODO +++ b/CHANGESTODO @@ -24,6 +24,8 @@ ________________________________________________________________________ ________________________________________________________________________ == currently being inspected =========================================== ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ +- install.sh/configure doesn't *ensure* libidn is available + - newbies are allowed to open new owned rooms fippo sagt: ergo brauchst du nen exit-hook der owner löscht wenn der n00b-owner aus dem raum geht @@ -478,13 +480,15 @@ ________________________________________________________________________ C:xmpp:euirc · euirc does not resolve In BuHa fragt el_presidente: was soll da passieren? -- improve handling of "Minusport" outgoing stuff: - reject and handle _failures -? suspend flag on error? like this: when you receive errors, that a user or a +> ERROR HANDLING +- reject and handle _failures + suspend flag on error? like this: when you receive errors, that a user or a host could not be reached, then the castmsg'ing entity could flag this candidate as 'suspended' or 'temporarily unreachable' - and automatically change this status with the first sign of life from that entity or server. this would save friendship status and room presence across downtimes. + : added PPL_NOTIFY_INACTIVE to peers.h but actually this needs a more + generic solution for all contexts. see krasser rewrite. ? uni.c kümmert sich nicht um castmsg(), weswegen presence zurecht immer zur UNI gehen, aber leider auch raumcasts. im falle von jabber UNRs @@ -769,6 +773,10 @@ ________________________________________________________________________ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ - display twitter notices somehow +- when 'localhost' is chosen as server name, psyced will append invalid + dot and space in jabber output: + test@localhost. /(null) + ? XMPP: connecting to psyced.org with psi pops up a profile window everytime ? XMPP: first reply to a stranger's remote psyc message did not show up in psi ? neulich wurde 'stanly' beim runterfahren von psi nicht aus dem MUC genommen. diff --git a/bin/todo2csv b/bin/todo2csv index e8c58dd..5d28f6b 100755 --- a/bin/todo2csv +++ b/bin/todo2csv @@ -1,25 +1,25 @@ #!/usr/bin/perl # parse the historic CHANGESTODO.txt file and produce -# a csv according to csv2trac format: +# a "tab seperated values" CSV according to csv2trac format: # -# 12 Each line in the CSV file needs to have the following entries -# 13 type text -- the ticket purpose -# 14 time integer -- the time it was created -# 15 changetime integer -# 16 component text -# 17 severity text -# 18 priority text -# 19 owner text -- who is this ticket assigned to -# 20 reporter text -# 21 cc text -- email addresses to notify -# 22 url text -- url related to this ticket -# 23 version text -- -# 24 milestone text -- -# 25 status text -# 26 resolution text -# 27 summary text -- one-line summary -# 28 description text -- problem description (long) -# 29 keywords text +# Each line in the CSV file needs to have the following entries +# type text -- the ticket purpose +# time integer -- the time it was created +# changetime integer +# component text +# severity text +# priority text +# owner text -- who is this ticket assigned to +# reporter text +# cc text -- email addresses to notify +# url text -- url related to this ticket +# version text -- +# milestone text -- +# status text +# resolution text +# summary text -- one-line summary +# description text -- problem description (long) +# keywords text use locale; diff --git a/world/net/include/peers.h b/world/net/include/peers.h index e80e9c5..1af43a3 100644 --- a/world/net/include/peers.h +++ b/world/net/include/peers.h @@ -48,7 +48,8 @@ #define PPL_NOTIFY_DEFAULT PPL_NOTIFY_IMMEDIATE #define PPL_NOTIFY_DELAYED '6' #define PPL_NOTIFY_DELAYED_MORE '4' -#define PPL_NOTIFY_FRIEND PPL_NOTIFY_DELAYED_MORE +#define PPL_NOTIFY_INACTIVE '3' // delivery returned error +#define PPL_NOTIFY_FRIEND PPL_NOTIFY_INACTIVE #define PPL_NOTIFY_MUTE '2' #define PPL_NOTIFY_PENDING '1' // _outgoing friendship request sent #define PPL_NOTIFY_OFFERED '0' // _incoming friendship req received diff --git a/world/net/irc/user.c b/world/net/irc/user.c index 862f06d..275cd1c 100644 --- a/world/net/irc/user.c +++ b/world/net/irc/user.c @@ -846,7 +846,14 @@ logon() { // but i guess it is indeed appropriate to make it clear how very much // different we are from a regular irc server. // - reply(RPL_ISUPPORT, "PSYC=.99 ALIAS AVAILABILITY FRIEND HISTORY MOOD SHOUT SSET STATUS SUBSCRIBE THREAD TRUST PREFIX= CHANTYPES=# CHANMODES= NICKLEN="+ (string)MAX_UNIFORM_LEN +" CHANNELLEN="+ (string)MAX_UNIFORM_LEN +" CASEMAPPING=ascii TOPICLEN=4404 KICKLEN=4404 AWAYLEN=4404 MAXTARGETS=1 CHARSET="+ (v("charset")||SYSTEM_CHARSET) +" NETWORK=" SERVER_HOST " CTCP=PRESENCE,TS UNIFORMS=psyc,xmpp :are supported by this server"); + // reduced TOPICLEN etc from 4404 to 444 because of the 512 limit + // which some legacy clients really require. in fact, since we are + // very lax on uniform length here, it could be possible to attack + // irc clients in a psyc room using suitably long uniforms etc. + // solutions are either a uniform length limit in chatrooms or + // forced autoalias for ircers. + // + reply(RPL_ISUPPORT, "PSYC=.99 ALIAS AVAILABILITY FRIEND HISTORY MOOD SHOUT SSET STATUS SUBSCRIBE THREAD TRUST PREFIX= CHANTYPES=# CHANMODES= NICKLEN="+ (string)MAX_UNIFORM_LEN +" CHANNELLEN="+ (string)MAX_UNIFORM_LEN +" CASEMAPPING=ascii TOPICLEN=444 KICKLEN=444 AWAYLEN=444 MAXTARGETS=1 CHARSET="+ (v("charset")||SYSTEM_CHARSET) +" NETWORK=" SERVER_HOST " CTCP=PRESENCE,TS UNIFORMS=psyc,xmpp :are supported by this server"); // // MAXCHANNELS vs CHANLIMIT - we currently only have a limit on subs // STD? what the hell is STD?