Commit Graph

159 Commits

Author SHA1 Message Date
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
e904b27017 Remove our own database interfaces, start using the FOR MySQL library. 2024-06-26 21:40:34 -04:00
128a1e7518 Add the MySQL ReactPHP library. Start the refactor to start using that lib. 2024-06-26 21:17:29 -04:00
d05faaead7 Add database migrations, start fleshing out a specific database connection. 2024-06-26 21:10:48 -04:00
2d6dee2f0c Start the channels table migration. 2024-06-23 22:40:57 -04:00
18d995e38d Start adding the migrations classes. 2024-06-23 22:29:58 -04:00
45639c8d9b Add phinx to the project. 2024-06-23 22:04:34 -04:00
84a2f2361c Use arrow function for app handler callbacks. 2024-06-20 21:55:37 -04:00
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
03a4040075 Nah CodeIgniter aint it 2024-05-13 20:23:04 -04:00
06c1d292bb Add some migrations for the CodeIgniter application. 2024-05-13 19:52:05 -04:00
0152db25e9 Fix the comma, and add Shield for auth. 2024-05-11 21:40:16 -04:00
ebcd24c67f Ehh using CodeIgniter now 2024-05-11 21:32:46 -04:00
aa0d0f5aa4 Nah, screw ruby on rails 2024-05-10 21:40:02 -04:00
4790bf7e1f move to rails applicatin 2024-05-08 15:44:11 -04:00
eb2ec83614 Remove the node_modules dir. 2024-04-25 22:38:14 -04:00
a6828dad88 Get express going with handlebars for the app, maybe, this time. 2024-04-25 22:37:41 -04:00
e6519b8b30 Go back to PHP for the Slovocast website. 2024-04-25 21:27:20 -04:00
06b0d8a41b Add Phoenix application. 2024-04-22 22:30:14 -04:00
82101e7d1d Update the formatting for SQL files, add changes to the channel repository 2024-04-11 21:06:12 -04:00
be4fd75afe Add some methods for the image repository. 2024-04-08 22:52:54 -04:00
181b9cf375 Test the types for all the controllers and bootstrapping. 2024-04-08 22:23:20 -04:00
818151b0b0 Add some classes and bootstrap the routes in the controller class. 2024-04-08 22:17:32 -04:00
82e1512ccb Start the Image repository. 2024-04-04 22:20:51 -04:00
b031d83a7d Add a database connection, get the bcrypt library installed, implement a simple user repository. 2024-04-04 22:13:32 -04:00
bfe8ba71ae Add a get users method. 2024-04-02 08:48:21 -04:00
20c6682353 Start user routes file, add some domain logic like a repository interface. 2024-04-01 21:54:31 -04:00
cfe95bc464 Fix typo for image import 2024-04-01 21:27:22 -04:00
195a421163 Add the relationships to the type level. 2024-04-01 21:26:33 -04:00
0d2cfd3002 Update the application to be express with types, run with bun 2024-04-01 20:48:57 -04:00
2b19e3440d Add namespace paths. 2024-03-19 22:37:26 -04:00
5162948e74 Add the Session handler, class, and middleware 2024-03-18 22:59:49 -04:00
9d2cb42e4b Add basic models for the show. 2024-03-18 22:30:56 -04:00
ae08c669ec Move form components into the form directory, and add a flash message. 2024-03-18 22:07:30 -04:00
580d3654ef Add error messages, register form, user routes 2024-03-13 20:54:33 -04:00
ec7b95bbac Use empty route to match global routes 2024-03-03 22:25:48 -05:00
a36fff1e9d Why wont this work? 2024-03-03 22:18:58 -05:00
0cd8840ac8 Add a route prefix to the route handler. 2024-03-03 22:17:20 -05:00
134c9904c0 Start adding some handlers for routes. 2024-03-03 21:57:16 -05:00
62d345b666 Put the login form into its own component 2024-03-03 21:29:52 -05:00