Commit graph

25 commits

Author SHA1 Message Date
Alex Cabal
9d1b66d19e Update PHPStan and Safe PHP, and review codebase for further type correctness 2025-02-25 22:41:18 -06:00
Alex Cabal
e2e14a3551 Remove DbConnection class in favor of fully-static and typed Db class 2025-02-25 16:47:25 -06:00
Alex Cabal
c55cfb2875 Fix logic error when logging in with HTTP auth 2024-11-11 20:17:11 -06:00
Alex Cabal
1449148989 Switch logged in user to static typed variable instead of in $GLOBALS 2024-11-10 23:05:31 -06:00
Alex Cabal
06b82cdaaa Fix broken updated timestamps in OPDS feeds, and fix and add some type hints. 2024-11-08 12:43:47 -06:00
Alex Cabal
a9eab552ab Flesh out some PHPDocs, and consistently name enums 2024-05-14 15:40:56 -05:00
Alex Cabal
d1ad02e3be Remove CoreFunctions.php file, as PHPStan no longer complains about having all helper functions in Core.php 2024-05-13 15:22:26 -05:00
Alex Cabal
e14988ff8c Improve exceptions in DB classes 2024-04-27 14:42:37 -05:00
Alex Cabal
5a1c05d8c5 Add password login option for some users, and further refinements to artwork management system 2024-01-06 22:27:38 -06:00
Alex Cabal
8127f0c7e2 Remove unused exception variables, now that this is possible with PHP8 2023-06-06 21:00:12 -05:00
Alex Cabal
30442c0c62 Move HTTP auth to PHP 2022-07-14 12:50:21 -05:00
Alex Cabal
c457af896c Log user in automatically if a request with HTTP auth is received 2022-07-12 11:30:03 -05:00
Alex Cabal
0bc3dc3830 Create cookie-based login and authentication system 2022-07-10 20:53:20 -05:00
Alex Cabal
f66f6e3287 Improved error printing in dev site 2022-07-06 16:47:24 -05:00
Alex Cabal
9f3104025d Add type hints and quiet a few other PHPStan complaints 2022-02-09 12:56:09 -06:00
Alex Cabal
05a125258e Disable DB access since there's no DB yet; add environmental site status variables 2021-12-11 13:53:19 -06:00
Alex Cabal
9d923605d8 Add database and ORM scaffolding 2021-12-09 13:13:16 -06:00
Alex Cabal
7be2f18424 Switch to new array shorthand 2021-10-06 18:03:28 -05:00
Alex Cabal
bef5aea7ad Add type hints and some other tweaks to satisfy PHPStan 2020-03-01 11:36:20 -06:00
Alex Cabal
def275ab3c Remove closing tags from pure PHP files 2019-04-03 16:25:00 -05:00
Alex Cabal
58cc098058 Add Safe PHP functions 2019-03-07 12:11:50 -06:00
Alex Cabal
f5d7d4e02a Add Composer autoloading functions and PHPStan for testing 2019-02-26 13:03:45 -06:00
Alex Cabal
ba53958596 More refactoring for static analysis 2019-01-18 17:49:13 -06:00
Alex Cabal
c879dcab34 Updates to more strict type checking after some static analysis 2019-01-17 21:26:48 -06:00
Alex Cabal
28c8a3f0ba Initial commit 2018-12-29 16:02:00 -06:00