pygitweb 0.2.2__tar.gz → 0.2.3__tar.gz

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.
Files changed (108) hide show
  1. {pygitweb-0.2.2/pygitweb.egg-info → pygitweb-0.2.3}/PKG-INFO +1 -1
  2. {pygitweb-0.2.2 → pygitweb-0.2.3}/__meta__.py +1 -1
  3. {pygitweb-0.2.2 → pygitweb-0.2.3}/auth.py +1 -2
  4. {pygitweb-0.2.2 → pygitweb-0.2.3}/auth_oauth.py +2 -2
  5. {pygitweb-0.2.2 → pygitweb-0.2.3}/main.py +2 -2
  6. {pygitweb-0.2.2 → pygitweb-0.2.3/pygitweb.egg-info}/PKG-INFO +1 -1
  7. {pygitweb-0.2.2 → pygitweb-0.2.3}/pyproject.toml +1 -1
  8. {pygitweb-0.2.2 → pygitweb-0.2.3}/LICENSE +0 -0
  9. {pygitweb-0.2.2 → pygitweb-0.2.3}/README.md +0 -0
  10. {pygitweb-0.2.2 → pygitweb-0.2.3}/__init__.py +0 -0
  11. {pygitweb-0.2.2 → pygitweb-0.2.3}/actions.py +0 -0
  12. {pygitweb-0.2.2 → pygitweb-0.2.3}/addproject_permissions_test.py +0 -0
  13. {pygitweb-0.2.2 → pygitweb-0.2.3}/api/__init__.py +0 -0
  14. {pygitweb-0.2.2 → pygitweb-0.2.3}/api/action.py +0 -0
  15. {pygitweb-0.2.2 → pygitweb-0.2.3}/api/plugins/__init__.py +0 -0
  16. {pygitweb-0.2.2 → pygitweb-0.2.3}/api/plugins/project_zip.py +0 -0
  17. {pygitweb-0.2.2 → pygitweb-0.2.3}/api/project.py +0 -0
  18. {pygitweb-0.2.2 → pygitweb-0.2.3}/api/subpage.py +0 -0
  19. {pygitweb-0.2.2 → pygitweb-0.2.3}/auth.schema.json +0 -0
  20. {pygitweb-0.2.2 → pygitweb-0.2.3}/auth_config.py +0 -0
  21. {pygitweb-0.2.2 → pygitweb-0.2.3}/auth_test.py +0 -0
  22. {pygitweb-0.2.2 → pygitweb-0.2.3}/board_refs.py +0 -0
  23. {pygitweb-0.2.2 → pygitweb-0.2.3}/board_refs_test.py +0 -0
  24. {pygitweb-0.2.2 → pygitweb-0.2.3}/boards_permissions_test.py +0 -0
  25. {pygitweb-0.2.2 → pygitweb-0.2.3}/change_queue.py +0 -0
  26. {pygitweb-0.2.2 → pygitweb-0.2.3}/change_queue_routes_test.py +0 -0
  27. {pygitweb-0.2.2 → pygitweb-0.2.3}/change_queue_test.py +0 -0
  28. {pygitweb-0.2.2 → pygitweb-0.2.3}/comments_permissions_test.py +0 -0
  29. {pygitweb-0.2.2 → pygitweb-0.2.3}/config.py +0 -0
  30. {pygitweb-0.2.2 → pygitweb-0.2.3}/conftest.py +0 -0
  31. {pygitweb-0.2.2 → pygitweb-0.2.3}/dependencies.py +0 -0
  32. {pygitweb-0.2.2 → pygitweb-0.2.3}/formatting.py +0 -0
  33. {pygitweb-0.2.2 → pygitweb-0.2.3}/formatting_test.py +0 -0
  34. {pygitweb-0.2.2 → pygitweb-0.2.3}/git_helpers.py +0 -0
  35. {pygitweb-0.2.2 → pygitweb-0.2.3}/git_helpers_test.py +0 -0
  36. {pygitweb-0.2.2 → pygitweb-0.2.3}/gravatar.py +0 -0
  37. {pygitweb-0.2.2 → pygitweb-0.2.3}/gravatar_test.py +0 -0
  38. {pygitweb-0.2.2 → pygitweb-0.2.3}/hooks_install.py +0 -0
  39. {pygitweb-0.2.2 → pygitweb-0.2.3}/hooks_install_test.py +0 -0
  40. {pygitweb-0.2.2 → pygitweb-0.2.3}/hooks_permissions_test.py +0 -0
  41. {pygitweb-0.2.2 → pygitweb-0.2.3}/merge_requests.py +0 -0
  42. {pygitweb-0.2.2 → pygitweb-0.2.3}/merge_requests_test.py +0 -0
  43. {pygitweb-0.2.2 → pygitweb-0.2.3}/mr_permissions_test.py +0 -0
  44. {pygitweb-0.2.2 → pygitweb-0.2.3}/password_hash.py +0 -0
  45. {pygitweb-0.2.2 → pygitweb-0.2.3}/password_hash_test.py +0 -0
  46. {pygitweb-0.2.2 → pygitweb-0.2.3}/permissions.py +0 -0
  47. {pygitweb-0.2.2 → pygitweb-0.2.3}/permissions_test.py +0 -0
  48. {pygitweb-0.2.2 → pygitweb-0.2.3}/plugin_loader.py +0 -0
  49. {pygitweb-0.2.2 → pygitweb-0.2.3}/project_list_routes_test.py +0 -0
  50. {pygitweb-0.2.2 → pygitweb-0.2.3}/projects.py +0 -0
  51. {pygitweb-0.2.2 → pygitweb-0.2.3}/projects_test.py +0 -0
  52. {pygitweb-0.2.2 → pygitweb-0.2.3}/pygitweb.egg-info/SOURCES.txt +0 -0
  53. {pygitweb-0.2.2 → pygitweb-0.2.3}/pygitweb.egg-info/dependency_links.txt +0 -0
  54. {pygitweb-0.2.2 → pygitweb-0.2.3}/pygitweb.egg-info/requires.txt +0 -0
  55. {pygitweb-0.2.2 → pygitweb-0.2.3}/pygitweb.egg-info/top_level.txt +0 -0
  56. {pygitweb-0.2.2 → pygitweb-0.2.3}/sessions.py +0 -0
  57. {pygitweb-0.2.2 → pygitweb-0.2.3}/settings.py +0 -0
  58. {pygitweb-0.2.2 → pygitweb-0.2.3}/settings.schema.json +0 -0
  59. {pygitweb-0.2.2 → pygitweb-0.2.3}/settings_config.py +0 -0
  60. {pygitweb-0.2.2 → pygitweb-0.2.3}/settings_config_test.py +0 -0
  61. {pygitweb-0.2.2 → pygitweb-0.2.3}/settings_permissions_test.py +0 -0
  62. {pygitweb-0.2.2 → pygitweb-0.2.3}/setup.cfg +0 -0
  63. {pygitweb-0.2.2 → pygitweb-0.2.3}/shutdown.py +0 -0
  64. {pygitweb-0.2.2 → pygitweb-0.2.3}/smart_http.py +0 -0
  65. {pygitweb-0.2.2 → pygitweb-0.2.3}/smart_http_test.py +0 -0
  66. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/blob-view.js +0 -0
  67. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/board-refs.js +0 -0
  68. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/board.js +0 -0
  69. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/hook-install.js +0 -0
  70. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/icons/cloud-down.svg +0 -0
  71. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/icons/cloud-exclamation.svg +0 -0
  72. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/icons/cloud-filled.svg +0 -0
  73. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/icons/cloud-storm.svg +0 -0
  74. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/icons/cloud-up.svg +0 -0
  75. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/icons/cloud.svg +0 -0
  76. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/logo.svg +0 -0
  77. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/main.css +0 -0
  78. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/navbar-auth.js +0 -0
  79. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/readme-render.js +0 -0
  80. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/search-page.js +0 -0
  81. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/summary-ref-switcher.js +0 -0
  82. {pygitweb-0.2.2 → pygitweb-0.2.3}/static/themes/solarized.css +0 -0
  83. {pygitweb-0.2.2 → pygitweb-0.2.3}/tasks.py +0 -0
  84. {pygitweb-0.2.2 → pygitweb-0.2.3}/tasks_permissions_test.py +0 -0
  85. {pygitweb-0.2.2 → pygitweb-0.2.3}/tasks_routes_test.py +0 -0
  86. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/addproject.html +0 -0
  87. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/blobdiff.html +0 -0
  88. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/board.html +0 -0
  89. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/board_card.html +0 -0
  90. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/commitdiff.html +0 -0
  91. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/hooks_summary_cell.html +0 -0
  92. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/login.html +0 -0
  93. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/merge_request_summary_cell.html +0 -0
  94. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/merge_request_tag.html +0 -0
  95. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/pagination.html +0 -0
  96. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/preamble.html +0 -0
  97. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/project_settings.html +0 -0
  98. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/pygit2_settings.html +0 -0
  99. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/pygitweb_settings.html +0 -0
  100. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/search.html +0 -0
  101. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/settings_form_field.html +0 -0
  102. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/shutdown_ack.html +0 -0
  103. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/table.html +0 -0
  104. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates/user_profile.html +0 -0
  105. {pygitweb-0.2.2 → pygitweb-0.2.3}/templates_env.py +0 -0
  106. {pygitweb-0.2.2 → pygitweb-0.2.3}/timeline_cache.py +0 -0
  107. {pygitweb-0.2.2 → pygitweb-0.2.3}/validation.py +0 -0
  108. {pygitweb-0.2.2 → pygitweb-0.2.3}/validation_test.py +0 -0
@@ -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
@@ -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"
@@ -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
@@ -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"
@@ -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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pygitweb"
7
- version = "0.2.2"
7
+ version = "0.2.3"
8
8
  description = "Gitweb reimplementation with FastAPI and Pygit2"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes