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

ref!: various upgrades and fixes #102

Merged
merged 33 commits into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2276ad2
ref!: various upgrades and fixes
Diaoul May 3, 2023
8b67ac8
fix: some things
Diaoul May 8, 2023
16a6c72
fix: pre-commit
Diaoul May 8, 2023
5e3673c
fix: flake8
Diaoul May 8, 2023
1efb756
fix: add instructions
Diaoul May 8, 2023
093f134
fix: update github actions
Diaoul May 8, 2023
5067dbb
fix: pre-commit action
Diaoul May 8, 2023
3763735
fix: python 3.11
Diaoul May 8, 2023
b38660d
fix: migrations sequence
mreid-tt Dec 30, 2023
f708234
Merge branch 'main' into diaoul/refactor
mreid-tt Dec 30, 2023
3ad7cfe
fix: duplicate db column
mreid-tt Dec 30, 2023
d6ea8d6
fix: api key form validation
mreid-tt Dec 30, 2023
39c9c88
fix: cli user creation
mreid-tt Dec 30, 2023
1aa2837
rollback: hide inactive packages
mreid-tt Dec 30, 2023
b4185ab
fix: python linting
mreid-tt Dec 30, 2023
91ccd9b
fixed several deprication warnings
publicarray Dec 31, 2023
4666ce6
fixed several deprecation warnings
publicarray Dec 31, 2023
b668f41
pass pre-commit hook
publicarray Dec 31, 2023
d7a3340
fix: redirect check
mreid-tt Dec 31, 2023
c43aeb8
fix: login for logged user
mreid-tt Dec 31, 2023
34db367
fix: babel keyerror
mreid-tt Dec 31, 2023
960043b
fix: pre-commit check
mreid-tt Dec 31, 2023
bd1f23d
update: readme
mreid-tt Dec 31, 2023
656104a
Update project requirements
mreid-tt Dec 31, 2023
1902668
fix: api test post
mreid-tt Dec 31, 2023
6d8df77
fix: pre-commit check
mreid-tt Dec 31, 2023
c935a44
Fixed more warnings in tests
publicarray Dec 31, 2023
840fe63
fix: api test post headers
mreid-tt Dec 31, 2023
8127f7b
update README
publicarray Dec 31, 2023
d379e7f
leftover cleanup
publicarray Dec 31, 2023
4247322
Minor readme correction
mreid-tt Dec 31, 2023
72c9c42
Revert "Minor readme correction"
mreid-tt Dec 31, 2023
c7e67e9
Update docker build
publicarray Dec 31, 2023
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
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ ipaddress = "^1.0.23"
flask-debugtoolbar = "^0.14.1"
bcrypt = "^4.0.1"
flask-security-too = "^5.3.1"
werkzeug = "^2.3.8"

[tool.poetry.group.dev.dependencies]
sphinx = "^7.2.0"
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,9 @@ typing-extensions==4.9.0 ; python_version >= "3.9" and python_version < "4.0" \
urllib3==2.1.0 ; python_version >= "3.9" and python_version < "4.0" \
--hash=sha256:55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3 \
--hash=sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54
werkzeug==2.3.8 ; python_version >= "3.9" and python_version < "4.0" \
--hash=sha256:554b257c74bbeb7a0d254160a4f8ffe185243f52a52035060b761ca62d977f03 \
--hash=sha256:bba1f19f8ec89d4d607a3bd62f1904bd2e609472d93cd85e9d4e178f472c3748
werkzeug==3.0.1 ; python_version >= "3.9" and python_version < "4.0" \
--hash=sha256:507e811ecea72b18a404947aded4b3390e1db8f826b494d76550ef45bb3b1dcc \
--hash=sha256:90a285dc0e42ad56b34e696398b8122ee4c681833fb35b8334a095d82c56da10
wtforms==3.1.1 ; python_version >= "3.9" and python_version < "4.0" \
--hash=sha256:5e51df8af9a60f6beead75efa10975e97768825a82146a65c7cbf5b915990620 \
--hash=sha256:ae7c54b29806c70f7bce8eb9f24afceb10ca5c32af3d9f04f74d2f66ccc5c7e0
Expand Down
9 changes: 3 additions & 6 deletions spkrepo/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@


def authorization_header(user):
return {
(
"Authorization",
"Basic " + base64.b64encode(user.api_key.encode("utf-8")).decode("utf-8"),
)
}
auth_str = user.api_key + ":"
encoded_auth = base64.b64encode(auth_str.encode("utf-8")).decode("ascii")
return {"Authorization": "Basic " + encoded_auth}
mreid-tt marked this conversation as resolved.
Show resolved Hide resolved


class PackagesTestCase(BaseTestCase):
Expand Down