Commit Graph
348 Commits
Author SHA1 Message Date
Jordan Petridis 0e6b6b2cce Update dependancies. 2017-11-01 10:54:36 +02:00
Jordan Petridis c942e357b7 Moved a batch update into a db transaction. 2017-10-31 13:10:36 +02:00
Jordan Petridis 401c13eee7 Refactored podcast_widget constructor. 2017-10-31 12:25:15 +02:00
Jordan Petridis faf4a4bce0 Renamed watched field in the episode table of the database to played. 2017-10-30 14:13:36 +02:00
Jordan Petridis 25344aa613 Applied clippy suggestions. 2017-10-30 13:15:44 +02:00
Jordan Petridis ac80ab04d4 Added the ability to mark episodes of a Podcast as watched/played. 2017-10-30 13:02:35 +02:00
Jordan Petridis 1cdae2b8b0 Temporary exposed download cleaner into the gui. 2017-10-28 08:51:59 +03:00
Jordan Petridis eb8fdb2edb Implemented a downloaded/watched cleaner. 2017-10-28 06:57:32 +03:00
Jordan Petridis 86c686bba6 Added watched field into the Episodes table. 2017-10-28 04:58:35 +03:00
Jordan Petridis e6ceb86201 Completed functionality of the delete buttons. 2017-10-27 04:31:39 +03:00
Jordan Petridis 0137e1e49b Implemented Partial feed deletion.
Cleans up the db but it leaves behind the downloaded content atm.
2017-10-26 15:02:44 +03:00
Jordan Petridis 674b233805 Wired and implemented the functionality for episde delete button. 2017-10-26 14:00:33 +03:00
Jordan Petridis 8a313c145b Made a type allias for Arc<Mutex<SqliteConnection>. 2017-10-23 12:29:04 +03:00
Jordan Petridis 0e5d976514 Database optimizations. 2017-10-23 10:47:54 +03:00
Jordan Petridis 9beea21a4f Code cleanup.
Converted rest of .clone() s on ref pointer to use the macro instead.
Stopped ignoring clippy clone_on_ref_pointer warnings since there shouldn't
be any, anymore.
2017-10-23 07:37:07 +03:00
Jordan Petridis b2a8091f05 Fixed Another play button fuckup. 2017-10-23 04:44:46 +03:00
Jordan Petridis 51c1391d7d Fixed a play button bug.
The local_uri value for the play button was assigned at parent widget evaluation,
instead when being clicked, and so when downloading something it would not be able
to open the file without reloading the parent widget and refreshing the value.
2017-10-23 00:27:16 +03:00
Jordan Petridis 02cce8b915 I hate Arcs and Rcs. 2017-10-22 05:15:41 +03:00
Jordan Petridis 6ffacaa6d8 Final2, I swear, when dealing with Arc/rc always use references. 2017-10-22 04:51:34 +03:00
Jordan Petridis 2077215491 Changed arguments Arc<T> to bepassed by value, clone on arc just copies the refference anyway. 2017-10-21 22:53:04 +03:00
Jordan Petridis 5f3d2d5bdd Minor readability imprvments. 2017-10-21 21:21:06 +03:00
Jordan Petridis 24d088ffc3 Minor readability imprvments. 2017-10-21 18:56:18 +03:00
Jordan Petridis 5fb783c0c0 Favor explicit refference cloning, as suggested by clippy. 2017-10-21 05:35:54 +03:00
Jordan Petridis 048d4800da Improved of hanling of some Result types in hammond-data crate. 2017-10-21 04:58:15 +03:00
Jordan Petridis 486e0ff5e4 Now Upon feed addition only that feed is indexed/updated. 2017-10-21 00:12:24 +03:00
Jordan Petridis 74715292b3 Updated reqwest depencancy. 2017-10-20 05:10:14 +03:00
Jordan Petridis 3d98bf12f3 Added Feed cover extraction from itunes extension. 2017-10-20 00:59:58 +03:00
Jordan Petridis 590e99b7e8 Small refinements, handling of unwraps, addin of TODOs and other Notes. 2017-10-19 17:22:17 +03:00
Jordan Petridis 0e8ea41ca7 Wired add button, Fixed db refresh and changed the index API. 2017-10-18 05:53:52 +03:00
Jordan Petridis eccbbf0fc1 Refactor to use Arc's and a mutex instead of plain Rc<&Sqlcon>. 2017-10-18 04:14:09 +03:00
Jordan Petridis 31ad416c25 Prototype of an Episode List widget. 2017-10-17 22:26:59 +03:00
Jordan Petridis 5ef27d1072 Updated dependancies. 2017-10-16 05:03:48 +03:00
Jordan Petridis 9df1e65951 Prototype image cache. 2017-10-13 10:21:06 +03:00
Jordan Petridis e39a89d63d Replaced some map/fold with for_each now that it hit stable! 2017-10-13 02:49:14 +03:00
Jordan Petridis b176f334c3 Rustfmt changes. 2017-10-13 02:33:37 +03:00
Jordan Petridis 23753708c6 Build time speedup. 2017-10-11 18:34:30 +03:00
Jordan Petridis 1c508798c9 Updated dependancies. 2017-10-10 16:19:07 +03:00
Jordan Petridis 10fd018f1f Babysteps vol. 3. 2017-10-10 01:07:22 +03:00
Jordan Petridis f1d3cd5e25 Applied some clippy suggestions. 2017-10-09 16:49:00 +03:00
Jordan Petridis 423e0a6e7b Cleaned some minor TODO's. 2017-10-05 19:09:59 +03:00
Jordan Petridis 78454f6474 Fixed Episode pub_date setter to accept &str again. 2017-10-05 18:41:51 +03:00
Jordan Petridis cbc0692482 Added an etag bypass when updating the feeds. 2017-10-05 18:29:37 +03:00
Jordan Petridis 3b4acf9fc3 Improved get_temp_db helper func. 2017-10-05 18:02:15 +03:00
Jordan Petridis 8d17976b8a Dependancy cleanup. 2017-10-05 16:03:51 +03:00
Jordan Petridis 078331c15f Split hammond_data::errors to its own file. 2017-10-05 15:07:40 +03:00
Jordan Petridis 93027e5530 Final crate restructure I hope. 2017-10-05 15:02:19 +03:00
Jordan Petridis bf9e544a2b Error handling cleanup. 2017-10-04 23:51:53 +03:00
Jordan Petridis f25ce64e34 Initial split into workspaces in order to be more flexible. 2017-10-04 22:41:17 +03:00