admin/user/notify fixes

ahoeben - July 1, 2004 - 12:27
Project:Notify
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I made the following fixes:

  • Changed the admin/user/notify page to show/edit all (enabled) users.
  • Fixed theming admin/user/notify
  • Moved and renamed "my notifications" to "my account -> email notification"
  • Fixed "notifications" link in "admin -> accounts"

    Also included the fixes by Capnj here:
    http://drupal.org/node/view/7166#comment-7892

    Point is, I have no idea how to make a patch out of this, so I can only post the fully patched module for now. Hope I'm not breaking any rules by doing so (but thought my changes might come in handy).

AttachmentSize
notify.module11.17 KB

#1

Bèr Kessels - July 1, 2004 - 13:43

I did not test it, nor checked the new modules validity. I only made the module you posted into a patch. That makes it much easier for dvelopers to work.

AttachmentSize
notify_2.patch 6.58 KB

#2

Junyor - July 1, 2004 - 14:28

Do these same problems affect the CVS version?

It's actually pretty simple to make a patch. See details at http://drupal.org/book/view/325 and http://drupal.org/book/view/323. If you're using Windows, I recommend TortoiseCVS (http://www.tortoisecvs.org/).

#3

ahoeben - July 1, 2004 - 14:51

Ber, thanks for making that patch (though it seems to me this is patching the wrong way around, from my patched version back to 4.4.0)

Junyor, thanks for the TurtoiseCVS link. I'll try to learn how to make my own patches now (and perhaps more...)

As for the CVS version. I started my version from the one available here:
http://drupal.org/files/projects/notify-cvs.tar.gz

After I uploaded my version I found out there's another patch (http://drupal.org/node/view/8658) that fixes the theming of the admin/user/notify page (among other things), but it doesn't seem to allow you to show/edit all users' notify settings.

#4

ahoeben - July 1, 2004 - 14:52

Ber, thanks for making that patch (though it seems to me this is patching the wrong way around, from my patched version back to 4.4.0, but I'm no patching expert ;-) )

Junyor, thanks for the TurtoiseCVS link. I'll try to learn how to make my own patches now (and perhaps more...)

As for the CVS version. I started my version from the one available here:
http://drupal.org/files/projects/notify-cvs.tar.gz

After I uploaded my version I found out there's another patch (http://drupal.org/node/view/8658) that fixes the theming of the admin/user/notify page (among other things), but it doesn't seem to allow you to show/edit all users' notify settings.

#5

Bèr Kessels - July 1, 2004 - 15:06

Doh Doh Doh! this one's the other way around ;) I am used to making pathces via CVS, this one was patched against a local copy.

AttachmentSize
notify_3.patch 6.58 KB

#6

Junyor - July 1, 2004 - 17:35

Sounds like the change is for CVS, then. Do we need a separate patch for the 4.4.0 branch to fix http://drupal.org/node/view/7166#comment-7892?

#7

Anonymous - July 1, 2004 - 17:47

No, I patched agains 4.4 and the version was set 4.4.
ahoeben, can you please donfirm.

#8

ahoeben - July 1, 2004 - 19:59

The patch is for the currently downloadable CVS version v 2.49 2004/04/09. This seems to be the exact same version that is included with the 4.4.0 archive of the notify module.

The patched module works fine in a 4.4.1 install.
Note that I did not fix anything other than the admin/user/notify page and, the menu items and the clickable patch; I didn't touch the cron job on what gets posted when.

#9

Junyor - July 2, 2004 - 05:29

Setting back to 4.4.0. There have been some changes in drupal-cvs for menus, so this patch doesn't necessarily only apply to cvs. However, that shouldn't stop this patch from making the 4.4.x branch and cvs. :)

#10

Junyor - July 2, 2004 - 06:46

And a new patch. This patch includes:

- all previous changes
- another URL fix (from Morbus Iff's patch in http://drupal.org/node/view/8658)
- standardization of all mentions of "mail" and "email" to "e-mail"

This patch applies cleanly to the 4.4.0 and CVS releases.

AttachmentSize
drupal-4-4.junyor.notify.patch 9.15 KB

#11

Junyor - July 2, 2004 - 07:07

I've put a copy of notify.module with this patch and a couple others in my sandbox.

#12

RobRoy - April 20, 2006 - 19:18
Version:<none>» HEAD
Status:needs review» closed

Closing old bugs that appear fixed.

 
 

Drupal is a registered trademark of Dries Buytaert.