Commit graph

347 commits

Author SHA1 Message Date
Chris Cochrun
7a8e6c41cd moving to generic based models instead of traits 2024-10-08 12:48:07 -05:00
Chris Cochrun
8f065380aa ensuring that slides can be created by different things 2024-10-08 06:18:26 -05:00
Chris Cochrun
887fc733e7 formatting and adding video model 2024-10-07 11:43:45 -05:00
Chris Cochrun
de34c6818a some bare minimum trait work for songs 2024-10-07 10:45:49 -05:00
Chris Cochrun
c8bb484a53 fleshing out the core a bit more 2024-10-06 05:51:39 -05:00
Chris Cochrun
e05815e550 adding a new core module
This module will hold all the core mechanincs so that we can abstract
things further and allow for a better design of the main system. This
gives the freedom of moving the ui further from the logic and allows
for changing the ui in the future.
2024-10-04 16:14:33 -05:00
Chris Cochrun
02599ef5a3 trying to start moving the functionality to service_item
This would mean that we can use more dependency injection for the
slides instead of the slide needing to figure out which kind of item
to generate and make a slide from.
2024-10-04 13:52:03 -05:00
Chris Cochrun
2c014e242f Refactoring to slide_model and service_item getting the data from db
This is kinda a broken commit. There isn't any order to the adding of
the slide anymore. So it'll need to find a way of keeping track of
where all the current slides are and then insert the new ones in the
correct order while moving the others around as well.
2024-10-02 14:48:16 -05:00
Chris Cochrun
6052cd01ac trying to move slide building to more backend focused 2024-10-02 10:38:40 -05:00
Chris Cochrun
836c997e97 adding SlideType to slide_model 2024-09-27 06:12:41 -05:00
Chris Cochrun
faae0f0186 adding color_eyre 2024-09-27 06:12:28 -05:00
Chris Cochrun
3f4288c0d2 adding the prev function to cxx 2024-09-26 20:45:03 -05:00
Chris Cochrun
8463af6ad9 moving more of the logic to slide_model
With more of the logic coming to the rust models, I can start to make
compile time guarantees.
2024-09-26 14:54:25 -05:00
Chris Cochrun
8c7f2d794f starting to change slide_model to have the logic of changing slides
In order to make slide_object dumber and and not need to keep track of
slide info, we are moving the business logic to slide_model so that
the model can keep track of whether presentations are ready to switch
and don't need to run reveal_next or something.
2024-09-26 14:11:30 -05:00
Chris Cochrun
4c403d9f3c embedding the slide_model in the slide_object 2024-09-26 06:39:06 -05:00
Chris Cochrun
a032bd555b removing unnecessary self 2024-09-26 05:33:55 -05:00
Chris Cochrun
e8477a8a19 other prelim switching to main.rs 2024-09-25 15:44:36 -05:00
Chris Cochrun
7fd5926fd4 updating obws to 0.13.0 2024-09-25 12:52:52 -05:00
Chris Cochrun
444df4eacc a complete removal of diesel 2024-09-25 12:52:44 -05:00
Chris Cochrun
ee03777c10 presentation_model using sqlx 2024-09-25 11:21:49 -05:00
Chris Cochrun
d871f68ca5 remove some spacing 2024-09-25 11:21:41 -05:00
Chris Cochrun
9b8ed5a1cb image_model transition to sqlx 2024-09-25 11:08:14 -05:00
Chris Cochrun
a697e4d89c finishing video_model transition to sqlx 2024-09-25 11:08:03 -05:00
Chris Cochrun
df07b13b28 trying to add sqlx to the video_model 2024-09-25 06:35:31 -05:00
Chris Cochrun
6de638440f adding some sqlx stuff 2024-09-24 14:20:23 -05:00
Chris Cochrun
0a1800ad71 song_model is using sqlx now 2024-09-24 14:19:57 -05:00
Chris Cochrun
bfb723a413 tweaks to add sqlx 2024-09-24 10:12:14 -05:00
Chris Cochrun
186142a012 some really stupid changes that I probably shouldn't commit
So I'm trying to switch to sqlx...........
2024-09-18 15:59:28 -05:00
Chris Cochrun
4659cb6de5 trying to fix the slides not showing a newly created video_thumbnail 2024-09-18 09:35:06 -05:00
Chris Cochrun
9b75c366de saving some updates 2024-09-17 15:32:34 -05:00
Chris Cochrun
ff72b29d40 removing more cruft 2024-09-17 11:57:15 -05:00
Chris Cochrun
e0bcce3f72 removing some cruft 2024-09-17 10:07:36 -05:00
Chris Cochrun
273dd76d23 adding a SlideType enum that can parse from a string
This will start to allow us to have a much better data model for the
slides and service items. They can have a type associated with them
and parse which they are from this type.
2024-09-17 06:23:27 -05:00
Chris Cochrun
0cac11cb89 remove some unnecessary use and type statements 2024-09-17 06:23:03 -05:00
Chris Cochrun
119039664e remove this file 2024-09-17 06:22:24 -05:00
Chris Cochrun
f209c60f02 ignore this test for now 2024-09-17 06:21:38 -05:00
Chris Cochrun
e1cb837249 embedded song_model into the song_editor finally
In order to embed a qobject from another file you need to find the
generated .h file in the build path and make sure to include it.
2024-09-17 06:20:35 -05:00
Chris Cochrun
0aa966e8b9 clean up some things and add an internal get_song 2024-09-17 06:20:06 -05:00
Chris Cochrun
922f1b3456 remove some unneccessary stuff 2024-09-17 06:19:47 -05:00
Chris Cochrun
3b87f862ea update ffmpeg tests 2024-09-17 06:19:22 -05:00
Chris Cochrun
d4270b64df better searching mechanism 2024-09-15 14:18:30 -05:00
Chris Cochrun
5b0462db65 search function for all models... however...
There is some sort of problem. Somehow I sometimes get a signal 11
SEGV_MAPERR error and then it segfaults. *sigh*... So this function
needs some help yet.
2024-09-15 06:44:47 -05:00
Chris Cochrun
114ffb5bdc Fixing a lot of little deals 2024-09-15 06:11:34 -05:00
Chris Cochrun
27acbdc866 fixing name clobbering in qobjects.
Apparently qobjects need unique names or else they will name clobber.
2024-09-15 06:11:34 -05:00
Chris Cochrun
b4ce082891 rename all cxx_qt::bridge modules to qobject for clarity 2024-09-15 06:10:06 -05:00
Chris Cochrun
f197099346 library is showing items and searching is working again 2024-09-15 06:08:43 -05:00
Chris Cochrun
b61e05a423 trying to fix models 2024-09-15 06:08:26 -05:00
Chris Cochrun
a1f18f803d things are building and running now
Now for all the issues of things not working
2024-09-15 06:08:24 -05:00
Chris Cochrun
398bc58525 build correctly for real now 2024-09-04 14:28:43 -05:00
Chris Cochrun
0ebdaf2921 builds correctly now 2024-09-04 14:17:59 -05:00