- 11 Dec, 2020 1 commit
-
-
Romain Courteaud authored
-
- 21 May, 2019 1 commit
-
-
Vincent Pelletier authored
Allows for safe migration to another id generator, by preventing silent success of any piece of code still using the former generator, allowing its detection and resolution before duplicate ids are emitted. As a consequence, also allows on-demand and partial migration of id generators.
-
- 12 Jan, 2016 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 14 Aug, 2015 1 commit
-
-
Vincent Pelletier authored
Also, avoid a few single-use variables. Also, use modern exception raising syntax.
-
- 17 Nov, 2014 1 commit
-
-
Julien Muchembled authored
Previous code was broken since BT revision are not integers anymore.
-
- 23 Apr, 2012 1 commit
-
-
Sebastien Robin authored
the code of some id generator can raise ValueError when objects are not fully installed, and this is typically a case when the compatibility code needs to run (like uid generation in the middle of the installation of id generators objects)
-
- 01 Mar, 2011 2 commits
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43848 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
passing store=1 even if the caller did not pass it git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43845 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Feb, 2011 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43794 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Jul, 2010 1 commit
-
-
Sebastien Robin authored
Conflicts: bt5/erp5_base/bt/revision bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py bt5/erp5_simulation/bt/revision bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml bt5/erp5_trade/bt/change_log bt5/erp5_trade/bt/revision products/ERP5/Document/BusinessPath.py products/ERP5/Document/SimulationMovement.py products/ERP5/Document/TradeCondition.py products/ERP5/Document/TradeModelLine.py products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision products/ERP5Type/ERP5Type.py git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Jun, 2010 1 commit
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36287 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Apr, 2010 1 commit
-
-
Danièle Vanbaelinghem authored
change the bad security on the methods, thanks you Jerome. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34821 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Apr, 2010 1 commit
-
-
Danièle Vanbaelinghem authored
Remove useless comment git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34614 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Apr, 2010 2 commits
-
-
Danièle Vanbaelinghem authored
of IdTool_zGetLastId git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34570 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Danièle Vanbaelinghem authored
- add the id generators generic - add the zodb continuous increasing id generator - add the sql non continuous increasing id generator - change id tool for the id generators and the compatiblity with the old api - change the business template to not modify the generator dictionaries during the export and the install of bt - change the test of id tool git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34543 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 04 Mar, 2010 1 commit
-
-
Danièle Vanbaelinghem authored
this is the compatibility, it's temporary before new API of IdTool git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33377 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Oct, 2009 1 commit
-
-
Leonardo Rochael Almeida authored
On the way to Zope 2.12, Reform imports, specially from Globals (replacing it with Products.ERP5Type.Globals on the products that depend on ERP5Type), convert Interface uses to zope.interfaces, and remove CMFMailIn references with blessings from Jerome. git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29459 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Sep, 2009 1 commit
-
-
Jérome Perrin authored
as default value, restore previous behaviour. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29128 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Sep, 2009 5 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29086 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29085 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29084 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Simplification: set default to 0 if not set, which removes the need for Dummy class instance, and factorises 2 branches of a test. Micro optimisation: fetch the persistent mapping only from self only once (prevents instanciating 2 acquisition wrappers out of 3). Improve coding style (space around operators). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29083 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
It is pointless to instantiate a lock as a local value, as function local values are local to any given call, hence local to a thread. Moreover, there is no need to lock access to a persistent object, as its access is protected by ACID. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29082 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Nov, 2008 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24575 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Nov, 2008 3 commits
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24457 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
use random.getrandbits for IdTool.generateNewLongId, the previous implementation was not compatible with zope >= 2.8 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24452 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24451 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
Add a method on IdTool to dump all ids from table and store them in ZODB (persistent mapping on portal_ids). Call that method before clearing catalog. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24282 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Aug, 2008 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23205 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 27 Aug, 2008 2 commits
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23203 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23202 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Apr, 2008 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20818 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
Move all code relative to dict_length_ids in a code which access is controled by "store" value. This prevents portal_ids' persistent object modifications when "store" is false. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18361 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Nov, 2007 1 commit
-
-
Mame Coumba Sall authored
generateNewId would not work the first time it is called git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17468 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Oct, 2007 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17267 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Sep, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16720 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Sep, 2007 1 commit
-
-
Vincent Pelletier authored
Make default value None. Previous code had a bad behaviour if the default value was a long (it should be valid, but isinstance(long, int) is obviously False, so default fell back to "1"). Anyway, if default is an invalid value, ZSQLMethod will complain. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16687 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 11 Apr, 2007 2 commits
-
-
Vincent Pelletier authored
Revert my previous change, thish code does not have to handle the case where the table has been recreated: a line must be inserted automaticaly at table creation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14044 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Fix a problem of duplicate Id generation when the SQL table gets flushed (happens during a clear catalog). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14043 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Mar, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13740 20353a03-c40f-0410-a6d1-a30d3c3de9de
-