Commit Graph

159 Commits

Author SHA1 Message Date
David Rousselie 76cf0cfa9d modifiable component default lang attribut
JCLComponent constructor takes an optional lang parameter to override default
jcl.lang.Lang class.
Typical usage is in derived component classes which has a derived (from
jcl.lang.Lang) Lang class.

darcs-hash:20070320172242-86b55-7f2552cd27d8c6990c7f9fea9d4fcdccafabe4ff.gz
2007-03-20 18:22:42 +01:00
David Rousselie 352cfc921b Set JCLComponent.ask_password public
darcs-hash:20070222173443-86b55-a9998d61d4b4c6ea901cf84fa97f2bf0f5e5fa4c.gz
2007-02-22 18:34:43 +01:00
David Rousselie e8ece28f00 Set public JCLComponent.send_error method
darcs-hash:20070222173205-86b55-d14f1d840e5ce83cd67a20afdbbc8d23b1907057.gz
2007-02-22 18:32:05 +01:00
David Rousselie d83ad1debe send error implementation
send an error to a user only if he has not already been notified

darcs-hash:20070222172740-86b55-7032fdab46f54932c222c36a68bad0915120e92c.gz
2007-02-22 18:27:40 +01:00
David Rousselie 826d045b41 Replace DataForm implementation by Form implementation from PyXMPP
darcs-hash:20070213174122-86b55-54dc9d8ae9c4f354af0b46e597779744fbd97900.gz
2007-02-13 18:41:22 +01:00
David Rousselie b4ae16acc6 Multi account types support : change discovery handling
In discovery process, account types are listed with
jid

darcs-hash:20070207173337-86b55-b1b67a8d099e3ab19caa7599953c6836339db6ad.gz
2007-02-07 18:33:37 +01:00
David Rousselie cfa8da9655 Multiple account types: disco get_items implemented and tested
darcs-hash:20070131175146-86b55-de5924fb265a0f611c053303de114e8667d6f881.gz
2007-01-31 18:51:46 +01:00
David Rousselie 95f645fd16 Delete any trace of account factory
darcs-hash:20070131172522-86b55-ac7c678131705c856adbaff6da9011b0b0bf4ac3.gz
2007-01-31 18:25:22 +01:00
David Rousselie ae6406b807 Refactor AccountExample to support account types naming convention
darcs-hash:20070131172203-86b55-ee6b5c58dfe7ba50a04a62b5bbbf39c5c43d430d.gz
2007-01-31 18:22:03 +01:00
David Rousselie 56f48bb516 Multiple account types support: disco type listing
Account types are listed, accounts are not yet listed (need tests)
account factory have been replace by account classes naming convention (${type}Account)

darcs-hash:20070131171321-86b55-f1de0bb3e3ddea3b16783a3ec9bf1977bee16d94.gz
2007-01-31 18:13:21 +01:00
David Rousselie a0ec3ac81a Multi account types support (part1)
Introduce factory function to instanciate new account class while registering.
Need more work to list accounts types in disco

