about summary refs log tree commit diff stats
path: root/db.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * use ORM for trivial queriesAndrew Dolgov2021-03-051-26/+0
| | | | | | | * environment-based configuration * useradm.php -> update.php with new options * support for schema migrations * various fixes
* pdo: report errors via exceptionsAndrew Dolgov2021-01-191-0/+1
|
* crash with an error message if PDO sqlite driver is missing and/or unable to ↵Andrew Dolgov2020-09-121-1/+5
| | | | initialize it
* * use PDO::sqliteAndrew Dolgov2017-11-191-3/+3
| | | | * remove database-backed sessions (too slow for sqlite)
* db: allow absolute paths for scratch dbAndrew Dolgov2017-07-281-1/+1
|
* sqlite: enable WALAndrew Dolgov2017-07-041-0/+1
|
* move to internal user management because it's impossible to implementAndrew Dolgov2017-06-281-0/+20
proper transparent offline mode with http auth (worker is incapable of authenticating properly) MIGRATION: 1. disable HTTP authentication (this is important!) 2. add two new tables to db/scratch.db (sessions & users) 3. create users via useradm.php (same names and passwords, previous data is kept)