Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][MIG] users_ldap_populate: Migration to 14.0 #360

Merged
merged 48 commits into from
Sep 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
112279a
Therp's modules to sync OpenERP with LDAP directories
dreispt Jul 23, 2013
7673531
FIX version numbers; view type is deprecated
dreispt Jul 24, 2013
0559986
Generate .pot files
Mar 14, 2014
4664f01
Launchpad automatic translations update.
Mar 18, 2014
3c4c226
Launchpad automatic translations update.
Apr 17, 2014
3a085ad
Launchpad automatic translations update.
Apr 28, 2014
ee5f28a
Launchpad automatic translations update.
May 24, 2014
8f3ef55
move all modules to __unported__ on master branch and set installable…
sbidoul Jul 12, 2014
ab0d6f1
Move users_ldap_populate out of unported
dreispt Sep 2, 2014
dd8d13d
Port users_ldap_populate to v8
dreispt Sep 2, 2014
2a340e0
[FIX] pylint
Dec 3, 2014
0aaed8a
[FIX] travis
hbrunn Dec 8, 2014
6a25e44
Add license key in __openerp__.py
yvaucher Feb 6, 2015
7e1ad10
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
a26cee3
Add missing default oca icons
yvaucher Aug 18, 2015
61650f7
[FIX] users_ldap_populate: Protect ldap library import
pedrobaeza Aug 20, 2015
4646ae0
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
2f18687
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
3dff2b2
Port the ldap_populate in V9
flotho Nov 9, 2015
35a439a
port user_ldap_populate to new API
gurneyalex Nov 26, 2015
7705d65
Fix 9.0 version number
sbidoul Dec 13, 2015
f391161
Reset version 9.0.1.0.0
sbidoul Dec 14, 2015
df17de8
9.0 users_ldap_populate fix 2 bugs
gurneyalex Jan 20, 2016
e16f7a3
updated i18n files
gurneyalex Jan 21, 2016
f424d20
update french translation
gurneyalex Jan 21, 2016
dc4fe0d
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
9d02565
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
4ce6322
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
6700f15
10.0 migrate users_ldap_populate (#657)
StephanRozendaal Dec 27, 2016
b31360e
[ADD] users_ldap_populate: migrate functionality added to 6.1 after 7…
hbrunn Jul 31, 2017
8d0224d
[MIG] users_ldap_populate port v8 feature
simahawk Aug 10, 2017
11db812
users_ldap_populate: try/except on import ldap
alexis-via Oct 2, 2017
d6d6b23
[FIX] users_ldap_populate. Wrong field name in test.
NL66278 Apr 20, 2018
3f67312
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
d2669f5
[FIX] users_ldap_populate. No unneeded password reset message.
NL66278 Aug 9, 2018
b9dd0ca
[FIX] strange behavior of users_ldap_populate
gurneyalex Jan 10, 2019
d8a7030
[FIX] auth_ldap_populate
gurneyalex Feb 20, 2019
4c7b1db
Translated using Weblate (French)
gurneyalex Mar 1, 2019
db8829e
[10.0] [FIX] users_ldap_populate special characters (#1564)
r-hede May 3, 2019
ded5655
[MIG] users_ldap_populate: Migration to 12.0
Tardo Aug 13, 2019
7606303
[IMP] users_ldap_populate: Cherry-pick from hbrunn
hbrunn Oct 1, 2019
934fbce
[FIX] users_ldap_populate: use str, not bytes
Apr 27, 2020
4b00b56
[FIX] users_ldap_populate: Fix POT + es
pedrobaeza Jun 26, 2020
98b62d3
[IMP] users_ldap_populate: black, isort, prettier
joao-p-marques Feb 15, 2021
3405418
[MIG] users_ldap_populate: Migration to 13.0
joao-p-marques Feb 15, 2021
56c189b
Apply dotfiles
sbidoul Apr 20, 2021
5149d0c
[IMP] users_ldap_populate: black, isort, prettier
CarlosRoca13 Mar 24, 2022
43ed720
[MIG] users_ldap_populate: Migration to 14.0
CarlosRoca13 Mar 28, 2022
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
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,
)
103 changes: 103 additions & 0 deletions users_ldap_populate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
=============
LDAP Populate
=============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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/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/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/251/14.0
:alt: Try me on Runbot

|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 smashing 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.
4 changes: 4 additions & 0 deletions users_ldap_populate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2012 Therp BV (<http://therp.nl>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).

from . import models
20 changes: 20 additions & 0 deletions users_ldap_populate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2012-2018 Therp BV <https://therp.nl>.
# Copyright 2021 Tecnativa - João Marques
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
{
"name": "LDAP Populate",
"version": "14.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",
"views/users_ldap.xml",
"views/populate_wizard.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 <transbot@odoo-community.org>\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