mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-05 15:56:44 +02:00
feat: add publish feature for podcasts and set draft by default
closes #128, #220
This commit is contained in:
parent
9843ce3882
commit
3d363f2efe
25 changed files with 909 additions and 109 deletions
|
|
@ -32,6 +32,7 @@ class WebSubController extends Controller
|
|||
->select('podcasts.*')
|
||||
->join('episodes', 'podcasts.id = episodes.podcast_id', 'left outer')
|
||||
->where('podcasts.is_published_on_hubs', false)
|
||||
->where('`' . $podcastModel->db->getPrefix() . 'podcasts`.`published_at` <= UTC_TIMESTAMP()', null, false)
|
||||
->orGroupStart()
|
||||
->where('episodes.is_published_on_hubs', false)
|
||||
->where('`' . $podcastModel->db->getPrefix() . 'episodes`.`published_at` <= UTC_TIMESTAMP()', null, false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue