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

[17.0][MIG] users_ldap_populate: Migration to 17.0 #675

Open
wants to merge 49 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ffe4368
Therp's modules to sync OpenERP with LDAP directories
dreispt Jul 23, 2013
9dc1a0f
FIX version numbers; view type is deprecated
dreispt Jul 24, 2013
91725fe
Generate .pot files
Mar 14, 2014
c6c6b41
move all modules to __unported__ on master branch and set installable…
sbidoul Jul 12, 2014
7c28848
Move users_ldap_populate out of unported
dreispt Sep 2, 2014
05a8578
Port users_ldap_populate to v8
dreispt Sep 2, 2014
c4762c7
[FIX] pylint
Dec 3, 2014
65cb66e
[FIX] travis
hbrunn Dec 8, 2014
c5155db
Add license key in __openerp__.py
yvaucher Feb 6, 2015
2a164a5
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
1ed25dd
Add missing default oca icons
yvaucher Aug 18, 2015
6440e56
[FIX] users_ldap_populate: Protect ldap library import
pedrobaeza Aug 20, 2015
948cee2
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
4c83481
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
702b252
Port the ldap_populate in V9
flotho Nov 9, 2015
c78a8e4
port user_ldap_populate to new API
gurneyalex Nov 26, 2015
ec98096
Fix 9.0 version number
sbidoul Dec 13, 2015
6a682d7
Reset version 9.0.1.0.0
sbidoul Dec 14, 2015
b6d40c0
9.0 users_ldap_populate fix 2 bugs
gurneyalex Jan 20, 2016
7839253
updated i18n files
gurneyalex Jan 21, 2016
884a25b
update french translation
gurneyalex Jan 21, 2016
dc9064b
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
454b53d
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
bd4b564
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
f9d2e03
10.0 migrate users_ldap_populate (#657)
StephanRozendaal Dec 27, 2016
7afa7ea
[ADD] users_ldap_populate: migrate functionality added to 6.1 after 7…
hbrunn Jul 31, 2017
be214b4
[MIG] users_ldap_populate port v8 feature
simahawk Aug 10, 2017
24713ba
users_ldap_populate: try/except on import ldap
alexis-via Oct 2, 2017
836a88d
[FIX] users_ldap_populate. Wrong field name in test.
NL66278 Apr 20, 2018
e5158c8
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
77de591
[FIX] users_ldap_populate. No unneeded password reset message.
NL66278 Aug 9, 2018
70b6d65
[FIX] strange behavior of users_ldap_populate
gurneyalex Jan 10, 2019
8248446
[FIX] auth_ldap_populate
gurneyalex Feb 20, 2019
9018d66
Translated using Weblate (French)
gurneyalex Mar 1, 2019
fb93f22
[10.0] [FIX] users_ldap_populate special characters (#1564)
r-hede May 3, 2019
3e7790e
[MIG] users_ldap_populate: Migration to 12.0
Tardo Aug 13, 2019
50d479c
[IMP] users_ldap_populate: Cherry-pick from hbrunn
hbrunn Oct 1, 2019
7b8a363
[FIX] users_ldap_populate: use str, not bytes
Apr 27, 2020
913b0e3
[FIX] users_ldap_populate: Fix POT + es
pedrobaeza Jun 26, 2020
96f49f2
[IMP] users_ldap_populate: black, isort, prettier
joao-p-marques Feb 15, 2021
bf564d0
[MIG] users_ldap_populate: Migration to 13.0
joao-p-marques Feb 15, 2021
3bb7c70
Apply dotfiles
sbidoul Apr 20, 2021
2ab73b6
[IMP] users_ldap_populate: black, isort, prettier
CarlosRoca13 Mar 24, 2022
b2938df
[MIG] users_ldap_populate: Migration to 14.0
CarlosRoca13 Mar 28, 2022
cba59df
[MIG] users_ldap_populate: Migration to 16.0
carolinafernandez-tecnativa Sep 27, 2023
366e895
Translated using Weblate (Italian)
mymage Jan 4, 2024
1ea3f06
Translated using Weblate (Portuguese (Brazil))
May 29, 2024
8f23700
[IMP] users_ldap_populate: pre-commit auto fixes
ryanc-me Jul 30, 2024
023ac25
[MIG] users_ldap_populate: Migrate to 17.0
ryanc-me Jul 30, 2024
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
Binary file added pandoc-3.3-1-amd64.deb
Binary file not shown.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ email_validator
lxml
pysaml2
python-jose
python-ldap
108 changes: 108 additions & 0 deletions users_ldap_populate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
=============
LDAP Populate
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:63416ef2552f2e40342f05e2816018fa46e7b680c87a4a7619875248549db09c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/server-auth-17-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=17.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:

1. Go to 'Settings' -> 'General Settings'
2. In the LDAP category click on or add a LDAP configuration
3. In the pop-up enter all the LDAP settings
4. Click the populate button
5. 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:%2017.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
- Carolina Fernandez

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/17.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
22 changes: 22 additions & 0 deletions users_ldap_populate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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": "17.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,
}
134 changes: 134 additions & 0 deletions users_ldap_populate/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# 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
#. odoo-python
#: code:addons/users_ldap_populate/models/users_ldap.py:0
#, 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
#. odoo-python
#: code:addons/users_ldap_populate/models/users_ldap.py:0
#, 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
Loading