Skip to content

Commit

Permalink
Merge pull request #23 from Monogramm/develop
Browse files Browse the repository at this point in the history
0.4.1
  • Loading branch information
madmath03 authored Mar 14, 2019
2 parents 9874bbb + f90be55 commit 00b2902
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 5 deletions.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: madmath03

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Provide commands or configuration file if possible.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Project (please complete the following information):**
- Project Version: [e.g. version 0.4.0]

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: madmath03

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Contributing
============

First of all, **thank you** for contributing, **you are awesome**!

You can report bugs or request new features by creating an [issue](https://github.com/Monogramm/taiga-contrib-ldap-auth-ext/issues), or submit a [pull request](https://github.com/Monogramm/taiga-contrib-ldap-auth-ext/pulls) with your contribution.

Here are a few rules to follow in order to ease code reviews and discussions before maintainers accept and merge your work.

You MUST follow the [The Best of the Best Practices (BOBP) Guide for Python](https://gist.github.com/sloria/7001839). If you don't know about any of them, you should really read the recommendations.

You SHOULD write tests.

You SHOULD write documentation.

Please, write [commit messages that make sense](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html), and [rebase your branch](http://git-scm.com/book/en/Git-Branching-Rebasing) before submitting your Pull Request.

If possible, use [gitmoji](https://gitmoji.carloscuesta.me/) in your commit message to ease code reviews.

One may ask you to [squash your commits](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html) too. This is used to "clean" your Pull Request before merging it (we don't want commits such as `fix tests`, `fix 2`, `fix 3`, etc.).

Also, while creating your Pull Request on GitHub, you MUST write a description which gives the context and/or explains why you are creating it. If your Pull Request is related to one or several issues, you SHOULD reference them in your PR description.

Thank you!
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ LDAP_FULL_NAME_ATTRIBUTE = 'displayName'
# Taiga super users group id
#LDAP_GROUP_ADMIN = 'OU=TaigaAdmin,DC=example,DC=net'

# Fallback on normal authentication method if this LDAP auth fails. Uncomment to enable.
# LDAP_FALLBACK = "normal"
# Fallback on normal authentication method if LDAP auth fails. Uncomment to disable and only allow LDAP login.
#LDAP_FALLBACK = ""

# Function to map LDAP username to local DB user unique identifier.
# Upon successful LDAP bind, will override returned username attribute
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
version = ":versiontools:taiga_contrib_ldap_auth_ext:",
description = "The (extended) Taiga plugin for ldap authentication",
long_description = "Extended Taiga.io plugin for LDAP authentication. This is a fork of ensky/taiga-contrib-ldap-auth which also retrieves the various contributions and other forks into one.",
download_url = 'https://github.com/Monogramm/taiga-contrib-ldap-auth-ext/archive/v0.4.0.tar.gz',
download_url = 'https://github.com/Monogramm/taiga-contrib-ldap-auth-ext/archive/v0.4.1.tar.gz',
keywords = 'taiga, ldap, auth, plugin',
author = 'madmath03',
author_email = '[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion taiga_contrib_ldap_auth_ext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
# 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/>.

__version__ = (0, 4, 0)
__version__ = (0, 4, 1)

default_app_config = "taiga_contrib_ldap_auth_ext.apps.TaigaContribLDAPAuthAppConfig"
2 changes: 1 addition & 1 deletion taiga_contrib_ldap_auth_ext/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from . import connector

FALLBACK = getattr(settings, 'LDAP_FALLBACK', '')
FALLBACK = getattr(settings, 'LDAP_FALLBACK', 'normal')

SLUGIFY = getattr(settings, 'LDAP_MAP_USERNAME_TO_UID', '')
EMAIL_MAP = getattr(settings, 'LDAP_MAP_EMAIL', '')
Expand Down

0 comments on commit 00b2902

Please sign in to comment.