An error occurred fetching the project authors.
- 25 Feb, 2009 1 commit
-
-
Vincent Pelletier authored
- further extend SearchKey concept - define, implement and validate Interfaces - add a column mapper (mapping is decided on a completely-formed query tree instead of being done individualy on each used column) - state what is present for backward compatibility, warn about deprecated/dangerous uses git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25706 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 18 Feb, 2009 1 commit
-
-
Vincent Pelletier authored
Remove catalog method custom wrapping, as it prevents indexation method from accessing each other (useful when one is a python script wishing to access ZSQLMethods to do actual indexation). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25607 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Feb, 2009 1 commit
-
-
Vincent Pelletier authored
Do not systematicaly copy cached values. It's not good in all cases (mutable subtypes, ...) so it's not a good idea and would set a bad precedent. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25463 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Jan, 2009 1 commit
-
-
Vincent Pelletier authored
Also, since columns are not mapped to any table when query_table is set to a false value, this means that catalog passes column names through. The purppose of using catalog over rendering "by hand" the where-expression is that it will use search keys (keyword key, fulltext key, ...) to guess desired operator. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25060 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Dec, 2008 1 commit
-
-
Vincent Pelletier authored
Other uses in that function are None-safe: - first use checks that query_table exavuates to True before using - (this fix applied to the second use) - third use is to provide related keys with a query_tabe parameter. So when using a related key it is either meaningless (if related key ignores that parameter, it means that it hadcodes its "source" table) or fixable (by making related key handle a None query_table nicely, if not already the case). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24943 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 18 Dec, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24936 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Dec, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24920 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
As we return cached version of those values, copy them upon return. This prevents third-party code from "poisoning" the cache. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24917 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24410 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Oct, 2008 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24172 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Oct, 2008 1 commit
-
-
Jérome Perrin authored
a ZPublisher.HTTPRequest.record instance (which behaves like a dict) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24006 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Sep, 2008 1 commit
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23781 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Aug, 2008 2 commits
-
-
Vincent Pelletier authored
Comment was not quite right: actualy, giving a kw simply means we are passing Query contructor parameters directly, wich not only involves column names. Simplify code to make this obvious. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22985 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22984 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Jul, 2008 2 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22526 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22525 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Jul, 2008 3 commits
-
-
Vincent Pelletier authored
Do not generate a from_expression if no from_expression was passed by parameter. Fix a swap between table and alias in new code. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22162 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22158 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Provide a way to replace table alias ("AS" inclued) by an arbitrary string. Given value must be a dictionary, with impacted table as a key and the arbitrary string as a value. This allows, for example, to generate queries with LEFT JOINs. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22153 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Jun, 2008 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21285 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 May, 2008 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20948 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 18 Apr, 2008 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20640 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Apr, 2008 2 commits
-
-
Yoshinori Okuji authored
As discussed with seb, it should not be required to add portal_type here, because here.getPortalType() must work. Add some comment on the purpose of having some hardcoded items. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20359 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20339 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2008 1 commit
-
-
Romain Courteaud authored
to configure explicitely which column should be mapped when generation security query. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19406 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Feb, 2008 1 commit
-
-
Ivan Tyagov authored
Introduce search key which now are reposnsible for Query generation. Improve parsing of search strings (you must install "ply":http://www.dabeaz.com/ply/). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19152 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Feb, 2008 3 commits
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19011 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Use an ImmutableSet instead of a dict where value = key. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19010 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19009 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Jan, 2008 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18641 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Jan, 2008 1 commit
-
-
Mame Coumba Sall authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18608 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 24 Dec, 2007 1 commit
-
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18510 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Dec, 2007 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18118 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Dec, 2007 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18058 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Nov, 2007 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17924 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Nov, 2007 2 commits
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17869 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
propagate params from call to asSQLExpression on Query git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17851 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Nov, 2007 1 commit
-
-
Jérome Perrin authored
also used for sorting. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17696 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Nov, 2007 1 commit
-
-
Jérome Perrin authored
false. + remove a unused variable "dynamic_kw" git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17682 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Nov, 2007 1 commit
-
-
Jean-Paul Smets authored
Removed per portal type filtering (yet keep compatibility with existing methods). Added a cache key so that filter expression results can be cached (ex. per portal_type). The general idea is that nearly nobody uses portal type filtering and that increasing the number of SQL methods tends to decrease performance. By caching expression results, the impact of additional SQL methods is less significant. In addition, code syntax has been improved here and there (spaces, tabs). Some comments were added. Hardcoded values removed. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17630 20353a03-c40f-0410-a6d1-a30d3c3de9de
-