Merge lp:~edb/quam-plures/bring_back_podcasts into lp:quam-plures

Proposed by EdB
Status: Merged
Approved by: Tilman Blumenbach
Approved revision: 7606
Merged at revision: 7612
Proposed branch: lp:~edb/quam-plures/bring_back_podcasts
Merge into: lp:quam-plures
Diff against target: 12 lines (+1/-1)
1 file modified
qp_inc/items/model/_itemlistlight.class.php (+1/-1)
To merge this branch: bzr merge lp:~edb/quam-plures/bring_back_podcasts
Reviewer Review Type Date Requested Status
Tilman Blumenbach (community) merge Approve
Review via email: mp+59985@code.launchpad.net
To post a comment you must log in.
7602. By EdB

youtube patch

Revision history for this message
Tilman Blumenbach (tblue) wrote :

Well, now podcasts show up in the admin under "Posts" while they should only show up under "Podcasts" (I guess).

Could be fixed by using is_admin_page() or something like that: Exclude podcasts if it's an admin page, include them if it's the public side. Or maybe one could override "types" if it's an admin page -- set_param()?

review: Needs Fixing
Revision history for this message
EdB (edb) wrote :

but a podcast *is* a post. It just happens to need to trigger the podcast player.

no worries.

Revision history for this message
Tilman Blumenbach (tblue) wrote :

Ah. Didn't know that. Well, *should* be finde then.

review: Approve
Revision history for this message
EdB (edb) wrote :

I don't disagree about needing a good solution by the way. Just that what we have doesn't let a user actually use the podcast thing. IMHO podcast shouldn't even be a post type. Kinda like how a post with an attached image is just a post that happens to do something more than spit out text.

A checkbox to trigger the podcast thing? Or check the URL field file type and podcast the ones that can be even though that makes the assumption that the podcast player is desired? Heck maybe even a plugin-powered button under the textarea where one could fire a podcast renderer?

Sounds like a forum thread eh?

Revision history for this message
Tilman Blumenbach (tblue) wrote :

Hm, you are right, that could be a (minor) design issue. The comparison with image posts makes sense and I guess the player should really be implemented by a plugin or as a checkbox-triggered core feature...

Yes. Forum thread. ;)

Revision history for this message
Tilman Blumenbach (tblue) wrote :
7603. By EdB

admin fire tweak

7604. By EdB

adding dracones branch

7605. By EdB

clean up posting and validating XHTML

Revision history for this message
EdB (edb) wrote :

bump.

Revision history for this message
Tilman Blumenbach (tblue) wrote :

Well, it would be good if somebody else could test and approve this branch as well...

7606. By EdB

adding core updates

Revision history for this message
Tilman Blumenbach (tblue) wrote :

Hold on, it looks like the $posttypes_locked_IDs stuff was introduced as a fix for bug 543480. I think we will have to check whether reverting to the original code (hardcoded list of types to exclude) is okay...

review: Needs Information
Revision history for this message
EdB (edb) wrote :

The original bug was "something is hard-coded" and the solution was a different slightly-less hard-coded replacement that caused this problem. There was no actual problem is what I mean, so going back to what was simply removes the problem that was caused and still leaves us something that can not be modified without editing files.

Revision history for this message
Tilman Blumenbach (tblue) wrote :

To be honest, I don't even see what the original problem was. There's not much information given in the bug report, and we can't ask yabs. :(

So let's merge this (tomorrow).

review: Approve (merge)
7607. By EdB

committing core commits :)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qp_inc/items/model/_itemlistlight.class.php'
2--- qp_inc/items/model/_itemlistlight.class.php 2010-12-31 12:12:03 +0000
3+++ qp_inc/items/model/_itemlistlight.class.php 2011-07-15 04:14:25 +0000
4@@ -154,7 +154,7 @@
5 'ymdhms_min' => NULL,
6 'ymdhms_max' => NULL,
7 'statuses' => NULL,
8- 'types' => '-'.implode( ',', $GLOBALS['posttypes_locked_IDs'] ), // All types except pages, intros and sidebar links
9+ 'types' => '-1000,1500,1520,1530,1570,1600,3000', // All types except pages, intros and sidebar links
10 'visibility_array' => array( 'published', 'protected', 'private' ),
11 'orderby' => $this->Blog->get_setting('orderby'),
12 'order' => $this->Blog->get_setting('orderdir'),

Subscribers

People subscribed via source and target branches