Skip to content

Commit

Permalink
10.0 migrate users_ldap_populate (OCA#657)
Browse files Browse the repository at this point in the history
* [MIG] migrate users_ldap_populate to 10.0

Changes include:
 - move views to views folder
 - move models to models folder
 - in views rename openerp to odoo
 - __openerp__.py to __manifest__.py

* [FIX] Add read me to module users_ldap_populate

* [FIX] users_ldap_populate: cleanup manifest file

Cleanup of the author list

* [FIX] users_ldap_populate: More modern copyright in .py files

* [FIX] users_ldap_populate: Update read me

Fixes include:
 - more human module name
 - Fix web links
  • Loading branch information
StephanRozendaal authored and ryanc-me committed Jul 30, 2024
1 parent e991915 commit 5d716e8
Show file tree
Hide file tree
Showing 77 changed files with 5,091 additions and 432 deletions.
68 changes: 68 additions & 0 deletions users_ldap_populate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

===================
Users LDAP Populate
===================

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

Installation
============

To install this module, you need to:

#. Install the module users_ldap_populate from the module list.

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

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/repo/149

.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt
.. branch is "8.0" for example
Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/server-tools/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.

Credits
=======

* Therp BV

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Maintainer
----------

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
6 changes: 5 additions & 1 deletion users_ldap_populate/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
from . import model
# -*- coding: utf-8 -*-
# © 2012 Therp BV (<http://therp.nl>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).

from . import models
35 changes: 11 additions & 24 deletions users_ldap_populate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2012 Therp BV (<http://therp.nl>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# © 2012 Therp BV (<http://therp.nl>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).

{
"name": "LDAP Populate",
"version": "9.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"version": "10.0.1.0.0",
"author": (
"Therp BV",
"Odoo Community Association (OCA)",
),
"license": "AGPL-3",
"category": 'Tools',
"description": """
Expand All @@ -45,8 +32,8 @@
'python': ['ldap'],
},
"data": [
'view/users_ldap.xml',
'view/populate_wizard.xml',
'views/users_ldap.xml',
'views/populate_wizard.xml',
],
'installable': False,
'installable': True,
}
101 changes: 101 additions & 0 deletions users_ldap_populate/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_populate
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-18 02:29+0000\n"
"PO-Revision-Date: 2017-02-18 02:29+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: users_ldap_populate
#: model: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.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard_create_uid
msgid "Created by"
msgstr "أنشئ بواسطة"

#. 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 "أنشئ في"

#. 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 "المعرف"

#. 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 "آخر تحديث بواسطة"

#. 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 "آخر تحديث في"

#. 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:47
#, 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.ui.view,arch_db:users_ldap_populate.populate_wizard_view
msgid "OK"
msgstr ""

#. module: users_ldap_populate
#: model:ir.ui.view,arch_db:users_ldap_populate.company_form_view
msgid "Populate"
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
#: model:ir.model,name:users_ldap_populate.model_res_company_ldap
msgid "res.company.ldap"
msgstr ""
101 changes: 101 additions & 0 deletions users_ldap_populate/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * users_ldap_populate
#
# Translators:
# OCA Transbot <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-18 02:29+0000\n"
"PO-Revision-Date: 2017-02-18 02:29+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: users_ldap_populate
#: model: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.fields,field_description:users_ldap_populate.field_res_company_ldap_populate_wizard_create_uid
msgid "Created by"
msgstr "Създадено от"

#. 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 "Създадено на"

#. 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 "Последно обновено от"

#. 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 "Последно обновено на"

#. 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:47
#, 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.ui.view,arch_db:users_ldap_populate.populate_wizard_view
msgid "OK"
msgstr ""

#. module: users_ldap_populate
#: model:ir.ui.view,arch_db:users_ldap_populate.company_form_view
msgid "Populate"
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
#: model:ir.model,name:users_ldap_populate.model_res_company_ldap
msgid "res.company.ldap"
msgstr ""
Loading

0 comments on commit 5d716e8

Please sign in to comment.