Commit graph

157 commits

Author SHA1 Message Date
08efb4d0ff fixing a bug in the save function 2023-09-18 15:45:41 -05:00
c57f9f8ac9 the moving of rows works but resets on move
This breaks fluid movements from QML with KirigamiDragHandles

We will need to adjust how this move works in QML or get the
begin_move_rows function to build. If it can build we can still use
the KirigamiDragHandles.
2023-09-17 14:35:37 -05:00
fe25209758 saving works 2023-09-15 17:30:20 -05:00
3a37118aae save properly creates temp dir with all files
All the audio and bg files are created fine. The servicelist is saved
as a json file. Now I just need to compress it and put it into a tar file.
2023-09-15 06:33:53 -05:00
14cac2d13f almost done with saving 2023-09-14 15:28:46 -05:00
0d480cbea6 adding some error handling 2023-09-14 12:25:44 -05:00
48956b52ab creating a temp dir for saving the files. 2023-09-14 09:41:48 -05:00
f2f2ab27b9 fixing more inserting pieces 2023-09-13 14:58:53 -05:00
4499d1a957 making sure sql models are in lumina folder 2023-09-13 14:58:13 -05:00
d65243a106 formatting slide and fixing inserting slides 2023-09-13 14:05:48 -05:00
064210dec3 again idiot 2023-09-13 14:02:32 -05:00
755ff055d0 I'm an idiot 2023-09-13 14:00:11 -05:00
d46eed567e fix typo 2023-09-13 13:58:29 -05:00
c58ca7e59f adding insert item signal 2023-09-13 13:56:42 -05:00
8d547509af adding remove item signal 2023-09-13 13:52:58 -05:00
00b2183750 add back deleting a single item 2023-09-13 13:39:53 -05:00
66707858ca fixing possible missing looping in save file 2023-09-13 13:32:14 -05:00
8031c32a18 adding the save function working and adding to service items better 2023-09-13 13:22:02 -05:00
258949ae50 adding basic save function... unfinished 2023-09-13 09:50:09 -05:00
3613586f63 style adjustments and adding the load function
Loading works. Needs some love for error handling and things but it works.
2023-09-12 06:39:52 -05:00
5d2f993d7e added the loading function. 2023-09-08 14:56:54 -05:00
31aec1ca47 fixing slide model to look for correct type
In Rust you can't use type as a property name in a struct. This means
we have to use ty.
2023-09-08 14:54:51 -05:00
ec6119eb57 fixing settings to point to the correct config file 2023-09-08 14:54:31 -05:00
bc3024434e adding some loading mechanics 2023-08-25 12:07:40 -05:00
d61da6f09f some initial setup to get the service_item_model.rs working 2023-08-12 14:07:13 -05:00
e80f0216ae tweaks to allow better html presentations 2023-08-07 07:21:18 -05:00
61439d65b3 Migrations work
This code actually enables migrations by running migrations on
initialization before any other code runs.
2023-08-05 14:52:56 -05:00
f7f81e0bda fixing initial migration 2023-08-05 14:52:41 -05:00
9d7d24168d adding a better picture of diesel migrations 2023-08-04 14:44:26 -05:00
f404759862 making service_item_model build 2023-06-17 06:36:16 -05:00
e86f2f3f66 start building service_item_model.rs 2023-05-20 06:44:25 -05:00
ea74fda363 🐛 need to get video start and end times working
This is waiting till service_item_model.rs is the model actually used
for ServiceList. Right now we are still using C++ so once that
switches, we can add it in service_item_model.

This way we don't add anymore C++ code that we are likely to throw away.
2023-05-19 16:01:08 -05:00
485a7ac223 🐛 forgot to use default if unwrap fails 2023-05-19 16:00:52 -05:00
a9722e37a0 removing cruft 2023-05-19 15:38:49 -05:00
a0692aeadf planned: add presentation_window.rs
I'm going to try to subclass QQuickWindow or View in order to control
the PresentationWindow from rust and just call the appropriate
functions from QML.
2023-05-19 09:53:08 -05:00
41e22ca133 🎉 adding a downloaded video from youtube 2023-05-18 15:56:12 -05:00
563a7ada60 🐛 trying to fix title not changing for ListView 2023-05-18 15:23:32 -05:00
4b4607b721 bug: adding update functions in song_model 2023-05-18 06:40:44 -05:00
644dc1684e cleanup unnecessary stuff 2023-05-18 06:40:30 -05:00
a1d4dc6e52 bug: db is now dynamic for user 2023-05-18 06:40:04 -05:00
ad2ed98968 using more innerModels since they are already loaded 2023-05-18 06:39:22 -05:00
0eef97dcfe bug: new_song now works properly 2023-05-17 17:16:57 -05:00
e87f1094a9 bug: forgot page_count method 2023-05-17 17:04:15 -05:00
56c7dc8541 bug: fixing updating of properties in presentation_model 2023-05-17 17:01:34 -05:00
b4648edde2 bug: fixing all video updating of properties 2023-05-17 16:53:16 -05:00
bb9fc3fd86 bug: fixing video issues between qml and rust 2023-05-17 16:38:40 -05:00
82466ee6fc bug: fixing some adding and updating issues 2023-05-17 16:38:22 -05:00
a8eec1dee6 condition around getting a song 2023-05-16 21:33:03 -05:00
eb899a9965 tweaks to making songs work 2023-05-16 15:31:09 -05:00
8af7c9bb6d need to change the way page_count is made in presentations 2023-05-16 13:27:53 -05:00