0802a47a5f
BREAKING CHANGE: Remove all PostgreSQL functionality Changes: - Remove dependencies: tokio-postgres, postgres from Cargo.toml - Delete files: pg_client.rs (330 lines), sync.rs (370 lines), provider/pg.rs (300 lines) - Remove modules from lib.rs: pg_client, sync - Remove pg module from provider/mod.rs - Remove PostgreSQL sync code from server.rs (lines 126-165) - Remove auth_db field and with_sync() from auth.rs - Simplify SSH server to use SqliteProvider only - Convert sync API endpoints to return 410 Gone with error message - Remove [postgresql] config section from markbase.toml Rationale: - Simplify architecture by using SQLite exclusively - Remove complexity of PostgreSQL synchronization - Reduce dependencies and maintenance burden - SQLite is sufficient for MarkBase use case Code removed: ~1000 lines Files deleted: 3 Files modified: 8
36 lines
729 B
TOML
36 lines
729 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 11438
|
|
log_level = "info"
|
|
auth_db_path = "data/auth.sqlite"
|
|
users_db_dir = "data/users"
|
|
webdav_root = "/Users/accusys/momentry/var/sftpgo/data/demo"
|
|
upload_path = "/Users/accusys/momentry/var/sftpgo/data"
|
|
|
|
[authentication]
|
|
bcrypt_cost = 10
|
|
token_validity_hours = 24
|
|
session_storage = "memory"
|
|
max_sessions_per_user = 5
|
|
default_user = "demo"
|
|
default_password = "demo123"
|
|
|
|
[test]
|
|
users = [
|
|
"warren",
|
|
"momentry",
|
|
"demo",
|
|
]
|
|
password = "demo123"
|
|
login_test_iterations = 10
|
|
verify_test_iterations = 100
|
|
api_test_iterations = 50
|
|
performance_report = true
|
|
output_format = "markdown"
|
|
|
|
[logging]
|
|
level = "debug"
|
|
file_path = "logs/markbase.log"
|
|
console_output = true
|
|
structured_logging = false
|