Skip to content

Commit 86c7813

Browse files
committed
Merge branch 'master' into yasondinalt-master
2 parents 3ddb9f1 + 870ad82 commit 86c7813

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+3190
-1242
lines changed

.coveragerc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.deepsource.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version = 1
2+
3+
exclude_patterns = [
4+
"makemigrations.py",
5+
"runtests.py",
6+
"account/tests/**",
7+
"account/tests/test_*.py",
8+
]
9+
10+
[[analyzers]]
11+
name = "python"
12+
enabled = true
13+
14+
[analyzers.meta]
15+
max_line_length = 120
16+
runtime_version = "3.x.x"

.github/workflows/ci.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Lints and Tests
2+
on: [push]
3+
jobs:
4+
lint:
5+
name: Linting
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: Set up Python 3.11
12+
uses: actions/setup-python@v4
13+
with:
14+
python-version: "3.11"
15+
16+
- name: Install lint dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install ruff
20+
21+
- name: Lint with ruff
22+
run: |
23+
ruff --format=github --target-version=py311 account
24+
25+
test:
26+
name: Testing
27+
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
python:
31+
- "3.8"
32+
- "3.9"
33+
- "3.10"
34+
- "3.11"
35+
django:
36+
- "3.2.*"
37+
- "4.2.*"
38+
exclude:
39+
- python: "3.11"
40+
django: "3.2.*"
41+
42+
steps:
43+
- uses: actions/checkout@v2
44+
45+
- name: Setup Python
46+
uses: actions/setup-python@v4
47+
with:
48+
python-version: ${{ matrix.python }}
49+
50+
- name: Install Django
51+
shell: bash
52+
run: pip install Django==${{ matrix.django }} 'django-appconf>=1.0.4' 'pytz>=2020.4'
53+
54+
- name: Running Python Tests
55+
shell: bash
56+
run: python3 runtests.py

.gitignore

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1-
*.pyc
1+
MANIFEST
2+
.DS_Store
3+
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
*.py[cod]
7+
8+
# Distribution / packaging
9+
.Python
10+
env/
11+
build/
12+
develop-eggs/
13+
dist/
14+
docs/_build/
15+
eggs/
16+
lib/
17+
lib64/
18+
parts/
19+
sdist/
20+
var/
21+
*.egg-info/
22+
.installed.cfg
23+
*.egg
24+
*.eggs
25+
.python-version
26+
27+
# Pipfile
28+
Pipfile
29+
Pipfile.lock
30+
31+
# Installer logs
32+
pip-log.txt
33+
pip-delete-this-directory.txt
34+
35+
# Unit test / coverage reports
36+
htmlcov/
37+
.tox/
238
.coverage
3-
*.egg-info
39+
.cache
40+
nosetests.xml
41+
coverage.xml
42+
43+
# IDEs
44+
.idea/

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 88 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,91 @@
1-
# ChangeLog
1+
# Change Log
2+
3+
BI indicates a backward incompatible change. Take caution when upgrading to a
4+
version with these. Your code will need to be updated to continue working.
5+
6+
## 3.3.2
7+
8+
* #375 - Include migration for `SignupCode.max_uses` (closes #374)
9+
* #376 - Static analysis fixups
10+
11+
## 3.3.1
12+
13+
* #373 - Re-include migrations in distribution
14+
15+
## 3.3.0
16+
17+
* #370 Drop Django 2.2, fix timezone-aware comparison, packaging tweaks
18+
19+
## 3.2.1
20+
21+
* #364 - Performance fix to admin classes
22+
23+
## 3.2.0
24+
25+
* #363 - Django 4.0 compat: `ugettext_lazy` -> `gettext_lazy`
26+
27+
## 3.1.0
28+
29+
* #205 - Bug fix on checking email against email not signup code
30+
* #225 - Fix case sensitivity mismatch on email addresses
31+
* #233 - Fix link to languages in docs
32+
* #247 - Update Spanish translations
33+
* #273 - Update German translations
34+
* #135 - Update Russian translations
35+
* #242 - Fix callbacks/hooks for account deletion
36+
* #251 (#249) - Allow overriding the password reset token url
37+
* #280 - Raise improper config error if signup view can't login
38+
* #348 (#337) - Make https the default protocol
39+
* #351 (#332) - Reduction in queries
40+
* #360 (#210) - Updates to docs
41+
* #361 (#141) - Added ability to override clean passwords
42+
* #362 - Updated CI to use Pinax Actions
43+
* Updates to packaging
44+
* Dropped Python 3.5 and Django 3.1 from test matrix
45+
* Added Python 3.10 to test matrix
46+
47+
48+
## 3.0.3
49+
50+
* Fix deprecated urls
51+
* Update template context processors docs
52+
* Fix deprecrated argument in signals
53+
* Update decorators for Django 3
54+
* Fix issue with lazy string
55+
* Drop deprecated `force_text()`
56+
57+
## 3.0.2
58+
59+
* Drop Django 2.0 and Python 2,7, 3.4, and 3.5 support
60+
* Add Django 2.1, 2.2 and 3.0, and Python 3.7 and 3.8 support
61+
* Update packaging configs
62+
63+
## 2.0.3
64+
65+
* fixed breaking change in 2.0.2 where context did not have uidb36 and token
66+
* improved documentation
67+
68+
## 2.0.2
69+
70+
* fixed potentional security issue with leaking password reset tokens through HTTP Referer header
71+
* added `never_cache`, `csrf_protect` and `sensitive_post_parameters` to appropriate views
72+
73+
## 2.0.1
74+
75+
@@@ todo
76+
77+
## 2.0.0
78+
79+
* BI: moved account deletion callbacks to hooksets
80+
* BI: dropped Django 1.7 support
81+
* BI: dropped Python 3.2 support
82+
* BI: removed deprecated `ACCOUNT_USE_AUTH_AUTHENTICATE` setting with behavior matching its `True` value
83+
* added Django 1.10 support
84+
* added Turkish translations
85+
* fixed migration with language codes to dynamically set
86+
* added password expiration
87+
* added password stripping by default
88+
* added `ACCOUNT_EMAIL_CONFIRMATION_AUTO_LOGIN` feature (default is `False`)
289

390
## 1.3.0
491

0 commit comments

Comments
 (0)