pygitweb 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pygitweb/__meta__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  Metadata for PyGitWeb - this is the canonical source of all information below.
3
3
  """
4
4
 
5
- __version__ = "0.2.0"
5
+ __version__ = "0.2.3"
6
6
  __author__ = "Will Bowers"
7
7
  __license__ = "MIT"
8
8
  __description__ = "FastAPI + Pygit2 Repo Browser"
pygitweb/auth.py CHANGED
@@ -23,13 +23,12 @@ from fastapi.security import APIKeyCookie, OAuth2PasswordBearer, OAuth2PasswordR
23
23
  from pydantic import BaseModel
24
24
 
25
25
  from pygitweb.auth_config import (
26
- auth_config,
27
26
  is_auth_configured,
28
27
  is_local_auth_available,
29
28
  is_oauth_auth_available,
30
29
  )
31
30
  from pygitweb.auth_oauth import OAUTH_STATE_COOKIE_NAME, oauth_router
32
- from pygitweb.config import settings
31
+ from pygitweb.config import auth_config, settings
33
32
  from pygitweb.gravatar import gravatar_url
34
33
  from pygitweb.password_hash import verify_password
35
34
  from pygitweb.permissions import Permission, PermissionPrincipal, has_branch_read_permission
pygitweb/auth_oauth.py CHANGED
@@ -23,8 +23,8 @@ import httpx
23
23
  from fastapi import APIRouter, HTTPException, Query, Request, status
24
24
  from fastapi.responses import RedirectResponse
25
25
 
26
- from pygitweb.auth_config import AuthConfig, OAuthUsernameFrom, auth_config, is_oauth_auth_available
27
- from pygitweb.config import settings
26
+ from pygitweb.auth_config import AuthConfig, OAuthUsernameFrom, is_oauth_auth_available
27
+ from pygitweb.config import auth_config, settings
28
28
  from pygitweb.sessions import create_session
29
29
 
30
30
  OAUTH_STATE_COOKIE_NAME = "pygitweb_oauth_state"
pygitweb/main.py CHANGED
@@ -60,10 +60,10 @@ from pygitweb.auth import (
60
60
  ensure_permission,
61
61
  require_permission,
62
62
  )
63
- from pygitweb.auth_config import auth_config, is_auth_configured
63
+ from pygitweb.auth_config import is_auth_configured
64
64
  from pygitweb.board_refs import BoardRefManifest, board_ref_manifest
65
65
  from pygitweb.change_queue import CHANGE_QUEUE
66
- from pygitweb.config import ACTIONS, get_loadavg, settings
66
+ from pygitweb.config import ACTIONS, auth_config, get_loadavg, settings
67
67
  from pygitweb.dependencies import (
68
68
  ValidatedBoardCreateProject,
69
69
  ValidatedNotifyProject,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygitweb
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Gitweb reimplementation with FastAPI and Pygit2
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.11
@@ -1,12 +1,12 @@
1
1
  pygitweb/README.md,sha256=KcyIViS9wxXHigXYwfFJ9wxqLDby5dPE9HBLIHkfW8Y,8167
2
2
  pygitweb/__init__.py,sha256=cCoIvAeErcwdpqQHH7x6G1JSkJhlXZ4pF7DwgzBoGEo,785
3
- pygitweb/__meta__.py,sha256=j1X3v1UcypfZ8N65G4WcnA-sN-lS4gXJDi_k0A8QgSo,240
3
+ pygitweb/__meta__.py,sha256=oPHIQ7AbjR5KG8nFkqKcCVrB43Gd0iMnVoFF1PoWbm4,240
4
4
  pygitweb/actions.py,sha256=lcSxNHj93h3jDeppjHPb8wNWDdeWd76pNRcsxVBIWC8,47045
5
5
  pygitweb/addproject_permissions_test.py,sha256=vgyhwR4-6lgws3SEekYLbTl9AHC4DMSQtvXrmgjliJU,3452
6
- pygitweb/auth.py,sha256=PkNwzoQ5fTV5Rhgsk2XHSVJOoxwTHQ30bYEH9Ebs-30,15661
6
+ pygitweb/auth.py,sha256=Kg5jNRGKqepKkkV0Y0HJJNDySRUMuTqGnwkiaaJg2kA,15660
7
7
  pygitweb/auth.schema.json,sha256=nNbi6HivA2KI6Kk_Z3qTCTpVNv4DP7g8nBIZpuXXjoo,3483
8
8
  pygitweb/auth_config.py,sha256=X1GFk0zpE-yt_9yknNeA1UvC566LXGagpmAchVOnjMA,7148
9
- pygitweb/auth_oauth.py,sha256=D21zKrp7qMACyG_aAejnL25fk1ShiSKmAuzpRVGydWM,11714
9
+ pygitweb/auth_oauth.py,sha256=7A-jiC7-Fx6dCmiZjMSfOnDh5fdffRDAt0GUasGjn6M,11714
10
10
  pygitweb/auth_test.py,sha256=LjYLbg8FUkJ3sof71VvlRbSzuipqazLHvzqaVkSap_g,22249
11
11
  pygitweb/board_refs.py,sha256=Zf_vxOBvuy38fDNtTM5TQVDK40sLS7RInmM-qwFlw34,4823
12
12
  pygitweb/board_refs_test.py,sha256=59ZE_MpkKecCh6bAJEwGIb80M4bQXidLx4SQn2hHlUg,3476
@@ -27,7 +27,7 @@ pygitweb/gravatar_test.py,sha256=71DSdZ5cnijKkpJX4tkmL25wsvmY-4zytpWOMWIXsGY,364
27
27
  pygitweb/hooks_install.py,sha256=FdldklyfWkTOxu8L1HNAws3SMJMkbjkRUgpctSh5WNs,10234
28
28
  pygitweb/hooks_install_test.py,sha256=FtYhjWzCRnLIB_6rSgqtnpOK44kZAUDH9iTbgdQoiGQ,15996
29
29
  pygitweb/hooks_permissions_test.py,sha256=FdfMmFIFJ9Rw9lgK_kbBGne6Vg_KaZCW38mMu_Dr9pI,3830
30
- pygitweb/main.py,sha256=QZvdVz7oa7PAn0UoIjRr54lqUfpkkFv0OCpj6gYFzfQ,30476
30
+ pygitweb/main.py,sha256=Ivi7w1LdjYw6kzrmmRK4KIU4DRJLnQ00RnRV6t8w3b8,30476
31
31
  pygitweb/merge_requests.py,sha256=6Tq5R7vNtkrU8mg__WBrNuyQzgqQWHJzJX1xZ6YwVyE,8325
32
32
  pygitweb/merge_requests_test.py,sha256=wQYgKiN33LxIGV-SE5EubMyArrOIwr1TopeEXcTKmkg,2670
33
33
  pygitweb/mr_permissions_test.py,sha256=vlF1ErW92pwMW2aTd9P8CJGM-FqUi1u1LgdmsFUw2Hc,6977
@@ -97,8 +97,8 @@ pygitweb/templates/settings_form_field.html,sha256=47xxEqLkKiVxF1p5u-VN9JUGmjl0k
97
97
  pygitweb/templates/shutdown_ack.html,sha256=PakOa5fX3bTHVZzwf7hCkuvzFr7mlW1JWwcK_IsVgM8,176
98
98
  pygitweb/templates/table.html,sha256=dCOuoHsOKKVH66Ny77677peeUE-OEXCScZRC0e0H738,258
99
99
  pygitweb/templates/user_profile.html,sha256=KUcMt9W8AFydUPlrE7jx_PmftSVadRy9lJzzvT-vgeY,309
100
- pygitweb-0.2.2.dist-info/licenses/LICENSE,sha256=oWN3hgCPpp69WEgHXOML1NEDCYdp6SRmvMTEl0XK9ko,1068
101
- pygitweb-0.2.2.dist-info/METADATA,sha256=XsbI25isjVvJTwMUqOEkmLHyXSCoNptPVkPMX0skhh4,8781
102
- pygitweb-0.2.2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
103
- pygitweb-0.2.2.dist-info/top_level.txt,sha256=lCXrW6CHwXIrR8Kp5KW10jJ5kb2kgHzlc7Y7FsTQD7g,9
104
- pygitweb-0.2.2.dist-info/RECORD,,
100
+ pygitweb-0.2.3.dist-info/licenses/LICENSE,sha256=oWN3hgCPpp69WEgHXOML1NEDCYdp6SRmvMTEl0XK9ko,1068
101
+ pygitweb-0.2.3.dist-info/METADATA,sha256=F-e5T7G1EKs2DFsb9jYo2kv8jn7MsGoFuAPpewTfNm0,8781
102
+ pygitweb-0.2.3.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
103
+ pygitweb-0.2.3.dist-info/top_level.txt,sha256=lCXrW6CHwXIrR8Kp5KW10jJ5kb2kgHzlc7Y7FsTQD7g,9
104
+ pygitweb-0.2.3.dist-info/RECORD,,