An error occurred fetching the project authors.
- 04 Jan, 2013 18 commits
-
-
Vincent Pelletier authored
memcache module already handle thread-safety, and we actually want to be transaction-local here, so use a volatile variable instead for caching needs. Removes the need to restart Zope for connection parameter changes to take effect. Fixes a bad interaction with SelectionTool's code, which causes transactional isolation to be broken (just for this connector) and too many network connections to be used.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Garbage-collecting memcache.Client instance does that automatically.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Docstrings are not to annotate what code is doing.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Concurrency handling is not required, because a single MemcachedDict should not be accessed outside a Zope transaction, which is itself bound to a specific thread. Pickling a connection is not needed, ERP5Type.Core.MemcachedPlugin is all we need to serialise.
-
Vincent Pelletier authored
Simplifies code creating a new connection.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Doc's mention about expiration time is precisely that server's code is supposed to do just that internally.
-
Vincent Pelletier authored
-
Julien Muchembled authored
-
- 03 Jan, 2013 5 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
See commit 4718f5e1
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
A ZopeLite patch was added to prevent loading of zcml files, which is wrong for ERP5: CMF products were not properly initialized. Code is also simpler now that we call OFS.Application.initialize(), which is not significantly slower. We keep patch not to register help though because this is quite expensive: we should even consider always disable help because they seems to cause many conflicts during Zope cluster startup. A monkey-patch to unittest is updated for Python 2.7, so that tests aren't run when they shouldn't (e.g. --save without --load).
-
- 31 Dec, 2012 1 commit
-
-
Vincent Pelletier authored
app() creates a new transactional connection to ZODB, which triggers scary (although innocuous in this case) connection pool warnings. Instead, use getSite provided in ERP5 product and filled when traversing site's portal. Retrieved acl_users object is different, but this should not matter. Also, to prevent import loop and to keep this change minimal, do a local import.
-
- 28 Dec, 2012 6 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
line breaks are too special and generates weird layout (like when adjust is used)
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 27 Dec, 2012 3 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
the bt5 erp5_odt_style is required, because the script Base_getODTStyleSheet is used by test_include_img
-
Gabriel Monnerat authored
add expectedFailure to be fixed later. The libreoffice version should be checked because in some case, the test is passing
-
- 21 Dec, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 19 Dec, 2012 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Sebastien Robin authored
-
Sebastien Robin authored
-
- 18 Dec, 2012 2 commits
-
-
Sebastien Robin authored
-
Julien Muchembled authored
-