Commit Graph

26 Commits

Author SHA1 Message Date
Jordan Petridis
108ed34b40
Some code cleanup. 2017-09-29 20:45:47 +03:00
Jordan Petridis
07d3135d91
Factored out rfc822 sanitization to its own crate, also fucked up a bit some of the NewEpisode and Episode api's. 2017-09-28 13:47:41 +03:00
Jordan Petridis
e61044aebb
Rayon is so nice. 2017-09-26 13:16:11 +03:00
Jordan Petridis
6c25bd7eaa
Some cleanup. 2017-09-26 10:44:25 +03:00
Jordan Petridis
a0064fcb4f
Playing around with rayon. 2017-09-26 10:21:37 +03:00
Jordan Petridis
d76d367a9c
Initial refactor of the index/update loop. 2017-09-23 12:53:34 +03:00
Jordan Petridis
874d33c1f4
Setup of Rustfmt and rustfmt.toml config file. 2017-09-23 09:06:15 +03:00
Jordan Petridis
dad74dc706
Fixed epoch implementation for episode. 2017-09-22 14:10:13 +03:00
Jordan Petridis
cc353c120e
Refactored Setter methods for the diesel models. 2017-09-22 13:06:33 +03:00
Jordan Petridis
709a3e555d
Fixed the setters of the diesel querable structs, WIP of etag update refactoring. 2017-09-22 12:17:12 +03:00
Jordan Petridis
78a892b4be
Setters and getters, and decoupling of insert and update logic for Episode struct. 2017-09-21 11:44:28 +03:00
Jordan Petridis
5dc6c002fe
Prototype of decoupled insert and update logic for podcast struct. 2017-09-21 10:29:06 +03:00
Jordan Petridis
356cc54ba1
Initial prototype of decoupling insert/update logic. 2017-09-21 09:57:55 +03:00
Jordan Petridis
6b4b772462
Renamed parse_feeds.rs to feedparser.rs 2017-09-21 08:33:45 +03:00
Jordan Petridis
5187bd1f32
Schema tweaks of the episodes table. 2017-09-20 13:36:55 +03:00
Jordan Petridis
159ac4cd5d
Finally getting somewhere. 2017-09-19 14:16:40 +03:00
Jordan Petridis
91b314a81f
Still figuring out the schema. 2017-09-19 12:16:12 +03:00
Jordan Petridis
a696e60f07
I dont even know at this point. 2017-09-19 10:22:34 +03:00
Jordan Petridis
fe2d8c8b52
rss Channel guarantes that some fields exist and dont need to be Option<foo>. 2017-09-19 08:33:14 +03:00
Jordan Petridis
ffda7c6fc8
Trying insertable stucts that might own their data. 2017-09-19 08:15:54 +03:00
Jordan Petridis
c204a61ff7
Even more schema changes. 2017-09-18 15:44:08 +03:00
Jordan Petridis
f802e187f3
Added parse_episode and test_parse_episode functions, Added missing pubdate to db schema. 2017-09-16 07:43:46 +03:00
Jordan Petridis
dbe606f5d5
Extended parse_podcast_test and implemented parse_podcast. 2017-09-16 05:52:45 +03:00
Jordan Petridis
dcd5a8dcb7
Initial parse_podcast_test. 2017-09-16 03:48:15 +03:00
Jordan Petridis
55a310d3a5
Initial diesel models. 2017-09-16 02:22:23 +03:00
Jordan Petridis
44eb261b95
Initial yak shaving. 2017-09-15 03:24:17 +03:00