summaryrefslogtreecommitdiff
path: root/addons/anonymization/anonymization.py
AgeCommit message (Collapse)Author
2016-08-09[MOV] anonymization: Re-organized file structureJigar Patel
2016-08-09[REM] anonymization: Removed dead code.Jigar Patel
2016-06-13[FIX] anonymization: allow anonymization on HTML fieldsSimon Leblanc
Was missing in the (old) list of fields
2016-01-13[FIX] all: construction of translations lookupMartin Trigaux
When evaluated, the translation function never finds a match if a variable is integrated into the untranslated text. SHAME! :bell: :raising_hand:
2015-12-11[FIX] anonymization: retrieve ids from correct versionhip-odoo
Do not hardcode the version in the search but use the current version of the server. Closes #9987, opw 658811
2015-12-01[FIX] anonymization: xmlid_to_res_id doesn't have a context argumentDenis Ledoux
This is related to the revision 2e66c489e392d308bf8c384abe5bcd696ee18992 `xmlid_to_res_id` doesn't have a `context` argument, trying to do a call with this `context` failed. A simple attempt to anonymize the database raised the error. opw-657858
2015-09-07[IMP] anonymization: better error messageMartin Trigaux
courtesy of Jarmo Kortetjärvi
2015-08-24[FIX] manual reimplementations of ref/xmlid_to_\*Xavier Morel
2015-06-29[IMP][FIX] mail, various: migrate fields_view_get override to the new APIThibault Delavallée
(leftover of migration). However this implies some fixes in the various calls to models inheriting from mail.thread. Indeed giving positional instead of keyword argument creates issues in the wrapper between the old and new API. In account_analytic_plan, useless override of fields_view_get has been removed.
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
2015-05-21[MERGE] forward port of branch 8.0 up to 26e7742Christophe Simonis
2015-05-21[FIX] account, mail, etc.: uniformize evaluated expressionsOlivier Dony
opw-626694
2015-02-26[MERGE] forward port of branch 8.0 up to d4f41a1Christophe Simonis
2015-02-26[FIX] Change the target_version for anonymization.Vijay Baladaniya
Fixed #5476
2015-01-16[IMP] Cleanup and refactoring of exception handlingGoffin Simon
Unify and refactor exception handling in framework and addons. The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes: - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration. - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights. - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request. - `MissingError`: raised when an operation is attempted on a record that does not exist. - `ValidationError`: raised when an operation violates a SQL or Python constraint. - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback. All exceptions take a single message argument. The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions. A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages. This commit introduces a more consistent policy for logging errors and warnings: - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations. - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention. - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-06-25[REM] Unnecessary `size` parameters on char fieldsJaydeep Barot
2013-05-28[MERGE] merge with latest trunkAmit Bhavsar (Open ERP)
bzr revid: bde@tinyerp.com-20130522095432-1sl1b6uu6ewod4md bzr revid: amb@tinyerp.com-20130528091941-wak8fnembuvewwjf
2013-05-21[FORWARD] Forward port of 7.0 branch until revision 9143.Thibault Delavallée
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-13[FIX] anonymization: Flush queries list used in de-anonymizationvro
bzr revid: vro@tinyerp.com-20130513054026-1wco2hzkm85nz2ik
2013-04-29[IMP]Removed space before Exclamation marks [!]ggh-openerp
bzr revid: ggh@tinyerp.com-20130429071557-vnxo5nni03vc886j
2013-03-29[IMP] general: use registry[X] instead registry.get(X) when X is dynamicRaphael Collet
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
2013-01-23[FIX] fixed a bug preventing the de-anonymization of the databaseolt@tinyerp.com
bzr revid: olt@tinyerp.com-20130123073005-398u252n7082k0qy
2012-12-21[FIX] anonymization: don't execute query on non existing tablesolt@tinyerp.com
bzr revid: olt@tinyerp.com-20121221102534-e5hc07d2qq8qqith
2012-12-20[FIX] anonymization: fix for obsolete modelsolt@tinyerp.com
bzr revid: olt@tinyerp.com-20121220112528-um4m3crn0enhcplj
2012-12-17[MERGE] From trunkCecile Tonglet
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-13[MERGE] translation of anonymisation stringsFabien Pinckaers
bzr revid: fp@tinyerp.com-20121213131643-6mkrbfxqym4wla0l
2012-12-10[MERGE] merged trunk.Vo Minh Thu
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-06[MERGE] Bugfixes from 6.1 until revision 6800Olivier Dony
bzr revid: odo@openerp.com-20121206153856-9y9v8ok6yxo6l5f0
2012-12-06[IMP] use the openerp namespace.Vo Minh Thu
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-11-20[FIX]anonymization: Added missing translationMayur Maheshwari (OpenERP)
bzr revid: mma@tinyerp.com-20121120102808-uj0p2sdhuipopcj9
2012-11-20[FIX]anonymization: Added missing translationDhruti Shastri
bzr revid: mma@tinyerp.com-20121120091718-kkw841nzukzxuudp
2012-10-23[FIX] anonymization: add an object to handle migration issuesolt@tinyerp.com
bzr revid: olt@tinyerp.com-20121023072317-zkv1rbf8pt0qnh3g
2012-10-02[MERGE] trunkAntonin Bourguignon
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-09-20[FIX] create context if Noneolt@tinyerp.com
bzr revid: olt@tinyerp.com-20120920090813-pxb25r4g1zo03jwu
2012-09-17[FIX] anonymization: raise a good descriptive error when the state is 'unstable'olt@tinyerp.com
bzr revid: olt@tinyerp.com-20120917081017-s15mm36ppvs4lfxc
2012-07-25[IMP] Improved warning messages for account* modulesSaurang Suthar(OpenERP)
bzr revid: pso@tinyerp.com-20120725113900-sx79bzkhh9812hib
2012-07-12[IMP]analytic-anonymization-warning-msgPinakin Nayi (OpenERP)
bzr revid: pna@tinyerp.com-20120712124553-zg42ssi0hat181e3
2012-06-05[IMP]:anonymization:checked if context == NONE then pass the dict.Amit Patel (OpenERP)
bzr revid: apa@tinyerp.com-20120605061629-ulshs2cevdqm0hlf
2012-05-04[IMP]:improved titles State by Status everywhereSaurang Suthar (OpenERP)
bzr revid: ssu@tinyerp.com-20120504115748-2vd1dns7bxptg384
2012-04-25[FIX] raise clear except_osv instead of tracebackolt@tinyerp.com
bzr revid: olt@tinyerp.com-20120425072617-1mw3kep9fa5813ib
2012-03-05[FIX] unmutable default in the remaining modulesNumerigraphe - Lionel Sausin
[REF] coding style consistency lp bug: https://launchpad.net/bugs/525808 fixed bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2011-11-22[IMP] Added missing vim mode linesNumerigraphe - Lionel Sausin
lp bug: https://launchpad.net/bugs/524279 fixed bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-09-22[MERGE] synch with latest trunkOlivier Dony
bzr revid: odo@openerp.com-20110922162538-x7xucux66zma5bp8
2011-09-18[Useability] improved error messageFabien Pinckaers
bzr revid: fp@tinyerp.com-20110918134116-2vvdelak2268j6pz
2011-08-17[FIX] anonymization: size (in a field kwargs) is an int, not a string.Vo Minh Thu
bzr revid: vmt@openerp.com-20110817084305-nk5cpfn338r1nsxj
2011-07-02[IMP] removed method=True params from all fields.functionOlivier Dony
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-03-06anonymization: try to fix the deprecation warningsP. Christeas
Unfortunately, we cannot use bool(foobar) on xpath() results. bzr revid: p_christ@hol.gr-20110306154856-ajg11p9ysee1t4e4
2011-02-18[FIX] anonymization: set float and integer values to 0olt@tinyerp.com
bzr revid: olt@tinyerp.com-20110218131150-87jc6cs04od5aeeq
2011-01-11[Fix] fix the buildbot warningSbh (OpenERP)
bzr revid: sbh@tinyerp.com-20110111052710-yhvwofgbz4j110lb