You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(160) |
Mar
(119) |
Apr
(111) |
May
(118) |
Jun
(101) |
Jul
(304) |
Aug
(113) |
Sep
(140) |
Oct
(137) |
Nov
(87) |
Dec
(122) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(78) |
Feb
(125) |
Mar
(131) |
Apr
(59) |
May
(121) |
Jun
(166) |
Jul
(150) |
Aug
(137) |
Sep
(73) |
Oct
(58) |
Nov
(27) |
Dec
(60) |
| 2005 |
Jan
(131) |
Feb
(84) |
Mar
(36) |
Apr
(8) |
May
(28) |
Jun
(20) |
Jul
(10) |
Aug
(72) |
Sep
(76) |
Oct
(34) |
Nov
(3) |
Dec
(29) |
| 2006 |
Jan
(13) |
Feb
(92) |
Mar
(7) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(4) |
Aug
(17) |
Sep
(5) |
Oct
(2) |
Nov
(8) |
Dec
(12) |
| 2007 |
Jan
(28) |
Feb
(15) |
Mar
|
Apr
|
May
(8) |
Jun
(4) |
Jul
(5) |
Aug
(8) |
Sep
(20) |
Oct
(38) |
Nov
(65) |
Dec
(92) |
| 2008 |
Jan
(21) |
Feb
(56) |
Mar
(27) |
Apr
(174) |
May
(25) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <jgr...@us...> - 2003-08-22 07:30:48
|
Update of /cvsroot/popfile/windows
In directory sc8-pr-cvs1:/tmp/cvs-serv30514/windows
Modified Files:
installer.nsi
Log Message:
Add favicon
Index: installer.nsi
===================================================================
RCS file: /cvsroot/popfile/windows/installer.nsi,v
retrieving revision 1.108
retrieving revision 1.109
diff -C2 -d -r1.108 -r1.109
*** installer.nsi 18 Aug 2003 12:15:51 -0000 1.108
--- installer.nsi 20 Aug 2003 01:40:12 -0000 1.109
***************
*** 579,582 ****
--- 579,583 ----
File "..\engine\pipe.pl"
File "..\engine\pix.gif"
+ File "..\engine\favicon.ico"
File "..\engine\black.gif"
File "..\engine\otto.gif"
***************
*** 2099,2102 ****
--- 2100,2104 ----
Delete $INSTDIR\*.pl
Delete $INSTDIR\*.gif
+ Delete $INSTDIR\favicon.ico
Delete $INSTDIR\*.exe
Delete $INSTDIR\*.change
|
|
From: <jgr...@us...> - 2003-08-22 07:08:15
|
Update of /cvsroot/popfile/engine/tests/languages In directory sc8-pr-cvs1:/tmp/cvs-serv11093/tests/languages Added Files: Francais.msg Log Message: Test suite for HTML interface Configuration screen that verifies the connection between all the widgets and their corresponding configuration options --- NEW FILE: Francais.msg --- # Copyright (c) 2001-2003 John Graham-Cumming # # This file is part of POPFile # # POPFile 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. # # POPFile is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with POPFile; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Identify the language and character set used for the interface LanguageCode fr LanguageCharset ISO-8859-1 # This is used to get the appropriate subdirectory for the manual ManualLanguage fr # Common words that are used on their own all over the interface Apply Appliquer On Actif Off Inactif TurnOn Activer TurnOff Désactiver Add Ajouter Remove Retirer Previous Précédent Next Suivant From De Subject Sujet Classification Classification Reclassify Reclassifier Undo Annuler Close Fermer Find Chercher Filter Filtrer Yes Oui No Non ChangeToYes Passer à Oui ChangeToNo Passer à Non Bucket Catégorie Magnet Aimant Delete Supprimer Create Créer To A Total Total Rename Renommer Frequency Fréquence Probability Probabilité Score Score Lookup Consulter # The header and footer that appear on every UI page Header_Title Centre de Commande de POPFile Header_Shutdown Arrêter POPFile Header_History Historique Header_Buckets Catégories Header_Configuration Configuration Header_Advanced Avancé Header_Security Sécurité Header_Magnets Aimants Footer_HomePage Site web de POPFile Footer_Manual Manuel Footer_Forums Forums Footer_FeedMe Encouragez-moi! Footer_RequestFeature Demande d'évolution Footer_MailingList Liste de diffusion Configuration_Error1 Le caractère séparateur doit être un unique caractère Configuration_Error2 Le port de l'interface utilisateur doit être un nombre compris entre 1 et 65535 Configuration_Error3 Le port d'écoute POP3 doit être un nombre compris entre 1 et 65535 Configuration_Error4 La taille de page doit être un nombre compris entre 1 et 1000 Configuration_Error5 Le nombre de jours d'historique doit être un nombre compris entre 1 et 366 Configuration_Error6 Le délai d'expiration TCP doit être un nombre compris entre 10 et 300 Configuration_POP3Port Port d'écoute POP3 Configuration_POP3Update Port passé à %s; ce changement ne prendra effet qu'au prochain redémarrage de POPFile Configuration_Separator Séparateur Configuration_SepUpdate Séparateur changé en %s Configuration_UI Port web d'interface utilisateur Configuration_UIUpdate Port web d'interface utilisateur passé à %s; ce changement ne prendra effet qu'au prochain redémarrage de POPFile Configuration_History Nombre de messages par page Configuration_HistoryUpdate Nombre de messages par page passé à %s Configuration_Days Nombre de jours d'historique à conserver Configuration_DaysUpdate Nombre de jours d'historique passé à %s Configuration_UserInterface Interface Utilisateur Configuration_Skins Apparences Configuration_SkinsChoose Choisir une apparence Configuration_Language Langue Configuration_LanguageChoose Choisir une langue Configuration_ListenPorts Ports d'Ecoute Configuration_HistoryView Pages d'Historique Configuration_TCPTimeout Délai d'Expiration de Connexion TCP Configuration_TCPTimeoutSecs Délai d'expiration de connexion TCP en secondes Configuration_TCPTimeoutUpdate Délai d'expiration de connexion TCP passé à %s Configuration_ClassificationInsertion Informations de Classification Configuration_SubjectLine Modification de la ligne Sujet Configuration_XTCInsertion Insertion de X-Text-Classification Configuration_XPLInsertion Insertion de X-POPFile-Link Configuration_Logging Journalisation Configuration_None auncune Configuration_ToScreen à l'écran Configuration_ToFile dans un fichier Configuration_ToScreenFile écran et fichier Configuration_LoggerOutput Sortie Configuration_GeneralSkins Skins Configuration_SmallSkins Small Skins Configuration_TinySkins Tiny Skins Advanced_Error1 '%s' est déjà dans la liste des mots ignorés Advanced_Error2 Les mots ignorés ne peuvent contenir que des caractères alphanumériques ou ., _, -, @ Advanced_Error3 '%s' ajouté à la liste des mots ignorés Advanced_Error4 '%s' n'est pas dans la liste des mots ignorés Advanced_Error5 '%s' retiré de la liste des mots ignorés Advanced_StopWords Mots ignorés Advanced_Message1 Les mots suivants sont ignorés dans toutes les classifications comme ils apparaissent très souvent. Advanced_AddWord Ajouter un mot Advanced_RemoveWord Retirer un mot History_Filter (ne montrant que la catégorie <font color="%s">%s</font>) History_FilterBy Filter By History_Search (recherche du sujet %s) History_Title Messages récents History_Jump Aller au message History_ShowAll Tout afficher History_ShouldBe Devrait être History_NoFrom pas de ligne De History_NoSubject pas de ligne Sujet History_ClassifyAs Classifié comme History_MagnetUsed Aimant utilisé History_ChangedTo Changé en <font color="%s">%s History_Already Déjà reclassifié comme <font color="%s">%s</font> History_RemoveAll Supprimer tout History_RemovePage Supprimer page History_Remove Pour supprimer des entrées dans l'historique cliquez History_SearchMessage Chercher De/Sujet History_NoMessages Pas de messages History_ShowMagnet Aimanté History_Magnet (ne montrant que les messages classifiés par aimant) History_ResetSearch Initialiser Password_Title Mot de Passe Password_Enter Entrez le mot de passe Password_Go Continuer Password_Error1 Mot de passe incorrect Security_Error1 Le port sécurisé doit être un nombre compris entre 1 et 65535 Security_Stealth Mode Furtif/Fonctionnement du Serveur Security_NoStealthMode Non (Mode Furtif) Security_ExplainStats (Quand ceci est activé POPFile envoie une fois par jour les trois valeurs suivantes à un script à www.usethesource.com: bc (le nombre total de vos catégories), mc (le nombre total de messages classifiés par POPFile) et ec (le nombre total d'erreurs de classification). Elles sont alors stockées dans un fichier que j'utiliserai pour publier quelques statistiques sur comment les gens utilisent POPFile et si ça marche bien. Mon serveur web conserve ses fichiers log pendant environ 5 jours puis les efface; je ne recueille aucun lien entre les statisques et les adresses IP individuelles.) Security_ExplainUpdate (Quand ceci est activé POPFile envoie une fois par jour les trois valeurs suivantes à un script à www.usethesource.com: ma (le numéro de version principal de votre POPFile), mi (le numéro de version secondaire de votre POPFile) et bn (le numéro de compilation de votre POPFile). POPFile reçoit une réponse sous la forme d'un graphique qui apparaît en haut de la page si une version plus récente est disponible. Mon serveur web conserve ses fichiers log pendant environ 5 jours puis les efface; je ne recueille aucun lien entre les contrôles de mise à jour et les adresses IP individuelles.) Security_PasswordTitle Mot de passe de l'interface utilisateur Security_Password Mot de passe Security_PasswordUpdate Mot de passe changé en %s Security_AUTHTitle Authentification par mot de passe sécurisé/AUTH Security_SecureServer Serveur sécurisé Security_SecureServerUpdate Serveur sécurisé passé à %s; ce changement ne prendra effet qu'au prochain redémarrage de POPFile Security_SecurePort Port sécurisé Security_SecurePortUpdate Port sécurisé passé à %s; ce changement ne prendra effet qu'au prochain redémarrage de POPFile Security_POP3 Accepter les connexions POP3 de machines distantes Security_UI Accepter les connexions HTTP (Interface Utilisateur) de machines distantes Security_UpdateTitle Contrôle automatique de mise à jour Security_Update Vérifier quotidiennement les mises à jour de POPFile Security_StatsTitle Compte-rendu de statistiques Security_Stats Envoyer quotidiennement des statistiques à John Magnet_Error1 L'aimant '%s' existe déjà pour la catégorie '%s' Magnet_Error2 Le nouvel aimant '%s' interfère avec l'aimant '%s' de la catégorie '%s' et pourrait causer des résultats ambigües. Le nouvel aimant n'est pas ajouté. Magnet_Error3 Nouvel aimant '%s' créé pour la catégorie '%s' Magnet_CurrentMagnets Aimants actuels Magnet_Message1 Les aimants suivants entrainent la classification systématique d'un message dans la catégorie spécifiée. Magnet_CreateNew Créer un nouvel aimant Magnet_Explanation Trois types d'aimants sont disponibles:</b> <ul><li><b>Adresse ou nom de l'expéditeur:</b> Par exemple: jo...@co... pour capter une adresse spécifique, <br />company.com pour capter les messages de tous les expéditeurs de company.com, <br />John Doe pour capter une personne en particulier, John pour capter tous les John</li><li><b>Adresse ou nom du destinataire:</b> Comme un aimant De: mais pour l'adresse du destinataire du message</li><li><b>Mots du sujet:</b> Par exemple: bonjour pour capter tous les messages avec bonjour dans le sujet</li></ul> Magnet_MagnetType Type d'aimant Magnet_Value Valeur Magnet_Always Toujours envoyer dans la catégorie Bucket_Error1 Les noms de catégories ne peuvent contenir que les minuscules de a to z ainsi que - and _ Bucket_Error2 La catégorie nommée %s existe déjà Bucket_Error3 Catégorie nommée %s créée Bucket_Error4 Veuillez entrer un mot non blanc Bucket_Error5 Catégorie %s renommée en %s Bucket_Error6 Catégorie %s effacée Bucket_Title Résumé Bucket_BucketName Nom de catégorie Bucket_WordCount Nombre de mots Bucket_WordCounts Nombres de Mots Bucket_UniqueWords Mots distincts Bucket_SubjectModification Modification du sujet Bucket_ChangeColor Changer la couleur Bucket_NotEnoughData Pas assez de données Bucket_ClassificationAccuracy Performance de Classification Bucket_EmailsClassified Messages classifiés Bucket_EmailsClassifiedUpper Messages Classifiés Bucket_ClassificationErrors Erreurs de classification Bucket_Accuracy Performance Bucket_ClassificationCount Nombre de classifications Bucket_ResetStatistics Initialiser les statisques Bucket_LastReset Dernière initialisation Bucket_CurrentColor La couleur actuelle de %s est %s Bucket_SetColorTo Changer la couleur de %s en %s Bucket_Maintenance Maintenance Bucket_CreateBucket Créer une catégorie nommée Bucket_DeleteBucket Effacer la catégorie nommée Bucket_RenameBucket Renommer la catégorie nommée Bucket_Lookup Examiner Bucket_LookupMessage Examiner le mot dans les catégories Bucket_LookupMessage2 Examiner le résultat pour Bucket_LookupMostLikely <b>%s</b> a le plus de chance d'apparaître dans <font color="%s">%s</font> Bucket_DoesNotAppear <p><b>%s</b> n'apparaît dans aucune catégorie Bucket_DisabledGlobally Désactivé globalement Bucket_To en Bucket_Quarantine Mise en quarantaine SingleBucket_Title Détail pour %s SingleBucket_WordCount Nombre de mots de la catégorie SingleBucket_TotalWordCount Nombre total de mots SingleBucket_Percentage Pourcentage du total SingleBucket_WordTable Table des mots pour %s SingleBucket_Message1 Les mots signalés (*) ont été utilisés pour la classification dans cette session POPFile. Cliquez sur un mot pour examiner sa probabilité pour tous les catégories. SingleBucket_Unique %s seul Session_Title Session POPFile expirée Session_Error Votre session POPFile a expiré. Cela peut être dû à un arrêt/relance de POPFile alors que le navigateur est resté ouvert. Veuillez cliquer sur l'un des liens ci-dessus pour continuer à utiliser POPFile. Header_MenuSummary This table is the navigation menu which allows access to each of the different pages of the control center. History_MainTableSummary This table shows the sender and subject of recently received messages and allows them to be reviewed and reclassified. Clicking on the subject line will show the full message text, along with information about why it was classified as it was. The 'Should be' column allows you to specify which bucket the message belongs in, or to undo that change. The 'Delete' column allows you to delete specific messages from the history if you don't need them anymore. History_OpenMessageSummary This table contains the full text of an email message, with the words that are used for classification highlighted according to the bucket that was most relevant for each. Bucket_MainTableSummary This table provides an overview of the classification buckets. Each row shows the bucket name, the word count total for that bucket, the actual number of individual words in each bucket, whether the email's subject line will be modified when it gets classified to that bucket, whether to quarantine the messages received in that bucket, and a table to pick the color used in displaying anything related to that bucket in the control center. Bucket_StatisticsTableSummary This table provides three sets of statistics on the overall performance of PopFile. The first is how accurate its classification is, the second is how many emails have been classified, and to which buckets, and the third is how many words are in each bucket, and what their relative percentages are. Bucket_MaintenanceTableSummary This table contains forms that allow you to create, delete or rename buckets, and to lookup a word in all of the buckets to see its relative probabilities. Bucket_AccuracyChartSummary This table graphically represents the accuracy of the email classification. Bucket_BarChartSummary This table graphically represents a percentage allocation for each of the different buckets. It is used for both number of emails classified, and total word counts. Bucket_LookupResultsSummary This table shows the probabilities associated with any given word of the corpus. For each bucket, it shows the frequency that that word occurs, the probability that it will occur in that bucket, and the overall effect on the score of the bucket if that word exists in an email. Bucket_WordListTableSummary This table provides a listing of all the words for a particular bucket, organized by common first letter for each row. Magnet_MainTableSummary This table shows the list of magnets that are used to automatically classify email according to fixed rules. Each row shows how the magnet is defined, what bucket it is intended for, and a button to delete the magnet. Configuration_MainTableSummary This table contains a number of forms to allow you to control the configuration of PopFile. Configuration_InsertionTableSummary This table contains buttons that determine whether or not certain modifications are made to the headers or subject line of the email before it is passed on to the email client. Security_MainTableSummary This table provides sets of controls that affect the security of the overall configuration of PopFile, whether it should automatically check for updates to the program, and whether statistics about PopFile's performance should be sent to the central datastore of the program's author for general information. Advanced_MainTableSummary This table provides a list of words that PopFile ignores when classifying email due to their relative frequency in email in general. They are organized per row according to the first letter of the words. |
|
From: <jgr...@us...> - 2003-08-22 06:38:31
|
Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1:/tmp/cvs-serv30514/engine/UI
Modified Files:
HTML.pm
Log Message:
Add favicon
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.188
retrieving revision 1.189
diff -C2 -d -r1.188 -r1.189
*** HTML.pm 31 Jul 2003 16:32:22 -0000 1.188
--- HTML.pm 20 Aug 2003 01:40:12 -0000 1.189
***************
*** 349,352 ****
--- 349,354 ----
my ( $self, $client, $url, $command, $content ) = @_;
+ $self->log_( $url );
+
# See if there are any form parameters and if there are parse them into the %form hash
***************
*** 387,390 ****
--- 389,397 ----
}
+ if ( $url =~ /\/(.+\.ico)/ ) {
+ $self->http_file_( $client, $1, 'image/x-icon' );
+ return 1;
+ }
+
if ( $url =~ /(skins\/.+\.css)/ ) {
$self->http_file_( $client, $1, 'text/css' );
***************
*** 627,630 ****
--- 634,639 ----
$result .= "<link rel=\"stylesheet\" type=\"text/css\" ";
$result .= "href=\"skins/" . $self->config_( 'skin' ) . ".css\" title=\"" . $self->config_( 'skin' ) . "\">\n";
+ $result .= "<link rel=\"shortcut icon\" type=\"image/x-icon\" ";
+ $result .= "href=\"favicon.ico\"" . "\">\n";
}
|
|
From: <jgr...@us...> - 2003-08-22 05:26:23
|
Update of /cvsroot/popfile/engine In directory sc8-pr-cvs1:/tmp/cvs-serv30514/engine Modified Files: Makefile Added Files: favicon.ico Log Message: Add favicon --- NEW FILE: favicon.ico --- (This appears to be a binary file; contents omitted.) Index: Makefile =================================================================== RCS file: /cvsroot/popfile/engine/Makefile,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Makefile 22 Jul 2003 21:34:00 -0000 1.17 --- Makefile 20 Aug 2003 01:40:12 -0000 1.18 *************** *** 53,57 **** $(POPFILE_ZIP): core manual skins ! core: popfile.pl otto.gif pix.gif black.gif bayes.pl pipe.pl insert.pl Classifier/*.pm POPFile/*.pm Proxy/POP3.pm Proxy/Proxy.pm UI/HT??.pm *.change license stopwords rm -f $(POPFILE_ZIP) $(BUILD_ZIP) --- 53,57 ---- $(POPFILE_ZIP): core manual skins ! core: popfile.pl otto.gif pix.gif black.gif bayes.pl pipe.pl insert.pl Classifier/*.pm POPFile/*.pm Proxy/POP3.pm Proxy/Proxy.pm UI/HT??.pm *.change license stopwords favicon.ico rm -f $(POPFILE_ZIP) $(BUILD_ZIP) |
|
From: <jgr...@us...> - 2003-08-22 05:26:22
|
Update of /cvsroot/popfile/engine/languages In directory sc8-pr-cvs1:/tmp/cvs-serv31131 Modified Files: Português do Brasil.msg Log Message: Updated Brazilian Index: Português do Brasil.msg =================================================================== RCS file: /cvsroot/popfile/engine/languages/Português do Brasil.msg,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Português do Brasil.msg 31 Jul 2003 16:32:22 -0000 1.14 --- Português do Brasil.msg 20 Aug 2003 01:45:41 -0000 1.15 *************** *** 1,20 **** # Copyright (c) 2001-2003 John Graham-Cumming ! # ! # This file is part of POPFile ! # ! # POPFile 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. ! # ! # POPFile is distributed in the hope that it will be useful, ! # but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! # GNU General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License ! # along with POPFile; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! # # Identify the language and character set used for the interface --- 1,4 ---- # Copyright (c) 2001-2003 John Graham-Cumming ! # Updated by Fernando de Alcantara Correia <fac...@us...> to v0.19.1 # Identify the language and character set used for the interface *************** *** 24,28 **** # This is used to get the appropriate subdirectory for the manual ManualLanguage br ! # Common words that are used on their own all over the interface Apply Aplicar --- 8,12 ---- # This is used to get the appropriate subdirectory for the manual ManualLanguage br ! # Common words that are used on their own all over the interface Apply Aplicar *************** *** 37,45 **** From De Subject Assunto ! Cc Cc Classification Classificação Reclassify Reclassificar Probability Probabilidade ! Scores Pontuações QuickMagnets Ímãs Rápidos Undo Desfazer --- 21,29 ---- From De Subject Assunto ! Cc Cc Classification Classificação Reclassify Reclassificar Probability Probabilidade ! Scores Pontos QuickMagnets Ímãs Rápidos Undo Desfazer *************** *** 63,67 **** Lookup Procurar Word Palavra ! Count Contagem Update Alterar Refresh Atualizar --- 47,51 ---- Lookup Procurar Word Palavra ! Count Quantidade Update Alterar Refresh Atualizar *************** *** 69,73 **** # The header and footer that appear on every UI page Header_Title Centro de Controle do POPFile ! Header_Shutdown Desligar o POPFile Header_History Histórico Header_Buckets Baldes --- 53,57 ---- # The header and footer that appear on every UI page Header_Title Centro de Controle do POPFile ! Header_Shutdown Desligar Header_History Histórico Header_Buckets Baldes *************** *** 80,84 **** Footer_Manual Manual Footer_Forums Forums ! Footer_FeedMe Contribua Footer_RequestFeature Pedir uma Característica Footer_MailingList Lista de Email --- 64,68 ---- Footer_Manual Manual Footer_Forums Forums ! Footer_FeedMe Me Mantenha! Footer_RequestFeature Pedir uma Característica Footer_MailingList Lista de Email *************** *** 90,106 **** Configuration_Error5 O número de dias no histórico deve ser um número entre 1 e 366 Configuration_Error6 O tempo limite TCP deve ser um número entre 10 e 300 ! Configuration_Error7 A porta XML RPC deve ser um número entre 1 e 65535 Configuration_POP3Port Porta de escuta POP3 ! Configuration_POP3Update Alterada a porta POP3 para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Configuration_XMLRPCUpdate Alterada a porta XML-RPC para %s; esta alteração não terá efeito até que você reinicie o POPFile Configuration_XMLRPCPort Porta de escuta XML-RPC Configuration_SMTPPort Porta de escuta SMTP ! Configuration_SMTPUpdate Alterada a porta SMTP para %s; esta alteração não terá efeito até que você reinicie o POPFile Configuration_NNTPPort Porta de escuta NNTP ! Configuration_NNTPUpdate Alterada a porta NNTP para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Configuration_POP3Separator Caractere separador POP3 computador:porta:usuário ! Configuration_NNTPSeparator Caractere separador NNTP computador:porta:usuário ! Configuration_POP3SepUpdate Alterado o separador POP3 para %s ! Configuration_NNTPSepUpdate Alterado o separador NNTP para %s Configuration_UI Porta da interface web de usuário Configuration_UIUpdate Alterada a porta da interface web de usuário para %s; esta alteração não terá efeito até que você reinicie o POPFile --- 74,90 ---- Configuration_Error5 O número de dias no histórico deve ser um número entre 1 e 366 Configuration_Error6 O tempo limite TCP deve ser um número entre 10 e 300 ! Configuration_Error7 A porta de escuta XML-RPC deve ser um número entre 1 e 65535 Configuration_POP3Port Porta de escuta POP3 ! Configuration_POP3Update A porta POP3 foi alterada para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Configuration_XMLRPCUpdate A porta XML-RPC foi alterada para %s; esta alteração não terá efeito até que você reinicie o POPFile Configuration_XMLRPCPort Porta de escuta XML-RPC Configuration_SMTPPort Porta de escuta SMTP ! Configuration_SMTPUpdate A porta SMTP foi alterada para %s; esta alteração não terá efeito até que você reinicie o POPFile Configuration_NNTPPort Porta de escuta NNTP ! Configuration_NNTPUpdate A porta NNTP foi alterada para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Configuration_POP3Separator Caracter de separação POP3 servidor:porta:usuário ! Configuration_NNTPSeparator Caracter de separação NNTP servidor:porta:usuário ! Configuration_POP3SepUpdate Separador POP3 alterado para %s ! Configuration_NNTPSepUpdate Separador NNTP alterado para %s Configuration_UI Porta da interface web de usuário Configuration_UIUpdate Alterada a porta da interface web de usuário para %s; esta alteração não terá efeito até que você reinicie o POPFile *************** *** 114,126 **** Configuration_Language Linguagem Configuration_LanguageChoose Escolha a linguagem ! Configuration_ListenPorts Opções do Módulo Configuration_HistoryView Exibir Histórico Configuration_TCPTimeout Tempo Limite de Conexão Configuration_TCPTimeoutSecs Tempo limite de conexão em segundos ! Configuration_TCPTimeoutUpdate Alterado o tempo limite de conexão TCP para %s Configuration_ClassificationInsertion Inserção de Texto na Mensagem Configuration_SubjectLine Modificação de linha de assunto ! Configuration_XTCInsertion Cabeçalho X-Text-Classification ! Configuration_XPLInsertion Cabeçalho X-POPFile-Link Configuration_Logging Logging Configuration_None Nada --- 98,110 ---- Configuration_Language Linguagem Configuration_LanguageChoose Escolha a linguagem ! Configuration_ListenPorts Opções de Módulo Configuration_HistoryView Exibir Histórico Configuration_TCPTimeout Tempo Limite de Conexão Configuration_TCPTimeoutSecs Tempo limite de conexão em segundos ! Configuration_TCPTimeoutUpdate Alterado o tempo limite de conexão para %s Configuration_ClassificationInsertion Inserção de Texto na Mensagem Configuration_SubjectLine Modificação de linha de assunto ! Configuration_XTCInsertion Inserção de X-Text-Classification ! Configuration_XPLInsertion Inserção de X-POPFile-Link Configuration_Logging Logging Configuration_None Nada *************** *** 132,150 **** Configuration_SmallSkins Small Skins Configuration_TinySkins Tiny Skins ! Configuration_CurrentLogFile <arquivo corrente de log> ! Advanced_Error1 '%s' já está na lista de Palavras Ignoradas Advanced_Error2 Palavras ignoradas podem somente conter caracteres alfanuméricos, ., _, -, ou @ ! Advanced_Error3 '%s' adicionado na lista de Palavras Ignoradas ! Advanced_Error4 '%s' não está na lista de Palavras Ignoradas ! Advanced_Error5 '%s' removido da lista de Palavras Ignoradas Advanced_StopWords Palavras Ignoradas ! Advanced_Message1 O POPFile ignora as seguintes palavras freqüentemente usadas: Advanced_AddWord Adicionar palavra Advanced_RemoveWord Remover palavra History_Filter (apenas mostrando o balde <font color="%s">%s</font>) ! History_FilterBy Filtrar Por ! History_Search (procurado por de/assunto %s) History_Title Mensagens Recentes History_Jump Ir para a mensagem --- 116,134 ---- Configuration_SmallSkins Small Skins Configuration_TinySkins Tiny Skins ! Configuration_CurrentLogFile <arquivo de log atual> ! Advanced_Error1 '%s' já está na lista de palavras ignoradas Advanced_Error2 Palavras ignoradas podem somente conter caracteres alfanuméricos, ., _, -, ou @ ! Advanced_Error3 '%s' adicionado na lista de palavras ignoradas ! Advanced_Error4 '%s' não estã na lista de palavras ignoradas ! Advanced_Error5 '%s' removido da lista de palavras ignoradas Advanced_StopWords Palavras Ignoradas ! Advanced_Message1 As seguintes palavras são ignoradas de todas as classificações porque ocorrem muito freqüentemente. Advanced_AddWord Adicionar palavra Advanced_RemoveWord Remover palavra History_Filter (apenas mostrando o balde <font color="%s">%s</font>) ! History_FilterBy Filter By ! History_Search (procurado pelo assunto %s) History_Title Mensagens Recentes History_Jump Ir para a mensagem *************** *** 155,159 **** History_ClassifyAs Classificar como History_MagnetUsed Ímã usado ! History_MagnetBecause <b>Ímã Usado</b><p>Classificado para <font color="%s">%s</font> por causa do ímã %s </p> History_ChangedTo Alterado para <font color="%s">%s History_Already Já reclassificado como <font color="%s">%s</font> --- 139,143 ---- History_ClassifyAs Classificar como History_MagnetUsed Ímã usado ! History_MagnetBecause <b>Ímã utilizado</b><p>Classificado para <font color="%s">%s</font> por causa do ímã %s </p> History_ChangedTo Alterado para <font color="%s">%s History_Already Já reclassificado como <font color="%s">%s</font> *************** *** 161,171 **** History_RemovePage Remover a Página History_Remove Para remover entradas do histórico clique ! History_SearchMessage Procurar De/Assunto History_NoMessages Nenhuma mensagem ! History_ShowMagnet magnetizado ! History_ShowNoMagnet não magnetizado History_Magnet (mostrando apenas mensagens classificadas por ímã) History_NoMagnet (mostrando apenas mensagens não classificadas por ímã) ! History_ResetSearch Resetar Password_Title Senha --- 145,155 ---- History_RemovePage Remover a Página History_Remove Para remover entradas do histórico clique ! History_SearchMessage Procurar Remetente/Assunto History_NoMessages Nenhuma mensagem ! History_ShowMagnet Magnetizado ! History_ShowNoMagnet Desmagnetizado History_Magnet (mostrando apenas mensagens classificadas por ímã) History_NoMagnet (mostrando apenas mensagens não classificadas por ímã) ! History_ResetSearch Limpar Password_Title Senha *************** *** 184,203 **** Security_AUTHTitle Servidores Remotos Security_SecureServer Servidor POP3 SPA/AUTH ! Security_SecureServerUpdate Alterado o servidor seguro POP3 SPA/AUTH para %s; esta alteração não terá efeito até que você reinicie o POPFile Security_SecurePort Porta POP3 SPA/AUTH Security_SecurePortUpdate Alterada a porta POP3 SPA/AUTH para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Security_SMTPServer Servidor da cadeia SMTP ! Security_SMTPServerUpdate Alterado o servidor da cadeia SMTP para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Security_SMTPPort Porta da cadeia SMTP ! Security_SMTPPortUpdate Alterada a porta da cadeia SMTP para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Security_POP3 Aceitar conexões POP3 de máquinas remotas (requer reiniciar o POPFile) ! Security_SMTP Aceitar conexões SMTP de máquinas remotas (requer reiniciar o POPFile) ! Security_NNTP Aceitar conexões NNTP de máquinas remotas (requer reiniciar o POPFile) ! Security_UI Aceitar conexões HTTP (Interface de Usuário) de máquinas remotas (requer reiniciar o POPFile) ! Security_XMLRPC Aceitar conexões XML-RPC de máquinas remotas (requer reiniciar o POPFile) Security_UpdateTitle Verificação Automática de Atualização Security_Update Verificar diariamente atualizações para o POPFile Security_StatsTitle Reportar Estatísticas ! Security_Stats Enviar estatísticas diariamente Magnet_Error1 Ímã '%s' já existe no balde '%s' --- 168,187 ---- Security_AUTHTitle Servidores Remotos Security_SecureServer Servidor POP3 SPA/AUTH ! Security_SecureServerUpdate Alterado o servidor POP3 SPA/AUTH para %s; esta alteração não terá efeito até que você reinicie o POPFile Security_SecurePort Porta POP3 SPA/AUTH Security_SecurePortUpdate Alterada a porta POP3 SPA/AUTH para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Security_SMTPServer Servidor de cadeia SMTP ! Security_SMTPServerUpdate Alterado o servidor de cadeia SMTP para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Security_SMTPPort Porta de cadeia SMTP ! Security_SMTPPortUpdate Alterada a porta de cadeia SMTP para %s; esta alteração não terá efeito até que você reinicie o POPFile ! Security_POP3 Aceitar conexões POP3 de máquinas remotas ! Security_SMTP Aceitar conexões SMTP de máquinas remotas (requer reinício do POPFile) ! Security_NNTP Aceitar conexões NNTP de máquinas remotas (requer reinício do POPFile) ! Security_UI Aceitar conexões HTTP (Interface de Usuário) de máquinas remotas (requer reinício do POPFile) ! Security_XMLRPC Aceitar conexões XML-RPC de máquinas remotas (requer reinício do POPFile) Security_UpdateTitle Verificação Automática de Atualização Security_Update Verificar diariamente atualizações para o POPFile Security_StatsTitle Reportar Estatísticas ! Security_Stats Enviar estatísticas para o John diariamente Magnet_Error1 Ímã '%s' já existe no balde '%s' *************** *** 205,215 **** Magnet_Error3 Criar novo ímã '%s' no balde '%s' Magnet_CurrentMagnets Ímãs Atuais ! Magnet_Message1 Os seguintes ímãs fazem os emails serem sempre classificados no balde especificado. Magnet_CreateNew Criar Novo Ímã ! Magnet_Explanation Estes tipos de ímã estão disponíveis: <ul><li>De um endereço ou nome:</b> Por exemplo: jo...@co... para pegar um endereço específico, <br />companhia.com para pegar todo mundo que manda email de companhia.com, <br />João Silva para pegar uma pessoa específica, João para pegar todos os Joãos.</li><li><b>Para/Cc um endereço ou nome:</b> Como um ímã De: mas para o endereço Para:/Cc: em uma mensagem.</li><li><b>Palavras no assunto:</b> Por exemplo: olá para pegar todas as mensagens com olá no assunto.</li></ul> Magnet_MagnetType Tipo do ímã Magnet_Value Valor Magnet_Always Sempre vai para o balde ! Magnet_Jump Pula para a página de ímãs Bucket_Error1 Nomes de balde somente podem conter as letras de a até z minúsculas, números de 0 a 9, mais - e _ --- 189,199 ---- Magnet_Error3 Criar novo ímã '%s' no balde '%s' Magnet_CurrentMagnets Ímãs Atuais ! Magnet_Message1 Os seguintes ímãs fazem as mensagens serem sempre classificadas no balde especificado. Magnet_CreateNew Criar Novo Ímã ! Magnet_Explanation Estes tipos de ímã estão disponíveis:</b> <ul><li><b>Endereço ou nome do remetente:</b> Por exemplo: fu...@em... para pegar um endereço específico, <br />empresa.com para pegar todo mundo que envia de empresa.com, <br />Fulano de Tal para pegar uma pessoa específica, Fulano para pegar todos os Fulanos.</li><li><b>Endereço ou nome de destinatário/cópia:</b> Como um ímã de remetente mas para o endereço Para:/Cc: de uma mensagem.</li> <li><b>Palavras no assunto:</b> Por exemplo: olá para pegar todas as mensagens com olá no assunto.</li></ul> Magnet_MagnetType Tipo do ímã Magnet_Value Valor Magnet_Always Sempre vai para o balde ! Magnet_Jump Ir para a página de ímã Bucket_Error1 Nomes de balde somente podem conter as letras de a até z minúsculas, números de 0 a 9, mais - e _ *************** *** 233,238 **** Bucket_Accuracy Precisão Bucket_ClassificationCount Contagem da Classificação ! Bucket_ClassificationFP Positivos Falsos ! Bucket_ClassificationFN Negativos Falsos Bucket_ResetStatistics Reiniciar Estatísticas Bucket_LastReset Último Reinício --- 217,222 ---- Bucket_Accuracy Precisão Bucket_ClassificationCount Contagem da Classificação ! Bucket_ClassificationFP Falsos Positivos ! Bucket_ClassificationFN Falsos Negativos Bucket_ResetStatistics Reiniciar Estatísticas Bucket_LastReset Último Reinício *************** *** 257,276 **** SingleBucket_Percentage Percentual do total SingleBucket_WordTable Tabela de Palavras para %s ! SingleBucket_Message1 Clique em uma letra no índice para ver a lista de palavras que começam com tal letra. Clique em qualquer palavra para procurar sua probabilidade para todos os baldes. SingleBucket_Unique %s únicas SingleBucket_ClearBucket Remover Todas Palavras ! Session_Title A Sessão do POPFile Expirou ! Session_Error Sua sessão do POPFile expirou. Isto pode ter acontecido por iniciar e finalizar o POPFile mas ter deixado seu navegador web aberto. Por favor clique em um dos links acima para continuar a usar o POPFile. ! View_Title Visualização de Mensagem Única Header_MenuSummary Esta tabela é o menu de navegação que possibilita acesso a cada uma das diferentes páginas do centro de controle. History_MainTableSummary Esta tabela mostra o remetente e o assunto das mensagens recebidas recentemente e permite que elas sejam revisadas e reclassificadas. Clicar na linha de assunto vai mostrar o texto inteiro da mensagem, juntamente com informação sobre por que ela foi classificada como o foi. A coluna 'Deveria ser' permite que você especifique a que balde a mensagem pertence, ou desfazer esta mudança. A coluna 'Remover' permite que você exclua mensagens específicas do histórico se você não precisar mais delas. ! History_OpenMessageSummary Esta tabela contém o texto integral de uma mensagem, com as palavras que são usadas para classificação destacadas de acordo com o balde que foi mais relevante para elas. Bucket_MainTableSummary Esta tabela fornece uma visão geral dos baldes de classificação. Cada linha mostra o nome do balde, a contagem total de palavras para aquele balde, o número real de palavras individuais em cada balde, se o assunto da mensagem vai ser modificado quando ele for classificado para aquele balde, se as mensagens recebidas naquele balde devem ficar em quarentena, e uma tabela para escolher a cor usada para mostrar qualquer coisa relacionada àquele balde no centro de controle. Bucket_StatisticsTableSummary Esta tabela fornece três conjuntos de estatísticas sobre o desempenho geral do PopFile. A primeira é a exatidão da classificação, a segunda é quantas mensagens foram classificadas, e para quais baldes, e a terceira é quantas palavras existem em cada balde, e as suas porcentagens relativas. Bucket_MaintenanceTableSummary Esta tabela contém formulários que permitem que você crie, exclua ou renomeie baldes, e para procurar uma palavra em todos os baldes e ver as suas probabilidades relativas. ! Bucket_AccuracyChartSummary Esta tabela representa graficamente a exatidão da classificação de mensagem. Bucket_BarChartSummary Esta tabela representa graficamente a uma alocação porcentual para cada um dos diferentes baldes. Ela é usada tanto para o número de mensagens classificadas como para o número total de palavras. Bucket_LookupResultsSummary Esta tabela mostra as probabilidades associadas com qualquer palavra específica do corpus. Para cada balde, ela mostra a freqüência com que aquela palavra ocorre, a probabilidade de que ela ocorra naquele balde, e o efeito geral na pontuação do balde se aquela palavra existir em uma mensagem. --- 241,260 ---- SingleBucket_Percentage Percentual do total SingleBucket_WordTable Tabela de Palavras para %s ! SingleBucket_Message1 Clique em uma letra no índice para ver uma lista das palavras que iniciam com aquela letra. Clique em qualquer palavra para pesquisar a sua probabilidade para todos os baldes. SingleBucket_Unique %s únicas SingleBucket_ClearBucket Remover Todas Palavras ! Session_Title Sessão do POPFile Expirada ! Session_Error A sua sessão do POPFile expirou. Isto pode ter sido causado por iniciar e parar o POPFile mas deixando o navegador web aberto. Por favor clique em um dos atalhos acima para continuar a usar o POPFile. ! View_Title Visão de Única Mensagem Header_MenuSummary Esta tabela é o menu de navegação que possibilita acesso a cada uma das diferentes páginas do centro de controle. History_MainTableSummary Esta tabela mostra o remetente e o assunto das mensagens recebidas recentemente e permite que elas sejam revisadas e reclassificadas. Clicar na linha de assunto vai mostrar o texto inteiro da mensagem, juntamente com informação sobre por que ela foi classificada como o foi. A coluna 'Deveria ser' permite que você especifique a que balde a mensagem pertence, ou desfazer esta mudança. A coluna 'Remover' permite que você exclua mensagens específicas do histórico se você não precisar mais delas. ! History_OpenMessageSummary Esta tabela contém o texto integral de uma mensagem, com as palavras que são usadas para classificação destacadas de acordo com o balde que foi mais relevante para elas. Bucket_MainTableSummary Esta tabela fornece uma visão geral dos baldes de classificação. Cada linha mostra o nome do balde, a contagem total de palavras para aquele balde, o número real de palavras individuais em cada balde, se o assunto da mensagem vai ser modificado quando ele for classificado para aquele balde, se as mensagens recebidas naquele balde devem ficar em quarentena, e uma tabela para escolher a cor usada para mostrar qualquer coisa relacionada àquele balde no centro de controle. Bucket_StatisticsTableSummary Esta tabela fornece três conjuntos de estatísticas sobre o desempenho geral do PopFile. A primeira é a exatidão da classificação, a segunda é quantas mensagens foram classificadas, e para quais baldes, e a terceira é quantas palavras existem em cada balde, e as suas porcentagens relativas. Bucket_MaintenanceTableSummary Esta tabela contém formulários que permitem que você crie, exclua ou renomeie baldes, e para procurar uma palavra em todos os baldes e ver as suas probabilidades relativas. ! Bucket_AccuracyChartSummary Esta tabela representa graficamente a exatidão da classificação de mensagens. Bucket_BarChartSummary Esta tabela representa graficamente a uma alocação porcentual para cada um dos diferentes baldes. Ela é usada tanto para o número de mensagens classificadas como para o número total de palavras. Bucket_LookupResultsSummary Esta tabela mostra as probabilidades associadas com qualquer palavra específica do corpus. Para cada balde, ela mostra a freqüência com que aquela palavra ocorre, a probabilidade de que ela ocorra naquele balde, e o efeito geral na pontuação do balde se aquela palavra existir em uma mensagem. *************** *** 281,285 **** Security_MainTableSummary Esta tabela fornece conjuntos de controles que afetam a segurança da configuração geral do PopFile, se ele deve procurar automaticamente por atualizações do programa, e se estatísticas sobre o desempenho do PopFile devem ser enviadas ao banco de dados central do autor do programa para informação geral. Advanced_MainTableSummary Esta tabela fornece uma lista de palavras que o PopFile ignora quando classifica mensagens por causa da sua freqüência relativa nas mensagens em geral. Elas são organizadas por linha de acordo com a primeira letra das palavras. - - --- 265,267 ---- |
|
From: <jgr...@us...> - 2003-08-22 05:26:17
|
Update of /cvsroot/popfile/engine/languages In directory sc8-pr-cvs1:/tmp/cvs-serv31214 Modified Files: Deutsch.msg Log Message: Updated German Index: Deutsch.msg =================================================================== RCS file: /cvsroot/popfile/engine/languages/Deutsch.msg,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Deutsch.msg 31 Jul 2003 16:32:22 -0000 1.17 --- Deutsch.msg 20 Aug 2003 01:46:16 -0000 1.18 *************** *** 1,20 **** # Copyright (c) 2001-2003 John Graham-Cumming - # - # This file is part of POPFile - # - # POPFile 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. - # - # POPFile is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License - # along with POPFile; if not, write to the Free Software - # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - # # Identify the language and character set used for the interface --- 1,3 ---- *************** *** 143,146 **** --- 126,133 ---- Advanced_AddWord Wort hinzufügen Advanced_RemoveWord Wort löschen + Advanced_AllParameters POPFile Konfigurationsparameter + Advanced_Parameter Parameter + Advanced_Value Wert + Advanced_Warning Dies ist eine komplette Liste aller Parameter Ihrer POPFile Konfiguration. Nur für fortgeschrittene Anwender: Sie können jeden Wert ändern und durch einen Klick auf "Ändern" bestätigen. Eingaben werden nicht auf Gültigkeit überprüft! History_Filter (zeige nur Kategorie <font color="%s">%s</font>) *************** *** 266,269 **** --- 253,258 ---- View_Title Nachrichtenansicht + Windows_TrayIcon POPFile-Symbol neben der Uhr anzeigen? + Header_MenuSummary Diese Tabelle ist das Navigationsmenü, das Zugang zu den einzelnen Bereichen des Kontrollzentrums bietet. History_MainTableSummary Diese Tabelle zeigt Absender und Betreff der letzten empfangenen Nachrichten an und ermöglicht es, diese durchzusehen und zu reklassifizieren. Ein Klick auf den Betreff zeigt die vollständige Nachricht an sowie Details, warum diese so und nicht anders klassifiziert wurde. Die Spalte "Sollte sein" ermöglicht es, anzugeben, in welche Kategorie die Nachricht gehört bzw. entsprechende Änderungen rückgängig zu machen. Die Spalte "Delete" ermöglicht es, einzelne Nachrichten aus dem Verlauf zu löschen, falls Sie diese nicht mehr benötigen. *************** *** 281,283 **** --- 270,273 ---- Security_MainTableSummary Diese Tabelle bietet Einstellungsmöglichkeiten, die die Sicherheit von POPFile insgesamt betreffen, ob es automatisch auf neue Versionen prüfen soll oder ob Statistiken über die Leistung von POPFile an eine zentrale Datenbank zwecks der Erstellung von Gesamtstatistiken geschickt werden sollen. Advanced_MainTableSummary Diese Tabelle enthält eine Liste von Wörtern, die POPFile ignoriert, wenn es eine Nachricht analysiert. Dies betrifft Wörter, die besonders häufig in Nachrichten auftauchen. Diese sind reihenweise alphabetisch nach dem ersten Buchstaben sortiert. + |
|
From: <jgr...@us...> - 2003-08-22 05:25:55
|
Update of /cvsroot/popfile/engine/languages In directory sc8-pr-cvs1:/tmp/cvs-serv31364 Modified Files: English.msg Added Files: Hebrew.msg Log Message: Added Hebrew translation --- NEW FILE: Hebrew.msg --- (This appears to be a binary file; contents omitted.) Index: English.msg =================================================================== RCS file: /cvsroot/popfile/engine/languages/English.msg,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** English.msg 31 Jul 2003 16:32:22 -0000 1.39 --- English.msg 20 Aug 2003 01:47:41 -0000 1.40 *************** *** 21,24 **** --- 21,25 ---- LanguageCode en LanguageCharset ISO-8859-1 + LanguageDirection ltr # This is used to get the appropriate subdirectory for the manual |
|
From: <jgr...@us...> - 2003-08-22 04:56:54
|
Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv10250/tests
Modified Files:
TestHTML.tst
Added Files:
TestHTML.script
Log Message:
Improved HTML test runner with scripting mechanism to make it easier to specify URLs to hit and how to match the responses
--- NEW FILE: TestHTML.script ---
# ---------------------------------------------------------------------------------------------
#
# Test script for the HTML interface, loaded by TestHTML.tst
#
# Copyright (c) 2003 John Graham-Cumming
#
# This file is part of POPFile
#
# POPFile 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.
#
# POPFile is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with POPFile; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ---------------------------------------------------------------------------------------------
# To simplify testing the POPFile HTML UI this file contains a script
# that is read by TestHTML.tst and executed. The script consists of instructions
# for specific URLs that are to be hit and instructions for how to match the
# result that comes back
#
# The commands are as follows
#
# URL <url> Set the URL that is to be fetched
# GET Gets the last set URL
# POST/ENDPOST Contains a block of data to be POSTed
# MATCH <data> Match the return from last URL fetch against the data
# MATCH/ENDMATCH Encloses a block of test to find in the return from the last URL fetch
#
# Expect that the following are available to you within the MATCH/ENDMATCH block
#
# $port The port on which the HTML interface is running
# $url URL object for the last URL specified
# $content String containing the return from the last URL fetch
# $sk The current HTML UI session key
# $version Same as $h->version()
# Test the simplest functionality of the HTML interface
# Look for elements that should appear at the TOP and BOTTOM
# of every page
URL http://127.0.0.1:$port
GET
# Common TOP parts
MATCH <title>POPFile Control Center</title>
MATCH <html lang="en">
MATCH <meta http-equiv="Pragma" content="no-cache">
MATCH <meta http-equiv="Expires" content="0">
MATCH <meta http-equiv="Cache-Control" content="no-cache">
MATCH <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
MATCH <link rel="stylesheet" type="text/css" href="skins/SimplyBlue.css" title="SimplyBlue">
MATCH <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
MATCH <link rel="icon" href="popfile.ico" type="image/ico">
# Common MIDDLE parts (i.e. the tabs)
MATCH <a class="menuLink" href="/history?session=$sk&setfilter=">
MATCH History</a>
MATCH <a class="menuLink" href="/buckets?session=$sk">
MATCH Buckets</a>
MATCH <a class="menuLink" href="/magnets?session=$sk&start_magnet=0">
MATCH Magnets</a>
MATCH <a class="menuLink" href="/configuration?session=$sk">
MATCH Configuration</a>
MATCH <a class="menuLink" href="/security?session=$sk">
MATCH Security</a>
MATCH <a class="menuLink" href="/advanced?session=$sk">
MATCH Advanced</a>
# Common BOTTOM parts
MATCH <a class="bottomLink" href="manual/en/manual.html">
MATCH <br>$version<br>
# Verify that each of the pages highlights the correct item on
# the tab bar and hence the simplest level of page serving is working
# correctly
URL http://127.0.0.1:$port/history
GET
MATCH
<td class="menuSelected" align="center">
<a class="menuLink" href="/history?session=$sk&setfilter=">
ENDMATCH
URL http://127.0.0.1:$port/buckets
GET
MATCH
<td class="menuSelected" align="center">
<a class="menuLink" href="/buckets?session=$sk">
ENDMATCH
URL http://127.0.0.1:$port/magnets
GET
MATCH
<td class="menuSelected" align="center">
<a class="menuLink" href="/magnets?session=$sk&start_magnet=0">
ENDMATCH
URL http://127.0.0.1:$port/configuration
GET
MATCH
<td class="menuSelected" align="center">
<a class="menuLink" href="/configuration?session=$sk">
ENDMATCH
URL http://127.0.0.1:$port/security
GET
MATCH
<td class="menuSelected" align="center">
<a class="menuLink" href="/security?session=$sk">
ENDMATCH
URL http://127.0.0.1:$port/advanced
GET
MATCH
<td class="menuSelected" align="center">
<a class="menuLink" href="/advanced?session=$sk">
ENDMATCH
Index: TestHTML.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHTML.tst,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** TestHTML.tst 20 Aug 2003 17:31:11 -0000 1.5
--- TestHTML.tst 20 Aug 2003 20:14:20 -0000 1.6
***************
*** 77,81 ****
$b->initialize();
! my $h = new UI::HTML;
$h->configuration( $c );
--- 77,81 ----
$b->initialize();
! our $h = new UI::HTML;
$h->configuration( $c );
***************
*** 85,90 ****
$h->initialize();
$h->version( 'testsuite' );
! my $sk = $h->{session_key__};
test_assert_equal( $h->url_encode_( ']' ), '%5d' );
--- 85,91 ----
$h->initialize();
$h->version( 'testsuite' );
+ our $version = $h->version();
! our $sk = $h->{session_key__};
test_assert_equal( $h->url_encode_( ']' ), '%5d' );
***************
*** 93,97 ****
test_assert_equal( $h->url_encode_( '[foo]' ), '%5bfoo%5d' );
! my $port = 9000 + int(rand(1000));
pipe my $dreader, my $dwriter;
pipe my $ureader, my $uwriter;
--- 94,98 ----
test_assert_equal( $h->url_encode_( '[foo]' ), '%5bfoo%5d' );
! our $port = 9000 + int(rand(1000));
pipe my $dreader, my $dwriter;
pipe my $ureader, my $uwriter;
***************
*** 135,212 ****
use LWP::Simple;
use URI::URL;
! # Test the simplest functionality of the HTML interface
!
! my $url = url( "http://127.0.0.1:$port" );
! my $content = get($url);
!
! # Look for elements that should appear at the TOP and BOTTOM
! # of every page
!
! # Common TOP parts
!
! test_assert_regexp( $content, "<title>POPFile Control Center</title>" );
! test_assert_regexp( $content, "<html lang=\"en\">" );
! test_assert_regexp( $content, "<meta http-equiv=\"Pragma\" content=\"no-cache\">" );
! test_assert_regexp( $content, "<meta http-equiv=\"Expires\" content=\"0\">" );
! test_assert_regexp( $content, "<meta http-equiv=\"Cache-Control\" content=\"no-cache\">" );
! test_assert_regexp( $content, "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">" );
! test_assert_regexp( $content, "<link rel=\"stylesheet\" type=\"text/css\" href=\"skins/SimplyBlue.css\" title=\"SimplyBlue\">" );
! test_assert_regexp( $content, "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"favicon.ico\">" );
! test_assert_regexp( $content, "<link rel=\"icon\" href=\"popfile.ico\" type=\"image/ico\">" );
!
! # Common MIDDLE parts (i.e. the tabs)
!
! test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/history.session=$sk&setfilter=\">" );
! test_assert_regexp( $content, "History</a>" );
! test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/buckets.session=$sk\">" );
! test_assert_regexp( $content, "Buckets</a>" );
! test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/magnets.session=$sk&start_magnet=0\">" );
! test_assert_regexp( $content, "Magnets</a>" );
! test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/configuration.session=$sk\">" );
! test_assert_regexp( $content, "Configuration</a>" );
! test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/security.session=$sk\">" );
! test_assert_regexp( $content, "Security</a>" );
! test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/advanced.session=$sk\">" );
! test_assert_regexp( $content, "Advanced</a>" );
!
! # Common BOTTOM parts
!
! test_assert_regexp( $content, "<a class=\"bottomLink\" href=\"manual/en/manual.html\">" );
! test_assert_regexp( $content, "<br>" . $h->version() . "<br>" );
! # Verify that each of the pages highlights the correct item on
! # the tab bar and hence the simplest level of page serving is working
! # correctly
! $url = url( "http://127.0.0.1:$port/history" );
! $content = get($url);
! test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/history.session=$sk&setfilter=\">" );
! $url = url( "http://127.0.0.1:$port/buckets" );
! $content = get($url);
! test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/buckets.session=$sk\">" );
! $url = url( "http://127.0.0.1:$port/magnets" );
! $content = get($url);
! test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/magnets.session=$sk&start_magnet=0\">" );
! $url = url( "http://127.0.0.1:$port/configuration" );
! $content = get($url);
! test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/configuration.session=$sk\">" );
! $url = url( "http://127.0.0.1:$port/security" );
! $content = get($url);
! test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/security.session=$sk\">" );
! $url = url( "http://127.0.0.1:$port/advanced" );
! $content = get($url);
! test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/advanced.session=$sk\">" );
# TODO Validate every page in the interface against the W3C HTML 4.01
--- 136,193 ----
use LWP::Simple;
use URI::URL;
+ use String::Interpolate 'interpolate';
! our $url;
! our $content;
! open SCRIPT, "<TestHTML.script";
! while ( my $line = <SCRIPT> ) {
! $line =~ s/^[\t ]+//g;
! $line =~ s/[\r\n\t ]+$//g;
! $line = interpolate( $line );
! if ( $line =~ /^#/ ) {
! next;
! }
! if ( $line =~ /^URL (.+)/ ) {
! $url = url( $1 );
! next;
! }
! if ( $line =~ /^GET$/ ) {
! $content = get($url);
! next;
! }
! if ( $line =~ /^MATCH (.+)$/ ) {
! test_assert_regexp( $content, "\Q$1\E" );
! next;
! }
! if ( $line =~ /^MATCH$/ ) {
! my $block;
! while ( $line = <SCRIPT> ) {
! $line =~ s/^[\t ]+//g;
! $line =~ s/[\r\n\t ]+$//g;
! $line = interpolate( $line );
! if ( $line =~ /^ENDMATCH$/ ) {
! last;
! }
! $block .= "\n" unless ( $block eq '' );
! $block .= $line;
! }
! test_assert_regexp( $content, "\Q$block\E" );
! next;
! }
! }
! close SCRIPT;
# TODO Validate every page in the interface against the W3C HTML 4.01
|
|
From: <ssc...@us...> - 2003-08-22 02:34:42
|
Update of /cvsroot/popfile/engine/Proxy
In directory sc8-pr-cvs1:/tmp/cvs-serv17799
Modified Files:
Proxy.pm
Log Message:
eliminate delays in reading from pipes in last checkin
Index: Proxy.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Proxy/Proxy.pm,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** Proxy.pm 21 Aug 2003 19:47:36 -0000 1.31
--- Proxy.pm 21 Aug 2003 20:53:59 -0000 1.32
***************
*** 216,222 ****
my $message;
! if ( ( $self->{pipe_cache__} eq '' ) && &{ $self->{pipeready_} }($handle) ) {
! # refill the cache when it is empty
sysread($handle, my $string, -s $handle);
--- 216,222 ----
my $message;
! if ( &{ $self->{pipeready_} }($handle) ) {
! # add data to the pipe cache whenever the pipe is ready
sysread($handle, my $string, -s $handle);
|
|
From: <jgr...@us...> - 2003-08-22 02:24:04
|
Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv20578
Modified Files:
MailParse.pm
Log Message:
Merge patch to remove invalid HTML tags and empty pairs
Index: MailParse.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/MailParse.pm,v
retrieving revision 1.156
retrieving revision 1.157
diff -C2 -d -r1.156 -r1.157
*** MailParse.pm 20 Aug 2003 06:05:59 -0000 1.156
--- MailParse.pm 21 Aug 2003 17:57:35 -0000 1.157
***************
*** 61,64 ****
--- 61,85 ----
'yuml' => 255 ); # PROFILE BLOCK STOP
+ # All known HTML tags divided into two groups: tags that generate
+ # whitespace as in 'foo<br></br>bar' and tags that don't such as
+ # 'foo<b></b>bar'. The first case shouldn't count as an empty pair
+ # because it breaks the line. The second case doesn't have any visual
+ # impact and it treated as 'foobar' with an empty pair.
+
+ my $spacing_tags = "address|applet|area|base|basefont" . # PROFILE BLOCK START
+ "|bdo|bgsound|blockquote|body|br|button|caption" .
+ "|center|col|colgroup|dd|dir|div|dl|dt|embed" .
+ "|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6" .
+ "|head|hr|html|iframe|ilayer|input|isindex|label" .
+ "|legend|li|link|listing|map|menu|meta|multicol" .
+ "|nobr|noembed|noframes|nolayer|noscript|object" .
+ "|ol|optgroup|option|p|param|plaintext|pre|script" .
+ "|select|spacer|style|table|tbody|td|textarea" .
+ "|tfoot|th|thead|title|tr|ul|wbr|xmp"; # PROFILE BLOCK STOP
+
+ my $non_spacing_tags = "a|abbr|acronym|b|big|blink" . # PROFILE BLOCK START
+ "|cite|code|del|dfn|em|font|i|img|ins|kbd|q|s" .
+ "|samp|small|span|strike|strong|sub|sup|tt|u|var"; # PROFILE BLOCK STOP
+
#----------------------------------------------------------------------------
# new
***************
*** 912,915 ****
--- 933,960 ----
$self->update_pseudoword( 'html', 'comment', $encoded, $1 );
print "$line\n" if $self->{debug__};
+ }
+
+ # Remove invalid tags. This finds tags of the form [a-z0-9]+ with
+ # optional attributes and removes them if the tag isn't
+ # recognized.
+
+ # FIXME: This also removes tags in plain text emails so a sentence
+ # such as 'To run the program type "program <filename>".' is also
+ # effected. The correct fix seams to be to look at the
+ # Content-Type header and only process mails of type text/html.
+
+ while ( $line =~ s/(<\/?(?!(?:$spacing_tags|$non_spacing_tags)\W)[a-z0-9]+(?:\s+.*?)?\/?>)//i ) {
+ $self->update_pseudoword( 'html', 'invalidtag', $encoded, $1 );
+ print "html:invalidtag: $1\n" if $self->{debug};
+ }
+
+ # Remove pairs of non-spacing tags without content such as <b></b>
+ # and also <b><i></i></b>.
+
+ # FIXME: What about combined open and close tags such as <b />?
+
+ while ( $line =~s/(<($non_spacing_tags)(?:\s+[^>]*?)?><\/\2>)//i ) {
+ $self->update_pseudoword( 'html', 'emptypair', $encoded, $1 );
+ print "html:emptypair: $1\n" if $self->{debug};
}
|
|
From: <jgr...@us...> - 2003-08-22 02:12:03
|
Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1:/tmp/cvs-serv22872/UI
Modified Files:
HTML.pm
Log Message:
Added profiler hints to HTML; HTML test suite coverage now at 64%... just the final hard 26% (History and Buckets) to go
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.192
retrieving revision 1.193
diff -C2 -d -r1.192 -r1.193
*** HTML.pm 21 Aug 2003 17:07:05 -0000 1.192
--- HTML.pm 22 Aug 2003 00:40:05 -0000 1.193
***************
*** 514,518 ****
}
! my %url_table = ( '/security' => \&security_page,
'/configuration' => \&configuration_page,
'/buckets' => \&corpus_page,
--- 514,518 ----
}
! my %url_table = ( '/security' => \&security_page, # PROFILE BLOCK START
'/configuration' => \&configuration_page,
'/buckets' => \&corpus_page,
***************
*** 521,525 ****
'/history' => \&history_page,
'/view' => \&view_page,
! '/' => \&history_page );
# Any of the standard pages can be found in the url_table, the other pages are probably
--- 521,525 ----
'/history' => \&history_page,
'/view' => \&view_page,
! '/' => \&history_page ); # PROFILE BLOCK STOP
# Any of the standard pages can be found in the url_table, the other pages are probably
***************
*** 1045,1051 ****
for my $name (sort keys %{$self->{dynamic_ui__}{configuration}}) {
! $body .= $self->{dynamic_ui__}{configuration}{$name}->configure_item( $name,
\%{$self->{language__}},
! $self->{session_key__} );
}
--- 1045,1051 ----
for my $name (sort keys %{$self->{dynamic_ui__}{configuration}}) {
! $body .= $self->{dynamic_ui__}{configuration}{$name}->configure_item( $name, # PROFILE BLOCK START
\%{$self->{language__}},
! $self->{session_key__} ); # PROFILE BLOCK STOP
}
***************
*** 1165,1171 ****
for my $name (sort keys %{$self->{dynamic_ui__}{security}}) {
! $body .= $self->{dynamic_ui__}{security}{$name}->configure_item( $name,
\%{$self->{language__}},
! $self->{session_key__} );
}
--- 1165,1171 ----
for my $name (sort keys %{$self->{dynamic_ui__}{security}}) {
! $body .= $self->{dynamic_ui__}{security}{$name}->configure_item( $name, # PROFILE BLOCK START
\%{$self->{language__}},
! $self->{session_key__} ); # PROFILE BLOCK STOP
}
***************
*** 1196,1202 ****
for my $name (sort keys %{$self->{dynamic_ui__}{chain}}) {
! $body .= $self->{dynamic_ui__}{chain}{$name}->configure_item( $name,
\%{$self->{language__}},
! $self->{session_key__} );
}
--- 1196,1202 ----
for my $name (sort keys %{$self->{dynamic_ui__}{chain}}) {
! $body .= $self->{dynamic_ui__}{chain}{$name}->configure_item( $name, # PROFILE BLOCK START
\%{$self->{language__}},
! $self->{session_key__} ); # PROFILE BLOCK STOP
}
***************
*** 3131,3135 ****
$self->load_history_cache__() if ( $self->{history_invalid__} == 1 );
! $self->sort_filter_history( $self->{form_}{filter},
$self->{form_}{search},
$self->{form_}{sort} ) if ( ( defined( $self->{form_}{setfilter} ) ) ||
--- 3131,3135 ----
$self->load_history_cache__() if ( $self->{history_invalid__} == 1 );
! $self->sort_filter_history( $self->{form_}{filter}, # PROFILE BLOCK START
$self->{form_}{search},
$self->{form_}{sort} ) if ( ( defined( $self->{form_}{setfilter} ) ) ||
***************
*** 3139,3143 ****
( defined( $self->{form_}{clearall} ) ) ||
( defined( $self->{form_}{clearpage} ) ) ||
! ( $self->{need_resort__} == 1 ) );
# Redirect somewhere safe if non-idempotent action has been taken
--- 3139,3143 ----
( defined( $self->{form_}{clearall} ) ) ||
( defined( $self->{form_}{clearpage} ) ) ||
! ( $self->{need_resort__} == 1 ) ); # PROFILE BLOCK STOP
# Redirect somewhere safe if non-idempotent action has been taken
***************
*** 3196,3203 ****
# Column headers
! my %headers_table = ( '', 'ID',
'from', 'From',
'subject', 'Subject',
! 'bucket', 'Classification');
$body .= "<tr valign=\"bottom\">\n";
--- 3196,3203 ----
# Column headers
! my %headers_table = ( '', 'ID', # PROFILE BLOCK START
'from', 'From',
'subject', 'Subject',
! 'bucket', 'Classification'); # PROFILE BLOCK STOP
$body .= "<tr valign=\"bottom\">\n";
***************
*** 3637,3643 ****
my ( $self ) = @_;
! my @chars = ( 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'U', 'V', 'W', 'X', 'Y',
! 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A' );
$self->{session_key__} = '';
--- 3637,3643 ----
my ( $self ) = @_;
! my @chars = ( 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', # PROFILE BLOCK START
'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'U', 'V', 'W', 'X', 'Y',
! 'Z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A' ); # PROFILE BLOCK STOP
$self->{session_key__} = '';
|
|
From: <jgr...@us...> - 2003-08-22 02:10:10
|
Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1:/tmp/cvs-serv861/UI
Modified Files:
HTML.pm
Log Message:
Added tests for the HTML magnet page
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.193
retrieving revision 1.194
diff -C2 -d -r1.193 -r1.194
*** HTML.pm 22 Aug 2003 00:40:05 -0000 1.193
--- HTML.pm 22 Aug 2003 02:06:27 -0000 1.194
***************
*** 1462,1466 ****
if ( defined( $self->{form_}{count} ) && ( defined( $self->{form_}{update} ) || defined( $self->{form_}{create} ) ) ) {
! for my $i ( 1 .. $self->{form_}{count} ) {
my $mtype = $self->{form_}{"type$i"};
my $mtext = $self->{form_}{"text$i"};
--- 1462,1466 ----
if ( defined( $self->{form_}{count} ) && ( defined( $self->{form_}{update} ) || defined( $self->{form_}{create} ) ) ) {
! for my $i ( 0 .. $self->{form_}{count} ) {
my $mtype = $self->{form_}{"type$i"};
my $mtext = $self->{form_}{"text$i"};
***************
*** 1472,1476 ****
my $obucket = $self->{form_}{"obucket$i"};
! $self->{classifier__}->delete_magnet( $obucket, $otype, $otext );
}
--- 1472,1478 ----
my $obucket = $self->{form_}{"obucket$i"};
! if ( defined( $otype ) ) {
! $self->{classifier__}->delete_magnet( $obucket, $otype, $otext );
! }
}
***************
*** 1651,1655 ****
$body .= "<label class=\"magnetsLabel\" for=\"magnetsAddType\">$self->{language__}{Magnet_MagnetType}:</label><br />\n";
! $body .= "<select name=\"type1\" id=\"magnetsAddType\">\n";
for my $mtype (keys %magnet_types) {
--- 1653,1657 ----
$body .= "<label class=\"magnetsLabel\" for=\"magnetsAddType\">$self->{language__}{Magnet_MagnetType}:</label><br />\n";
! $body .= "<select name=\"type0\" id=\"magnetsAddType\">\n";
for my $mtype (keys %magnet_types) {
***************
*** 1661,1669 ****
# Value widget
$body .= "<label class=\"magnetsLabel\" for=\"magnetsAddText\">$self->{language__}{Magnet_Value}:</label><br />\n";
! $body .= "<input type=\"text\" name=\"text1\" id=\"magnetsAddText\" />\n<br /><br />\n";
# Always Goes to Bucket widget
$body .= "<label class=\"magnetsLabel\" for=\"magnetsAddBucket\">$self->{language__}{Magnet_Always}:</label><br />\n";
! $body .= "<select name=\"bucket1\" id=\"magnetsAddBucket\">\n<option value=\"\"></option>\n";
my @buckets = $self->{classifier__}->get_buckets();
--- 1663,1671 ----
# Value widget
$body .= "<label class=\"magnetsLabel\" for=\"magnetsAddText\">$self->{language__}{Magnet_Value}:</label><br />\n";
! $body .= "<input type=\"text\" name=\"text0\" id=\"magnetsAddText\" />\n<br /><br />\n";
# Always Goes to Bucket widget
$body .= "<label class=\"magnetsLabel\" for=\"magnetsAddBucket\">$self->{language__}{Magnet_Always}:</label><br />\n";
! $body .= "<select name=\"bucket0\" id=\"magnetsAddBucket\">\n<option value=\"\"></option>\n";
my @buckets = $self->{classifier__}->get_buckets();
|
|
From: <jgr...@us...> - 2003-08-22 02:10:10
|
Update of /cvsroot/popfile/engine
In directory sc8-pr-cvs1:/tmp/cvs-serv861
Modified Files:
tests.pl
Log Message:
Added tests for the HTML magnet page
Index: tests.pl
===================================================================
RCS file: /cvsroot/popfile/engine/tests.pl,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** tests.pl 22 Aug 2003 00:25:52 -0000 1.28
--- tests.pl 22 Aug 2003 02:06:27 -0000 1.29
***************
*** 156,160 ****
my $result = !( $test =~ /$expected/m );
! test_report( $result, "unexpected to match of [$expected]", $file, $line, $context );
}
--- 156,160 ----
my $result = !( $test =~ /$expected/m );
! test_report( $result, "unexpected match of [$expected]", $file, $line, $context );
}
|
|
From: <jgr...@us...> - 2003-08-22 02:10:10
|
Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv861/tests
Modified Files:
TestHTML.script TestHTML.tst
Log Message:
Added tests for the HTML magnet page
Index: TestHTML.script
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHTML.script,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** TestHTML.script 22 Aug 2003 00:40:05 -0000 1.9
--- TestHTML.script 22 Aug 2003 02:06:28 -0000 1.10
***************
*** 40,43 ****
--- 40,45 ----
# SETSUBMIT a b Just like doing SETINPUT a b followed by SUBMIT a
# CONFIGIS a b Verify that config item a has value b
+ # MAGNETIS a b c Checks that magnet c exists in bucket a with type b
+ # CLICK a Click the button called a
#
# Expect that the following are available to you within the MATCH/ENDMATCH block
***************
*** 162,173 ****
# TODO Check clearing of individual bucket
! # TODO Magnets Page
! # TODO Check that predefined magnets are presetn
! # TODO Check magnet creation
! # TODO Check magnet change value
! # TODO Check magnet change type
! # TODO Check magnet change bucket
! # TODO Check magnet deletion
# Configuration Page
--- 164,275 ----
# TODO Check clearing of individual bucket
! # Magnets Page
! GET /magnets
!
! # Check that predefined magnets are present
!
! INPUTIS text1 foo
! INPUTIS bucket1 personal
! INPUTIS type1 from
! INPUTIS text2 oldstyle
! INPUTIS bucket2 personal
! INPUTIS type2 from
! INPUTIS text3 bar
! INPUTIS bucket3 personal
! INPUTIS type3 subject
! INPUTIS text4 baz\@baz.com
! INPUTIS bucket4 personal
! INPUTIS type4 to
!
! # Check magnet creation
!
! SETINPUT text0 newmagnet
! SETINPUT type0 subject
! SETSUBMIT bucket0 spam
! INPUTIS text5 newmagnet
! INPUTIS type5 subject
! INPUTIS bucket5 spam
! MAGNETIS spam subject newmagnet
!
! # Check magnet change value
!
! SETSUBMIT text5 newmagnetvalue
! INPUTIS text5 newmagnetvalue
! INPUTIS type5 subject
! INPUTIS bucket5 spam
! MAGNETIS spam subject newmagnetvalue
! INPUTIS text1 foo
! INPUTIS bucket1 personal
! INPUTIS type1 from
! INPUTIS text2 oldstyle
! INPUTIS bucket2 personal
! INPUTIS type2 from
! INPUTIS text3 bar
! INPUTIS bucket3 personal
! INPUTIS type3 subject
! INPUTIS text4 baz\@baz.com
! INPUTIS bucket4 personal
! INPUTIS type4 to
!
! # Check magnet change type
!
! SETSUBMIT type5 to
! INPUTIS type5 to
! INPUTIS text5 newmagnetvalue
! INPUTIS bucket5 spam
! MAGNETIS spam to newmagnetvalue
! INPUTIS text1 foo
! INPUTIS bucket1 personal
! INPUTIS type1 from
! INPUTIS text2 oldstyle
! INPUTIS bucket2 personal
! INPUTIS type2 from
! INPUTIS text3 bar
! INPUTIS bucket3 personal
! INPUTIS type3 subject
! INPUTIS text4 baz\@baz.com
! INPUTIS bucket4 personal
! INPUTIS type4 to
!
! # Check magnet change bucket
!
! SETSUBMIT bucket5 personal
! INPUTIS bucket5 personal
! INPUTIS text5 newmagnetvalue
! INPUTIS type5 to
! MAGNETIS personal to newmagnetvalue
! INPUTIS text1 foo
! INPUTIS bucket1 personal
! INPUTIS type1 from
! INPUTIS text2 oldstyle
! INPUTIS bucket2 personal
! INPUTIS type2 from
! INPUTIS text3 bar
! INPUTIS bucket3 personal
! INPUTIS type3 subject
! INPUTIS text4 baz\@baz.com
! INPUTIS bucket4 personal
! INPUTIS type4 to
!
! # Check magnet deletion
!
! SETINPUT remove5 on
! CLICK delete
! NOTMATCH newmagnetvalue
! NOTMATCH type5
!
! SETINPUT remove1 on
! SETINPUT remove3 on
! CLICK delete
! NOTMATCH "foo"
! NOTMATCH bar
! INPUTIS text1 oldstyle
! INPUTIS bucket1 personal
! INPUTIS type1 from
! INPUTIS text2 baz\@baz.com
! INPUTIS bucket2 personal
! INPUTIS type2 to
! NOTMATCH type3
# Configuration Page
Index: TestHTML.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHTML.tst,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** TestHTML.tst 22 Aug 2003 00:40:05 -0000 1.13
--- TestHTML.tst 22 Aug 2003 02:06:29 -0000 1.14
***************
*** 206,219 ****
my $command = <$dreader>;
! if ( $command =~ /__QUIT/ ) {
print $uwriter "OK\n";
last;
}
! if ( $command =~ /__GETCONFIG (.+)/ ) {
my $value = $c->parameter( $1 );
print $uwriter "OK $value\n";
next;
}
}
}
--- 206,233 ----
my $command = <$dreader>;
! if ( $command =~ /^__QUIT/ ) {
print $uwriter "OK\n";
last;
}
! if ( $command =~ /^__GETCONFIG (.+)/ ) {
my $value = $c->parameter( $1 );
print $uwriter "OK $value\n";
next;
}
+
+ if ( $command =~ /^__CHECKMAGNET ([^ ]+) ([^ ]+) ([^\r\n]+)/ ) {
+ my $found = 0;
+ for my $magnet ($b->get_magnets( $1, $2 ) ) {
+ if ( $magnet eq $3 ) {
+ print $uwriter "OK\n";
+ $found = 1;
+ last;
+ }
+ }
+
+ print $uwriter "ERR\n" if ( !$found );
+ next;
+ }
}
}
***************
*** 263,266 ****
--- 277,293 ----
}
+ if ( $line =~ /^CLICK +(.+)$/ ) {
+ my $name = $1;
+ my ( $form, $input ) = find_form( $name );
+ my $request = undef;
+ $request = $form->click( $name ) if ( defined( $form ) );
+ if ( defined( $request ) ) {
+ my $response = $ua->request( $request );
+ $content = $response->content;
+ @forms = HTML::Form->parse( $content, "http://127.0.0.1:$port" );
+ }
+ next;
+ }
+
if ( $line =~ /^CONFIGIS +([^ ]+) ?(.+)?$/ ) {
my ( $option, $expected ) = ( $1, $2 );
***************
*** 268,273 ****
print $dwriter "__GETCONFIG $option\n";
my $reply = <$ureader>;
! $reply =~ /^OK (.+)$/;
test_assert_equal( $1, $expected, "From script line $line_number" );
next;
}
--- 295,311 ----
print $dwriter "__GETCONFIG $option\n";
my $reply = <$ureader>;
! $reply =~ /^OK ([^\r\n]+)/;
test_assert_equal( $1, $expected, "From script line $line_number" );
+ next;
+ }
+
+ if ( $line =~ /^MAGNETIS +([^ ]+) ([^ ]+) (.+)$/ ) {
+ my ( $bucket, $type, $magnet ) = ( $1, $2, $3 );
+ print $dwriter "__CHECKMAGNET $bucket $type $magnet\n";
+ my $reply = <$ureader>;
+
+ if ( !( $reply =~ /^OK/ ) ) {
+ test_assert( 0, "From script line $line_number" );
+ }
next;
}
|
|
From: <jgr...@us...> - 2003-08-22 02:03:10
|
Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv20912/tests
Modified Files:
TestHTML.script TestHTML.tst TestWordMangle.tst
Log Message:
Added tests for the HTML Advanced page and added new assertion type to test harness
Index: TestHTML.script
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHTML.script,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** TestHTML.script 22 Aug 2003 00:04:24 -0000 1.7
--- TestHTML.script 22 Aug 2003 00:25:52 -0000 1.8
***************
*** 32,35 ****
--- 32,36 ----
# GET <url> Get the URL (note the host and port will be added for you)
# MATCH <data> Match the return from last URL fetch against the data
+ # NOTMATCH <data> Must not match the return from last URL fetch against the data
# MATCH/ENDMATCH Encloses a block of test to find in the return from the last URL fetch
# CODE/ENDCODE Arbitrary code that should be executed
***************
*** 396,399 ****
--- 397,401 ----
SETSUBMIT password
INPUTIS password
+ CONFIGIS html_password
MATCH Updated password to
***************
*** 416,424 ****
CONFIGIS newword
! SETSUBMIT newword four
! MATCH four
! # TODO Check remove ignore word
! # TODO Check change arbitrary parameter
# TODO Check shutdown operation
--- 418,437 ----
CONFIGIS newword
! SETSUBMIT newword four11@.-_
! MATCH four11@.-_
! SETSUBMIT newword ba"d
! MATCH Ignored words can only contain alphanumeric, ., _, -, or @ characters
! # Check remove ignore word
!
! CONFIGIS word
! SETSUBMIT word four11@.-_
! NOTMATCH four11@.-_
!
! # Check change arbitrary parameter
!
! SETSUBMIT parameter_bayes_hostname testhostname
! CONFIGIS bayes_hostname testhostname
! INPUTIS parameter_bayes_hostname testhostname
# TODO Check shutdown operation
Index: TestHTML.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHTML.tst,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TestHTML.tst 22 Aug 2003 00:04:24 -0000 1.11
--- TestHTML.tst 22 Aug 2003 00:25:52 -0000 1.12
***************
*** 33,37 ****
unlink( 'stopwords' );
open STOPS, ">stopwords";
! print "one\ntwo\nthree\n";
close STOPS;
--- 33,37 ----
unlink( 'stopwords' );
open STOPS, ">stopwords";
! print STOPS "one\ntwo\nthree\n";
close STOPS;
***************
*** 282,287 ****
}
! if ( $line =~ /^(SETINPUT|SETSUBMIT) +([^ ]+) (.+)$/ ) {
! form_input( $2, $3 );
next if ( $line =~ /^SETINPUT/ );
}
--- 282,289 ----
}
! if ( $line =~ /^(SETINPUT|SETSUBMIT) +([^ ]+) ?(.+)?$/ ) {
! my ( $name, $value ) = ( $2, $3 );
! $value = '' if ( !defined( $value ) );
! form_input( $name, $value );
next if ( $line =~ /^SETINPUT/ );
}
***************
*** 301,304 ****
--- 303,311 ----
if ( $line =~ /^MATCH +(.+)$/ ) {
test_assert_regexp( $content, "\Q$1\E", "From script line $line_number" );
+ next;
+ }
+
+ if ( $line =~ /^NOTMATCH +(.+)$/ ) {
+ test_assert_not_regexp( $content, "\Q$1\E", "From script line $line_number" );
next;
}
Index: TestWordMangle.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestWordMangle.tst,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TestWordMangle.tst 31 Jul 2003 16:32:22 -0000 1.4
--- TestWordMangle.tst 22 Aug 2003 00:25:52 -0000 1.5
***************
*** 48,51 ****
--- 48,52 ----
test_assert_equal( $w->add_stopword( 'A1234bef66' ), 0 );
test_assert_equal( $w->remove_stopword( 'A1234bef66' ), 0 );
+ test_assert_equal( $w->add_stopword( 'b*ox' ), 0 );
# Getter/setter
|
|
From: <jgr...@us...> - 2003-08-22 00:40:29
|
Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1:/tmp/cvs-serv20912/Classifier
Modified Files:
WordMangle.pm
Log Message:
Added tests for the HTML Advanced page and added new assertion type to test harness
Index: WordMangle.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/WordMangle.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** WordMangle.pm 31 Jul 2003 16:32:20 -0000 1.26
--- WordMangle.pm 22 Aug 2003 00:25:52 -0000 1.27
***************
*** 150,153 ****
--- 150,157 ----
$stopword = $self->mangle( $stopword, 0, 1 );
+ if ( $stopword =~ /[^[:lower:]\-_\.\@0-9]/i ) {
+ return 0;
+ }
+
if ( $stopword ne '' ) {
$self->{stop__}{$stopword} = 1;
|
|
From: <jgr...@us...> - 2003-08-22 00:25:57
|
Update of /cvsroot/popfile/engine
In directory sc8-pr-cvs1:/tmp/cvs-serv20912
Modified Files:
stopwords tests.pl
Log Message:
Added tests for the HTML Advanced page and added new assertion type to test harness
Index: stopwords
===================================================================
RCS file: /cvsroot/popfile/engine/stopwords,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** stopwords 12 Jul 2003 06:37:46 -0000 1.3
--- stopwords 22 Aug 2003 00:25:52 -0000 1.4
***************
*** 1,193 ****
! var
! localhost
! jun
! head
! width
! you
! fri
! src
! did
! tbody
! cst
! cdt
! acronym
! helvetica
! basefont
! pst
! are
! colgroup
! pdt
! htm
! https
! smtp
! dir
! the
! would
! her
! div
! path
! font
! overlay
! mailto
! strike
! tab
! thu
! bgcolor
! center
! area
! frame
! height
! address
! table
! ask
! cite
! have
! base
! lang
! feb
! went
! big
! thead
! script
! listing
! all
! title
! esmtp
! www
! jan
! meta
! alt
! return
! xmp
! sep
! mon
! link
! mail
! http
! was
! from
! does
! cgi
! that
! being
! going
! sub
! html
! embed
! net
! code
! blockquote
! subject
! cellspacing
! multicol
! this
! sun
! col
! com
! sup
! aug
! its
! org
! map
! dec
! helo
! mar
! img
! wbr
! samp
! had
! will
! done
! del
! and
! received
! may
! tfoot
! encoding
! oct
! iframe
! message
! with
! has
! noframes
! caption
! ltd
! your
! spot
! align
! mbox
! having
! doing
! him
! menu
! abbrev
! any
! can
! form
! inc
! valign
! marquee
! his
! nobr
! sans
! range
! for
! color
! dfn
! yes
! yet
! goes
! ins
! could
! she
! span
! were
! textflow
! body
! not
! status
! nov
! bgsound
! small
! also
! blink
! applet
! gmt
! serif
! kbd
! est
! fig
! math
! edt
! tue
! edu
! textarea
! gone
! sat
! frameset
! person
! border
! wed
! apr
! charset
! nbsp
! banner
! strong
! pre
! etc
! input
! off
! param
! it's
! date
! but
! our
! plaintext
! out
! select
! been
! author
! isindex
! jul
! spacer
! note
--- 1,193 ----
! strike
! you
! date
! textflow
! form
! him
! pdt
! also
! code
! acronym
! pst
! valign
! subject
! cgi
! charset
! nbsp
! est
! sun
! your
! but
! title
! and
! multicol
! small
! xmp
! https
! area
! author
! all
! being
! dir
! she
! jan
! color
! will
! have
! received
! going
! serif
! htm
! edt
! can
! mbox
! height
! dfn
! iframe
! were
! com
! would
! off
! img
! etc
! noframes
! http
! bgsound
! jun
! sup
! gmt
! address
! basefont
! abbrev
! head
! tbody
! fri
! may
! ask
! aug
! overlay
! div
! www
! status
! doing
! tue
! person
! his
! cellspacing
! mon
! select
! helo
! esmtp
! alt
! note
! border
! message
! wbr
! big
! thu
! yes
! feb
! input
! table
! has
! not
! that
! meta
! isindex
! gone
! map
! our
! tfoot
! caption
! its
! encoding
! out
! base
! lang
! align
! strong
! marquee
! edu
! applet
! span
! nov
! with
! spacer
! width
! smtp
! goes
! did
! inc
! range
! wed
! frame
! dec
! localhost
! body
! nobr
! bgcolor
! html
! from
! var
! her
! oct
! banner
! del
! math
! blockquote
! path
! any
! spot
! textarea
! cdt
! the
! embed
! done
! yet
! it's
! font
! net
! blink
! thead
! plaintext
! could
! went
! does
! param
! jul
! this
! org
! for
! mailto
! src
! mar
! cst
! kbd
! listing
! ltd
! pre
! are
! having
! center
! helvetica
! samp
! been
! tab
! col
! fig
! mail
! cite
! link
! had
! script
! menu
! colgroup
! sans
! return
! ins
! sep
! was
! sub
! frameset
! sat
! apr
Index: tests.pl
===================================================================
RCS file: /cvsroot/popfile/engine/tests.pl,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** tests.pl 20 Aug 2003 17:30:50 -0000 1.27
--- tests.pl 22 Aug 2003 00:25:52 -0000 1.28
***************
*** 128,131 ****
--- 128,132 ----
#
# test_assert_regexp - Perform a test and assert that its result matches a regexp
+ # test_assert_not_regexp - Perform a test and assert that the regexp does not match
#
# $file The name of the file invoking the test
***************
*** 150,153 ****
--- 151,162 ----
}
+ sub test_assert_not_regexp
+ {
+ my ( $file, $line, $test, $expected, $context ) = @_;
+ my $result = !( $test =~ /$expected/m );
+
+ test_report( $result, "unexpected to match of [$expected]", $file, $line, $context );
+ }
+
# MAIN
***************
*** 184,187 ****
--- 193,197 ----
my $line = $_;
$ln += 1;
+ $line =~ s/(test_assert_not_regexp\()/$1 '$test', $ln,/g;
$line =~ s/(test_assert_regexp\()/$1 '$test', $ln,/g;
$line =~ s/(test_assert_equal\()/$1 '$test', $ln,/g;
|
|
From: <jgr...@us...> - 2003-08-22 00:04:27
|
Update of /cvsroot/popfile/engine/tests In directory sc8-pr-cvs1:/tmp/cvs-serv17991/tests Modified Files: TestHTML.script TestHTML.tst Added Files: TestMailParse024.cls TestMailParse025.cls Log Message: Tests for the HTML security page --- NEW FILE: TestMailParse024.cls --- spam --- NEW FILE: TestMailParse025.cls --- spam Index: TestHTML.script =================================================================== RCS file: /cvsroot/popfile/engine/tests/TestHTML.script,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TestHTML.script 21 Aug 2003 17:59:18 -0000 1.6 --- TestHTML.script 22 Aug 2003 00:04:24 -0000 1.7 *************** *** 214,217 **** --- 214,218 ---- INPUTIS page_size 30 CONFIGIS html_page_size 30 + MATCH Updated number of messages per page to 30 SETSUBMIT page_size 0 MATCH The page size must be a number between 1 and 1000 *************** *** 225,228 **** --- 226,230 ---- INPUTIS history_days 3 CONFIGIS html_history_days 3 + MATCH Updated number of days of history to 3 SETSUBMIT history_days 0 MATCH The number of days in the history must be a number between 1 and 366 *************** *** 236,239 **** --- 238,242 ---- INPUTIS timeout 61 CONFIGIS GLOBAL_timeout 61 + MATCH Updated connection timeout to 61 SETSUBMIT timeout 0 MATCH The TCP timeout must be a number between 10 and 300 *************** *** 247,250 **** --- 250,254 ---- INPUTIS pop3_port 111 CONFIGIS pop3_port 111 + MATCH Updated POP3 port to 111; this change will not take affect until you restart POPFile SETSUBMIT pop3_port 0 MATCH The POP3 listen port must be a number between 1 and 65535 *************** *** 258,261 **** --- 262,266 ---- INPUTIS pop3_separator ; CONFIGIS pop3_separator ; + MATCH Updated POP3 separator to ; SETSUBMIT pop3_separator gg MATCH The separator character must be a single character *************** *** 307,337 **** INPUTIS ui_port 8081 CONFIGIS html_port 8081 SETSUBMIT ui_port 0 MATCH The user interface port must be a number between 1 and 65535 INPUTIS ui_port 8081 ! # TODO Check XMLRPC port ! # TODO Check SMTP port ! # TODO Check NNTP port ! # TODO Check NNTP separator # TODO Check Windows icon ! # TODO Security Page ! # TODO Check POP3 stealth ! # TODO Check SMTP stealth ! # TODO Check NNTP stealth ! # TODO Check XMLRPC stealth ! # TODO Check UI stealth ! # TODO Check POP3 AUTH options ! # TODO Check SMTP chain options ! # TODO Check autoupdate ! # TODO Check statistics sending ! # TODO Check password ! # TODO Advanced Page - # TODO Check presence of ignore words - # TODO Check add ignore word # TODO Check remove ignore word # TODO Check change arbitrary parameter --- 312,422 ---- INPUTIS ui_port 8081 CONFIGIS html_port 8081 + MATCH Updated user interface web port to 8081; this change will not take affect until you restart POPFile SETSUBMIT ui_port 0 MATCH The user interface port must be a number between 1 and 65535 INPUTIS ui_port 8081 ! # TODO Check XMLRPC port (write when doing TestXMLRPC) ! # TODO Check SMTP port (write when doing TestSMTP) ! # TODO Check NNTP port (write when doing TestNNTP) ! # TODO Check NNTP separator (write when doing TestNNTP) # TODO Check Windows icon ! # Security Page ! GET /security ! # Check POP3 stealth ! ! INPUTIS pop3_local 1 ! CONFIGIS pop3_local 1 ! SETSUBMIT pop3_local 1 ! INPUTIS pop3_local 2 ! CONFIGIS pop3_local 0 ! SETSUBMIT pop3_local 2 ! INPUTIS pop3_local 1 ! CONFIGIS pop3_local 1 ! ! # Check UI stealth ! ! INPUTIS localui 1 ! CONFIGIS html_local 1 ! SETSUBMIT localui 1 ! INPUTIS localui 2 ! CONFIGIS html_local 0 ! SETSUBMIT localui 2 ! INPUTIS localui 1 ! CONFIGIS html_local 1 ! ! # Check POP3 AUTH options ! ! INPUTIS server ! CONFIGIS pop3_secure_server ! SETSUBMIT server secure.com ! INPUTIS server secure.com ! CONFIGIS pop3_secure_server secure.com ! MATCH Updated POP3 SPA/AUTH secure server to secure.com; this change will not take affect until you restart POPFile ! ! INPUTIS sport 110 ! CONFIGIS pop3_secure_port 110 ! SETSUBMIT sport 111 ! INPUTIS sport 111 ! CONFIGIS pop3_secure_port 111 ! MATCH Updated POP3 SPA/AUTH port to 111; this change will not take affect until you restart POPFile ! ! # Check autoupdate ! ! INPUTIS update_check 2 ! CONFIGIS html_update_check 0 ! SETSUBMIT update_check 1 ! INPUTIS update_check 2 ! CONFIGIS html_update_check 0 ! SETSUBMIT update_check 2 ! INPUTIS update_check 1 ! CONFIGIS html_update_check 1 ! ! # Check statistics sending ! ! INPUTIS send_stats 2 ! CONFIGIS html_send_stats 0 ! SETSUBMIT send_stats 1 ! INPUTIS send_stats 2 ! CONFIGIS html_send_stats 0 ! SETSUBMIT send_stats 2 ! INPUTIS send_stats 1 ! CONFIGIS html_send_stats 1 ! ! # Check password ! ! INPUTIS password ! CONFIGIS html_password ! SETSUBMIT password secret ! CONFIGIS html_password secret ! MATCH Updated password to secret ! SETSUBMIT password ! INPUTIS password ! MATCH Updated password to ! ! # TODO Check SMTP stealth (write when doing TestSMTP) ! # TODO Check SMTP chain options (write when doing TestSMTP) ! # TODO Check NNTP stealth (write when doing TestNNTP) ! # TODO Check XMLRPC stealth (write when doing TestXMLRPC) ! ! # Advanced Page ! ! GET /advanced ! ! # Check presence of ignore words ! ! MATCH one ! MATCH two ! MATCH three ! ! # Check add ignore word ! ! CONFIGIS newword ! SETSUBMIT newword four ! MATCH four # TODO Check remove ignore word # TODO Check change arbitrary parameter Index: TestHTML.tst =================================================================== RCS file: /cvsroot/popfile/engine/tests/TestHTML.tst,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TestHTML.tst 21 Aug 2003 17:59:18 -0000 1.10 --- TestHTML.tst 22 Aug 2003 00:04:24 -0000 1.11 *************** *** 31,34 **** --- 31,39 ---- test_assert( `rm -rf messages` == 0 ); + unlink( 'stopwords' ); + open STOPS, ">stopwords"; + print "one\ntwo\nthree\n"; + close STOPS; + mkdir 'messages'; my @messages = glob '*.msg'; *************** *** 260,265 **** } ! if ( $line =~ /^CONFIGIS +([^ ]+) (.+)$/ ) { my ( $option, $expected ) = ( $1, $2 ); print $dwriter "__GETCONFIG $option\n"; my $reply = <$ureader>; --- 265,271 ---- } ! if ( $line =~ /^CONFIGIS +([^ ]+) ?(.+)?$/ ) { my ( $option, $expected ) = ( $1, $2 ); + $expected = '' if ( !defined( $expected ) ); print $dwriter "__GETCONFIG $option\n"; my $reply = <$ureader>; *************** *** 269,274 **** } ! if ( $line =~ /^INPUTIS +([^ ]+) (.+)$/ ) { ! test_assert_equal( form_input( $1 ), $2, "From script line $line_number" ); next; } --- 275,282 ---- } ! if ( $line =~ /^INPUTIS +([^ ]+) ?(.+)?$/ ) { ! my ( $name, $expected ) = ( $1, $2 ); ! $expected = '' if ( !defined( $expected ) ); ! test_assert_equal( form_input( $name ), $expected, "From script line $line_number" ); next; } |
Update of /cvsroot/popfile/engine/manual/es
In directory sc8-pr-cvs1:/tmp/cvs-serv30711/es
Added Files:
email.html firewalls.html firsttime.html installing.html
manual.html multiple.html proxies.html spa.html training.html
Log Message:
Added Spanish manual
--- NEW FILE: email.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#cccc99 width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Consiguiendo que su programa de correo se comunique con POPFile</h2>
<p>POPFile funciona como un <i>servidor proxy</i>. Su programa de correo habla a POPFile, el cual habla con su servidor de correo. En lugar de recibir los mensajes directamente en su programa de correo, POPFile los atrapa antes, y los estudia para decidir a qué categoría deben ir destinados.</p>
<p>Una vez que lo ha decidido - lo cual se lleva una fracción de segundo - POPFile hace una de dos: le añade una marca como [esta] al principio del la línea de asunto; lo que significa que programas con filtrado poco elaborado como el Microsoft Outlook Express puede repartir tu correo a donde se supone que deba ir - o, para programas de correo mas avanzados como Eudora, puede añadir una nueva cabecera como esta:</p>
<p><b>X-Text-Classification: personal</b></p>
<p>- la cual puede ser utilizada por su programa de correo como un filtro.</p>
<p>Sin embargo, usted necesitará hacer dos cosas para conseguir que su programa de correo se comunique con POPFile:
<ol><li>Ajustar los valores de su programa de correo para obligarle a hablar con POPFile, y
<li>preparar sus filtros de correo para sacar provecho de esas marcas.</ol></p>
<p>Primero preparemos los valores de correo. Estableceremos filtros en un momento.
<p>Mas abajo estan las instrucciones para algunos de los programas de correo mas populares. Para otros - o para usuarios avanzados - aqui tienen las instrucciones generales:</p>
<p><ul><li>Cambie el nombre del servidor POP3 en su cliente de correo a 127.0.0.1, anotando la dirección original.
<li>Cambie el nombre de usuario POP3 a [direccion-original-del-servidor-POP3]:[usuario]
<li>Deje la contraseña tal cual</ul></p>
<p>Para cuentas que necesiten Autenticación por contraseña segura, vea <a href=spa.html>Usando POPFile con: Autenticación por Contraseña Segura</a>.</p>
<table width=100% bgcolor=#FFFFFF cellspacing=3 border=0><tr>
<td colspan=3 align="center">
Elija su programa de correo y siga las intrucciones de la columna inferior. Si bien estas instrucciones parecen complicadas, solo le tomará un par de minutos - y es dificil equivocarse. (Por si acaso, anote sus valores originales en caso de que necesite dar marcha atras.)
</td></tr><tr>
<td width=25% bgcolor="#FFCCCC" valign="top">
<h3 align=center>Outlook</h3>
<ul>
<li>En Outlook elija la opción de menu Herramientas->Cuentas de correo.... Verá el diálogo para cuentas de correo. <a href=../o_popfile1.gif>[screenshot]</a>
<li>Clic en Ver o cambiar las cuentas de correo existentes y clic Siguiente. Elija la cuenta que quiera utilizar con POPFile y clic Cambiar...
Anote el nombre del servidor de correo entrante (POP3) y el nombre de Usuario. <a href=../o_popfile2.gif>[screenshot]</a>
<li>Cambie el nombre del servidor de correo entrante (POP3) a <b>127.0.0.1</b> y tambien el nombre de Usuario con una combinación del original
nombre del servidor de correo entrante (POP3) y el nombre original de Usuario separados por dos puntos. <a href=../o_popfile3.gif>[screenshot]</a>
<li>Asi, si el nombre original del servidor de correo entrante (POP3) era <b>my.mail.com</b> y su nombre de usuario era <b>jdoe</b>, su nuevo nombre de usuario será <b>my.mail.com:jdoe</b>
<li>No tiene porqué cambiar la contraseña.
<li>Pulse Siguiente y despues Terminar.
<li>Asegúrese de que POPFile está funcionando y todo el correo se repartira a traves de POPFile!
<li>Necesitará asegurarse que POPFile comience cuando lo hace Windows. Si utiliza la versión con instalador para Windows, puede arrastrare el acceso directo 'Start POPFile in Background' desde el grupo POPFile en el menu de Inicio hasta el grupo <b>Inicio</b>. Ahora, Windows iniciará POPFile siempre.
<li>¡Importante! Si no se carga POPFile, el correo no pasará a traves de el - y por lo tanto su programa de correo no conectará con el servidor!
</ul>
</td><td width=25% bgcolor="#CCFFCC" valign="top">
<h3 align=center>Outlook Express</h3>
<ul>
<li>En Outlook Express elija el menu Herramientas->Cuentas... Aparecerá el diálogo de Cuentas de Internet. <a href=../oe_popfile1.gif>[screenshot]</a>
<li>Elija la cuenta que quiere modificar para trabajar con POPFile y clic en Propiedades. <a href=../oe_popfile2.gif>[screenshot]</a>
<li>Elija la pestaña Servidores. Anote los nombres del servidor de Correo Entrante (POP3) y de la cuenta de correo entrante. <a href=../oe_popfile3.gif>[screenshot]</a>
<li>Cambie el nombre de servidor de Correo Entrante (POP3) a <b>127.0.0.1</b> y el Nombre de Cuenta del servidor de correo a una combinación del 'nombre original del servidor para Correo Entrante' (POP3) y el 'Nombre de cuenta original del servidor de Correo Entrante', separados por dos puntos. <a href=../oe_popfile4.gif>[screenshot]</a>
<li>Asi, si el servidor original para Correo Entrante se llamaba <b>my.mail.com</b> y su nombre de usuario era <b>jdoe</b>, su nuevo nombre de usuario será <b>my.mail.com:jdoe</b>
<li>No necesita cambiar la contraseña.
<li>Pulse OK y luego Cerrar.
<li>Asegúrese de que POPFile está funcionando y todo el correo será repartido mediante POPFile!
<li>Necesitará asegurarse de que POPFile arranca cuando lo hace Windows. Si está usando la versión con instalador de Windows installer, puede arrastrar el acceso directo 'Start POPFile in Background' desde el grupo de POPFile en el menu Inicio al grupo <b>Inicio</b>. Ahora, Windows cargará POPFile cada vez que se inicie.
<li>Importante! Si POPFile no se carga, el correo no podra pasar por el - y por lo tanto su programa de correo no podra conectar!
</ul>
</td><td width=25% bgcolor="#CCCCFF" valign="top">
<h3 align=center>Eudora</h3>
<ul>
<li>En Eudora elija la opción de menu Tools->Options... . Aparecerá el diálogo Options. <a href=../e_popfile1.gif>[screenshot]</a>
<li>Anote el nombre de servidor Mail Server (incoming) y el Login Name. <a href=../e_popfile2.gif>[screenshot]</a>
<li>Cambie el nombre de servidor Mail Server (incoming) a <b>127.0.0.1</b> y tambien el Login Name a una combinación del nombre de servidor original del Mail Server (incoming) y el Login Name original separados por dos puntos. <a href=../e_popfile3.gif>[screenshot]</a>
<li>Asi, si el nombre de servidor original del Mail Server (incoming) era <b>my.mail.com</b> y su username era <b>jdoe</b>, su nuevo username será <b>my.mail.com:jdoe</b>
<li>No necesita cambiar la contraseña.
<li>Pulse OK.
<li>Asegúrese de que POPFile está funcionando y todo el correo será repartido mediante POPFile!
<li>Necesitará asegurarse de que POPFile arranca cuando lo hace Windows. Si está usando la versión con instalador de Windows installer, puede arrastrar el acceso directo 'Start POPFile in Background' desde el grupo de POPFile en el menu Inicio al grupo <b>Inicio</b>. Ahora, Windows cargará POPFile cada vez que se inicie.
<li>Importante! Si POPFile no se carga, el correo no podra pasar por el - y por lo tanto su programa de correo no podra conectar!
</ul>
</td><td width=25% bgcolor="#FFCCCC" valign="top">
<h3 align=center>Pegasus</h3>
<ul>
<li> En Pegasus seleccione la pestaña Tools->Internet Options... Receiving (POP3). Aparecerá la página para definir la cuenta POP3.
<li> Bajo General settings para recibir correo usando POP3, seleccione la casilla de diálogo POP3 Host. Anote el valor actual del POP3 host.
<li> Cambie el POP3 Host a <b>127.0.0.1</b>
<li> Bajo General settings para recibir correo usando POP3, seleccione la casilla de diálogo User name. Anote el valor actual del User name.
<li> Cambie el User name a una combinación del nombre original POP3 Host y el User name original separados por dos puntos.
<li> Asi, si el POP3 host original era <b>my.mail.com</b> y su User name era <b>jdoe</b>, su nuevo User name será <b>my.mail.com:jdoe</b>
<li> No necesita cambiar la contraseña.
<li> Clic el botón OK para guardar los cambios.
<li> Asegúrese de que POPFile está funcionando y todo el correo será repartido mediante POPFile!
<li> Necesitará asegurarse de que POPFile arranca cuando lo hace Windows. Si está usando la versión con instalador de Windows installer, puede arrastrar el acceso directo 'Start POPFile in Background' desde el grupo de POPFile en el menu Inicio al grupo <b>Inicio</b>. Ahora, Windows cargará POPFile cada vez que se inicie.
</ul>
</td></tr></table>
<p>Bien. Ya está hecho, es hora de preparar sus filtros de correo, de modo que cuando POPFile haya hecho su trabajo, su programa de correo pueda recogerlo y poner todo en su carpeta correspondiente.</p>
<p>Para usuarios avanzados, tienen la opción de modificar la línea de asunto para añadir una marca de [clasificacion] o no. Está al final de la pestaña de Configuración en el IU web. Sin importar qué opción elija, la cabecera <b>X-Text-Classification</b> se añadirá de todas formas.</p>
<table width=100% bgcolor=#FFFFFF cellspacing=3 border=0><tr>
<td colspan=3 align="center">
Solo elija su programa de correo y siga las intrucciones de la columna inferior. Si bien estas instrucciones parecen complicadas, solo le tomará un par de minutos - y es dificil equivocarse. (Por si acaso, anote sus valores originales en caso de que necesite dar marcha atras.)
</td></tr><tr>
<td width=25% bgcolor="#FFCCCC" valign="top">
<h3 align=center>Outlook</h3>
<ul>
<li>En Outlook seleccione Asistente Herramientas->Reglas... <a href=../o_filter1.gif>[screenshot]</a>
<li>Aparecerá el asistente de Reglas. Haga clic en Nuevo... y elija Empezar desde una regla en blanco. <a href=../o_filter2.gif>[screenshot]</a>
<li>Outlook puede usar la cabecera <b>X-Text-Classification</b>, lo que permitirá que el filtrado de correo transcurra completamente en segundo plano. Haga clic en Siguiente y elija <i>con palabras especificas en la cabecera del mensaje</i>.
<li>Ahora haga clic el enlace resaltado en gris <i>palabras especificas</i> y ponga "X-Text-Classification: " seguido del nombre de una de sus categorías en la casilla que aparezca y pulse Añadir, y luego OK.
<li>Haga clic en Siguiente y seleccione <i>moverlo a la carpeta especificada</i>.
<li>Haga clic en la palabra resaltada en gris <i>especificada</i> y aparecerá una lista de carpetas. Elija la carpeta a la que quiere mover los mensajes de esa categoría y pulse OK.
<li>Pulse OK, y luego Terminar.
<li>Repita el proceso para cada una de sus categorías hasta que termine y salga.
<li>¡Ya está!
<li>Una nota menor: en <a href="http://127.0.0.1:8080">POPFile web interface</a>, bajo la pestaña de Configuracion, compruebe que la opción de Modificar la Linea de Asunto está en <b>off</b>.
</ul>
</td><td width=25% bgcolor="#CCFFCC" valign="top">
<h3 align=center>Outlook Express</h3>
<ul>
<li>En Outlook Express seleccione Herramientas->Reglas de Mensaje->Correo... <a href=../oe_filter1.gif>[screenshot]</a>
<li>Aparecerá la ventana de Regla para el Correo Nuevo. <a href=../oe_filter2.gif>[screenshot]</a>
<li>Outlook Express no puede usar la cabecera <b>X-Text-Classification</b> , lo que permitiría filtrar en segundo plano. Así que en su lugar, haga clic <i>Cuando la línea Asunto contiene palabras especificas</i> y tambien clic
<i>Moverlo a la carpeta especificada</i> <a href=../oe_filter3.gif>[screenshot]</a>
<li>Ahora haga clic en el enlace resaltado en azul <i>contiene palabras especificas</i> y aparecerá el diálogo 'Escriba Palabras Especificas' <a href=../oe_filter4.gif>[screenshot]</a>
<li>Ponga el nombre de una de sus categorías, entre [corchetes], y pulse OK. Ahora pinche la palabra resaltada en azul <i>especificada</i> y aparecerá el diálogo Mover. Haga clic en la carpeta a la que quiera mover los mensajes de esta categoría y pulse OK. <a href=../oe_filter5.gif>[screenshot]</a>
<li>Pulse OK.
<li>Repita el proceso para cada una de sus categorías, y salga.
<li>¡Ya está!
<li>Una nota menor: en <a href="http://127.0.0.1:8080">POPFile web interface</a>, bajo la pestaña de Configuracion, compruebe que la opción de Modificar la Linea de Asunto está en <b>on</b>.
</ul>
</td><td width=25% bgcolor="#CCCCFF" valign="top">
<h3 align=center>Eudora</h3>
<p>Eudora permite filtrar basandose en cualquier cabecera del mensaje, lo que está muy bien - todo puede hacerse en segundo plano, incluso sin cambiar la línea de asunto!</p>
<ul>
<li>Elija el menu Tools->Filters. <a href=../e_filter1.gif>[screenshot]</a>
<li>Aparecerá la ventana Filters. Pinche en New para crear un filtro nuevo. <a href=../e_filter2.gif>[screenshot]</a>
<li>En la casilla Header escriba <b>X-Text-Classification</b> y en la siguiente a 'contains' ponga el nombre de una de sus categorías. <b>No</b> añada los corchetes. <a href=../e_filter3.gif>[screenshot]</a>
<li>Seleccione <b>Transfer To</b> en la primera casilla Action y elija el buzón al que quiere destinar los mensajes de esta categoría. <a href=../e_filter4.gif>[screenshot]</a>
<li>Repita el proceso para cada una de sus categorías.
<li>Cierre la ventana Filters y conteste Yes cuando se le pida guardar los cambios.
<li>¡Ya está!
<li>Una nota menor: en <a href="http://127.0.0.1:8080">POPFile web interface</a>, bajo la pestaña de Configuracion, compruebe que la opción de Modificar la Linea de Asunto está en <b>off</b>.
</ul>
</td><td width=25% bgcolor="#FFCCCC" valign="top">
<h3 align=center>Pegasus</h3>
<ul>
<li> En Pegasus seleccione Tools->Mail Filtering Rules ->Edit New Mail Filtering Rules ->Rules Applied When Folder is Opened.
<li> Aparecerá la ventana New Mail Filtering Rules.
<li> Pinche el botón New Rule. Aparecerá la ventana Create a New Filtering Rule.
<li> Pinche en el botón Expression. Note que utilizando el filtro Expression funcionará incluso si la la opción de POPFile para modificar la línea de Asunto está desactivada. Si usted utiliza el filtro Header, la opción de POPFile para modificar la línea de Asunto deberá activarse.
<li> Seleccione la casilla de diálogo 'If this regular expression'
<li> Ponga el nombre de una de sus categorías, precedido de <b>X-Text-Classification:</b>, por ejemplo: <b>X-Text-Classification: spam</b>
<li> Elija los radiobotónes Headers o body
<li> Elija la acción deseada en la lista desplegable de Action. Por ejemplo Move
<li> Si elije una acción tal como Move o Forward, pinche el botón Set.
<li> Elija la carpeta de destino o ponga el 'forward to address' para la Action elejida.
<li> Pinche el botón OK para añadir la regla a la lista de reglas.
<li> Repita el proceso para cada regla que necesite.
<li> El orden en que se aplican las reglas de filtrado puede ajustarse mediante las flechas roja / azul (up / down) de la ventana New Mail Filter Rules.
<li> Seleccione el botón Save para guardar los cambios al conjunto de reglas.
<li> Seleccione el botón the OK.
<li> ¡Ya está!
</ul>
</td></tr></table>
<h2>¡Ya está todo!... pero...</h2>
A pesar de todo esto, POPFile todavia no filtrará el correo. ¿Porqué no? <i>No sabe para que servirán cada una de las categorías que le ha impuesto.</i> No tiene idea de lo que significa 'spam' y 'genuino', o lo que es 'trabajo' y 'personal'. Ni siquiera sabe en qué lenguaje está tu correo - y no le importa. Necesitas entrenarlo para distinguir spam del correo ordinario, o un proyecto de otro. Harás esto mediante <b>entrenamiento</b> - y <a href="training.html">ya nos liaremos con eso proximamente</a>.
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: firewalls.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Step 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Step 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Step 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Step 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Using POPFile with:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros ProxisOther Proxies</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Utilizando POPFile con cortafuegos</h2>
<p>POPFile necesita permisos completos para actuar como un servidor para su maquina local, y tener permiso para acceder al resto de Internet. Recuerde esto, puesto que POPFile se ha programado con el lenguaje de programación Perl, necesitaras dar permisos a perl.exe, wperl.exe, o en otros sistemas operativos a tu parser Perl.
<p>En ZoneAlarm, puedes responder 'Yes' a cada pregunta y marcar la casilla 'Always allow...'. POPFile no necesita tener acceso a Internet como servidor a menos que quieras que otras personas de fuera de tu maquina compartan tu copia de POPFile.</p>
<p>Nota Importante: esto dará a todos los programas Perl permisos para actuar como servidores!</p>
<p>Actualmente no existen problemas conocidos entre POPFile y los cortafuegos, siempre y cuando se le permita conectar al puerto que necesite.</p>
<center><img src=../zonealaram.gif></center>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: firsttime.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#cccc99 width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Definición de Categoría</h2>
<p>POPFile es un programa extremadamente versatil. Puede pedirle que solo separe el correo real del correo basura, o para separar el correo del trabajo, la familia y la basura, o para filtrar automaticamente entre una docena de proyectos sobre los que recibe correo.</p>
<p>Una <i>categoría</i> es lo que parece - es una de las muchas carpetas en las que se puede clasificar su correo. Puede tener una para la basura y otra para el correo normal, o una para su correo personal, una para el trabajo, y otra para la basura. Depende de usted.</p>
<p>Si acaba de instalar POPFile y está observando el interface web por primera vez, verá una página en limpio del 'Historial'. Haga clic en la pestaña 'Categorías' en la parte superior del interface.</p>
<p>Para definir sus categorías, digamos que quiere tres categorías: <tt>trabajo</tt>, <tt>personal</tt> y <tt>basura</tt>. Un poco mas abajo de la página 'categorías', hay una pestaña de 'Mantenimiento', con una casilla titulada 'Crear categoría de nombre:'. Cree una categoría por vez - recuerde, ajustelas a lo que desee - 'spam' y 'real', o 'trabajo', 'casa' y 'spam' - o uno por cada uno de sus proyectos.</p>
<p><i>(Nota: cuantas mas categorías existan, mas tardará en entrenar a POPFile - pero mas util llegará a ser.)</i></p>
<p>Cuando ya esten creadas todas las categorías que desee, POPFile estará preparado para clasificar el correo. <a href="email.html">Es hora de hacer que su programa de correo se comunique con POPFile.</a></p>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: installing.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Instalando POPFile</h2>
<p>POPFile viene en dos versiones - una versión para Windows facil de instalar, y otra versión multi-plataforma para usuarios con inquietudes tecnicas. Una vez instalado, las dos son identicas.</p>
<h3>Versión para Windows 'facil de instalar'</h3>
<p>Descargue el instalador para Windows desde la <a href=http://sourceforge.net/project/showfiles.php?group_id=63137>Página de descarga de POPFile</a>, ejecute <tt>setup.exe</tt> y siga las instrucciones que se le presenten. Puede iniciar POPFile desde el Menu de Inicio (Inicio > Programas > POPFile > Run POPFile in Background), o reiniciar y arrancará automaticamente. <b>Nota Importante:</b> no se presentará nada en su pantalla! Para comprobar que está funcionando correctamente, lea mas abajo la sección "Accediendo a POPFile".</p>
<h4>Necesidades del sistema</h4>
<p>Necesitará varias cosas para empezar con POPFile.</p>
<ol>
<li>La última versión de POPFile.</li>
<li>Una cuenta de correo que utilize el protocolo POP3 (la mayoria de las cuentas lo usan, pero no se puede usar POPFile con servicios basados en web como Hotmail y Yahoo! Mail sin utilizar programas extra)</li>
<li>Unos 2MB de espacio libre en el disco</li>
</ol>
<p>Puede obtener un archivo zip con la última versión de POPFile al principio de la lista de paquetes de la <a href="http://sourceforge.net/project/showfiles.php?group_id=63137">Página de descarga de POPFile</a>. Los usuarios de Windows necesitan solo el archivo de la sección Windows.</p>
<p>POPFile ocupa sobre un mega. La lista de palabras (llamada el corpus) que se utiliza para clasificar su correo necesitará espacio adicional dependiendo de cuanto correo use usted para entrenar POPFile y cuantas categorías cree. </p>
<h3>Versión Multi-Plataforma</h3>
<p>Consiga que <a href="http://www.perl.com">Perl</a> funcione en su ordenador, descargue despues el archivo zip de POPFile Perl desde la <a href=http://popfile.sourceforge.net/>Página de POPFile</a>, y extráigalo a una carpeta. En las plataformas Windows, arránquelo mediante el comando <tt>perl popfile.pl</tt>.
<hr>
<h2>Comprobando que POPFile está funcionando correctamente</h2>
<p>POPFile no tiene un interface tradicional como la mayoría de los programas - podrá acceder a él mediante su navegador web. No se preocupe - a menos que usted lo decida, nadie podrá acceder a él desde fuera de su ordenador .</p>
<p>Para cargar POPFile, vaya a <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a>, o (para la versión de Windows) clic en el acceso directo 'POPFile Web Interface' de su Menu de Inicio. <b>Nota Importante</b>: si, durante el proceso de instalación en Windows, usted elije un puerto diferente para comunicarse con POPFile, cambie la parte "8080" con lo que haya elegido.</p>
<p>Si recibe un mensaje de error, compruebe que POPFile está funcionando de verdad, y que usted ha puesto bien el número de puerto (debeberíaser 8080, pero si usted lo ha cambiado, necesitará cambiarlo también en la dirección web a la que quiere acceder.)</p>
<p>Si ya ve la pantalla de POPFile, felicidades! Es hora de decidir como quiere que se ordene su correo. <a href="firsttime.html">Sigamos con la definición de Categorías. >></a></p>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: manual.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2 align=center>Welcome to POPFile.</h2>
<p>POPFile es una herramienta de clasificación automatica de correo. Una vez que la haya preparado y entrenado como necesita, funcionará en segundo plano en su ordenador, estudiando el correo que le llegue y filing it como usted desee. Puede darle un trabajo sencillo como separar el correo basura, o uno complicado - como filing el correo en una docena de carpetas. Piense en el como un asistente personal para su bandeja de entrada.</p>
<p>Para aprender como preparar POPFile, elija por favor una de las opciones siguientes.</p>
<ol>
<li><a href="installing.html">Instalando POPFile</a>
<li><a href="firsttime.html">Preparando Categorías para clasificación del correo</a>
<li><a href="email.html">Haciendo que su programa de correo trabaje con POPFile</a>
<li><a href="training.html">Entrenando a POPFile</a>
<p>Una vez que usted realice lo básico de POPFile encontrará respuestas a otras preguntas en las secciones que cubren:</p>
<li><a href="firewalls.html">Utilizando POPFile con un cortafuegos</a>
<li><a href="spa.html">POPFile y Autenticación por Contraseña Segura (incluyendo MSN)</a>
<li><a href="proxies.html">POPFile y otros proxis</a>
<li><a href="multiple.html">Utilizando POPFile con varias direcciones de correo</a>
</ol>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: multiple.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Utilizando POPFile con varias cuentas de correo</h2>
<p>POPFile trabajará automaticamente con varias cuentas de correo; no es necesario que te molestes en ello.
<p>POPFile utilizará el mismo conjunto de Categorías y el mismo Historial para todas las cuentas de correo.</p>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: proxies.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Utilizando POPFile con otros proxis tales como escáneres de virus</h2>
<p>Si utilizas un proxy para escanear el correo que haya cambiado los valores de tu programa correo como hacen algunas versiones del Antivirus Norton, entonces POPFile no funcionará tal cual: el proxy de correo se apoderará de tus correos. Necesitas configurar POPFile para que se comunique con el escáner de correo. (Si tu escaner de virus no cambia los valores de tu servidor de correo POP3 entonces no hay necesidad de seguir estas instrucciones).</p>
<p>(Asi que, basicamente, los correos los descarga el antivirus, los pasa a POPFile, y luego - finalmente - se envian a tu programa de correo.)</p>
<p>Ahora bien, dado que diferentes marcas de escáneres de correo funcionan de forma diferente, nosotros trabajaremos así:
<ol><li>Desactivar el escáner de correo y volver tus valores a los normales.
<li>Decirle a POPFile que escuche las conexiones en un puerto diferente.
<li>Decirle a tu programa de correo que se conecte a POPFile en un puerto diferente.
<li>Re-activar el escáner de correo con los nuevos valores.</ol></p>
<h3>Desactivando tu escáner de correo</h3>
<p>Para ello siga las instrucciones de su fabricante.</p>
<h3>Cambiar el puerto de POPFile</h3>
<p>Diríjase a la pestaña de Configuración del Interface Web, y cambie su <b>Puerto de escucha POP3</b> a cualquier número parecido - recomendamos 123. Clic Aplicar.</p>
<h3>Cambiar el puerto en tu programa de correo</h3>
<table width=100% bgcolor=#FFFFFF cellspacing=3 border=0><tr>
<td colspan=3 align="center">
Elija su programa de correo y siga en la columna inferior. Aunque estas instrucciones parezcan complicadas, en realidad tardaras dos minutos - y es dificil equivocarse. (Solo por si acaso, anote sus valores originales en caso de que necesite volver a empezar.)
</td></tr><tr>
<td width=33% bgcolor="#FFCCCC" valign="top">
<h3 align=center>Outlook</h3>
<ul>
<li>Vaya al menu Herramientas -> Cuentas de Correo.
<li>Haga clic en Ver o cambiar cuentas de correo existentes y pinche en Siguiente.
<li>Seleccione su cuenta, y haga clic en Cambiar.
<li>Haga clic en el botón Mas Ajustes.
<li>Pinche en la pestaña Avanzado.
<li>Junto a Servidor de correo entrante (POP3), ponga el mismo número que eligió anteriormente (recomendamos 123).
<li>Haga clic en OK, y repita el proceso para cada una de las cuentas que quiera utilizar con POPFile.
</ul>
</td><td width=34% bgcolor="#CCFFCC" valign="top">
<h3 align=center>Outlook Express</h3>
<ul>
<li>Vaya a al menu Herramientas -> Cuentas.
<li>Seleccione su cuenta y haga clic en Propiedades.
<li>Haga clic en la pestaña Avanzado.
<li>Junto a Correo Entrante (POP3), ponga el mismo número que eligió anteriormente (recomendamos 123).
<li>Haga clic en OK, y repita el proceso para cada una de las cuentas que quiera utilizar con POPFile.
</ul>
</td><td width=33% bgcolor="#CCCCFF" valign="top">
<h3 align=center>Eudora</h3>
<ul>
<li>Los valores de puerto de Eudora están en sus ocultos, 'esotericos' settings.
<li>Vaya a 'Mi Ordenador' y navegue hasta el directorio en el que está instalado Eudora - normalmente es C:\Archivos de Programa\Qualcomm\Eudora
<li>Haga clic en la carpeta 'extrastuff'.
<li>Selecione el archivo 'esoteric.epi', y copielo mediante el menu Editar > Copiar.
<li>Regrese al directorio principal de Eudora, y peguelo mediante Editar > Pegar.
<li>Arranque Eudora.
<li>Vaya al menu Tools -> Options.
<li>Desplacese hasta el final de la lista opciones y elija 'Ports & Protocols'.
<li>Junto a 'POP3', ponga el mismo número que eligió anteriormente (recomendamos 123).
<li>Haga clic en OK. Ya está.
</ul>
</td></tr></table>
<h3>Re-active su escáner de correo.</h3>
Reactive su escáner (consulte el manual de su escáner) y este debebería ajustar automaticamente todo. El correo debebería estar ya escaneado y ordenado.
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: spa.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Utilizando POPFile con Autenticación por Contraseña Segura (SPA)</h2>
<p>Diríjase a la pestaña de Seguridad del interface web, y ponga allí el nombre de servidor y el puerto de su servidor protegido por Autenticación con Contraseña Segura. Una vez hecho, solo necesita cambiar el nombre de servidor en su programa de correo a 127.0.0.1 - no necesitará cambiar el nombre de usuario.</p>
<p>Por desgracia, de momento solo se puede tener una cuenta SPA con cada instalación de POPFile.</p>
<h2>Una nota sobre la Autenticación por Contraseña Segura de MSN </h2>
<ol>
<li> Tendrá que iniciar popfile con el siguiente comando
(escríbalo exactamente así)
<blockquote><b>perl popfile.pl -port 110 -server pop3.email.msn.com -sport
110</b></blockquote>
<li> En sus cuentas, pestaña servidor, asegúrese de que tiene la siguiente información:
<p>
Servidor de correo entrante: 127.0.0.1<br>
Nombre de la Cuenta: SOLO_SU_NOMBRE_DE_CUENTA_MSN
<p>
Compruebe que esté marcado "Iniciar sesion usando autenticación de contraseña segura"
<p>
En la pestaña Avanzado, asegúrese de que el puerto para su correo entrante
esté puesto en 110 y el 'El servidor requiere una conexión segura (SSL)' está SIN MARCAR.
<p>
<li> Usted debebería poder comprobar ahora su correo pinchando
en el nombre de cuenta situado en el 'Icono de descarga de Correo'.
</ol>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
--- NEW FILE: training.html ---
<html><head><title>Documentación de POPFile</title><style type=text/css>H1,H2,H3,P,TD {font-family: sans-serif;}</style>
</head>
<body bgcolor=#fcfcfc><table width=100% cellspacing=0 cellpadding=0><tr><td bgcolor=#ededca> <font size=+3>Documentación de POPFile</font><td bgcolor=#ededca align=right> <tr height=3 bgcolor=#cccc99><td colspan=2 height=3 bgcolor=#cccc99></td></tr></table><p>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Primeros ajustes:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%>Paso 1<br><font size=+1><b> <a href="installing.html">Instalando</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 2<br><font size=+1><b> <a href="firsttime.html">Definiendo Categorías</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center>Paso 3<br><font size=+1><b> <a href="email.html">Lectores de Correo</a></b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%>Paso 4<br><font size=+1><b> <a href="training.html">Entrenamiento</a></b></font></td>
<td width=25%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
<table width=100% cellspacing=0><tr>
<td width=40% align=right><font size=+1><b>Utilizando POPFile con:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="firewalls.html">Cortafuegos</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="spa.html">Autenticación por Contraseña Segura</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="proxies.html">Otros Proxis</a></b></font><br></td>
<td width=2></td>
<td align=center bgcolor=#ededca width=15%><font size=+1><b> <a href="multiple.html">Varias Cuentas de Correo</a></b></font></td>
</tr>
</table>
<table width=100% cellpadding=12 cellspacing=0 bordercolor=#cccc99 border=2><tr><td width=100% valign=top bgcolor=#ededca>
<h2>Entrenando POPFile</h2>
<p>Recién instalado en limpio, POPFile es estúpido. No sabe lo que es spam, lo que es correo electrónico, o lo que significan cualquiera de las categorías que has especificado. Se necesitará un poco de tiempo para entrenarlo.</p>
<h3>Cuando POPFile Cometa un Error (¡...y lo hará!)</h3>
<p>El sistema de clasificación de POPFile necesita ser entrenado un rato antes de que llegue a ser efectivo - cuanto mas se le entrene, mas efectivo llegará a ser. De echo, ni siquiera clasificará el correo la primera vez que lo use - lo dejará como "sin clasificar".</p>
<p>Cuando POPFile clasifique mal un correo, o no lo clasifique, vaya al interface web y eche un vistazo a la pestaña 'Historial' (se carga por defecto). Allí, verá mas o menos los ultimos veinte correos que ha recibido, junto a como los ha clasificado POPFile . (Si quiere saber el porqué POPFile clasificó un correo como lo hizo, haga clic en la línea de asunto.) En cada correo que esté mal, corrija a POPFile seleccionando la clasificación correcta en la columna de la derecha.</p>
<p>(Esos correos ya están almacenados - puede moverlos o borrarlos de su programa de correo sin que afecte a lo que POPFile piensa de ellos! POPFile solo aprende cuando usted reclasifica un correo - funciona bajo la teoria de 'si no está roto, no lo arregles'.)</p>
<p><b>Dele tiempo a POPFile.</b> Cuanto mas lo entrene, mejor llegará a ser.</p>
<h3>¡Ya está!
<p>¡Y este es el final del los primeros ajustes! POPFile ya está listo para dar caña. </p>
</td></tr></table>
<br>
<table width=100% cellspacing=0><tr>
<td width=15% align=center><font size=+1><b>Enlaces Web:</b></font></td>
<td width=2></td>
<td align=center bgcolor=#cccc99 width=15%><font size=+1><b> <a href="http://popfile.sourceforge.net">Home Page</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/forum/?group_id=63137">Foros</a></b></font></td>
<td width=2></td>
<td bgcolor=#ededca width=15% align=center><font size=+1><b> <a href="http://sourceforge.net/tracker/?group_id=63137&atid=502956">Bug Database</a></b></font></td>
<td width=55%> </td></tr>
<tr height=1><td colspan=10 bgcolor=#CCCCCC></td></tr>
<tr height=1><td colspan=10></td></tr>
</table>
</body></html>
|
|
From: <jgr...@us...> - 2003-08-21 23:31:59
|
Update of /cvsroot/popfile/engine/manual/es In directory sc8-pr-cvs1:/tmp/cvs-serv30678/es Log Message: Directory /cvsroot/popfile/engine/manual/es added to the repository |
|
From: <ssc...@us...> - 2003-08-21 22:00:36
|
Update of /cvsroot/popfile/engine/Proxy
In directory sc8-pr-cvs1:/tmp/cvs-serv4497
Modified Files:
Proxy.pm
Log Message:
normalize pipe behaviour to account for platform incompatibilities
Index: Proxy.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Proxy/Proxy.pm,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** Proxy.pm 1 Aug 2003 01:11:28 -0000 1.30
--- Proxy.pm 21 Aug 2003 19:47:36 -0000 1.31
***************
*** 23,26 ****
--- 23,28 ----
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
+ # Modified by Sam Schinke (ssc...@us...)
+ #
# ---------------------------------------------------------------------------------------------
***************
*** 40,44 ****
# new
#
! # Class new() function, all real work gets done by initialize and
# the things set up here are more for documentation purposes than
# anything so that you know that they exists
--- 42,46 ----
# new
#
! # Class new() function, all real work gets done by initialize and
# the things set up here are more for documentation purposes than
# anything so that you know that they exists
***************
*** 66,69 ****
--- 68,75 ----
$self->{flush_child_data_} = \&flush_child_data_;
+ # Holding variable for MSWin32 pipe handling
+
+ $self->{pipe_cache__};
+
# This is the error message returned if the connection at any
# time times out while handling a command
***************
*** 187,190 ****
--- 193,249 ----
}
+
+ # ---------------------------------------------------------------------------------------------
+ #
+ # read_pipe_
+ #
+ # reads a single message from a pipe in a cross-platform way.
+ # returns undef if the pipe has no message
+ #
+ # $handle The handle of the pipe to read
+ #
+ # ---------------------------------------------------------------------------------------------
+
+ sub read_pipe_
+ {
+ my ($self, $handle) = @_;
+
+ if ( $^O eq "MSWin32" ) {
+
+ # PLATFORM SPECIFIC CODE
+ # bypasses bug in -s $pipe under ActivePerl
+
+ my $message;
+
+ if ( ( $self->{pipe_cache__} eq '' ) && &{ $self->{pipeready_} }($handle) ) {
+
+ # refill the cache when it is empty
+
+ sysread($handle, my $string, -s $handle);
+
+ # push messages onto the end of our cache
+
+ $self->{pipe_cache__} .= $string;
+ }
+
+ # pop the oldest message;
+
+ $message = $1 if ($self->{pipe_cache__} =~ s/(.*?\n)//);
+
+ return $message;
+
+ } else {
+
+ # do things normally
+
+ if ( &{ $self->{pipeready_} }($handle) ) {
+ return <$handle>;
+ }
+ }
+
+ return undef;
+ }
+
+
# ---------------------------------------------------------------------------------------------
#
***************
*** 205,239 ****
my $stats_changed = 0;
! while ( &{$self->{pipeready_}}($handle) )
! {
! my $message = <$handle>;
!
! if ( defined( $message ) ) {
! $message =~ s/[\r\n]//g;
! $self->log_( "Child proxy message $message" );
! if ( $message =~ /CLASS:(.*)/ ) {
! # Post a message to the MQ indicating that we just handled
! # a message with a specific classification
! $self->mq_post_( 'CLASS', $1, '' );
! }
! if ( $message =~ /NEWFL:(.*)/ ) {
! $self->mq_post_( 'NEWFL', $1, '' );
! }
! if ( $message =~ /LOGIN:(.*)/ ) {
! $self->mq_post_( 'LOGIN', $1, '' );
! }
! } else {
! # This is here so that we get in errorneous position where the pipeready
! # function is returning that there's data, but there is none, in fact the
! # pipe is dead then we break the cycle here. This was happening to me when
! # I tested POPFile running under cygwin.
! last;
}
}
--- 264,289 ----
my $stats_changed = 0;
! my $message;
! while ( ($message = $self->read_pipe_( $handle )) && defined($message) )
! {
! $message =~ s/[\r\n]//g;
! $self->log_( "Child proxy message $message" );
! if ( $message =~ /CLASS:(.*)/ ) {
! # Post a message to the MQ indicating that we just handled
! # a message with a specific classification
! $self->mq_post_( 'CLASS', $1, '' );
! }
! if ( $message =~ /NEWFL:(.*)/ ) {
! $self->mq_post_( 'NEWFL', $1, '' );
! }
! if ( $message =~ /LOGIN:(.*)/ ) {
! $self->mq_post_( 'LOGIN', $1, '' );
}
}
|
|
From: <jgr...@us...> - 2003-08-20 18:09:22
|
Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv14369/tests
Modified Files:
TestHTML.tst
Log Message:
More HTML tests... just beginning to get into the testing of this interface
Index: TestHTML.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestHTML.tst,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TestHTML.tst 20 Aug 2003 03:09:03 -0000 1.4
--- TestHTML.tst 20 Aug 2003 17:31:11 -0000 1.5
***************
*** 84,87 ****
--- 84,90 ----
$h->classifier( $b );
$h->initialize();
+ $h->version( 'testsuite' );
+
+ my $sk = $h->{session_key__};
test_assert_equal( $h->url_encode_( ']' ), '%5d' );
***************
*** 102,106 ****
close $ureader;
- $h->version( 'testsuite' );
$h->config_( 'port', $port );
$h->start();
--- 105,108 ----
***************
*** 139,146 ****
my $content = get($url);
! # TODO Look for elements that should appear at the TOP and BOTTOM
# of every page
test_assert_regexp( $content, "<title>POPFile Control Center</title>" );
# TODO Validate every page in the interface against the W3C HTML 4.01
--- 141,212 ----
my $content = get($url);
! # Look for elements that should appear at the TOP and BOTTOM
# of every page
+ # Common TOP parts
+
test_assert_regexp( $content, "<title>POPFile Control Center</title>" );
+ test_assert_regexp( $content, "<html lang=\"en\">" );
+ test_assert_regexp( $content, "<meta http-equiv=\"Pragma\" content=\"no-cache\">" );
+ test_assert_regexp( $content, "<meta http-equiv=\"Expires\" content=\"0\">" );
+ test_assert_regexp( $content, "<meta http-equiv=\"Cache-Control\" content=\"no-cache\">" );
+ test_assert_regexp( $content, "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">" );
+ test_assert_regexp( $content, "<link rel=\"stylesheet\" type=\"text/css\" href=\"skins/SimplyBlue.css\" title=\"SimplyBlue\">" );
+ test_assert_regexp( $content, "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"favicon.ico\">" );
+ test_assert_regexp( $content, "<link rel=\"icon\" href=\"popfile.ico\" type=\"image/ico\">" );
+
+ # Common MIDDLE parts (i.e. the tabs)
+
+ test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/history.session=$sk&setfilter=\">" );
+ test_assert_regexp( $content, "History</a>" );
+ test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/buckets.session=$sk\">" );
+ test_assert_regexp( $content, "Buckets</a>" );
+ test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/magnets.session=$sk&start_magnet=0\">" );
+ test_assert_regexp( $content, "Magnets</a>" );
+ test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/configuration.session=$sk\">" );
+ test_assert_regexp( $content, "Configuration</a>" );
+ test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/security.session=$sk\">" );
+ test_assert_regexp( $content, "Security</a>" );
+ test_assert_regexp( $content, "<a class=\"menuLink\" href=\"/advanced.session=$sk\">" );
+ test_assert_regexp( $content, "Advanced</a>" );
+
+ # Common BOTTOM parts
+
+ test_assert_regexp( $content, "<a class=\"bottomLink\" href=\"manual/en/manual.html\">" );
+ test_assert_regexp( $content, "<br>" . $h->version() . "<br>" );
+
+ # Verify that each of the pages highlights the correct item on
+ # the tab bar and hence the simplest level of page serving is working
+ # correctly
+
+ $url = url( "http://127.0.0.1:$port/history" );
+ $content = get($url);
+
+ test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/history.session=$sk&setfilter=\">" );
+
+ $url = url( "http://127.0.0.1:$port/buckets" );
+ $content = get($url);
+
+ test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/buckets.session=$sk\">" );
+
+ $url = url( "http://127.0.0.1:$port/magnets" );
+ $content = get($url);
+
+ test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/magnets.session=$sk&start_magnet=0\">" );
+
+ $url = url( "http://127.0.0.1:$port/configuration" );
+ $content = get($url);
+
+ test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/configuration.session=$sk\">" );
+
+ $url = url( "http://127.0.0.1:$port/security" );
+ $content = get($url);
+
+ test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/security.session=$sk\">" );
+
+ $url = url( "http://127.0.0.1:$port/advanced" );
+ $content = get($url);
+
+ test_assert_regexp( $content, "<td class=\"menuSelected\" align=\"center\">\n<a class=\"menuLink\" href=\"/advanced.session=$sk\">" );
# TODO Validate every page in the interface against the W3C HTML 4.01
|
|
From: <jgr...@us...> - 2003-08-20 18:06:15
|
Update of /cvsroot/popfile/engine
In directory sc8-pr-cvs1:/tmp/cvs-serv14273
Modified Files:
tests.pl
Log Message:
Allow multiline matching in a regexp
Index: tests.pl
===================================================================
RCS file: /cvsroot/popfile/engine/tests.pl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** tests.pl 1 Aug 2003 01:11:43 -0000 1.26
--- tests.pl 20 Aug 2003 17:30:50 -0000 1.27
***************
*** 145,149 ****
{
my ( $file, $line, $test, $expected, $context ) = @_;
! my $result = ( $test =~ /$expected/ );
test_report( $result, "expecting to match [$expected] and got [$test]", $file, $line, $context );
--- 145,149 ----
{
my ( $file, $line, $test, $expected, $context ) = @_;
! my $result = ( $test =~ /$expected/m );
test_report( $result, "expecting to match [$expected] and got [$test]", $file, $line, $context );
|
|
From: <jgr...@us...> - 2003-08-20 17:51:07
|
Update of /cvsroot/popfile/engine/UI
In directory sc8-pr-cvs1:/tmp/cvs-serv31920/UI
Modified Files:
HTML.pm
Log Message:
Added support for right-to-left languages (e.g. Hebrew, Arabic) and a Hebrew translation
Index: HTML.pm
===================================================================
RCS file: /cvsroot/popfile/engine/UI/HTML.pm,v
retrieving revision 1.189
retrieving revision 1.190
diff -C2 -d -r1.189 -r1.190
*** HTML.pm 20 Aug 2003 01:40:12 -0000 1.189
--- HTML.pm 20 Aug 2003 01:52:49 -0000 1.190
***************
*** 618,621 ****
--- 618,627 ----
$result .= "<html lang=\"$self->{language__}{LanguageCode}\">\n<head>\n<title>$self->{language__}{Header_Title}</title>\n";
+ $result .= "<meta http-equiv=\"Pragma\" content=\"no-cache\">\n";
+ $result .= "<meta http-equiv=\"Expires\" content=\"0\">\n";
+
+ $result .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\">\n";
+ $result .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$self->{language__}{LanguageCharset}\">\n</head>\n";
+
# If we are handling the shutdown page, then send the CSS along with the
# page to avoid a request back from the browser _after_ we've shutdown,
***************
*** 640,649 ****
$result .= "<link rel=\"icon\" href=\"popfile.ico\" type=\"image/ico\">\n";
- $result .= "<meta http-equiv=\"Pragma\" content=\"no-cache\">\n";
- $result .= "<meta http-equiv=\"Expires\" content=\"0\">\n";
-
- $result .= "<meta http-equiv=\"Cache-Control\" content=\"no-cache\">\n";
- $result .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$self->{language__}{LanguageCharset}\">\n</head>\n";
-
return $result;
}
--- 646,649 ----
***************
*** 671,675 ****
# footer created by html_common_bottom takes care of that.
! my $result = "<body>\n<table class=\"shellTop\" align=\"center\" width=\"100%\" summary=\"\">\n";
# upper whitespace
--- 671,675 ----
# footer created by html_common_bottom takes care of that.
! my $result = "<body dir=\"$self->{language__}{LanguageDirection}\">\n<table class=\"shellTop\" align=\"center\" width=\"100%\" summary=\"\">\n";
# upper whitespace
***************
*** 756,760 ****
$result .= "<td class=\"shellTopRight\"></td>\n</tr>\n<tr>\n";
$result .= "<td class=\"shellLeft\"></td>\n";
! $result .= "<td align=\"left\" class=\"naked\">\n" . $text . "\n</td>\n";
$result .= "<td class=\"shellRight\"></td>\n</tr>\n";
--- 756,760 ----
$result .= "<td class=\"shellTopRight\"></td>\n</tr>\n<tr>\n";
$result .= "<td class=\"shellLeft\"></td>\n";
! $result .= "<td class=\"naked\">\n" . $text . "\n</td>\n";
$result .= "<td class=\"shellRight\"></td>\n</tr>\n";
|
|
From: <jgr...@us...> - 2003-08-20 11:42:48
|
Update of /cvsroot/popfile/engine/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv11831/tests
Modified Files:
TestBayes.tst
Log Message:
Correct echo_to_dot_ tests
Index: TestBayes.tst
===================================================================
RCS file: /cvsroot/popfile/engine/tests/TestBayes.tst,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** TestBayes.tst 1 Aug 2003 00:59:56 -0000 1.22
--- TestBayes.tst 20 Aug 2003 10:54:57 -0000 1.23
***************
*** 30,33 ****
--- 30,35 ----
test_assert( `cp stopwords.base stopwords` == 0 );
+ mkdir 'messages';
+
use Classifier::Bayes;
use POPFile::Configuration;
***************
*** 616,625 ****
# to a file (no dot)
! open TEMP, ">temp.tmp";
open MAIL, "<messages/one.msg";
! $b->echo_to_dot_( \*MAIL, undef, \*TEMP );
test_assert( eof( MAIL ) );
close MAIL;
- close TEMP;
open TEMP, "<temp.tmp";
--- 618,626 ----
# to a file (no dot)
! unlink( 'temp.tmp' );
open MAIL, "<messages/one.msg";
! $b->echo_to_dot_( \*MAIL, undef, 'temp.tmp' );
test_assert( eof( MAIL ) );
close MAIL;
open TEMP, "<temp.tmp";
***************
*** 628,632 ****
my $temp = <TEMP>;
my $mail = <MAIL>;
! last if ( $mail =~ /^./ );
test_assert_regexp( $temp, $mail );
}
--- 629,635 ----
my $temp = <TEMP>;
my $mail = <MAIL>;
! if ( $mail =~ /^\./ ) {
! last;
! }
test_assert_regexp( $temp, $mail );
}
***************
*** 638,648 ****
# both
! open TEMP, ">temp.tmp";
open TEMP2, ">temp2.tmp";
open MAIL, "<messages/one.msg";
! $b->echo_to_dot_( \*MAIL, \*TEMP2, \*TEMP );
test_assert( eof( MAIL ) );
close MAIL;
! close TEMP;
open TEMP, "<temp.tmp";
--- 641,651 ----
# both
! unlink( 'temp.tmp' );
open TEMP2, ">temp2.tmp";
open MAIL, "<messages/one.msg";
! $b->echo_to_dot_( \*MAIL, \*TEMP2, 'temp.tmp' );
test_assert( eof( MAIL ) );
close MAIL;
! close TEMP2;
open TEMP, "<temp.tmp";
***************
*** 651,658 ****
while ( !eof( MAIL ) && !eof( TEMP ) && !eof( TEMP2 ) ) {
my $temp = <TEMP>;
! my $temp2 = <TEMP>;
my $mail = <MAIL>;
test_assert_regexp( $temp2, $mail );
! last if ( $mail =~ /^./ );
test_assert_regexp( $temp, $mail );
}
--- 654,661 ----
while ( !eof( MAIL ) && !eof( TEMP ) && !eof( TEMP2 ) ) {
my $temp = <TEMP>;
! my $temp2 = <TEMP2>;
my $mail = <MAIL>;
test_assert_regexp( $temp2, $mail );
! last if ( $mail =~ /^\./ );
test_assert_regexp( $temp, $mail );
}
***************
*** 666,675 ****
# to a file (no dot) with before string
! open TEMP, ">temp.tmp";
open MAIL, "<messages/one.msg";
! $b->echo_to_dot_( \*MAIL, undef, \*TEMP, "before\n" );
test_assert( eof( MAIL ) );
close MAIL;
- close TEMP;
open TEMP, "<temp.tmp";
--- 669,677 ----
# to a file (no dot) with before string
! unlink( 'temp.tmp' );
open MAIL, "<messages/one.msg";
! $b->echo_to_dot_( \*MAIL, undef, 'temp.tmp', "before\n" );
test_assert( eof( MAIL ) );
close MAIL;
open TEMP, "<temp.tmp";
***************
*** 678,682 ****
my $temp = <TEMP>;
my $mail = <MAIL>;
! if ( $mail =~ /^./ ) {
test_assert_regexp( $temp, 'before' );
last;
--- 680,684 ----
my $temp = <TEMP>;
my $mail = <MAIL>;
! if ( $mail =~ /^\./ ) {
test_assert_regexp( $temp, 'before' );
last;
***************
*** 684,688 ****
test_assert_regexp( $temp, $mail );
}
! test_assert( !eof( MAIL ) );
test_assert( eof( TEMP ) );
close MAIL;
--- 686,690 ----
test_assert_regexp( $temp, $mail );
}
! test_assert( eof( MAIL ) );
test_assert( eof( TEMP ) );
close MAIL;
|