niv-openerp
a270b417aa
[IMP] Improved configuration.
...
bzr revid: nicolas.vanhoren@openerp.com-20110513114228-owzkbb345dukdcxo
2011-05-13 13:42:28 +02:00
niv-openerp
b76e1fab11
[IMP] Added documenation in dates.py.
...
bzr revid: nicolas.vanhoren@openerp.com-20110511145119-ds8j37n0l865jqqx
2011-05-11 16:51:19 +02:00
Xavier Morel
94b53db195
[FIX] incorrect documentation of get_*_string in nonliterals.Context and nonliterals.Domain: the 'session' parameter has not existed in a long time
...
bzr revid: xmo@openerp.com-20110505064143-1e25gm967nxb9gyb
2011-05-05 08:41:43 +02:00
Xavier Morel
87cb06d0d6
[IMP] remove timeouting XMLRPC socket
...
bzr revid: xmo@openerp.com-20110504064642-48u0giakycwqufwr
2011-05-04 08:46:42 +02:00
niv-openerp
ead84d301c
[FIX] Work-around to fix a problem in xml rpc classes that made them unusable using python 2.7.
...
bzr revid: nicolas.vanhoren@openerp.com-20110502131904-kkzkzl6jk5jsrv7x
2011-05-02 15:19:04 +02:00
niv-openerp
be4b0194bf
[IMP] Changed global timezone of python side.
...
bzr revid: nicolas.vanhoren@openerp.com-20110428151608-6vjegsfnm7sfu51v
2011-04-28 17:16:08 +02:00
niv-openerp
71e9f4a75b
[IMP] Added dates conversion functions on the python side.
...
bzr revid: nicolas.vanhoren@openerp.com-20110428140328-b4phov2b0a7f5r5f
2011-04-28 16:03:28 +02:00
niv-openerp
66a14cfc0d
[IMP] Added conversion functions for dates in javascript.
...
bzr revid: nicolas.vanhoren@openerp.com-20110428135045-ub5zuomewzjyob01
2011-04-28 15:50:45 +02:00
Fabien Meghazi
3e4c62c536
[ADD] Added exec_workflow controllers
...
bzr revid: fme@openerp.com-20110421155605-ek8effxz9xln26s4
2011-04-21 17:56:05 +02:00
Daniel Watkins
9c99f01964
Prettify JSON examples.
...
bzr revid: daniel@daniel-watkins.co.uk-20110414214332-2zsj9i4ogf3l7u1z
2011-04-14 22:43:32 +01:00
Xavier Morel
ce82767d16
[FIX] eval_context and eval_domain should *not* modify the dicts they're given (without cloning them), especially since they're creating circular references (which blow up when they're serialized by simplejson)
...
bzr revid: xmo@openerp.com-20110412121305-mq6l9a4co5xxrfkz
2011-04-12 14:13:05 +02:00
niv-openerp
66a79b7e3f
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110408161023-barazui14iowxptr
2011-04-08 18:10:23 +02:00
Antony Lesuisse
a590451a1b
[MERGE] manually calendar view from trunk-proto61-dhtmlx-scheduler-vda
...
bzr revid: al@openerp.com-20110407164106-odb0y1qogrg4x2js
2011-04-07 18:41:06 +02:00
niv-openerp
c8e100f8cd
[MERGE]
...
bzr revid: nicolas.vanhoren@openerp.com-20110407101319-5axkyl54kts7u7n4
2011-04-07 12:13:19 +02:00
niv-openerp
0cab8e6972
[IMP] Actions handling wip
...
bzr revid: nicolas.vanhoren@openerp.com-20110407095912-r6cqswx9pvo684ek
2011-04-07 11:59:12 +02:00
Antony Lesuisse
e8cbbeddff
applicationsession
...
bzr revid: al@openerp.com-20110407030429-d6c26b10zduodir0
2011-04-07 05:04:29 +02:00
Antony Lesuisse
df73cbb7a8
fix httprequest for web_chat
...
bzr revid: al@openerp.com-20110407024748-g2gf4u854qsu4eny
2011-04-07 04:47:48 +02:00
Antony Lesuisse
d85a600824
split viewmanager and dataset
...
bzr revid: al@openerp.com-20110406005136-6w992t10sr2588c6
2011-04-06 02:51:36 +02:00
Antony Lesuisse
c7e2d214ad
renames part6 partially working
...
bzr revid: al@openerp.com-20110330143556-yogu79hyy5oojdvq
2011-03-30 16:35:56 +02:00
Xavier Morel
c3d74fe290
[ADD] handling of own values on fields (e.g. self, values which are used to evaluate the field's context and domain, but not any other field's)
...
Also fix bugs in fields_view_get: didn't evaluate filter_domain to a nonliteral Domain (or a literal domain dict)
bzr revid: xmo@openerp.com-20110329090941-av5ymojubq23yjim
2011-03-29 11:09:41 +02:00
Xavier Morel
e549c9f7cb
[IMP] cleanup initialization of evaluation context on eval_domain and eval_context
...
bzr revid: xmo@openerp.com-20110329082034-zh2gx656806bu2se
2011-03-29 10:20:34 +02:00
Xavier Morel
5e426a9c31
[IMP] move storage of contexts to OpenERPSession.context_store, fix a number of tests it broke including one it revealed was completely broken
...
test_retrieve_second_domain passing relied on domains and contexts being stored in the same place, as it created a domain from a context key and tried to check if that worked. It did...
bzr revid: xmo@openerp.com-20110329082002-8rnvnp9cog9gr7zd
2011-03-29 10:20:02 +02:00
Xavier Morel
6f3862e101
[ADD] non-literal contexts
...
bzr revid: xmo@openerp.com-20110328151410-6ep57ay6sdc2k39r
2011-03-28 17:14:10 +02:00
Xavier Morel
e7860c7e63
[IMP] use non-literal domains to and from client, add a bunch of tests
...
Converted OpenERPSession's evaluations to be based on literal (dict) or nonliteral (Domain) objects. OpenERPSession will *not accept* to eval strings
bzr revid: xmo@openerp.com-20110328141920-hlp6sb173o2j6ldw
2011-03-28 16:19:20 +02:00
Xavier Morel
fd9da7558a
[ADD] start working on adding the concept of literal and non-lit domains, non-lit domains will *not* be pushed to the client but will be stored locally and only a ref will go through
...
bzr revid: xmo@openerp.com-20110328122724-gnxn8cnta4xyotab
2011-03-28 14:27:24 +02:00
Xavier Morel
ec7510b839
[FIX] documentation handling issues
...
bzr revid: xmo@openerp.com-20110328091809-kju0n2rw232z1pxf
2011-03-28 11:18:09 +02:00
Xavier Morel
b49ece30d3
[FIX] evaluation context should contain itself (as some domains go get stuff via context.get)
...
bzr revid: xmo@openerp.com-20110325150838-qxo8ruf6i2v3jt5l
2011-03-25 16:08:38 +01:00
Xavier Morel
632d93afa7
[ADD] evaluation of search contexts and domains, hook ViewManager to the dataset in order to perform the correct search.
...
I'm pretty sure there's a race condition somewhere in there, in the initial loading of the whole mess I bet we can have the auto_search triggering before the list controller is done loading...
We probably need some deferred (one for each searchable view in the manager + one for the searchview itself) and a final one waiting on them all (I don't think jquery's deferred can do that built-in) before launching the auto_search
bzr revid: xmo@openerp.com-20110325123252-fjrgj4aicac3fo3b
2011-03-25 13:32:52 +01:00
Xavier Morel
0a7efc04dc
[IMP] eval action context and domain straight as they come from a tree_but_open (on menu), add APIDoc for OpenERPSession
...
OpenERPSession is in charge of evaluating domains and contexts. Always.
bzr revid: xmo@openerp.com-20110325094119-fpd4e00w20kbgfzf
2011-03-25 10:41:19 +01:00
Xavier Morel
e49be016f3
[ADD] tests for the root dispatcher, fix dispatching: start from the *end* of the url and walk backwards to try to find a dispatcher and its method
...
bzr revid: xmo@openerp.com-20110321170357-6k9f7qjww1s2wj3g
2011-03-21 18:03:57 +01:00
Xavier Morel
68e4357e47
[FIX] root dispatcher should raise a 404 error when a controller is not found
...
bzr revid: xmo@openerp.com-20110321162904-33ai6lqaty0unhro
2011-03-21 17:29:04 +01:00
Xavier Morel
698875cc27
[ADD] basic test to openerpweb (to test the behavior of OpenERPModels)
...
bzr revid: xmo@openerp.com-20110321121447-c81cg3n3a97nx15h
2011-03-21 13:14:47 +01:00
Xavier Morel
3d02b3f804
[ADD] tests for base.controllers.main.Menu.load
...
* Make model factory pluggable in OpenERPSession (so it's possible to mock the models handler)
* Split load between the JSON-RPC handler and the actual logic
* Add some docstring to Menu.do_load
bzr revid: xmo@openerp.com-20110321104735-9hmrsyoccueya9fh
2011-03-21 11:47:35 +01:00
Xavier Morel
99f29c8202
[IMP] reformat python code in core and base
...
bzr revid: xmo@openerp.com-20110321081331-gvgb1qt6v80oq5hm
2011-03-21 09:13:31 +01:00
Xavier Morel
77b06b59a4
[FIX] extraction of a class's full name, use datamodel attributes instead of string munging
...
bzr revid: xmo@openerp.com-20110321080632-xpqbwwnjrqk31hly
2011-03-21 09:06:32 +01:00
Antony Lesuisse
fd047b34ca
[MERGE] xmo proper session management
...
bzr revid: al@openerp.com-20110320132146-qysfemcluvraa4ww
2011-03-20 14:21:46 +01:00
Xavier Morel
c4acb091be
[IMP] use CherryPy session storage, file-based, to store the openerp sessions
...
bzr revid: xmo@openerp.com-20110318141836-1p2dv6ohz4guknx4
2011-03-18 15:18:36 +01:00
Xavier Morel
38f62edbdc
[FIX] correctly generate independent sessions
...
bzr revid: xmo@openerp.com-20110317171401-3qekzs59ue5tlywx
2011-03-17 18:14:01 +01:00
Xavier Morel
20b55e10c1
[IMP] redirect to root page instead of providing a link
...
bzr revid: xmo@openerp.com-20110317160124-9a9fde1cqimct59a
2011-03-17 17:01:24 +01:00
Xavier Morel
5298cde953
[FIX] content-type of JSON-RPC2 responses
...
bzr revid: xmo@openerp.com-20110317155914-rh3w4puch88o2h77
2011-03-17 16:59:14 +01:00
Antony Lesuisse
d51d885c77
[MERGE] xmo compliant json-rpc2
...
bzr revid: al@openerp.com-20110317154746-7mbwuqt9gk940mra
2011-03-17 16:47:46 +01:00
Antony Lesuisse
1d13b61284
login ask for db
...
bzr revid: al@openerp.com-20110317150153-afr9lmsy1ihuafrt
2011-03-17 16:01:53 +01:00
Xavier Morel
e1ec3c8b3b
[FIX] misreading of the spec: the 32099..-32000 range is for *server* errors, not *application* errors
...
bzr revid: xmo@openerp.com-20110317141813-ywn7uize8z04kvee
2011-03-17 15:18:13 +01:00
Xavier Morel
ba4054f6fc
[IMP] cleanup JSON-RPC request lifecycle
...
bzr revid: xmo@openerp.com-20110317140627-hurby78o45xrmg6p
2011-03-17 15:06:27 +01:00
Xavier Morel
dc3abe055b
[FIX] JSON-RPC2 request/response process
...
bzr revid: xmo@openerp.com-20110317130946-ptpaihigvie31moo
2011-03-17 14:09:46 +01:00
Xavier Morel
ea8379a0f2
[FIX] start/stop of cherrypy server so Ctrl-C works correctly
...
bzr revid: xmo@openerp.com-20110317125107-87is0mml601p987n
2011-03-17 13:51:07 +01:00
Xavier Morel
9cf7baee6b
[FIX] use simplejson as json is not available on Python 2.5 (also simplejson has better perfs)
...
bzr revid: xmo@openerp.com-20110310155345-8nxu3i92hno4j2yc
2011-03-10 16:53:45 +01:00
niv-openerp
13d8b38c4e
[FIX] Cleaned for eclipse.
...
bzr revid: nicolas.vanhoren@openerp.com-20110308145754-uzjzt5unoa2sslri
2011-03-08 15:57:54 +01:00
niv-openerp
747783efea
[FIX] Corrected indentation.
...
bzr revid: nicolas.vanhoren@openerp.com-20110308145530-rdy43672n558kq5s
2011-03-08 15:55:30 +01:00
Antony Lesuisse
fc679ac8a5
preliminary addons loading support
...
bzr revid: al@openerp.com-20110307092632-e0a6rho0bvuk04ei
2011-03-07 10:26:32 +01:00