Commit Graph

13 Commits

Author SHA1 Message Date
Barnaby Walters 1af270b42f Implemented, tested non-PKCE flow. Fixes #1 2021-06-18 00:39:21 +02:00
Barnaby Walters bb22f9b0e3 Linked build status badge to builds page 2021-06-16 15:58:28 +02:00
Barnaby Walters 6b3c56fb6e Fixed more static issues 2021-06-15 01:14:27 +02:00
Barnaby Walters 7a64366d56 Corrected some more type issues 2021-06-15 01:03:11 +02:00
Barnaby Walters a0fe1b5f80 Required cache-control headers on more responses 2021-06-12 20:08:16 +02:00
Barnaby Walters db39fff517 Server at 100% test coverage 2021-06-10 20:46:01 +02:00
Barnaby Walters 3ae570809e Added some validation and utility functions, with tests 2021-06-10 15:37:07 +02:00
Barnaby Walters c4b1409f13 Cleaned up some unused use statements, added code coverage script. 79% covered already 2021-06-09 00:21:33 +02:00
Barnaby Walters 6d5e93b07c Refactored Exception Handling, mostly tested authorization request handler
* Internal error conditions now raise IndieAuthException
* Bubbled unknown exceptions converted to generic IndieAuthException
* Exceptions passed to overridable handler, turned into response
* Wrote many more tests, fixed a variety of problems
2021-06-09 00:06:35 +02:00
Barnaby Walters b2c4f8eee5 Created default authorization and authentication callbacks
* Created corresponding templates
* Changed how Server configuration works
* Ensured that rauthorization approval requests verify their indieauth parameters
* Wrote first passing test for Server, fixed a variety of small errors along the way
2021-06-07 20:32:02 +02:00
Barnaby Walters 7442da1ae9 Started putting default templates together 2021-06-06 17:47:06 +02:00
Barnaby Walters ddcaf4b64d Started writing tests
* Tested the more important functions
* Tested the Double-Submit CSRF Middleware
2021-06-06 17:03:13 +02:00
Barnaby Walters b111c619d4 Restructured src to use PSR-4 autoloading, moved many functions to functions.php 2021-06-06 15:13:13 +02:00