Origin changes merged: - SMB performance optimization (pread/pwrite, tokio Mutex) - macOS SMB mount fix (AAPL caps, credit grant) - Compound request integration tests - CTDB architecture analysis Local changes preserved: - upload_path config (deployed, tested stable) - delete_file + preview_file routes (MyFiles UI) - SSH async I/O (cipher.rs, packet.rs, server.rs) - auth.sqlite (86016 bytes, important user data) - Admin WebDAV + CorsLayer - api/admin.rs + api/config.rs (new endpoints) Conflicts resolved: - myfiles.rs: kept upload_path + OnceLock static - auth.sqlite: preserved local version (important data) Test results: 393 passed, 5 auth tests failed - PG tests require external PostgreSQL - Auth tests expect specific password hashes - auth.sqlite preserved with actual user credentials
44 lines
865 B
TOML
44 lines
865 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"
|
|
|
|
[postgresql]
|
|
host = "127.0.0.1"
|
|
port = 5432
|
|
user = "sftpgo"
|
|
password = "sftpgo_pass_2026"
|
|
database = "sftpgo"
|
|
connection_pool_size = 5
|
|
|
|
[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
|