darcs-hash:20070123185508-86b55-1797b5a17f14d9f271775bde3eff3189a61a919f.gz
2007-01-23 19:55:08 +01:00
David Rousselie cf3fcf5655 Test get_register list-single field values
darcs-hash:20070119170359-86b55-8e3991b4b008094329dcef4b14ba2ed4540d1c44.gz
2007-01-19 18:03:59 +01:00
David Rousselie 583679b6ed Add list-single field type
darcs-hash:20070117175956-86b55-1d833aae947a048e6240a393837cfde02e918b6f.gz
2007-01-17 18:59:56 +01:00
David Rousselie 56209ddff1 Make component works with Account subclasses
darcs-hash:20070117173408-86b55-eaf9be902109c4269dbbfc589e7284e55bc1d3eb.gz
2007-01-17 18:34:08 +01:00
David Rousselie 51334ed5f7 PresenceAccount creation
darcs-hash:20070116172724-86b55-a944af8b2e75e749c5a6533521352de26dcee39f.gz
2007-01-16 18:27:24 +01:00
David Rousselie 9a2da0eeff Give component instead of stream to Feeder and Sender classes
darcs-hash:20061130215710-86b55-652c6ee7e4a69b67c7502db8db92d3cd0b0000ea.gz
2006-11-30 22:57:10 +01:00
David Rousselie 717e1543d3 Add handle_presence_subscribed test
darcs-hash:20061130215636-86b55-55c02e41cd14be5b752f1a187ef3834abb632425.gz
2006-11-30 22:56:36 +01:00
David Rousselie 04fee565a7 Stop timer thread when stopping component
darcs-hash:20061130215532-86b55-c3093785c0b17528f6c667c4e877122583d2589e.gz
2006-11-30 22:55:32 +01:00
David Rousselie 0c94b77fdb Correct data form handling for set_register request
darcs-hash:20061130215420-86b55-871a3bfb4d082853cd21deb1793dc1c846567572.gz
2006-11-30 22:54:20 +01:00
David Rousselie a1bc88b535 Add message to error for required fields
darcs-hash:20061130215228-86b55-c7de52faee384cbca2da64ace83780afee0789a4.gz
2006-11-30 22:52:28 +01:00
David Rousselie 285a2584a8 Add test for unknown user or account requests
darcs-hash:20061130214656-86b55-b8f2e86f09fd15725ab65ed9e2dab4cdccb2bf7e.gz
2006-11-30 22:46:56 +01:00
David Rousselie 46f0e53eb4 Correct multiple criteria SELECT request
Use "AND" function for multiple SELECT criteria instead of "and" python operator

darcs-hash:20061130213843-86b55-88f870624497ecd59427d57ceb244c9c6cf18937.gz
2006-11-30 22:38:43 +01:00
David Rousselie 2e5337483d Update coverage module from http://nedbatchelder.com/code/modules/coverage.html
darcs-hash:20061127215605-86b55-405c73e023a6a423127628ab4ca22166008dac7f.gz
2006-11-27 22:56:05 +01:00
David Rousselie 5350af9b80 Add account test file
darcs-hash:20061127214817-86b55-dde92e63ccd21680744244e04dabc6b7e9436a71.gz
2006-11-27 22:48:17 +01:00
David Rousselie 739a1f6e07 Add Lang tests from JMC
darcs-hash:20061127214249-86b55-74dd4271c64abb35fed3ad9aed80cc0999c5f00a.gz
2006-11-27 22:42:49 +01:00
David Rousselie 5fa2f96c7f Data Form tests and clean up implementation
darcs-hash:20061127214039-86b55-9ca97b0e1c2b39510505f9faec1dda148cf73288.gz
2006-11-27 22:40:39 +01:00
David Rousselie 8b4ec434ac Account test suite implementation
darcs-hash:20061123180515-86b55-fd6db5bd3cba07f2a3d5987d4c92c07f7ec32c5e.gz
2006-11-23 19:05:15 +01:00
David Rousselie 4eabef61f6 Initialize DataForm unit tests
darcs-hash:20061122183001-86b55-d86c899b1fccbe0328f0608a3c66641796e37b1d.gz
2006-11-22 19:30:01 +01:00
David Rousselie ab8efe060a Initialize Lang unit tests
darcs-hash:20061122182346-86b55-e28481ce6f6854e048cd8c6d42f7de8ba10a21cb.gz
2006-11-22 19:23:46 +01:00
David Rousselie c0d0b29654 Multilang support and cleaning for "en" locale
darcs-hash:20061122181456-86b55-3481c0c487ec5d9122e753cb4fdaf4db44cda0c3.gz
2006-11-22 19:14:56 +01:00
David Rousselie 062abf00b7 Add "required" node in register form
darcs-hash:20061120221924-86b55-5c373bcc28739b580a852f4dde84891c79c408e1.gz
2006-11-20 23:19:24 +01:00
David Rousselie 30979f1142 Required field XMPP error found
* "not-acceptable" error sent when required field is not found

