Skip to content

Commit

Permalink
Merge PR #557 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Sep 29, 2023
2 parents c6324fe + 44f46fd commit 08b73b9
Show file tree
Hide file tree
Showing 89 changed files with 10,206 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup/users_ldap_populate/odoo/addons/users_ldap_populate
6 changes: 6 additions & 0 deletions setup/users_ldap_populate/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
106 changes: 106 additions & 0 deletions users_ldap_populate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
=============
LDAP Populate
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:eb65c8768a3d64adb8e08de006eece48f104e50660e6b5024223ba29657b63e1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/14.0/users_ldap_populate
: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-14-0/server-auth-14-0-users_ldap_populate
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=14.0
:alt: Try me on Runboat

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

This module extends the functionality of auth_ldap by adding functionality so
that users can be populated from a LDAP server.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

#. Go to 'Settings' -> 'General Settings'
#. In the LDAP category click on or add a LDAP configuration
#. In the pop-up enter all the LDAP settings
#. Click the populate button
#. A new pop-up will notify you of how many users are added

Known issues / Roadmap
======================

* Improve test coverage and port its LDAP Patch method to a module where they can be imported and reutilized on other tests.

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20users_ldap_populate%0Aversion:%2014.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
~~~~~~~

* Therp BV

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

* Therp BV <https://therp.nl>
* `Tecnativa <https://www.tecnativa.com>`_:

* Alexandre Díaz
* João Marques
* Carlos Roca

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.

.. |maintainer-joao-p-marques| image:: https://github.com/joao-p-marques.png?size=40px
:target: https://github.com/joao-p-marques
:alt: joao-p-marques

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-joao-p-marques|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions users_ldap_populate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright 2012 Therp BV (<http://therp.nl>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).

from . import models
from . import wizards
21 changes: 21 additions & 0 deletions users_ldap_populate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2012-2018 Therp BV <https://therp.nl>.
# Copyright 2021 Tecnativa - João Marques
# Copyright 2023 Tecnativa - Carolina Fernandez
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
{
"name": "LDAP Populate",
"version": "16.0.1.0.0",
"author": "Therp BV, Odoo Community Association (OCA)",
"maintainers": ["joao-p-marques"],
"website": "https://github.com/OCA/server-auth",
"license": "AGPL-3",
"category": "Tools",
"depends": ["auth_ldap"],
"external_dependencies": {"python": ["python-ldap"]},
"data": [
"security/ir.model.access.csv",
"wizards/populate_wizard.xml",
"views/users_ldap.xml",
],
"installable": True,
}
132 changes: 132 additions & 0 deletions users_ldap_populate/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_populate
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: server-tools (9.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-26 20:39+0000\n"
"PO-Revision-Date: 2016-09-09 12:26+0000\n"
"Last-Translator: OCA Transbot <[email protected]>\n"
"Language-Team: Amharic (http://www.transifex.com/oca/OCA-server-tools-9-0/"
"language/am/)\n"
"Language: am\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_populate
#: model_terms:ir.ui.view,arch_db:users_ldap_populate.populate_wizard_view
msgid "Add populate button to ldap view"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model,name:users_ldap_populate.model_res_company_ldap
msgid "Company LDAP configuration"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__create_date
msgid "Created on"
msgstr "Creado en"

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap__deactivate_unknown_users
msgid "Deactivate unknown users"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__display_name
msgid "Display Name"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__id
msgid "ID"
msgstr "ID"

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__ldap_id
msgid "LDAP Configuration"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard____last_update
msgid "Last Modified on"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: users_ldap_populate
#: model:ir.model.fields,help:users_ldap_populate.field_res_company_ldap__no_deactivate_user_ids
msgid "List users who never should be deactivated by the deactivation wizard"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__name
msgid "Name"
msgstr ""

#. module: users_ldap_populate
#: code:addons/users_ldap_populate/models/users_ldap.py:62
#, python-format
msgid ""
"No login attribute found: Could not extract login attribute from filter %s"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__users_created
msgid "Number of users created"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard__users_deactivated
msgid "Number of users deactivated"
msgstr ""

#. module: users_ldap_populate
#: model_terms:ir.ui.view,arch_db:users_ldap_populate.populate_wizard_view
msgid "OK"
msgstr ""

#. module: users_ldap_populate
#: model_terms:ir.ui.view,arch_db:users_ldap_populate.company_form_view
msgid "Populate"
msgstr ""

#. module: users_ldap_populate
#: model_terms:ir.ui.view,arch_db:users_ldap_populate.company_form_view
msgid "Populate user database"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model,name:users_ldap_populate.model_res_company_ldap_populate_wizard
msgid "Populate users from LDAP"
msgstr ""

#. module: users_ldap_populate
#: code:addons/users_ldap_populate/models/users_ldap.py:89
#, python-format
msgid "Unable to process user with login %s"
msgstr ""

#. module: users_ldap_populate
#: model:ir.model.fields,field_description:users_ldap_populate.field_res_company_ldap__no_deactivate_user_ids
msgid "Users never to deactivate"
msgstr ""
Loading

0 comments on commit 08b73b9

Please sign in to comment.