summaryrefslogtreecommitdiff
path: root/addons/base_import/controllers.py
AgeCommit message (Collapse)Author
2016-07-07[MOV] base_import: module directory organizationHitesh Trivedi
Note: move test models file in models to not import tests directory, which breaks the mute_logger of test cases
2016-04-01[FIX] base_import: avoid JS error in callbackOlivier Dony
2015-10-01[ADD] *: CSRF protection in forms and routesChristophe Simonis
* make CSRF protection the default on all non-SAFE methods note: there currently is no way to call a CSRF-protected endpoint without a form-encoded entity-body as that's the only place we get the CSRF token from. * simple CSRF token generation: just use the HMAC'd session id, no generating a new random token per session then HMAC it * use constant-time equal function to avoid timing attacks * assert that a database secret is configured before hashing/validating the CSRF token * opt-out database manager from CSRF: The super-admin password serves the purpose of a CSRF token in the database manager screens. There is no request database to obtain the secret and generate a CSRF token.
2015-09-28[IMP] replace simplejson with stdlib jsonLeonardo Rochael Almeida
The stdlib version of the json library is more recent than the 3.5.3 version we are pinning in `requirements.txt` There is no reason to use it. Closes #6940
2013-10-27more controller conversion to new route apiAntony Lesuisse
bzr revid: al@openerp.com-20131027173143-tfxc7e7vqn7re6wb
2013-10-15[FIX] backwards-compatible controller decorator not backwards-compatible at ↵Xavier Morel
all, replace with @route bzr revid: xmo@openerp.com-20131015095331-r2xm2198zrwax0c7
2012-11-27[FIX] base_import: eval_context refXavier Morel
bzr revid: xmo@openerp.com-20121127164543-xizox8d20e93lx21
2012-10-10[IMP] remove standalone web client, fix importsAntony Lesuisse
bzr revid: al@openerp.com-20121010204617-ah29rz616xo7i2dr
2012-08-30[FIX] field for file mime type is file_type, not file_mimeXavier Morel
bzr revid: xmo@openerp.com-20120830103928-rjtrdvkzrybfpi0c
2012-08-30[IMP] un-b64 the import file field, use raw binaryXavier Morel
bzr revid: xmo@openerp.com-20120830103215-trv5cjg9jvj8ano1
2012-08-14[ADD] base import logic: implement creating an import, uploading a file and ↵Xavier Morel
displaying the preview bzr revid: xmo@openerp.com-20120814121610-j2rpg7u5zh4h93j1