darcs-hash:20061120215831-86b55-460f3114e75cd77f263800d0a32dbf27add094eb.gz
2006-11-20 22:58:31 +01:00
David Rousselie 521f3cd892 some pylint cleaning
darcs-hash:20061110082407-86b55-344fcaf1a5b2057e9917f2d54d34cf40c8a5eb8b.gz
2006-11-10 09:24:07 +01:00
David Rousselie b2fca94692 Complete FeederComponent tests
- raise NotImplementedError exception for abstracts methods
- implement test_handle_tick

darcs-hash:20061105195847-86b55-af88958079cd5321808c2540d8c498bf47f60999.gz
2006-11-05 20:58:47 +01:00
David Rousselie 5c1804f484 Make test_time_handler run faster
darcs-hash:20061102183742-86b55-044c2a6b9d511b8d479e8028330e898b945608e5.gz
2006-11-02 19:37:42 +01:00
David Rousselie 26b7103afd Better send probe assertions in authentication test
darcs-hash:20061102183354-86b55-5967563165e992e0a96ffe1f597028d5f97b25f2.gz
2006-11-02 19:33:54 +01:00
David Rousselie 18d7d8fdb9 unavailable presence test when going offline
darcs-hash:20061102183026-86b55-bab3df0fcb8ea516fcba7aec18e824d4f2a393a4.gz
2006-11-02 19:30:26 +01:00
David Rousselie a675e186a2 Complex Account tests
darcs-hash:20061030094313-86b55-47b0746872efdbc5d2c38e79e4859ac0c739abde.gz
2006-10-30 10:43:13 +01:00
David Rousselie dda10fdc0e Add complex Account class
darcs-hash:20061028175554-86b55-a286c0e397f7bc3d9c9616db0c3f2f0c39a70bfa.gz
2006-10-28 19:55:54 +02:00
David Rousselie cd39609504 set_register partial implementation
darcs-hash:20061028120036-86b55-08e755d4ae8f6ed4e2b895a33adfc34d2fd00257.gz
2006-10-28 14:00:36 +02:00
David Rousselie 3bbb9f999b "online" status not in show node
darcs-hash:20061026133855-86b55-f74a67d24465a5c7b2ae1267bca0ef05bdb617e5.gz
2006-10-26 15:38:55 +02:00
David Rousselie 85f2c8a85d get_register_exist test pass
darcs-hash:20061026133744-86b55-09b304db0aeb6522d6ef383e83b0f6457b64ed17.gz
2006-10-26 15:37:44 +02:00
David Rousselie 49fd02310a get_register second part
darcs-hash:20061026105944-86b55-186c984e426c5a3b396af082736b5b59fa44c07e.gz
2006-10-26 12:59:44 +02:00
David Rousselie fb554c7217 get_register_new implementation
darcs-hash:20061025182846-86b55-54ee4fb3315f3155b32864018ab636895e8d2eb9.gz
2006-10-25 20:28:46 +02:00
David Rousselie 02108f2a34 Optional login/password in account
Remove login/password related attribut in Account class
but still support live password if account_class in component
has correct attributs.

darcs-hash:20061025182516-86b55-4743189d47ba481692f16ff52f8b50903df49689.gz
2006-10-25 20:25:16 +02:00
David Rousselie 510b52bf3d More tests
darcs-hash:20061018174930-86b55-29433ceb46b2c1f7decade7ff062d670a119400d.gz
2006-10-18 19:49:30 +02:00
David Rousselie 226fc220e3 presence tests
darcs-hash:20061013185925-86b55-fbb89113ad11938d8be42606a13a17058ee7ccdf.gz
2006-10-13 20:59:25 +02:00
David Rousselie 7dba7030ac Get Version Test
darcs-hash:20061011164234-86b55-38e48fdd19bfd7dc86e35f233a0b632c76c66c57.gz
2006-10-11 18:42:34 +02:00
David Rousselie 28354b422f Disco get items Test
darcs-hash:20061010184116-86b55-1da9e52b21c07a167433811f1a05fabc3a18d5fe.gz
2006-10-10 20:41:16 +02:00
David Rousselie 48aad0f234 JCLComponent handle_tick notImplemented test
darcs-hash:20061010181746-86b55-5a50c2ab433b4f09d5e380a05bcef6d5d27ee439.gz
2006-10-10 20:17:46 +02:00