Everything pretty much depends on:
* #1681540: replace 'content' with 'entity', eg $content_type with $entity_type
Then this big chain of dependencies, in order:
* #1699756: rename info hooks (eg hook_flag_definitions) to hook_foo_info()
* #1704120: add database caching to info and defaults gathering functions
* #1524816: Implement D7 hook_hook_info()
* #1699750: move remaining functions out of flag.inc and remove it
(some of these are summarized in #1703470: [meta] The Great Flag Cataclysm.)
Other big changes:
* #1699660: drop {flag_types} table; move bundle data to $flag->options
* #1525242: Allow using standard permissions table for flags
* #1720180: hook_flag_unflag() should be invoked before the flagging is deleted
And also:
* #1689400: make use of machine name field in admin UI
* #1698994: move menu callbacks to a flag.pages.inc
Comments
Comment #0.0
joachim CreditAttribution: joachim commentedadded more
Comment #0.1
joachim CreditAttribution: joachim commented...
Comment #0.2
joachim CreditAttribution: joachim commentedlog
Comment #0.3
joachim CreditAttribution: joachim commentedUpdated issue summary.
Comment #1
joachim CreditAttribution: joachim commentedBlockers for a 3.x-1.0-alpha: http://drupal.org/project/issues/search/flag?issue_tags=7.x-3.0-alpha1%2...
Comment #2
joachim CreditAttribution: joachim commented#1699660: drop {flag_types} table; move bundle data to $flag->options we're going to postpone or drop, I think. It's also purely internal, so it can happen at any time if it happens.
Hence I think we're ready for an alpha release!
Comment #3
chrisjlee CreditAttribution: chrisjlee commentedAny updates on this?
Comment #4
joachim CreditAttribution: joachim commentedThere's one 3.0 blocker left: http://drupal.org/project/issues/search/flag?issue_tags=7.x-3.0%20releas...
After that, I'll release a beta, then an RC after a couple of weeks.
Comment #5
chrisjlee CreditAttribution: chrisjlee commented@joachim: Great thanks. Is there anything i can help with to move along the process? Review patches, etc?
Comment #6
joachim CreditAttribution: joachim commentedThere's one of the blockers that needs a small amount of work -- #1871426: Ability to add flag links to any view mode. If you could work on that, that would be ace!
Comment #7
joachim CreditAttribution: joachim commentedAll blockers are fixed.
I've release 3.0-beta1. If after a couple of weeks we have no new bugs, I'll make it a 3.0.
Comment #8
reptilex CreditAttribution: reptilex commentedHi great work! But I have some questions:
Comment #9
joachim CreditAttribution: joachim commented> Is flag also going to be an entity?
No, flags are not going to be entities. There would be too much work involved. There's an issue about this somewhere.
If you want a view of flags, you can define the {flag} table to Views yourself. Would be suitable as a contrib module!
> Would you be open for a patch that I would provide in which not every flag is in the permissions table, but you can set in the admin interface
I'm not sure! File an issue for separate questions like that.
Comment #10
joachim CreditAttribution: joachim commentedaaaaaaand that's the RC out.
Comment #11
joachim CreditAttribution: joachim commentedI'm going to give it another couple of weeks, and then release 3.0, and flip the recommended release to the 3.x branch!
Comment #12
joachim CreditAttribution: joachim commentedYay! 3.0 is out and the world has not imploded! :D
Comment #13.0
(not verified) CreditAttribution: commentedadded #1720180