Just a tracker so that people know when we are going stable.
First set of issues that are more or less ready:
1. #290469: Translatable text cleanup in privatemsg module
2. #314072: put the number of unread message in the menu title
3. #321136: Error when user does not have "write privatemsg" permission
4. Either #303087: Move "Sent Messages" to privatemsg_filter, Add inbox, improve user filtering. or http://drupal.org/node/311541#comment-1058866 to either remove or fix "sent messages".
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | hook_privatemsg.patch | 1 KB | nadavoid |
Comments
Comment #1
naheemsays commentedAnd now the "bigger three" that will add all the necessary features before a stable release.
1. #315325: Userblocking architecture + other fixes - This should also be ready bar any bugs that are uncovered.
2. #314327: Tagging architecture. - Depends on #324406: refactoring of privatemsg_list (was: Make use of theme() functions in the inbox) and patches for both should now be done or "near done"
3. #314066: Upgrade path from Drupal 5. - WIP - Jump in, test and report bugs and improved patches.
Comment #2
naheemsays commentedI always forget message list paging!
#314366: Add paging to messages list - nothing done at all yet.
Not really blocking on a stable release, but this css namespacing patch is also ready to be reviewed: #303643: CSS namespacing fixes.
Comment #3
zilla commentedcould this list of items be added into the release notes for head? seems like a more logical place to track this for users of head who may not see this thread (at least for a month or two while these are hammered on)?
http://drupal.org/node/94379
Comment #4
naheemsays commentedThe current status of the three main issues, in the order they should go in:
1. #315325: Userblocking architecture + other fixes - ready and waiting.
2. #324406: refactoring of privatemsg_list (was: Make use of theme() functions in the inbox) - goes next, followed by:
3. #314327: Tagging architecture. - the last major feature before the upgrade path (which also works, but the current implementation will time out if there are greater than around 2000-3000 messages.)
4. Not a patch, but the fix in the OP in #328595: Visual inconsistencies/issues in privatemsg HEAD, along with maybe the patch at #303643: CSS namespacing fixes. - though the latter is more of a CSS cleanup than a bugfix or feature work, so it can wait.
IMO the first three three should go in ASAP - even if buggy. Fixing bugs, iterating over the design would be much easier when the code is in CVS. Patches will be easier to make and those issues also fix a lot of other bugs.
Comment #5
naheemsays commentedNew order for patches:
1. #330419: Block empty replies + Alter function to add content to the view messages page + consistent use of $user object in forms
2. #314327: Tagging architecture.
3. #314066: Upgrade path from Drupal 5.
4. #328049: No headline shown when i send a message with user ID
5. #324389: Show author(s) when viewing inbox
EDIT - the first one should now also be totally ready.
Comment #6
zilla commented@nbz and otheres - would integration with rules be considered paramount at this point? it would appear that there is currently no way to receive "off site" notifications of new private messages (this is one of the things that is considered a major driver in terms of community site use, which is where PM is typically used to facilitate user interactions) - seems that tying to subscriptions (versus the more robust notifications) may make less sense in d6 - and in fact, rules integration would be the most logical route (remove the other module dependencies completely, rules is powerful stuff)
Comment #7
berdirShort help-guide for people willing to help:
This should not be done on production sites (unless you really know what you are doing), you should know how to apply patches but not necessarly how to code.
1: Download the latest HEAD version
2: Test it out, if you find bugs, look if there is already a open bug, if not, open a new one.
3: Download the latest patch from a issue in 'patch needs review' state (http://drupal.org/project/issues?projects=3279&versions=94379&states=8&p...), apply it and test it
4: If everything works, set the state to reviewed & tested by the community
5: If it does not work or if you have an idea to extend the patch add it to the issue.
6. Repeat ;)
Comment #8
naheemsays commentedNow that #330419: Block empty replies + Alter function to add content to the view messages page + consistent use of $user object in forms has been committed, IMO a good new order for reviewing will be:
1. #328049: No headline shown when i send a message with user ID
2. #303087: Move "Sent Messages" to privatemsg_filter, Add inbox, improve user filtering.
3. #314327: Tagging architecture.
4. #314066: Upgrade path from Drupal 5.
5. #324389: Show author(s) when viewing inbox
The first two should be pretty simple - and ready. The third does need a UI to filter by author and is a whole submodule, so will take more time to review. These three do not block on each other, so can be ignored or bypassed to get to the next patch.
4 needs a slight change as the name of the module in 3 has changed, but it still refers to the old name.
Comment #9
Passionate_Lass commentedSubscribe
Comment #10
naheemsays commentedinstead of queuing all the patches for the beta, maybe we just focus on two?
1. #314327: Tagging architecture.
2. #314066: Upgrade path from Drupal 5.
The first does the tagging, but does not have the UI to filter via author. This can be added later. There is no patch here as none of the existing files are modified - all we do is add a new folder with files.
The second has been tested successfully by two people.
with this, we can call a beta, with upgrade patch from Drupal 5.
Comment #11
batbug2 commentedi could test the BETA on my production as long as its UI not too bad and not too different from 5.3 version
Comment #12
Anonymous (not verified) commentedI have tested what is in HEAD and the tagging architecture module (nice) and i think what we have here is better than anything we have ever had so i would say we have a definite beta release if not an official release!
Thanks to everyone working on this module .
Best, Paul
Comment #13
zilla commentedis there support yet for offsite notifications or is that still on the todo? it's a bit unclear from the project page since this thread is a tad more current...
Comment #14
Anonymous (not verified) commentedis there a specific bug discussing offsite notifications ?
Comment #15
naheemsays commentedCloses issue I can find is for Drupal 5: #236667: My patch for email notification of private message - but that is a totally different code base.
In answer to the question - still on the todo.
Comment #16
berdirI would say the current target is to provide a generic interface/API to (re-)act on private messages, see #288183: Provide api function for other modules to send messages.. Then, we could have a simple submodule for sending notification mails. Or provide integration with Rules, Notifications, in other submodules if someone needs more configuration options or configurable email text's and so on.
Comment #17
zilla commented@nbz - thanks for the answer!
@berdir - good idea. for example, some folks may want to truncate outgoing private messages to X characters (aka 'dating site' style to push users to log back in but with enough to see a snippet) - or users may want messages to go to a different email from registration, etc...or may want them daily versus instant, etc..or admin may want to push to cron, etc...(mail queue would be a wonderful integration prospect) - man, i wish i could write code! :(
Comment #18
strauch commentedIs it possible to make a new "road to damascus", where the user can see what is done and what are you planning to do and in which steps do you want to do it? I think michelle do it very good with the advanced forum: #326461: Release Plan. In the moment i have no idea where i can help testing a function. The most patches doesn't work with the current releases of privatemsg.
Comment #19
naheemsays commentedApart from bugs, the top items are probably:
1. #303087: Move "Sent Messages" to privatemsg_filter, Add inbox, improve user filtering. - CNR
2. #349809: Filter by author does not work
3. #349825: Cannot send new message to user with apostrophe in the name
4. #337264: Cancel Button does not work
5. #328049: No headline shown when i send a message with user ID
6. #324389: Show author(s) when viewing inbox - Needs to be rerolled.
There is also a need for a messaging apis to create, add to, delete and modify messages - but this may take some time.
We are at the point where the module is fairly stable and there is an upgrade path.
As for what goes in first, the above order does not matter too much - I guess it will be as soon as there is a patch available and ready to go.
Comment #20
nadavoid commentedI needed the feature of emailing users that they have new messages. So I went ahead and implemented a hook in the pm_send() function. This way, any other module can act on the message that is being sent.
I've attached the patch. Do you think this would work as a simple implementation?
Comment #21
litwol commented@nadavoid very good approach. this is excatly how i wanted to do it. however with 1 minor change. i would prefer to have different hooks rather than single hook with multiple $op.
drupal core is moving away from the $op implementation in favor of a standard hook_something_$op()
Comment #22
nadavoid commented@litwol, thanks for the feedback. I definitely want to keep in line with how drupal core is going.
What would you think about something like this? If it's good, I'll submit a real patch.
and
Comment #23
litwol commented@nadavoid lets open a dedicated issue about this.
i think the best way to approach this would be to copy how user.module does it.
Comment #24
berdirNew roadmap is at #372201: Roadmap for official 1.0 release