summaryrefslogtreecommitdiff
path: root/addons/mail/models/mail_alias.py
AgeCommit message (Collapse)Author
2018-09-21[IMP]mail_*: Improvement in model descriptionNimesh Jethva
Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
2018-01-11[MOV] mail: reorder a bit mail thread methods by categoryThibault Delavallée
As this class has grown a lot some methods have been put a bit anywhere in the file. To prepare future improvements it is easier to regroup them a bit. remove_accent from mail_alias is also moved to tools in order to separate tools from business or class specific code.
2017-11-08[FIX] mail: followers alias check on models not inheriting from alias mixinThibault Delavallée
You could try to check followers on a model not inheriting from mail alias mixin. In that case current code would check followers on a void mail alias mixin record, meaning no followers found. Instead we now differentiate the class method from the method checking record properties.
2017-11-08[FIX] mail: correctly return and log error message when checking aliasesThibault Delavallée
Mesage should be message otherwise it is not displayed in the logs.
2017-03-30[IMP] odooficationMartin Trigaux
2017-03-23[IMP] mail: factorize code that handles alias security in mail gatewayThibault Delavallée
Currently check of alias security is directly embedded in mail.thread routing method. In this commit we move this check in the mail.alias.mixin class itself. Doing this allows models to extend or improve the behavior depending on how inheriting models use aliases.
2017-02-22[FIX] mail: when initializing aliases, force reflection of modelsRaphael Collet
2017-01-03[IMP] base, *: tighten `ir.model` access rightsRaphael Collet
Remove unrestricted "read" access. To make code internally using `ir.model` work, add a private method `_get` on `ir.model` to retrieve the record corresponding to a model name, without access rights issue. Change signature of method `get_authorized_fields` to make it use a model name instead of a model id. This removes the necessity of a search on `ir.model`.
2017-01-03[IMP] base, *: tighten `ir.config_parameter` access rightsRaphael Collet
Add `base.group_system` on existing parameters: - `auth_signup.allow_uninvited`, - `auth_signup.reset_password`, - `auth_signup.template_user_id`, - `google_redirect_uri`, - `mail.bounce.alias`, - `mail.catchall.alias`, - `mail.catchall.domain`.
2016-08-11[IMP] all: clean usage of `safe_eval`Raphael Collet
Specifically: do not import `safe_eval` as `eval`, keep it explicit instead.
2016-08-10[IMP] various: use odoo for imports instead of openerp and update class namesThibault Delavallée
2016-08-09[MIG] mail: Migrate remaining '_init_column' methodYannick Tivisse
2016-03-30[IMP] Convert UserError into ValidationError when only a message to displayKinjal Mehta
When only a message argument is given to the crash manager, the popup display "Error while validating constarint" and "None" with the warning message which does not make any sense for the common user.
2016-01-08[IMP] mail: remove method `migrate_to_alias` in favor of mail alias mixinRaphael Collet
2016-01-08[IMP] mail: create a mixin class for models `_inherits`ing `mail.alias`Raphael Collet
2015-12-09[FIX] mail: fix 504227cca92f0743c10a2f13ef03c55f936d2105Thibault Delavallée
Do not restrict followers-based alias to members of non public channels. Otherwise you may have issues defining a public mailing list with a subscription step. People still wouldn't be able to post on a public channel using a restricted alias.
2015-12-08[FIX] mail: followers restricted aliasThibault Delavallée
Now that channels can follow documents, restricted aliases are a bit too restricted. We consider that followers-based aliases accept emails from the direct followers (message_partner_ids) or member of non public channels (message_channel_ids, filetered public field). This way we avoid having public channels added by mistake, leading to information leak.
2015-09-10[FIX] correct some English mistakesMartin Trigaux
Missing spaces, typos, rephrase unclear text Courtesy of Eric Geens
2015-07-30[FIX] mail: alias: default value for alias_domainThibault Delavallée
otherwise it is not correctly computed on new records inheriting from mail.alias class.
2015-05-28[MERGE] forward port of branch saas-6 up to bf1e999Christophe Simonis
2015-04-27[MOV] mail: moved files according to the new module organizationThibault Delavallée