Commit Graph

240 Commits

Author SHA1 Message Date
0567bdd897 Finally get the xdebug stuff working, save sessions after handling the responses, not sure why teh storage for the flash class is empty by the time twig renders. 2024-12-02 22:11:12 -05:00
7c9f5f6bf8 Add pre-request for the form key 2024-12-02 20:04:48 +00:00
bf48532ac1 Get the form key from the session first, and then send the request to create a user afterwards. 2024-12-02 20:03:50 +00:00
f3bbfd7762 Add the form key to the register form. 2024-12-02 17:45:12 +00:00
2d58ed9d19 Add the form key middleware to registering the user 2024-12-02 17:42:06 +00:00
4a85bcac8c Add a form key middleware for handling the form key logic 2024-11-29 15:11:59 -05:00
711441c8ef Add a form key middleware for securing some forms to the sessions on the site. 2024-11-29 15:05:09 -05:00
60025c1089 Check the whole div tag for the error message 2024-11-29 14:55:36 -05:00
01759b241b Check if the flash renders to the template, check if the flash messages are empty after rendering. 2024-11-29 14:54:17 -05:00
b9b62c2d5c Rewrite the test, which works, yet doesn't work when running the actual site? 2024-11-29 14:50:27 -05:00
d782bd9081 Try and figure out what's going on with the flash messages. 2024-11-27 22:42:37 -05:00
ca4be5e3ec Add test case for the flash messages that seems to fail when using the site. 2024-11-25 22:11:22 -05:00
b4bc66d288 Test case for the flash message seems to work 2024-11-25 22:08:28 -05:00
7b12f10989 Add some documenation and pull the session interface out once. 2024-11-25 20:45:16 -05:00
a1c3bea6e5 Add the session handler as a global twig variable, check for user session details in the skeleton 2024-11-25 20:33:04 -05:00
e7aabff62c Try and debug the Twig templating 2024-11-24 22:22:57 -05:00
5f2e7476ff Still can't find out why the flash isn't setting and rendering to the page. 2024-11-24 22:19:07 -05:00
f6fc19a55f Format a little bit. 2024-11-24 22:10:36 -05:00
107e55175f Now that sessions work, flash messages do not. 2024-11-24 21:59:42 -05:00
89a6d50e5f Test logging in and get all the names and typos worked out for getting sessions working. 2024-11-24 21:35:34 -05:00
7b54952b55 Add the session middleware for starting the session on every request. 2024-11-24 21:22:49 -05:00
10e531b9c1 Add an example override for the CLI container. 2024-11-21 22:24:33 -05:00
38cdd1bfb2 Add timestamps to teh user since its also an entity, and test the login. Add a redirect helper for the responses. 2024-11-21 21:44:18 -05:00
aab1138163 Update the user table to have the timestamps 2024-11-21 21:30:44 -05:00
8dce6a1603 Test throwing EntityNotFoundException when trying to get nothing from the repository. 2024-11-18 20:31:44 -05:00
4d25d3039a Refactor some of the query strings, update the documentation. 2024-11-18 14:47:38 +00:00
e8a9624ba1 Add more documention and use a more generic name for the connection string. 2024-11-18 14:41:49 +00:00
e5bd4e5841 Get a user from the database 2024-11-18 03:12:56 +00:00
2269254e26 Don't tell prophecy to return true twice 2024-11-18 03:00:08 +00:00
0825c098e5 Updated the episode repository, look for any other instances of the insert method from the database handler. 2024-11-18 02:54:45 +00:00
8ab60512aa Add the Update change, and see what changes need to happen to the DB handler's methods 2024-11-18 02:40:16 +00:00
38e61f5eb2 add some documentation to the test cases we are working on. 2024-11-18 02:05:12 +00:00
730777a5ca Use some type hinting in the comments to implement a more generic connection method for the DB handler. 2024-11-18 02:03:48 +00:00
1b14f1523b Refactor some of the testing, try and understand why the mocking for the DB Handler is returning null and not true 2024-11-18 01:47:18 +00:00
811912784b Add some mocking and testing for the repository class, break out the database handler 2024-11-16 22:54:26 -05:00
037ec4eee9 Add user registration validation 2024-11-16 21:44:55 -05:00
0c6d446c16 Add some frontend tooling 2024-11-16 21:28:16 -05:00
fe627259db Test many permutations of the duration parser. 2024-11-15 02:44:49 +00:00
d92fa75229 Rename the episode test. 2024-11-15 02:40:57 +00:00
d23a0dbdb6 Fix the repository for users and add a test for the duration parser. 2024-11-15 02:40:28 +00:00
cbde3e2fbf Update all the PDO calls, flesh out more of the Episode repository. 2024-11-15 02:04:10 +00:00
20a9edf770 remove the repository parent interface as I cannot override its methods~ 2024-11-15 01:18:07 +00:00
6d8a972fef Update some of the documentaiton on the file. 2024-11-15 00:51:53 +00:00
4d60c1849c Add more documentation for the file entity. 2024-11-14 02:13:12 +00:00
b9ecb3d3ba Update some documentation 2024-11-14 02:10:47 +00:00
3edeb9763a Add some documenation 2024-11-14 02:07:29 +00:00
7aa1d64994 Add the episode repository 2024-11-14 01:49:15 +00:00
4f94b80902 Start the Episode repository. 2024-11-13 03:32:48 +00:00
36522292b0 Add the template for the feed. 2024-11-11 22:34:54 -05:00
f64468d5c4 Add the templates for the feed and the episode file class 2024-11-11 22:29:24 -05:00
af1341fd4a Add the transaction entity and the episodes directory 2024-11-11 20:51:00 -05:00
d00d55371c Change up the category entity. 2024-11-11 20:38:22 +00:00
d2406b419f Add a method for taking the length in seconds and making a string HH:MM:SS 2024-11-11 14:23:45 +00:00
d3a8358816 start the channel module. 2024-11-11 14:04:05 +00:00
0ded6e24f7 Update the query for updating the image repository. 2024-11-11 03:37:33 +00:00
b4610fc6a8 Update lock file, add documentation to the entity, and the ImageRepository 2024-11-11 03:34:57 +00:00
97a85512e4 Add more implemention of methods for the image repository 2024-11-08 22:21:09 -05:00
1d00f2bda4 Start working on repository classes for the Image class 2024-11-08 22:03:38 -05:00
fc0d816062 Add a CLI container for running composer and phinx while developing. 2024-11-08 12:40:46 -05:00
82735d41fd Work out some styles and move the register routes around. 2024-11-08 09:07:29 -05:00
7805ce9f80 Add more styles and test the site. 2024-11-07 23:05:27 -05:00
f40be66381 Render the page with the status of the user can't log in. 2024-11-07 22:56:26 -05:00
7c50e03381 Add the migrations to the container. 2024-11-07 22:49:59 -05:00
10e4305e62 Added more styles to the site. 2024-11-06 22:45:03 -05:00
56f9683d0a change the css a bit 2024-11-06 22:21:41 -05:00
737535ffd5 Add a basic stylesheet. 2024-11-06 21:50:14 -05:00
7656012fa7 Move to DB handler, test the local env to get a connection to database. Should add phinx migrations at some point. 2024-11-06 21:34:59 -05:00
8424a8c6ee Try and connect to the database. 2024-11-05 22:38:26 -05:00
26a779ade0 Fix failing tests 2024-11-05 21:30:20 -05:00
26c769972e Add some Vagrantfile stuff for dev, and maybe deployment? 2024-11-04 22:44:00 -05:00
60697b9a9b Keep the ReactPHP HTTP Server and add the channel repository to the bootstrap. 2024-11-04 21:46:28 -05:00
6574ecafc2 Update includes 2024-11-04 21:34:46 -05:00
0705d15cd2 Update the ChannelRepository to use the PDO 2024-11-04 21:29:20 -05:00
d360cceee3 Go back to classic style PHP and use the PDO to call MySQL 2024-11-04 21:13:14 -05:00
f788ba63ae Add a connection pool class and start utilizing it. 2024-10-09 21:20:52 -04:00
f5abbcb8c9 Flesh out the connection pool class. 2024-10-06 21:30:00 -04:00
07b73e7f7f Get the Pooled connection class set up. 2024-09-23 19:53:27 -04:00
4a66af0f2b Document the connection pool interface a bit, start writing a connection pool. 2024-09-23 19:41:50 -04:00
e58c442ccf Add pool interfaces, refactor imports in the bootstrap, re-organize some of the APIs 2024-07-25 20:32:26 -04:00
7f05554f4e Use long line strings for big queries and start the connection abstracts. 2024-07-21 21:33:34 -04:00
7b64e688be Bind the service on 0.0.0.0, test if it works in Docker contains properly now. 2024-07-21 20:51:19 -04:00
0791855c79 Take app out of docker compose and rearrange when event handlers are attached and make sure the envvars can be read 2024-07-19 22:16:04 -04:00
1de8da8691 Add some error and exit handling for the server file. 2024-07-19 21:37:37 -04:00
5c72cdbfd5 Start building out a PHP container that will run the server. 2024-07-17 22:05:42 -04:00
982d348a34 Add layout components and middlewares. 2024-07-17 21:32:25 -04:00
9d0cd8787d Changed the props to fromArray docs 2024-07-02 20:08:13 -04:00
3d5050ef34 Implement the update method 2024-06-27 22:40:18 -04:00
065f1a0cb1 Flesh out some more interface methods for the Channel Repository 2024-06-27 22:33:38 -04:00
a7826d5056 Add more to the migrations...should probably test them. Add to the Channel repository. 2024-06-27 22:29:12 -04:00
a0a0bfcb35 Start on the dashboard template. 2024-06-27 20:34:37 -04:00
adb8cdb12b Add docs to channel repository. 2024-06-27 20:06:21 -04:00
74b303fb2d Add the Channel repository class. 2024-06-27 20:05:41 -04:00
037cf674a8 Add a dashboard controller. 2024-06-27 19:50:42 -04:00
19222f0cf9 Update the namespace for user repository. 2024-06-27 19:32:52 -04:00
f2aebb6d68 Move users into their own namespace. 2024-06-27 19:31:29 -04:00
16b0198c88 Add the rest of the tables. 2024-06-27 19:24:56 -04:00
39dc0687eb Update the user login templates. 2024-06-26 22:28:35 -04:00
509913c86f Update the HealthCheck controller to use the MysqlClient from FOR 2024-06-26 22:20:44 -04:00
c8b9abf559 Update the healthcheck 2024-06-26 22:15:43 -04:00
9ab1482acf refactor the user repository to use the new MySQL client. 2024-06-26 22:09:43 -04:00