Commit Graph

35 Commits

Author SHA1 Message Date
David Rousselie dfb597aca3 package refactoring
- reorganize classes
- make it run even when pysqlite2 is not installed
- some tests to complete mailconnection_factory coverage

darcs-hash:20060724214007-86b55-9b38308b8f645c2067c7b200f17532da62ec825c.gz
2006-07-24 23:40:07 +02:00
dax 3a5c32041a Set version as 0.2.1
darcs-hash:20060713122535-684f5-486500f0f869c59d4502e21b20e3942bcba8ee0e.gz
2006-07-13 14:25:35 +02:00
dax f3274e0c3c Spanish translation added
darcs-hash:20060713120826-684f5-1fa3e479ab0fb4e478137b3d12e551c2abdd856c.gz
2006-07-13 14:08:26 +02:00
dax 68e3e37f66 Correct remove transport bug
- deleting transport in roster was deleting every accounts in JMC (even those not registered by the user)

darcs-hash:20060713120500-684f5-30ba3b058642b8df92e5b56ae34f78236ba6ff95.gz
2006-07-13 14:05:00 +02:00
David Rousselie 26e10a264c handle mail with bad charset
darcs-hash:20060302204557-86b55-21eff08ec557474d80642547bac4f1193d049c5e.gz
2006-03-02 21:45:57 +01:00
David Rousselie 8e9a420517 POP3 exception and IMAP infinite loop corrected
darcs-hash:20060207221528-86b55-fac5a34889bd37751ad3f6f3f4b2f423360535ec.gz
2006-02-07 23:15:28 +01:00
David Rousselie 505543262f Check mail new logic
- use RECENT flag for search on IMAP server with write access so RECENT flag is deleted on new messages and fetch read only so SEEN flag is not set on fetched messages.
- It might work on Exchange 2003 that do not support STORE flag UNSEEN
- This change the get_mail loop so now each MailConnection type implement get_next_mail_index because logic is different from IMAP to POP3 connection.

darcs-hash:20060207213333-86b55-9c2ccf31fb9ae9e6dd454c907f3188bc6080b817.gz
2006-02-07 22:33:33 +01:00
David Rousselie e9b85d22e0 Dutch translation
darcs-hash:20060207180434-86b55-c69badf3fc47633a65f232da718941da29bcd89d.gz
2006-02-07 19:04:34 +01:00
David Rousselie 1b4dd51f79 Configurable JMC name
darcs-hash:20060206201158-86b55-32a482b703d87c45c3c4c29b76068fe3d174bd4d.gz
2006-02-06 21:11:58 +01:00
David Rousselie 81b79d0e36 Record process pid in a file
darcs-hash:20060206194233-86b55-2575e8b5a9bca31f46e81f19a648846eddabb210.gz
2006-02-06 20:42:33 +01:00
David Rousselie e5e80b2b0a Message subject added
- Jabber messages now have a subject
- Some bugs corrected :
	- password storage true by default
	- better exception handling
	- storage.__setitem__ called after account object complete

darcs-hash:20060206133741-86b55-0a51e24fb65b16c1c942b088f7052ab88248b9ac.gz
2006-02-06 14:37:41 +01:00
David Rousselie 8dc5a2aaa5 MailComponent refactoring
- MailComponent constructor received all parameters red in the configuration file
- MailComponent get a new attribut lang. get_lang* methods have been put in Lang.

darcs-hash:20060206133123-86b55-377d908cb7164dc8a04c53cae6ce0444f9cc347b.gz
2006-02-06 14:31:23 +01:00
David Rousselie a063a69773 Mail charset error support
- Try multiple charset when no charset is specified by "Content-Type" field :
begins with sys.defaultencoding utf8
then "iso-8859-1", config file encoding and finally encoding found in previous
fields "Subject" or "From".

darcs-hash:20060201110843-86b55-7fd556a8ffadd9a5fed2b3317b17bfcca9d1dc58.gz
2006-02-01 12:08:43 +01:00
David Rousselie 4a5848a66c Switch to stanza type "normal"
- Stanza type "message" does not exist, "normal" is the correct type.

darcs-hash:20060201091207-86b55-7ff9bd7e919cb97950b7b71df05f7c12c9e8696d.gz
2006-02-01 10:12:07 +01:00
David Rousselie 391fd9e765 DBM delitem correction
darcs-hash:20060201075459-86b55-e035241143b6b4b2c4cd7b42e024964eefe39ce7.gz
2006-02-01 08:54:59 +01:00
David Rousselie 52c6cb2aa9 SQLite delitem implementation
darcs-hash:20060201075358-86b55-07095573f5b30ad78829bdc933d7561c8a088294.gz
2006-02-01 08:53:58 +01:00
David Rousselie 0cf07b0a25 utf8 encoding with no charset
darcs-hash:20060201073540-86b55-5e003fd016ae0b76ee2ce81fa6670f67d7aa4459.gz
2006-02-01 08:35:40 +01:00
David Rousselie 453d986f8d User messages with subject
darcs-hash:20060131233729-86b55-ac256a03268081156ed970a467c92e244146d452.gz
2006-02-01 00:37:29 +01:00
David Rousselie 06b67f48c0 Live Email checking
- only check for email received while connected to Jabber (not before)

