| Age | Commit message (Collapse) | Author |
|
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
|
|
- 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.
|
|
|
|
|
|
|
|
Triggered every time on list views as the list view uses a
search_count (filtered but unlimited) to display pagination.
closes #6397
|
|
|
|
|
|
Backport of 16fa24d52258245af4ee9100666bae6ebe664046
|
|
document which leads to an error message in case the indexer could not
retrieve the content type automatically.
|
|
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.
|
|
|
|
Let 2015 be a year without modelines!
cf #4174
|
|
mimetype and datas_checksum (from website) to base. In base, the mimetype is computed with the Magic python lib (if installed, else with a custom function using magic number), and the index_content is an implementation of strings unix command. In document, index_content is still computed with the indexer of document module.
|
|
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.
- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
|
|
|
|
|
|
|
|
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.
|
|
|
|
get_cursor)
bzr revid: rco@openerp.com-20140409095659-sxcgsdbsxvfrzwg4
|
|
bzr revid: rco@openerp.com-20140409070922-2lbc6b2llk46n8rg
|
|
odo@openerp.com-20131216142049-xh9gxy5cir3p2i09
bzr revid: dle@openerp.com-20131216111534-0w0jdod25ff3iapc
bzr revid: odo@openerp.com-20131216142246-unt6qqb23uq53we1
|
|
rule prevent user from seeing duplicates
bzr revid: xal@openerp.com-20131216123954-px10qz9g3qxng6c6
|
|
launchpad_translations_on_behalf_of_openerp-20131130053134-6u83vcd1133xs8yf
bzr revid: chs@openerp.com-20131130130014-hi5h5a00kjx0dbvp
|
|
instead of a list of ids. Courtesy of Carlos Vásquez (CLEARCORP)
bzr revid: mat@openerp.com-20131128114958-cbwsvntblmjf55cy
|
|
list of ids
lp bug: https://launchpad.net/bugs/1225107 fixed
bzr revid: carlos.vasquez@clearcorp.co.cr-20130913173912-h4oec41fwh9pg69f
|
|
(dle@openerp.com-20130731153129-8hmqrgsg3e9d533f)
bzr revid: mat@openerp.com-20130726073123-6buqe3rg321gj5rw
bzr revid: odo@openerp.com-20130730110536-a74ea14pwb2y03ay
bzr revid: dle@openerp.com-20130801123703-frjhpeqwocsjo7ge
|
|
bzr revid: mat@openerp.com-20130722132715-r67xneyv85lbsung
|
|
bzr revid: mat@openerp.com-20130722115106-b1uldamgbpisf84g
|
|
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
|
|
bzr revid: vmt@openerp.com-20130327140149-8dirpf7383hdm1rn
|
|
has to be updated.
bzr revid: vmt@openerp.com-20130201112309-bjhu7jems82uk6bg
|
|
bzr revid: dle@openerp.com-20121224140002-myl9eyp5e0st0kne
|
|
bzr revid: dle@openerp.com-20121219170005-swdzzhvm2nifye5f
|
|
https://code.launchpad.net/~numerigraphe/openobject-addons/trunk-document-dctx-noprefix/+merge/92431
bzr revid: dle@openerp.com-20121218165839-mwgb8jl5tgcn9eam
|
|
bzr revid: dle@openerp.com-20121218163724-08wry3f8tdwz8g23
|
|
bzr revid: al@openerp.com-20121218140311-1rw9bqc1nwztfobb
|
|
bzr revid: al@openerp.com-20121217030913-x50nlq5qf7kuffe3
|
|
bzr revid: al@openerp.com-20121217015651-qdw4iugzh9ghwv19
|
|
bzr revid: al@openerp.com-20121217011958-70esu8d6q54fu0zd
|
|
bzr revid: al@openerp.com-20121216204737-4mfsbp0v6s0g799j
|
|
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
|
|
bzr revid: fp@tinyerp.com-20121011142308-vdynmuonffi31yug
|
|
bzr revid: fp@openerp.com-20121010202148-hsisroe6a2tra2um
|
|
bzr revid: fp@openerp.com-20121010201823-rgv2zv73urxz3ysh
|
|
bzr revid: chm@openerp.com-20121010101532-v2vx6h01x4zeq0ac
|
|
bzr revid: chm@openerp.com-20121009080858-gnpf1893m12jd3mp
|
|
with the name of attached document
bzr revid: psi@tinyerp.com-20121003094242-5wu6pki5cx442jte
|
|
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
|