Commit Graph
14 Commits
Author SHA1 Message Date
Cédric Krier 8fc4a98304 Use dict for _order on ORM object.
_order is now an instanciate variable.
It is a dict like this:
[('name', 'ASC'), ('id', 'ASC')]
2008-04-22 17:47:24 +02:00
Cédric Krier db410a3fc8 Make _rpc_allowed no more a class instance and add selection and reference
methods to it
2008-03-03 19:10:57 +01:00
Cédric Krier ac142e65a4 Remove pool from args of __init__ of OSV
More simple to inherit
2008-03-03 18:30:39 +01:00
Cédric Krier a013c3bdca Change all query with %d into %s for psycopg2 2008-02-27 11:10:51 +01:00
Cédric Krier d80152ce78 Remove _defaults dict and replace by default_ function to allow easy override 2008-02-26 16:23:05 +01:00
Cédric Krier c6948c3f35 Remove _columns dict and put it directly in the object to reflect better the
browserecord
2008-02-26 12:40:40 +01:00
Cédric Krier e8742381c8 Rename req_id into request 2008-02-17 16:09:52 +01:00
Cédric Krier b38c97bd4a Fix inheritance in __init__
- Add field only if pool is not None
- Don't append to mutable object because they are static in ORM object so they
  will be change for all objects
2008-02-17 02:36:25 +01:00
Cédric Krier 1013a93e33 Add rpc_allowed to improve security on object
A method can only call by rpc if it is in _rpc_allowed list
2008-02-15 18:26:51 +01:00
Cédric Krier eaf8d9853e Use string for selection on fields instead of function
- View cache works without clean the cache
- Allow override the function without modify the field
2008-02-12 15:17:35 +01:00
Cédric Krier ae1d2fb395 Change states definition to use any fields 2008-02-06 00:24:39 +01:00
Cédric Krier 1a554f0e55 Use ORM for request 2008-01-26 16:26:11 +01:00
Bertrand Chenal 2648bd1ead Removed plurals on user, role and group 2007-12-17 23:34:43 +01:00
ced@b2ck.com 622eed7875 Add module res and fix module graph when there is dependencies
Remove no usefull initialization of context variable
2007-12-13 00:22:10 +01:00