Fabio Erculiani
d9f440cc08
[entropy.services.ugc] make socket setup fault tolerant
2009-09-24 16:19:03 +02:00
Fabio Erculiani
b0e08df721
[entropy.services.ugc] do not hang on connect() if server is not available
2009-09-24 16:10:13 +02:00
Fabio Erculiani
2d6dbbba09
[entropy.services] remove buggy line
2009-09-11 11:29:10 +02:00
Fabio Erculiani
7d438b61b0
[entropy.db/entropy.spm/entropy.server/entropy.services] remove old "needed libraries" metadata stuff
2009-09-11 11:29:10 +02:00
Fabio Erculiani
b2149f5660
[entropy] ditch os.F_OK everywhere
2009-09-05 14:35:55 +02:00
Fabio Erculiani
c0d9b5e6f4
[entropy.core] Split entropy.core, introduce generic plugin loader
...
:: split entropy.core and move SystemSettings stuff to
entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani
9359693cc5
[entropy.spm] make PortagePlugin to use SpmPlugin API, major API change
2009-08-29 21:31:43 +02:00
Fabio Erculiani
63065f46cf
[entropy.services.auth_interfaces] handle IntegrityError exceptions on phpBB3 __register()
2009-08-18 22:17:51 +02:00
Fabio Erculiani
89062bf8f3
[entropy.db] complete API docstring and refactoring work
2009-08-15 22:27:41 +02:00
Fabio Erculiani
d2f092ddfe
[entropy.services.*] remove unused code
2009-08-15 22:26:47 +02:00
Fabio Erculiani
d1cbb6add5
[entropy.db] entropy.db API break+docstring merge almost complete
2009-08-14 16:37:56 +02:00
Fabio Erculiani
98541c4438
[entropy*] complete header migration
2009-08-13 15:11:56 +02:00
Fabio Erculiani
c06b708800
[entropy*] introduce new module headers codewide
2009-08-13 14:58:55 +02:00
Fabio Erculiani
0f40ce99a8
[entropy.server] remove SpmService instance attribute, create Spm() method
2009-08-11 10:12:13 +02:00
Fabio Erculiani
e9bc77bd0e
[entropy.services.ugc] trivial code style update
2009-08-11 10:00:43 +02:00
Fabio Erculiani
eed80c0907
[entropy.services.interfaces] fix DEBUG bool
2009-08-01 22:54:49 +02:00
Fabio Erculiani
ec89edf36a
[entropy.services.interfaces] reduce logging messages when debug mode is disable
2009-08-01 22:51:42 +02:00
Fabio Erculiani
ffe7a7cb89
[entropy.services.ugc.interfaces] improve SSL exceptions handling and make sure to use a blocking socket
2009-08-01 22:41:36 +02:00
Fabio Erculiani
c91aa3fa86
[entropy.services.interfaces] force SSL socket to blocking (mode)
2009-08-01 22:36:41 +02:00
Fabio Erculiani
2508fcbcf6
[entropy.services.interfaces] do not handle SSL WantX509LookupError the same way of WantReadError
2009-08-01 19:20:49 +02:00
Fabio Erculiani
197df19d66
[entropy.services.interfaces] properly handle SSL exceptions on write
2009-08-01 19:10:46 +02:00
Fabio Erculiani
a266d20021
[entropy.services.interfaces] typo fixes on SSL and exception handling
2009-08-01 19:02:24 +02:00
Fabio Erculiani
8ac46be460
[entropy.services.*] fix SSL timing handling when sending huge amount of data
2009-08-01 18:55:51 +02:00
Fabio Erculiani
925e974c63
[entropy.services.interfaces] add future-proof SSL socket polling handler
2009-08-01 18:50:03 +02:00
Fabio Erculiani
0a6b6a9ded
[entropy.services.ugc.interfaces] fix wrong SQL query in search_keyword_items
2009-07-31 18:26:56 +02:00
Fabio Erculiani
aaab9b7090
[entropy.services.ugc.interfaces] fix buggy SQL query in search_iddoc_item
2009-07-30 11:28:19 +02:00
Fabio Erculiani
0e9fdb0b30
[entropy.services.ugc.interfaces] fix typo in SQL queries
2009-07-26 12:17:27 +02:00
Fabio Erculiani
85303d02cf
[entropy.services.ugc.interfaces] improve speed of search_* functions
2009-07-26 12:11:03 +02:00
Fabio Erculiani
a6bf865417
[entropy.services.ugc.interfaces] fix several UGC SQL queries on search_* functions
2009-07-26 11:55:26 +02:00
Fabio Erculiani
b494a943b1
[entropy.services.interfaces] print status output when entering do_handle
2009-07-16 19:02:25 +02:00
Fabio Erculiani
5f91bad9b6
[entropy.services.interfaces] add more debugging info when entering the request handler
2009-07-16 19:00:04 +02:00
Fabio Erculiani
389a10e999
[entropy.services.test] add test commands module and update service script stub
2009-07-16 18:21:39 +02:00
Fabio Erculiani
3de4690fc3
[entropy.services.test] add Entropy Services test module (for tutorial and testing)
2009-07-16 17:58:18 +02:00
Fabio Erculiani
2727ea30cd
[entropy.services.ugc.interfaces] improve transmit method
2009-07-16 16:17:19 +02:00
Fabio Erculiani
5aa92e40ee
[entropy.services.interfaces] enforce rules on what is read from socket
2009-07-16 16:15:31 +02:00
Fabio Erculiani
44ffc1d8fc
[entropy.services.interfaces] fine tune watch dog
2009-07-16 14:54:17 +02:00
Fabio Erculiani
fe4631e46e
[entropy.services.interfaces] fix small bug with data_counter triggered by the previous commit
2009-07-16 14:35:28 +02:00
Fabio Erculiani
241190bedd
[entropy.services.interfaces] enforce data reception constraints
...
When receiving data through the ServerHost Request Handler, make sure
that the length of data sent matches matches the lenght information
provided. Do not consider reception done until this is true. To avoid
infinite loop issues, add a watchdog timer which raises an (handled)
ValueError exception.
2009-07-16 13:03:13 +02:00
Fabio Erculiani
25ddf16b50
[entropy.services.interfaces] log instance signature too
2009-07-16 12:31:18 +02:00
Fabio Erculiani
1e16e8d1ff
[entropy.services.interfaces] log more info when catching ValueError exceptions
2009-07-16 11:32:01 +02:00
Fabio Erculiani
5945636318
[entropy.services.interfaces] properly store traceback in case of ValueError exceptions
2009-07-16 10:51:52 +02:00
Fabio Erculiani
d391ec4bac
[entropy.qa] rename libraries_test method to test_shared_objects
2009-07-16 08:49:51 +02:00
Fabio Erculiani
c640726e12
[entropy.services.auth_interfaces] block usernames with spaces
2009-07-06 13:57:58 +02:00
Fabio Erculiani
883fdd4ce9
[entropy.services.interfaces] improve client/server interaction reliability
2009-06-30 20:57:44 +02:00
Fabio Erculiani
976d59a63a
[entropy.services.repository.interfaces] make generated hash visible
2009-06-29 18:17:46 +02:00
Fabio Erculiani
9a06a4f269
[entropy.services.repository.interfaces] fix indentation
2009-06-29 18:13:35 +02:00
Fabio Erculiani
5b93fd7a77
[entropy.services.repository.interfaces] avoid spamming logs, disable repo services for unavailable compressed databases
2009-06-29 18:11:47 +02:00
Fabio Erculiani
0644d31d63
[entropy.services.repository.interfaces] fix typo in lock_scan
2009-06-29 18:10:01 +02:00
Fabio Erculiani
6b0581a1c3
[entropy.services.repository.interfaces] make error output more verbose
2009-06-29 18:08:22 +02:00
Fabio Erculiani
568096fb2a
[entropy.services.repository.interfaces] uncompress compressed database path rather than requiring an uncompressed one
2009-06-29 18:00:11 +02:00