[kopete-devel] Best gift
Is you search for best gift to you or your friends/family... Then proceed to our site and take a look at it. http://eledif.com/gift/ all-ruling butt knuckle forward echelon air map death-due dry-pipe system pseudo-urea ink cap ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
Re: [kopete-devel] [RFC] New Plugin: Privacy Plugin
On Saturday 26 August 2006 17:03, Andre Duffeck wrote: > Hello, > > I've written a new plugin which allows flexible filtering of messages by > the sender or the content of the messages. > > It can > - Drop messages from contacts not on the contactlist > - Drop messages from contacts on the blacklist > - Drop messages from contacts not on the whitelist > - Drop messages that contain one or more words of a list > - Drop messages that contain all words of a list > > It's not finished yet but most parts already work. I'd like to know what > you think of it and wheter i should import it to svn. > > Also, I'm not sure if the name "Privacy" is the best choice :| > Target version of Kopete? -- Matt ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
Re: [kopete-devel] [RFC] New Plugin: Privacy Plugin
Le August 26, 2006 18:03, Andre Duffeck a écrit : > Hello, > > I've written a new plugin which allows flexible filtering of messages by > the sender or the content of the messages. > > It can > - Drop messages from contacts not on the contactlist > - Drop messages from contacts on the blacklist > - Drop messages from contacts not on the whitelist > - Drop messages that contain one or more words of a list > - Drop messages that contain all words of a list > > It's not finished yet but most parts already work. I'd like to know what > you think of it and wheter i should import it to svn. > > Also, I'm not sure if the name "Privacy" is the best choice :| > > Regards, > André Looks like a nice plugin. Privacy is good name IMO. In XMPP, the allow/block list is called the privacy list. Speaking of XMPP, maybe this should be included in core Kopete and integrate with serverside allow/block list. They was some effort in Kopete that never took off, see Kopete::BlackLister in libkopete. But this is just a maybe. First comments (Didn't test the code) - Nice you are using KConfigXT :) - Use radio buttons instead of checkbox. As I read them, the opinions look independant to me and only one can be applied. I can't see why I would want to receive all message and block the message from the black list. This doesn't make sense at all. - Use more explicit variable name than l, w, p. This help for the maintainability in long term and the code is easier to read. This is my personal opinion ;) - You should reuse the metacontact selection dialog (the one from Change Metacontact) to select a contact. Using a text input dialog will be prone to errors. But I guess you used that only for testing :) - Use Protocol:AccountID:ContactID string to store the contact information for the list. Or wait untill we make metacontactId() really unique. -- Michaël Larouche KDE developer working on Kopete, Gamefu(KDE), Solid...on dial-up :P -- Website: http://www.tehbisnatch.org/ MSN/Email: [EMAIL PROTECTED] IRC: irc.freenode.org/DarkShock on #kopete,#solid,#gamefu,#plasma Jabber: [EMAIL PROTECTED] ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
Re: [kopete-devel] [RFC] New Plugin: Privacy Plugin
yay! there are plenty of people that have complained about the lack of blocking features. I'm not one of them, but it's nice to know they might be happy now :) On 8/26/06, Andre Duffeck <[EMAIL PROTECTED]> wrote: > Hello, > > I've written a new plugin which allows flexible filtering of messages by the > sender or the content of the messages. > > It can > - Drop messages from contacts not on the contactlist > - Drop messages from contacts on the blacklist > - Drop messages from contacts not on the whitelist > - Drop messages that contain one or more words of a list > - Drop messages that contain all words of a list > > It's not finished yet but most parts already work. I'd like to know what you > think of it and wheter i should import it to svn. > > Also, I'm not sure if the name "Privacy" is the best choice :| > > Regards, > André > > > ___ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel > > > > -- This message brought to you by evyl bananas and the number 3. www.chani3.com ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
Re: [kopete-devel] [RFC] New Plugin: Privacy Plugin
Oh, i forgot the link to the screenshot: http://img209.imageshack.us/my.php?image=privacyzc6.png Andre ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
[kopete-devel] [RFC] New Plugin: Privacy Plugin
Hello, I've written a new plugin which allows flexible filtering of messages by the sender or the content of the messages. It can - Drop messages from contacts not on the contactlist - Drop messages from contacts on the blacklist - Drop messages from contacts not on the whitelist - Drop messages that contain one or more words of a list - Drop messages that contain all words of a list It's not finished yet but most parts already work. I'd like to know what you think of it and wheter i should import it to svn. Also, I'm not sure if the name "Privacy" is the best choice :| Regards, André Index: CMakeLists.txt === --- CMakeLists.txt (Revision 576968) +++ CMakeLists.txt (Arbeitskopie) @@ -14,6 +14,7 @@ add_subdirectory( alias ) add_subdirectory( addbookmarks ) #add_subdirectory( statistics ) +add_subdirectory( privacy ) if( LIBXML2_FOUND AND LIBXSLT_FOUND ) add_subdirectory( webpresence ) Index: privacy/privacyconfig.kcfgc === --- privacy/privacyconfig.kcfgc (Revision 0) +++ privacy/privacyconfig.kcfgc (Revision 0) @@ -0,0 +1,7 @@ +# Code generation options for kconfig_compiler +File=privacyconfig.kcfg +ClassName=PrivacyConfig +Singleton=true +Mutators=true +MemberVariables=private +GlobalEnums=true Eigenschaftsänderungen: privacy/privacyconfig.kcfgc ___ Name: svn:executable + * Index: privacy/privacypreferences.cpp === --- privacy/privacypreferences.cpp (Revision 0) +++ privacy/privacypreferences.cpp (Revision 0) @@ -0,0 +1,190 @@ +/* +privacypreferences.cpp + +Copyright (c) 2006 by Andre Duffeck <[EMAIL PROTECTED]> +Kopete(c) 2003-2006 by the Kopete developers + +* +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +* +*/ + +#include "privacypreferences.h" +#include "privacyconfig.h" +#include "ui_privacydialog.h" + +#include +#include + +#include +#include + +typedef KGenericFactory PrivacyPreferencesFactory; +K_EXPORT_COMPONENT_FACTORY( kcm_kopete_privacy, PrivacyPreferencesFactory( "kcm_kopete_privacy" ) ) + +PrivacyPreferences::PrivacyPreferences(QWidget *parent, const QStringList &args) + : KCModule(PrivacyPreferencesFactory::instance(), parent, args) +{ + kDebug() << k_funcinfo << "called." << endl; + + QVBoxLayout* l = new QVBoxLayout( this ); + QWidget* w = new QWidget; + p = new Ui::PrivacyPrefsUI; + p->setupUi( w ); + l->addWidget( w ); + + connect(p->chkAllowAll, SIGNAL(toggled(bool)), this, SLOT(slotModified())); + connect(p->chkOnlyWhiteList, SIGNAL(toggled(bool)), this, SLOT(slotModified())); + connect(p->chkAllButBlackList, SIGNAL(toggled(bool)), this, SLOT(slotModified())); + connect(p->chkDropAtLeastOne, SIGNAL(toggled(bool)), this, SLOT(slotModified())); + connect(p->chkDropAtLeastOne, SIGNAL(toggled(bool)), this, SLOT(slotChkDropAtLeastOneToggled())); + connect(p->chkDropAll, SIGNAL(toggled(bool)), this, SLOT(slotModified())); + connect(p->chkDropAll, SIGNAL(toggled(bool)), this, SLOT(slotChkDropAllToggled())); + connect(p->editDropAll, SIGNAL(textChanged()), this, SLOT(slotModified())); + connect(p->editDropAtLeastOne, SIGNAL(textChanged()), this, SLOT(slotModified())); + connect(p->listWhiteList, SIGNAL(itemChanged(QListWidgetItem *)), this, SLOT(slotModified())); + connect(p->listBlackList, SIGNAL(itemChanged(QListWidgetItem *)), this, SLOT(slotModified())); + + connect(p->btnAddToWhiteList, SIGNAL(clicked()), this, SLOT(slotBtnAddToWhiteListClicked())); + connect(p->btnAddToBlackList, SIGNAL(clicked()), this, SLOT(slotBtnAddToBlackListClicked())); + connect(p->btnClearWhiteList, SIGNAL(clicked()), this, SLOT(slotBtnClearWhiteListClicked())); + connect(p->btnClearBlackList, SIGNAL(clicked()), this, SLOT(slotBtnClearBlackListClicked())); + connect(p->btnRemoveFromWhiteList, SIGNAL(clicked()), this, SLOT(slotBtnRemoveFromWhiteListClicked())); + connect(p->btnRemoveFromBlackList, SIGNAL(clicked()), this, SLOT(slotBtnRemoveFromBlackListClicked())); + load(); +} + +PrivacyPreferences::~PrivacyPreferences() +{ + kDebug() << k_funcinfo << "called." << endl; + delete p; +} + +void PrivacyPreferences::load() +{ + kDebug() << k_funcinfo << "called." << endl; + + PrivacyConfig::self()->readConfig(); + + p->chkAllowAll->setCh
[kopete-devel] [Bug 133046] New: error-message on deleting chat-window-theme
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=133046 Summary: error-message on deleting chat-window-theme Product: kopete Version: unspecified Platform: SuSE RPMs OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: kopete-devel kde org ReportedBy: sven.burmeister gmx net Version: 0.12.2 (using KDE KDE 3.5.4) Installed from:SuSE RPMs OS:Linux I installed the blog-theme via khotnewstuff. When I try to delete it, I get an error-message that it could not be deleted. ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
[kopete-devel] [Bug 122317] Cannot delete MSN contact
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=122317 --- Additional Comments From frederic.coiffier free fr 2006-08-26 14:47 --- I don't know if my problem is linked to this bug : With Kopete 0.12.1, when I try to delete an MSN contact, my MSN connection is cut (with no other error). And, when I restart my MSN connection, the contact appears again. So it's impossible to remove this contact. ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
[kopete-devel] [Bug 131718] ICQ authorization request pops up at every login
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=131718 kedgedev centrum cz changed: What|Removed |Added AssignedTo|kopete-devel kde org|kedgedev centrum cz Status|UNCONFIRMED |ASSIGNED everconfirmed|0 |1 ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
[kopete-devel] [Bug 131718] ICQ authorization request pops up at every login
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=131718 kedgedev centrum cz changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|WORKSFORME | --- Additional Comments From kedgedev centrum cz 2006-08-26 12:38 --- I can reproduce it, reopening. ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
[kopete-devel] [Bug 119529] Statistic plugin takes ages to load
--- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=119529 --- Additional Comments From pookey pookey co uk 2006-08-26 09:48 --- nope, you didn't misunderstand at all - I personally would be happy with a 'automatically delete data older then' option with a drop down a '1 month', '3 months' etc. sure, it would be better to optimise the database... but, I'm happy with a quick fix :) ___ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel