Commit Graph

186 Commits

Author SHA1 Message Date
Olivier Dony 64ac1b0f46 [FIX] document: replace raw SQL constraint with bad parameter passing with builtin check_recursion
This instance was not actually exploitable for
SQL injection as it is not callable directly
via RPC and guarded by other queries when indirectly
called. Still plain awful.
2014-07-04 16:53:26 +02:00
Xavier ALT 6fab66d6f7 [FIX] document: duplicate directory detection should work even when a record rule prevent user from seeing duplicates
bzr revid: xal@openerp.com-20131216123954-px10qz9g3qxng6c6
2013-12-16 13:39:54 +01:00
Martin Trigaux f67135ae52 [MERGE] [FIX] document: check method fails if it is called with an id instead of a list of ids. Courtesy of Carlos Vásquez (CLEARCORP)
bzr revid: mat@openerp.com-20131128114958-cbwsvntblmjf55cy
2013-11-28 12:49:58 +01:00
Carlos Vásquez 63159fee7b [FIX] document: check method fails if it is called with an id instead of a list of ids
lp bug: https://launchpad.net/bugs/1225107 fixed

bzr revid: carlos.vasquez@clearcorp.co.cr-20130913173912-h4oec41fwh9pg69f
2013-09-13 11:39:12 -06:00
Martin Trigaux 8ffa0fec98 [FIX] better check
bzr revid: mat@openerp.com-20130722132715-r67xneyv85lbsung
2013-07-22 15:27:15 +02:00
Martin Trigaux 5480f2958e [FIX] same without record rules, python side
bzr revid: mat@openerp.com-20130722115106-b1uldamgbpisf84g
2013-07-22 13:51:06 +02:00
dle@openerp.com 8f78e5a0a6 [FIX]Index content now works when adding attachement
bzr revid: dle@openerp.com-20121224140002-myl9eyp5e0st0kne
2012-12-24 15:00:02 +01:00
dle@openerp.com 7a627b5810 [FIX]Update request missing one argument
bzr revid: dle@openerp.com-20121219170005-swdzzhvm2nifye5f
2012-12-19 18:00:05 +01:00
dle@openerp.com 6fa12e9458 [FIX]remove dctx, from merge https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-document-dctx-noprefix/+merge/92431
bzr revid: dle@openerp.com-20121218165839-mwgb8jl5tgcn9eam
2012-12-18 17:58:39 +01:00
dle@openerp.com 68097047e7 [FIX]_logger instead of self._logger, fix report name
bzr revid: dle@openerp.com-20121218163724-08wry3f8tdwz8g23
2012-12-18 17:37:24 +01:00
Antony Lesuisse 2a10c7b76b [MERGE] trunk
bzr revid: al@openerp.com-20121218140311-1rw9bqc1nwztfobb
2012-12-18 15:03:11 +01:00
Antony Lesuisse ff7626229a document fix filtering when parents are nullt
bzr revid: al@openerp.com-20121217030913-x50nlq5qf7kuffe3
2012-12-17 04:09:13 +01:00
Antony Lesuisse 45ce223457 cleanup tests
bzr revid: al@openerp.com-20121217015651-qdw4iugzh9ghwv19
2012-12-17 02:56:51 +01:00
Antony Lesuisse 76ce1a2972 document partial refactoring and cleanups
bzr revid: al@openerp.com-20121217011958-70esu8d6q54fu0zd
2012-12-17 02:19:58 +01:00
Antony Lesuisse 893f34555f remove more cruft
bzr revid: al@openerp.com-20121216204737-4mfsbp0v6s0g799j
2012-12-16 21:47:37 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Fabien Pinckaers cd014978dc [MERGE] trunk
bzr revid: fp@tinyerp.com-20121011142308-vdynmuonffi31yug
2012-10-11 16:23:08 +02:00
Fabien Pinckaers a435e18d83 [MERGE] documents
bzr revid: fp@openerp.com-20121010202148-hsisroe6a2tra2um
2012-10-10 22:21:48 +02:00
Fabien Pinckaers b2d8a448b4 [IMP] document names
bzr revid: fp@openerp.com-20121010201823-rgv2zv73urxz3ysh
2012-10-10 22:18:23 +02:00
Christophe Matthieu df873d22a8 [FIX] mail: context default value error
bzr revid: chm@openerp.com-20121010101532-v2vx6h01x4zeq0ac
2012-10-10 12:15:32 +02:00
Christophe Matthieu 7a41798d70 [IMP] mail, document: don't check duplication of file for attachment mail
bzr revid: chm@openerp.com-20121009080858-gnpf1893m12jd3mp
2012-10-09 10:08:58 +02:00
Purnendu Singh (OpenERP) 4ef3f9218b [IMP] document: add on_change on fname so it will update the download link with the name of attached document
bzr revid: psi@tinyerp.com-20121003094242-5wu6pki5cx442jte
2012-10-03 15:12:42 +05:30
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Antonin Bourguignon 1fbb4a5c16 [IMP] handling of '(copy)' l10n
bzr revid: abo@openerp.com-20120924162645-z1h4l2mj6c8i6wr3
2012-09-24 18:26:45 +02:00
Antonin Bourguignon a52eeef519 [IMP] rephrase some error and warning messages in document, edi, google_base_account, mrp and mrp_repair
remove exclamation marks at the end of messages
remove unjustified capital letters

bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk
2012-08-06 19:08:41 +02:00
help 41d1135812 [IMP]improved exception warnings in remaining modules as per suggestion
bzr revid: help-20120731133425-2zlm5sakpowuc6rk
2012-07-31 19:04:25 +05:30
Saurang Suthar(OpenERP) d3f30baa81 [IMP] Improved warning messages for document module
bzr revid: pso@tinyerp.com-20120725103334-rx24b2aojluvxuap
2012-07-25 16:03:34 +05:30
Hardik a710d7b11c [IMP]Document : Warning Messages are changed
bzr revid: hsa@tinyerp.com-20120712101747-h5uhion81908cczy
2012-07-12 15:47:47 +05:30
Antony Lesuisse 2e7c217497 [FIX] typo
bzr revid: al@openerp.com-20120626204250-ez6v0cyrjg30h521
2012-06-26 22:42:50 +02:00
Antony Lesuisse c180a7f941 [FIX] revert ir_values on document
bzr revid: al@openerp.com-20120626201946-44c5odspvbttqyv1
2012-06-26 22:19:46 +02:00
Foram Katharotiya (OpenERP) 06391b7936 [IMP] add logger instead of_loggerdoc or _log., Add .warning() instead of .debug() in account
bzr revid: fka@tinyerp.com-20120625090619-r25n9pqs89oh5180
2012-06-25 14:36:19 +05:30
Foram Katharotiya (OpenERP) 87decf703a [IMP] Add logging at the top of python files
bzr revid: fka@tinyerp.com-20120622072545-uuok6zj2jm2koxw4
2012-06-22 12:55:45 +05:30
Foram Katharotiya (OpenERP) 0c374a66bc [IMP] Add logging at the top of python files
bzr revid: fka@tinyerp.com-20120622064839-llitm8szgikxznwr
2012-06-22 12:18:39 +05:30
Foram Katharotiya (OpenERP) ceb22841d6 [IMP] add default data in document_data.xml
bzr revid: fka@tinyerp.com-20120618061804-9i8ypqq2m8g7eab6
2012-06-18 11:48:04 +05:30
Numerigraphe - Lionel Sausin 2d2a44dcf2 [FIX] unmutable default in the remaining modules
[REF] coding style consistency

lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2012-03-05 19:40:03 +01:00
Jigar Amin - OpenERP 4f52e7a2cf [IMP] remved res_partner_address reference
bzr revid: jam@tinyerp.com-20120305121150-zr1zrjf7lrkiafr8
2012-03-05 17:41:50 +05:30
Fabien Pinckaers 341bef2ef5 [IMP] dashboard simplification
bzr revid: fp@tinyerp.com-20111211113918-84z2iyhkmh818ivp
2011-12-11 12:39:18 +01:00
Olivier Dony c5c88c43c0 [FIX] document: removed dangerous and useless commits
These commits were introduce mostly at revision 
1849.1.1 revid:hmo@tinyerp.com-20081111052750-zqzvr6oaihvt103t
in an attempt to fix an issue with transactions
originating from FTP connections.
This was wrong: the virtual FTP filesystem should
perform its own transaction management for each
operation, just like the RPC layer does it for
each request. Forcing a commit in the business
code during the course of a normal transaction is
totally *forbidden*!
In addition, the FTP layer now properly manages
its transactions, so the commit calls were useless
anyway.

bzr revid: odo@openerp.com-20111130120239-5fcavvpd14w056zb
2011-11-30 13:02:39 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Fabien Pinckaers b0a48a35b9 merge
bzr revid: fp@tinyerp.com-20110917142602-vo8pl5dpqp82e4z0
2011-09-17 16:26:02 +02:00
Amit Parmar (OpenERP) 28986d87fb [IMP] improve the opportunity merging and its attachments
bzr revid: aar@tinyerp.com-20110912125106-xmh53poxaytd4frt
2011-09-12 18:21:06 +05:30
Guewen Baconnier 48e5b1b8b7 [FIX] document : Migration of url attachments
lp bug: https://launchpad.net/bugs/809745 fixed

bzr revid: dbr@tinyerp.com-20110809121553-sow9vfchkuc7du1u
2011-08-09 17:45:53 +05:30
Olivier Dony 06fb14130a [IMP] removed method=True params from all fields.function
Server revision 3495 odo@openerp.com-20110701232328-flgxulxva70vnyxr
removed the need for passing method=True to function fields,
so this is the equivalent addons fix, removing it everywhere.
Please be careful from now on, and do not pass it anymore!

bzr revid: odo@openerp.com-20110701234124-a61zl0idvdfz3hyb
2011-07-02 01:41:24 +02:00
Olivier Dony 560915cb68 [MERGE] merged latest fixes from 6.0 up to r.4556
Rev 4556 = revision-id: jvo@tinyerp.com-20110502133745-s1zyed65h6ojwkvk.

bzr revid: odo@openerp.com-20110502184643-d3qzosqdurscd51i
2011-05-02 20:46:43 +02:00
Thibault Francois b11a71fd87 [MERGE] improvement project-issue
bzr revid: tfr@openerp.com-20110407114145-xvr27pjquxwk9ff0
2011-04-07 13:41:45 +02:00
Jay Vora (OpenERP) 5bb62f86be [MERGE] Merged Anup's branch for the fix of documents' file_size.
bzr revid: jvo@tinyerp.com-20110401091721-bs0167iw9p7ykx8s
2011-04-01 14:47:21 +05:30
Anup (OpenERP) 091d785586 [FIX] document : File Content remained empty for old attachments fixed.(Support Case 4586)
bzr revid: ach@tinyerp.com-20110330070053-p63h44msfy9rpaca
2011-03-30 12:30:53 +05:30
Olivier Dony 0874e7b291 [FIX] document: search() must filter out documents in disallowed directories
Permissions on ir.attachments must not only respect the access rights
of the object they are attached to, but must also be careful about
directory permissions as introduced by the document module.

Minor fix in copy() method to avoid reading all fields of the
attachment including the binary data itself, when only the name
is needed. Also made the "(copy)" suffix translatable.

bzr revid: odo@openerp.com-20110218141012-a7wjqn2f48iioca9
2011-02-18 15:10:12 +01:00
P. Christeas 98ab6360ed Merge branch11 into patch18
Branch patch11 had somewhere been lost in bzr hell.

Conflicts:
	account/account_move_line.py
	document_webdav/nodes.py
	document_webdav/webdav_server.py
	event_project/__init__.py
	users_ldap/users_ldap.py

bzr revid: p_christ@hol.gr-20101223155444-ym8r0g4208gm88j9
2010-12-23 17:54:44 +02:00
P. Christeas 43387c7f43 document: improve the attach_parent_id() function.
No need to call an SQL command in iteration! No need to transfer the
db_datas back and forth from Postgres!

Also, prepended an underscore, so that the function is never exported
through RPC.

bzr revid: p_christ@hol.gr-20101223142529-hgudbfj54p4d2e34
2010-12-23 16:25:29 +02:00