-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathversion.py
More file actions
72 lines (66 loc) · 2.09 KB
/
version.py
File metadata and controls
72 lines (66 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""
Version management for Samba Manager
"""
__version__ = "1.3.0"
__author__ = "Lyarinet"
__license__ = "MIT"
__description__ = "Web-based interface for managing Samba file sharing on Linux systems"
# Version history
VERSION_HISTORY = {
"1.0.0": {
"date": "2024-01-15",
"description": "Initial release with core functionality",
"features": [
"Web-based Samba administration interface",
"Share management (create, edit, delete)",
"User and group management",
"Global settings configuration",
"Service control and monitoring",
],
},
"1.1.0": {
"date": "2024-06-20",
"description": "Added terminal access and improved security",
"features": [
"Terminal access via GoTTY",
"Enhanced CSRF protection",
"Rate limiting for login attempts",
"Improved input validation",
"Security hardening",
],
},
"1.2.0": {
"date": "2026-01-23",
"description": "Added comprehensive release pack and distribution tools",
"features": [
"Release pack generation",
"Docker image support",
"Checksums and verification",
"Distribution archives (tar.gz, zip, deb)",
"Installation verification script",
],
},
"1.3.0": {
"date": "2026-01-24",
"description": "Enhanced Docker support and Kubernetes preparation",
"features": [
"Improved Docker image with optimizations",
"Docker Compose enhancements",
"Health check improvements",
"Kubernetes manifests (beta)",
"Advanced monitoring capabilities",
],
},
}
def get_version():
"""Get current version string"""
return __version__
def get_version_info():
"""Get full version information"""
return {
"version": __version__,
"author": __author__,
"license": __license__,
"description": __description__,
"latest_release": VERSION_HISTORY.get(__version__, {}),
}