Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4cb86dc
ADD Module to use email from LDAP records
dreispt Jul 26, 2013
09aa27f
ADD defsult and sugegsted values; auto-install
dreispt Jul 29, 2013
3b328da
FIX Tolerate attribute inexistance
dreispt Aug 16, 2013
17445b5
FIX
dreispt Aug 19, 2013
d4f7c65
CHG Removed auto_install
dreispt Aug 19, 2013
b533bcb
FIX name_attribute is given an explicit default
dreispt Aug 21, 2013
07a674a
FIX no warning messages when an attribute definition is not set
dreispt Aug 21, 2013
b951585
(fix incorrect commit)
dreispt Aug 21, 2013
5e36fed
Change name_attribute defaults to 'cn'
dreispt Sep 3, 2013
0ac26f9
Generate .pot files
Mar 14, 2014
b2c6361
move all modules to __unported__ on master branch and set installable…
sbidoul Jul 12, 2014
d21ff75
Move users_ldap_mail out of unported
dreispt Sep 2, 2014
59fdfb9
Port users_ldap_mail to v8
dreispt Sep 2, 2014
4a4a68d
Fix PEP8
dreispt Sep 2, 2014
bbc9c1b
[FIX] travis
hbrunn Dec 8, 2014
41332a7
Add license key in __openerp__.py
yvaucher Feb 6, 2015
0a4f407
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
3bc1053
fix travis (flake8)
gurneyalex Mar 4, 2015
a0c7352
Add missing default oca icons
yvaucher Aug 18, 2015
5be45c3
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
9823e87
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
6682210
Port the users_ldap_mail in V9
flotho Nov 9, 2015
5fc483a
Fix 9.0 version
sbidoul Dec 13, 2015
c405d49
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
47d0bca
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
f851415
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
96d8c48
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
3663868
10.0 Migrate users_ldap_mail module (#651)
StephanRozendaal Dec 27, 2016
8145f81
OCA Transbot updated translations from Transifex
oca-transbot Sep 4, 2016
76fe35f
[MIG] users_ldap_mail
etobella Oct 9, 2017
b4f84e3
[FIX] UTF-8 coding is not necessary
max3903 Mar 28, 2018
72f8a0b
[FIX] Deprecated key "description" in manifest file
max3903 Mar 28, 2018
f7402c0
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
5a67674
[10.0][FIX] users_ldap_mail: Provide defaults to attributes properly
Oct 25, 2018
79af2ae
[UPD] Update users_ldap_mail.pot
oca-travis Dec 12, 2018
d0e69b1
[MIG] users_ldap_mail: Migration to 12.0
Tardo Dec 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions users_ldap_mail/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
=====================================
LDAP mapping for user name and e-mail
=====================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github
:target: https://github.com/OCA/server-auth/tree/12.0/users_ldap_mail
:alt: OCA/server-auth
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-auth-12-0/server-auth-12-0-users_ldap_mail
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/251/12.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of the auth_ldap module to support mail
from LDAP and to allow you to get an e-mail address from LDAP accounts to Odoo
users.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Open Odoo in your browser
#. Go to Settings
#. Go to General Settings
#. In The General Settings form go to LDAP Parameters
#. In a LDAP Parameters item there are two new fields: mail and name, the name
These items will correspond with a new user that is created, when a user
logs in via LDAP in Odoo.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-auth/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20users_ldap_mail%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Daniel Reis

Contributors
~~~~~~~~~~~~

* Daniel Reis (https://launchpad.com/~dreis-pt),
* `Tecnativa <https://www.tecnativa.com>`_:

* Alexandre Díaz

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/12.0/users_ldap_mail>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions users_ldap_mail/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright Daniel Reis (https://launchpad.com/~dreis-pt)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).

from . import models
16 changes: 16 additions & 0 deletions users_ldap_mail/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright Daniel Reis (https://launchpad.com/~dreis-pt)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).

{
'name': "LDAP mapping for user name and e-mail",
'version': "12.0.1.0.0",
'depends': ["auth_ldap"],
'author': "Daniel Reis,"
"Odoo Community Association (OCA)",
'license': 'AGPL-3',
'category': "Tools",
'data': [
'views/res_company_ldap.xml',
],
'installable': True,
}
49 changes: 49 additions & 0 deletions users_ldap_mail/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-04-17 12:15+0000\n"
"PO-Revision-Date: 2016-04-21 09:16+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"'cn' wird per Vorgabe benutzt. Bei ActiveDirectory können Sie stattdessen "
"'displayName' verwenden."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "E-mail attribute"
msgstr "Email-Attribut"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "LDAP attribute to use to retrieve em-mail address."
msgstr "LDAP-Attribut, um eine Email-Adresse zu erhalten."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_name_attribute
msgid "Name Attribute"
msgstr "Namens-Attribut"

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "res.company.ldap"
msgstr "res.company.ldap"
50 changes: 50 additions & 0 deletions users_ldap_mail/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# Antonio Trueba, 2016
# Antonio Trueba, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-19 14:46+0000\n"
"PO-Revision-Date: 2016-02-16 12:32+0000\n"
"Last-Translator: Antonio Trueba\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"Por defecto se usa «cn». En Directorio Activo se podría usar «displayName» "
"en su lugar."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "E-mail attribute"
msgstr "Atributo e-mail"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "LDAP attribute to use to retrieve em-mail address."
msgstr "Atributo LDAP a utilizar para recumerar la dirección em-mail."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_name_attribute
msgid "Name Attribute"
msgstr "Atributo Nombre"

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "res.company.ldap"
msgstr "res.company.ldap"
46 changes: 46 additions & 0 deletions users_ldap_mail/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-01-19 14:46+0000\n"
"PO-Revision-Date: 2015-12-13 15:21+0000\n"
"Last-Translator: <>\n"
"Language-Team: French (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/fr/)\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "E-mail attribute"
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "LDAP attribute to use to retrieve em-mail address."
msgstr ""

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_name_attribute
msgid "Name Attribute"
msgstr ""

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "res.company.ldap"
msgstr "res.company.ldap"
50 changes: 50 additions & 0 deletions users_ldap_mail/i18n/hr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Bole <bole@dajmi5.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-10 00:47+0000\n"
"PO-Revision-Date: 2017-05-10 00:47+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"Zadano se koristi 'CN'. za ActiveDirectory možete koristiti 'displayName' "
"umjesto zadanog."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "E-mail attribute"
msgstr "Atribut e-mail"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "LDAP attribute to use to retrieve em-mail address."
msgstr "LDAP atribut za dohvat email adresa."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_name_attribute
msgid "Name Attribute"
msgstr "Atribut naziva"

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "res.company.ldap"
msgstr "res.company.ldap"
49 changes: 49 additions & 0 deletions users_ldap_mail/i18n/hr_HR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_mail
#
# Translators:
# Bole <bole@dajmi5.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-06-09 12:31+0000\n"
"PO-Revision-Date: 2016-05-31 20:13+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>\n"
"Language-Team: Croatian (Croatia) (http://www.transifex.com/oca/OCA-server-"
"tools-9-0/language/hr_HR/)\n"
"Language: hr_HR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_name_attribute
msgid ""
"By default 'cn' is used. For ActiveDirectory you might use 'displayName' "
"instead."
msgstr ""
"Zadano koristi 'cn'. Za ActiveDirectory možete koristiti i 'displayName'."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "E-mail attribute"
msgstr "E-mail atribut"

#. module: users_ldap_mail
#: model:ir.model.fields,help:users_ldap_mail.field_res_company_ldap_mail_attribute
msgid "LDAP attribute to use to retrieve em-mail address."
msgstr "LDAP atribut za dohvaćanje e-mail adrese."

#. module: users_ldap_mail
#: model:ir.model.fields,field_description:users_ldap_mail.field_res_company_ldap_name_attribute
msgid "Name Attribute"
msgstr "Atribut Naziv"

#. module: users_ldap_mail
#: model:ir.model,name:users_ldap_mail.model_res_company_ldap
msgid "res.company.ldap"
msgstr "res.company.ldap"
Loading