An error occurred fetching the project authors.
- 12 Feb, 2008 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19263 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19259 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19258 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Feb, 2008 1 commit
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19212 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Feb, 2008 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19202 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Feb, 2008 7 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19193 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19180 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Split security handling and unlocking into 2 separate try..except levels, for the sake of robustness. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19176 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Replace integers by booleans. Remove unneeded "global" use. Fix inline-test coding style. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19172 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19171 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Store exception information in native format inside message. Factorises sys.exc_info calls and exception rendering code. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19169 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19168 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19138 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Feb, 2008 3 commits
-
-
Vincent Pelletier authored
Oops, stupid syntax error: a single "try" block cannot have both "except" and "finally" section. Split. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19084 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19082 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Catch and log exceptions at process_timer level so that a raising distribute, wakeup or tic call can reach transaction end ASAP. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19081 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Feb, 2008 1 commit
-
-
Vincent Pelletier authored
Prevent AttributeError from being raised when notifyUser is called on an activity which did not raise. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18986 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Jan, 2008 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18582 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18581 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Rebuild acquisition chain before invoking a message to use independant request copies for each message execution. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18572 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
Fix a bug which caused object_path to be a list when it should have been a tuple: the exact type is tested afterward. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18502 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Nov, 2007 1 commit
-
-
Sebastien Robin authored
Make ActivityTool:Message.getObjectList simple to use: detect internaly wether an expand method must be called, catch exception when object on which the activity was executed cannot be found. Remove broadcast message support. Merge indexes on processing_node and processing columns on both message and message_queue tables. Always use SQL server's time. Do not update processing node value when setting the message as being processed. Commit SQL connection as soon as messages get assigned to reduce lock duration. Make SQLDict ZSQLMethods support list of uids instead of single value per call. Make ZSQLMethod handle processing_node differently if it's 0 or None (when not passed as parameter, behave as if it's None). Do not force all parameters to be passed to SQLQueue_setPriority. Factorise SQL code inside <dtml-if> blocks. Allow to select ranges of lines in readMessageList with a custom offset. When reseting message processing state at first activity execution pass after a node start, also reset the processing_node. Commit SQL connection as soon as messages are set to processing state, mainly to make it visible outside current connection. Add a common class for SQL-using activity queues. CMFActivity/Activity/SQLDict.py Remove unused (and broken) prepareQueueMessage method. Replace a tab by spaces. Add ZSQLMethod wrappers for new ZSQLMethods. Split dequeueMessage into dequeueMessage, getProcessableMessageList, finalizeMessage_Execution. Return True instead of 0 in case of an important error, in order to prevent CMFActivity from doing infinite loops over dequeueMessage when something goes wrong. CMFActivity/Activity/Queue.py Allow caller to specify the current date and transmit it when recursing. Fallback on DateTime (calculate just once) if not specified. CMFActivity/Activity/SQLQueue.py Precompute parameters in prepareQueueMessage to make it easier to add a log when needed. Also reduces the distance with SQLDict's equivalent method. Add ZSQLMethod wrappers for new ZSQLMethods. Split dequeueMessage into dequeueMessage, getProcessableMessageList, finalizeMessage_Execution. Return True instead of 0 in case of an important error, in order to prevent CMFActivity from doing infinite loops over dequeueMessage when something goes wrong. Add scripts to monitor activity distribution. Remove unused ZSQLMethods. Add new ZSQLMethods related to the new distribution scheme and SQL server time grabbing. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17759 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Nov, 2007 1 commit
-
-
Jérome Perrin authored
I removed it because I misunderstood it. We should compare current user and only change if it's different from this message user (if it's faster) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17527 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Nov, 2007 2 commits
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17508 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
user and login. This should be a bit faster. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17507 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 31 Oct, 2007 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17324 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Oct, 2007 1 commit
-
-
Vincent Pelletier authored
- implies removing the global dict used in ActivityBuffer to avoid duplicated activity insertion. - implies that ActivityBuffer is boud to a thread (because of get_ident) and not to a connection any more (because volatile is bound to a connection), so persistent objects must not be held outside transaction scope (the maximum scope at which a connection is bound to a thread) - implies modifying hook registration so that portal_activities is passed as a parameter to tpc_prepare - implies overloading partially TM._register method to take activity_tool as a parameter git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17102 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Oct, 2007 1 commit
-
-
Vincent Pelletier authored
Fix security rule for getIdleNodeList. The method was never commited under the former development-time name which was still present in the security definition. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16970 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Oct, 2007 1 commit
-
-
Vincent Pelletier authored
- limits conflict errors (the list is automaticaly modified, though rarely) - allows to store key, value pairs Cache processingNode computation result. Add accessors to node btree. Remove manage_addNode as it's now automaticaly done. Update iser interface and add new required methods. Automaticaly register self as an available processing node when process_timer is called. Use distributing node accessor instead of accessing the value directly. Empty processing node list and no defined distributing node means now that the feature is disabled, not that every node distributes and process. Display the ip:port value which identifies current node on the user interface. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16940 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Sep, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16558 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Sep, 2007 1 commit
-
-
Vincent Pelletier authored
Catch common mailhost errors when activity fails (eg, with a unconfigured mailhost) to avoid adding mailhost-related backtrace to activity failure backtraces in logs. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16028 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Aug, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15798 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Jul, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15211 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Jun, 2007 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15002 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 May, 2007 1 commit
-
-
Vincent Pelletier authored
Update regex to prevent user from adding extra characters outside of the strict "ip:port" format. Such caracters could lead to an impossible to remove node in the list... git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14590 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 May, 2007 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14327 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Apr, 2007 1 commit
-
-
Yoshinori Okuji authored
and fix some bugs. The basic idea is to track a dependency graph to find executable messages quickly. This makes the activity system far more efficient, when you have many inter-dependent messages queued in the tables. Also, this obsoletes the time shifting in the schedulers, as executable messages can be found in a more efficient manner. So the activity parameter "at_date" should work expectedly. Now the API of validate methods in Activities return a list of message objects instead of a boolean value. Such a list contains messages that are depended upon by a given message. The validate method in Message accepts a new optional parameter, check_order_validation, to indicate whether order validation should be performed. The default behavior has not changed. getDependentMessageList is added to ActivityTool, Queue and Message. This method collects dependent message for a given message from all activities. There are some other subtle changes. Look at the diffs for more details. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14039 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Mar, 2007 1 commit
-
-
Jérome Perrin authored
activity tool. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13821 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Mar, 2007 1 commit
-
-
Jérome Perrin authored
of the activity tool, this will solve problems that appears when Z SQL Methods parameters conflicts with attributes on an object in the acquisition context. ( TestPreferences failures in http://smets.com/pipermail/erp5-report/2007-March/011557.html ) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13462 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Mar, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13188 20353a03-c40f-0410-a6d1-a30d3c3de9de
-