Commit Graph

152 Commits

Author SHA1 Message Date
5cd04d5f02 Run the service in ReactPHP 2024-06-19 22:20:42 -04:00
b59b213b82 Use templates dir constant for templates dir. 2024-06-17 21:57:21 -04:00
80c54eefc2 Add some defines for global constants 2024-06-17 21:49:09 -04:00
9bf80dbf9e Use MariaDB, add env file 2024-06-17 21:30:28 -04:00
fc18781964 Add the definitions for the Repository classes, need to use them in the bootstrap class. 2024-06-16 21:55:44 -04:00
d8b21b8a85 Check if user has an active session middleware. 2024-06-16 21:47:44 -04:00
2b75ea2dea Add the Login action. 2024-06-16 21:26:10 -04:00
079bcb0f06 Move from 'respond' to 'handle' for the controller method. 2024-06-16 21:25:22 -04:00
98c34efea5 Add a Slim Response factory to the DI. 2024-06-16 20:44:12 -04:00
4ff2c8cc3a Add the login page, add some comments to the test. 2024-06-16 20:09:09 -04:00
34e45ecaee Update the tests for the flash messages. 2024-06-16 07:35:27 -04:00
d25cdd7b1e Add a setup for each test. 2024-06-15 23:10:49 -04:00
61081ac65c Add middleware conforming to the PSR interfaces 2024-06-15 22:32:31 -04:00
f0c91e5aaa Need to add flash when the issue isn't mismatching passwords on the Register User action. 2024-06-15 22:21:09 -04:00
e0a6ccbad4 Add some formatting to the middleware. 2024-06-15 21:51:10 -04:00
596a2a4103 Add some middleware, start failing tests that use it. 2024-06-15 21:50:40 -04:00
ea97887cac Flash message is empty for some reason 2024-06-04 21:33:20 -04:00
1914885d04 Add some Flash message tests and the flashes to the skeleton template. 2024-06-04 21:16:59 -04:00
76b526646e Remove unnused import in test 2024-06-03 22:30:34 -04:00
ba5f68aa6f Add the Prophecy PhpUnit library, fix the Register user action, test that the flash message also adds failure. 2024-06-03 22:22:39 -04:00
d6bb157b73 Add configuration for session, add Odan Session classes. 2024-06-02 22:11:24 -04:00
c5feb240c3 Fix the warnings on the test case. 2024-06-02 21:26:10 -04:00
ec3af79323 Test creating a new user. 2024-05-29 22:56:19 -04:00
5aa3d215ab Add Prophecy for testing 2024-05-29 22:15:59 -04:00
db1e7e04f6 Add setters for the existing entities. 2024-05-29 21:56:42 -04:00
8d7bcd0c2a Add the Entity trait to the channel. 2024-05-29 21:44:03 -04:00
5a86bb3579 Add a test for the basic user auth 2024-05-25 22:55:47 -04:00
4548d67eac Add a test for registering a user. 2024-05-25 22:47:52 -04:00
d1ffe814cc Add Flash messages, set the sessions to the storage during request. 2024-05-25 22:23:53 -04:00
7967f325fa Add tags to the site schema configuration. 2024-05-25 21:52:49 -04:00
c478be5601 Fix the configuration organization and add more implementations for the repositories. 2024-05-25 21:44:57 -04:00
2b24a4263c Add line in bootstrap file 2024-05-25 12:02:18 -04:00
f3f36b333c Add success page. 2024-05-23 22:39:38 -04:00
e2a3c95f99 Flesh out some of the User repository methods. 2024-05-23 21:33:33 -04:00
b908dc6ea3 Add an Entity trait, format the example RSS feed, work on the Repository patterns. 2024-05-23 21:24:57 -04:00
75bccb789d Add some global variables for the templates and test them in the controller. 2024-05-22 22:47:20 -04:00
207304b373 Test JSON responses. 2024-05-22 21:16:47 -04:00
8d5c16fc29 Add content type headers 2024-05-22 21:13:05 -04:00
88fd8be833 Add composer script for easy testing. 2024-05-22 20:46:19 -04:00
8321503a0b Fix the Twig bootstrap, get the first test running successfully. 2024-05-22 20:41:44 -04:00
050eb87e83 Add a controller test. 2024-05-22 20:39:33 -04:00
39018f78d9 Add the Test harness 2024-05-21 22:33:17 -04:00
404d4bbc85 rename code to app 2024-05-21 22:00:10 -04:00
2a596209b8 Update the user register templates. 2024-05-15 22:27:38 -04:00
98813f3c47 Fix references the templates 2024-05-15 22:27:06 -04:00
5cfb45dd7e Update the controllers and set up some routes 2024-05-15 22:15:24 -04:00
c1d2651879 Add templates 2024-05-15 22:03:49 -04:00
e038467a4b Add some controllers and actions for user registration. 2024-05-15 21:42:24 -04:00
4832685287 Add more methods to the Channel model. 2024-05-14 21:56:48 -04:00
0518a44d3f Add some authorization to the infrastructure code. 2024-05-14 21:44:08 -04:00