darcs-hash:20060131233309-86b55-56666f0af136645b96407db8e3c877b1c2432577.gz
2006-02-01 00:33:09 +01:00
David Rousselie b47feac044 Checking error handling
- Send error message to the user when error appends while checking emails.

darcs-hash:20060131214619-86b55-178fcd27dfb6785afd422e562f22ef07f2aa9457.gz
2006-01-31 22:46:19 +01:00
David Rousselie fcf74c6835 Volatile password
- implementation with not persistent password storage. Password is asked to the user
for each new jabber connection (offline -> available status)

darcs-hash:20060131214141-86b55-e595b06a2c1f9a8315189a69b79b094da1e24c1e.gz
2006-01-31 22:41:41 +01:00
David Rousselie 7398e98a68 JMC runs on Windows
- JMC now runs on Windows. CTRL-C is not cleanly handled but db file is written to disk every write access so there is not any data lost.

darcs-hash:20060130221017-86b55-ce0a23a697f2d55ef2bd4c66f556bff67fd112ce.gz
2006-01-30 23:10:17 +01:00
David Rousselie 55430ed68f Utils convert and dump
- addition of backend converter utility
- dump utility

darcs-hash:20060130220742-86b55-0cba39429e4251ff9cce34a1dcd9df4515b973f1.gz
2006-01-30 23:07:42 +01:00
David Rousselie 7d78e0d892 SQLite backend
darcs-hash:20060129173720-86b55-cb365b2e6e6c652e885d88594e0e5c36deebf364.gz
2006-01-29 18:37:20 +01:00
David Rousselie 06fd569537 v0.1 to v0.2 storage auto convertion
- convert automatically (while loading) registered.db v0.1 to v0.2 format

darcs-hash:20060129152338-86b55-39ba1c1c7ecd5d053d2b4a578253335a2c0747d6.gz
2006-01-29 16:23:38 +01:00
David Rousselie e02cde5c93 Finish french translation
darcs-hash:20060129142403-86b55-840b288b57bb61ead3f81f14c7a3c8ffba053012.gz
2006-01-29 15:24:03 +01:00
David Rousselie 6bbdb0be31 Unicode everything
- Convert every strings to be sent in jabber messages in MailConnection to unicode.

darcs-hash:20060129133009-86b55-f5ea2d43f4187dd33383fa940108e23df4c3bec7.gz
2006-01-29 14:30:09 +01:00
David Rousselie 8fdd9d3be4 Multilang support
darcs-hash:20060128174218-86b55-4a70de917515e6938b764351be56a81991a5f95b.gz
2006-01-28 18:42:18 +01:00
David Rousselie ccde3a2bc9 Check mail and interval storage
- interval per account is stored
- check mail algorithm implemented
- new timer method

darcs-hash:20060122165510-86b55-f432cb2c421fac7069cf45a6cd288b8a9998b924.gz
2006-01-22 17:55:10 +01:00
David Rousselie f8ded9a3d5 DND support
- dnd_action field added

darcs-hash:20060122145141-86b55-501a990f765fa66033bdbad9e8da1885a2ef05fe.gz
2006-01-22 15:51:41 +01:00
David Rousselie d782022182 set_register test pass
- correct str(jid) deprecation
- make set_register pass
- !! Warning !! XMLDummyServer still have problem

darcs-hash:20060122134549-86b55-9f267838d21cdfb8ee6176573099e39beeca8c1b.gz
2006-01-22 14:45:49 +01:00
David Rousselie a44b18828e Component migration to use storage
!! Warning !! Not fully tested.

darcs-hash:20060122125943-86b55-a0cb0c408b0974b18af8613144bb3a7c3f2288bf.gz
2006-01-22 13:59:43 +01:00
David Rousselie edc1a693ae component tests pass
Make component tests pass with no registration (no usage of storage)

darcs-hash:20051228120704-86b55-aa921f4d888e64d1dcbeef9874dfd2d1a6bf6ce0.gz
2005-12-28 13:07:04 +01:00
dax 9f15a1a0d6 first passed component tests
Make the first component tests pass by correcting XMLDummyServer and xmldiff (in tests/utils.py)

darcs-hash:20051127155735-684f5-82dc72186ef66c59ac9671f83d1ec90ea66ee5b1.gz
2005-11-27 16:57:35 +01:00
dax 9fa2df5563 first import
first import between version 0.1.3 and 0.2

darcs-hash:20051127110300-684f5-0ed50cd0e86df9195cec2c1df070fdf24a6faeb5.gz
2005-11-27 12:03:00 +01:00