Commit Graph
744 Commits
Author SHA1 Message Date
Jordan Petridis dd0034327b Add Content Struct. 2017-12-01 01:12:25 +02:00
Jordan Petridis 774e5b38a0 Add EmptyView Struct. 2017-12-01 01:03:10 +02:00
Jordan Petridis f1f4d10fe3 Add PopulatedView struct. 2017-12-01 01:00:07 +02:00
Jordan Petridis 84c918bbd5 Fix bug where the played button will always be shown by setting default state to not visible. 2017-11-30 21:39:21 +02:00
Jordan Petridis 94879b4256 Move get_pixbuf_from_path into hammond_gtk/src/utils.rs module. 2017-11-30 21:38:21 +02:00
Jordan Petridis bf240a00f4 Make a PodcastWidget Struct type. 2017-11-30 21:19:03 +02:00
Jordan Petridis b32e35c574 Rename podcasts_view module. 2017-11-30 21:10:05 +02:00
Jordan Petridis 1fbcfa47ac Refactor Headerbar into a Wrapped struct type. 2017-11-30 21:02:26 +02:00
Jordan Petridis 13e47e9b4e Version bump. 0.2.0 2017-11-28 10:46:03 +02:00
Jordan Petridis 13751e3708 Tweak gresource initialization. 2017-11-28 10:27:43 +02:00
Jordan Petridis c92e40e3cf Run download cleaner on startup. Closes #3. 2017-11-28 10:23:19 +02:00
Jordan Petridis 2051f0f58e Enable some extra clippy warnings. 2017-11-28 09:50:30 +02:00
Jordan Petridis c07215d357 Set hammond-data to build with Deny missing_docs. 2017-11-28 09:44:26 +02:00
Jordan Petridis e4a7a7becf Add module Doc comments. 2017-11-28 09:38:05 +02:00
Jordan Petridis 7dd8755bcb Document hammond-data/src/lib.rs xdg_dirs module. 2017-11-28 09:24:12 +02:00
Jordan Petridis 76f9f36609 Document Source Model. 2017-11-28 09:01:38 +02:00
Jordan Petridis 4d669ef297 Document Podcast Model. 2017-11-28 08:40:27 +02:00
Jordan Petridis 3707b70b41 Document Episode Model. 2017-11-28 08:25:04 +02:00
Jordan Petridis d81f9c6ad7 Fixed stable unit tests. 2017-11-28 04:42:15 +02:00
Jordan Petridis 34e808182c Documented a bit hammond-data/src/feed.rs. 2017-11-27 06:06:14 +02:00
Jordan Petridis c4030e51df Added some doc comments in hammond-data/src/utils.rs. 2017-11-27 05:25:16 +02:00
Jordan Petridis cb65782829 Extended the NewModel builder and added a bunch of unit tests. 2017-11-27 04:32:21 +02:00
Jordan Petridis ee4f08c5cf Implemented a BuildPattern for NewModels. Swiched stuff to pub(crate).
Added a Constructor for NewModels in order to make their fields private.
Also added getter methods that are mainly used in Unit tests.
2017-11-26 23:30:56 +02:00
Jordan Petridis 9e03aaae27 Upgrade gtk-rs crates. 2017-11-26 21:25:46 +02:00
Jordan Petridis 866904a687 Use generic IntoIterator instead of &[foo] slices. 2017-11-26 07:03:21 +02:00
Jordan Petridis 9d0df9de46 Tweak cargo privacy settings. 2017-11-26 06:21:14 +02:00
Jordan Petridis 7eff93ecf1 Remove rand from the downloader. 2017-11-26 03:47:43 +02:00
Jordan Petridis 6336f7cac1 Moved update funtions into a Trait and impl for NewModels. 2017-11-26 00:56:38 +02:00
Jordan Petridis 39dff5e27a Moved insert functions into an Insert trait and implemented it for each NewModel. 2017-11-26 00:40:03 +02:00
Jordan Petridis ce3a76aee1 Update episode rows instead of replacing them. 2017-11-26 00:13:51 +02:00
Jordan Petridis 39cccf85a5 Change the ci config. 2017-11-25 18:50:32 +02:00
Jordan Petridis 2f801043c1 In place update a podcast row instead of replace. 2017-11-25 18:22:56 +02:00
Jordan Petridis f83f894e44 Replaced pool.get().unwrap() statements with get()?. 2017-11-25 03:29:06 +02:00
Jordan Petridis f0a0fdfa83 Added a truncate_db helper function. 2017-11-25 03:01:21 +02:00
Jordan Petridis 7498a37f68 Fixed unit test. 2017-11-25 02:19:16 +02:00
Jordan Petridis faab32ba17 Fix podcast flowbox_child title label. 2017-11-25 02:00:37 +02:00
Jordan Petridis 62da8bbb52 Use source_id as the unique identifieble field for the podcast table. 2017-11-25 01:56:10 +02:00
Jordan Petridis 12ffe5c231 Use a db transaction when deleting a feed. 2017-11-24 20:40:32 +02:00
Jordan Petridis d9ef4fed53 Truncate the temp db before running test_complete_index. Should close #17. 2017-11-24 20:31:10 +02:00
Jordan Petridis 4a195eb1b7 Moved set_played_now into a method of the Episode model. 2017-11-24 19:48:20 +02:00
Jordan Petridis f7f0a16858 Minor cleanup. 2017-11-24 19:28:34 +02:00
Jordan Petridis 91f4a30c01 Moved episode indexing into a transaction. 2017-11-23 21:30:17 +02:00
Jordan Petridis 5570fdd118 Switched to using r2d2 instead of a databaseConnection object. 2017-11-23 21:09:50 +02:00
Jordan Petridis aa7c493e81 hammond-data/src/feed.rs api changes. 2017-11-23 18:48:41 +02:00
Jordan Petridis a58671ea9a Moved database related things into their own module. 2017-11-22 21:54:09 +02:00
Jordan Petridis 02b27d33b6 Move XDG global variables into their own module. 2017-11-22 21:07:21 +02:00
Jordan Petridis 6098f0f54a Banner fix? Closes #14. 2017-11-22 10:44:32 +02:00
Jordan Petridis 3bcb23b39a Redefine NewModels to hold Option<String> instead of Option<&str>. 2017-11-22 09:53:52 +02:00
Jordan Petridis 31328355b1 Methods renaming, Api changes. 2017-11-22 06:25:34 +02:00
Jordan Petridis 9bc6df2cba Made Disel NewModels private. 2017-11-22 05:50:25 +02:00