Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ValueError when adding notice_setting in admin panel #5

Closed
wants to merge 323 commits into from

16 participants

Andrew Halligan Patrick Altman Ben Reynhart Les Orchard Sławomir Ehlert Mathieu Pillard Jannis Leidel Brian Rosner James Tauber Fabian Neumann Michael Trier iamalazybum Eduardo de Oliveira Padoan Matt Croydon Gaël Le Mignot Daniel Greenfeld
Andrew Halligan

Medium CharField expects a character but got an integer

jezdez and others added some commits
Jannis Leidel jezdez passing contact_email to templates by default
git-svn-id: http://django-notification.googlecode.com/svn/trunk@37 590c3fc9-4838-0410-bb95-17a0c9b37ca9
1ab0db1
Brian Rosner brosner Created the 'pluggable-backends' branch where refactoring into backen…
…ds will take place.

git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@38 590c3fc9-4838-0410-bb95-17a0c9b37ca9
d0608f8
James Tauber jtauber added comments to explain object encoding
git-svn-id: https://django-notification.googlecode.com/svn/trunk@44 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9c6a36a
James Tauber jtauber added comments to explain object encoding
git-svn-id: http://django-notification.googlecode.com/svn/trunk@44 590c3fc9-4838-0410-bb95-17a0c9b37ca9
00289b4
James Tauber jtauber media can now have spam sensitivity which, when compared with a notic…
…e type's spaminess is used to determine default notice setting

git-svn-id: https://django-notification.googlecode.com/svn/trunk@45 590c3fc9-4838-0410-bb95-17a0c9b37ca9
eab874b
James Tauber jtauber media can now have spam sensitivity which, when compared with a notic…
…e type's spaminess is used to determine default notice setting

git-svn-id: http://django-notification.googlecode.com/svn/trunk@45 590c3fc9-4838-0410-bb95-17a0c9b37ca9
c8ca15c
James Tauber jtauber fixed a bunch of snafus
git-svn-id: https://django-notification.googlecode.com/svn/trunk@46 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9b8e83a
James Tauber jtauber fixed a bunch of snafus
git-svn-id: http://django-notification.googlecode.com/svn/trunk@46 590c3fc9-4838-0410-bb95-17a0c9b37ca9
5dd5011
Jannis Leidel jezdez changes to make notifications translatable
git-svn-id: https://django-notification.googlecode.com/svn/trunk@47 590c3fc9-4838-0410-bb95-17a0c9b37ca9
506ec60
Jannis Leidel jezdez changes to make notifications translatable
git-svn-id: http://django-notification.googlecode.com/svn/trunk@47 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b818a41
James Tauber jtauber guard against no get_absolute_url
git-svn-id: https://django-notification.googlecode.com/svn/trunk@48 590c3fc9-4838-0410-bb95-17a0c9b37ca9
44c0436
James Tauber jtauber guard against no get_absolute_url
git-svn-id: http://django-notification.googlecode.com/svn/trunk@48 590c3fc9-4838-0410-bb95-17a0c9b37ca9
5af2a3d
James Tauber jtauber added svn:ignore
git-svn-id: https://django-notification.googlecode.com/svn/trunk@49 590c3fc9-4838-0410-bb95-17a0c9b37ca9
66123ea
James Tauber jtauber added svn:ignore
git-svn-id: http://django-notification.googlecode.com/svn/trunk@49 590c3fc9-4838-0410-bb95-17a0c9b37ca9
98f4b49
Jannis Leidel jezdez removed unneeded ugettext
git-svn-id: https://django-notification.googlecode.com/svn/trunk@50 590c3fc9-4838-0410-bb95-17a0c9b37ca9
bdabffa
Jannis Leidel jezdez removed unneeded ugettext
git-svn-id: http://django-notification.googlecode.com/svn/trunk@50 590c3fc9-4838-0410-bb95-17a0c9b37ca9
36db8d9
Jannis Leidel jezdez added support for named arguments in notification messages
git-svn-id: https://django-notification.googlecode.com/svn/trunk@51 590c3fc9-4838-0410-bb95-17a0c9b37ca9
4988ce1
Jannis Leidel jezdez added support for named arguments in notification messages
git-svn-id: http://django-notification.googlecode.com/svn/trunk@51 590c3fc9-4838-0410-bb95-17a0c9b37ca9
5977d40
Jannis Leidel jezdez second part of support for name based notifications, the decoding par…
…t. we now store the name of the according argument (like tralal in %(tralala)s) as a fourth part, e.g. {app.Model.pk.msgid}

git-svn-id: https://django-notification.googlecode.com/svn/trunk@52 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b694694
Jannis Leidel jezdez second part of support for name based notifications, the decoding par…
…t. we now store the name of the according argument (like tralal in %(tralala)s) as a fourth part, e.g. {app.Model.pk.msgid}

git-svn-id: http://django-notification.googlecode.com/svn/trunk@52 590c3fc9-4838-0410-bb95-17a0c9b37ca9
436eb3a
Brian Rosner brosner Increased the max_length of NoticeType.label to accommodate larger label
values. This change requires a database migration of the column.


git-svn-id: https://django-notification.googlecode.com/svn/trunk@53 590c3fc9-4838-0410-bb95-17a0c9b37ca9
2581c37
Brian Rosner brosner Increased the max_length of NoticeType.label to accommodate larger label
values. This change requires a database migration of the column.


git-svn-id: http://django-notification.googlecode.com/svn/trunk@53 590c3fc9-4838-0410-bb95-17a0c9b37ca9
0301e85
Brian Rosner brosner initialized svnmerge.py e9b8cde
Brian Rosner brosner Merged from trunk up to r53. 3b3c767
Brian Rosner brosner pluggable-backends: Initial cut at abstracting out the send logic int…
…o backends.

git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@56 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b997164
Brian Rosner brosner pluggable-backends: Implemented backend loading from settings. 3df0787
Brian Rosner brosner pluggable-backends: Fixed the passing of recipients to be passed into…
… the

deliver method and not stored on the backend instance.


git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@58 590c3fc9-4838-0410-bb95-17a0c9b37ca9
6179695
Brian Rosner brosner pluggable-backends: Removed a unused local variable in send. e05f01d
Brian Rosner brosner pluggable-backends: Pass the message through to backend deliver method. 25bd4ac
Brian Rosner brosner pluggable-backends: Moved message related functions into its own modu…
…le to

prevent circular imports between models.py and backends.


git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@61 590c3fc9-4838-0410-bb95-17a0c9b37ca9
c1989a4
Brian Rosner brosner pluggable-backends: Moved an import to the right module. 4824880
Brian Rosner brosner pluggable-backends: Removed the issue_notice flag. It is not a big de…
…al since

the user can customize things as they please.


git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@63 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ef5efc6
James Tauber jtauber first pass at observer pattern notices -- contributed by edcrypt
git-svn-id: https://django-notification.googlecode.com/svn/trunk@64 590c3fc9-4838-0410-bb95-17a0c9b37ca9
f760d38
James Tauber jtauber first pass at observer pattern notices -- contributed by edcrypt
git-svn-id: http://django-notification.googlecode.com/svn/trunk@64 590c3fc9-4838-0410-bb95-17a0c9b37ca9
658021a
James Tauber jtauber superusers no longer receive all notices -- if you want to see all no…
…tices, use admin

git-svn-id: https://django-notification.googlecode.com/svn/trunk@65 590c3fc9-4838-0410-bb95-17a0c9b37ca9
f60c9df
James Tauber jtauber superusers no longer receive all notices -- if you want to see all no…
…tices, use admin

git-svn-id: http://django-notification.googlecode.com/svn/trunk@65 590c3fc9-4838-0410-bb95-17a0c9b37ca9
5fab724
Jannis Leidel jezdez major api changes, moving from string templates to django templates
git-svn-id: https://django-notification.googlecode.com/svn/trunk@70 590c3fc9-4838-0410-bb95-17a0c9b37ca9
6016a0a
Jannis Leidel jezdez major api changes, moving from string templates to django templates
git-svn-id: http://django-notification.googlecode.com/svn/trunk@70 590c3fc9-4838-0410-bb95-17a0c9b37ca9
75e1177
Jannis Leidel jezdez changed template names and other things
git-svn-id: https://django-notification.googlecode.com/svn/trunk@71 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ccdd079
Jannis Leidel jezdez changed template names and other things
git-svn-id: http://django-notification.googlecode.com/svn/trunk@71 590c3fc9-4838-0410-bb95-17a0c9b37ca9
7f44ce2
James Tauber jtauber missing comma
git-svn-id: https://django-notification.googlecode.com/svn/trunk@72 590c3fc9-4838-0410-bb95-17a0c9b37ca9
798b6f2
James Tauber jtauber missing comma
git-svn-id: http://django-notification.googlecode.com/svn/trunk@72 590c3fc9-4838-0410-bb95-17a0c9b37ca9
15c5f66
Fabian Neumann hellp fix: context is not just a dict
git-svn-id: https://django-notification.googlecode.com/svn/trunk@73 590c3fc9-4838-0410-bb95-17a0c9b37ca9
eb4ee92
Fabian Neumann hellp fix: context is not just a dict
git-svn-id: http://django-notification.googlecode.com/svn/trunk@73 590c3fc9-4838-0410-bb95-17a0c9b37ca9
c8980b1
Brian Rosner brosner pluggable-backends: Merged from trunk up to r73. This is a bit rough …
…and will need some more work.

git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@76 590c3fc9-4838-0410-bb95-17a0c9b37ca9
cb1e271
James Tauber jtauber removed code for converting to tuple as broken if qs passed in
git-svn-id: https://django-notification.googlecode.com/svn/trunk@77 590c3fc9-4838-0410-bb95-17a0c9b37ca9
a2e4bf9
James Tauber jtauber removed code for converting to tuple as broken if qs passed in
git-svn-id: http://django-notification.googlecode.com/svn/trunk@77 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b552073
James Tauber jtauber command extension for upgrading pre-r70 database
git-svn-id: https://django-notification.googlecode.com/svn/trunk@78 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9290d48
James Tauber jtauber command extension for upgrading pre-r70 database
git-svn-id: http://django-notification.googlecode.com/svn/trunk@78 590c3fc9-4838-0410-bb95-17a0c9b37ca9
cadda03
James Tauber jtauber fallback template for full.html
git-svn-id: https://django-notification.googlecode.com/svn/trunk@79 590c3fc9-4838-0410-bb95-17a0c9b37ca9
d63d0fc
James Tauber jtauber fallback template for full.html
git-svn-id: http://django-notification.googlecode.com/svn/trunk@79 590c3fc9-4838-0410-bb95-17a0c9b37ca9
a96672f
Brian Rosner brosner Added mark_all_seen view that marks all unseen notices as seen. Also …
…improved NoticeManager.notices_for method by adding a unseen parameter.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@80 590c3fc9-4838-0410-bb95-17a0c9b37ca9
49c0cb6
Brian Rosner brosner Added mark_all_seen view that marks all unseen notices as seen. Also …
…improved NoticeManager.notices_for method by adding a unseen parameter.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@80 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9ccaf61
Jannis Leidel jezdez added captureas tag due to the requirement for translatable notificat…
…ion templates that use the url tag, a.k.a. temporary fix for http://code.djangoproject.com/ticket/7239

git-svn-id: https://django-notification.googlecode.com/svn/trunk@81 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b4508fa
Jannis Leidel jezdez added captureas tag due to the requirement for translatable notificat…
…ion templates that use the url tag, a.k.a. temporary fix for http://code.djangoproject.com/ticket/7239

git-svn-id: http://django-notification.googlecode.com/svn/trunk@81 590c3fc9-4838-0410-bb95-17a0c9b37ca9
de62317
Jannis Leidel jezdez added decorator 'basic_auth_required' to be used with whatever privat…
…e thing we want to use it with

git-svn-id: https://django-notification.googlecode.com/svn/trunk@82 590c3fc9-4838-0410-bb95-17a0c9b37ca9
a154cab
Jannis Leidel jezdez added decorator 'basic_auth_required' to be used with whatever privat…
…e thing we want to use it with

git-svn-id: http://django-notification.googlecode.com/svn/trunk@82 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ff055ed
Michael Trier empty Fixed up project to be compatible with NFA version of trunk.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@83 590c3fc9-4838-0410-bb95-17a0c9b37ca9
85849bf
Michael Trier empty Fixed up project to be compatible with NFA version of trunk.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@83 590c3fc9-4838-0410-bb95-17a0c9b37ca9
4d25586
James Tauber jtauber added svn:ignore
git-svn-id: https://django-notification.googlecode.com/svn/trunk@84 590c3fc9-4838-0410-bb95-17a0c9b37ca9
db1026a
James Tauber jtauber added svn:ignore
git-svn-id: http://django-notification.googlecode.com/svn/trunk@84 590c3fc9-4838-0410-bb95-17a0c9b37ca9
bd6969c
Jannis Leidel jezdez fixed recursion failure
git-svn-id: https://django-notification.googlecode.com/svn/trunk@85 590c3fc9-4838-0410-bb95-17a0c9b37ca9
e8c02b1
Jannis Leidel jezdez fixed recursion failure
git-svn-id: http://django-notification.googlecode.com/svn/trunk@85 590c3fc9-4838-0410-bb95-17a0c9b37ca9
3bdc4dc
Jannis Leidel jezdez repaired basic_auth_required decorator to accept a realm and a test_f…
…unc argument

git-svn-id: https://django-notification.googlecode.com/svn/trunk@86 590c3fc9-4838-0410-bb95-17a0c9b37ca9
49625dd
Jannis Leidel jezdez repaired basic_auth_required decorator to accept a realm and a test_f…
…unc argument

git-svn-id: http://django-notification.googlecode.com/svn/trunk@86 590c3fc9-4838-0410-bb95-17a0c9b37ca9
77dd23f
Jannis Leidel jezdez added docstring to basic auth decorator and ability to get passed a c…
…allback function, that is here for example used to login a user after a successful authentication

git-svn-id: https://django-notification.googlecode.com/svn/trunk@87 590c3fc9-4838-0410-bb95-17a0c9b37ca9
451205c
Jannis Leidel jezdez added docstring to basic auth decorator and ability to get passed a c…
…allback function, that is here for example used to login a user after a successful authentication

git-svn-id: http://django-notification.googlecode.com/svn/trunk@87 590c3fc9-4838-0410-bb95-17a0c9b37ca9
c473276
Jannis Leidel jezdez Added get_absolute_url for Notice and a single view that checks for t…
…hat owncer of the notice before displaying.

Added feed_for_user view that wraps Django's syndication framework. In conjunction with the basic_auth_decorator this enables the user to subscribe to his notifications with /notices/feed/.


git-svn-id: https://django-notification.googlecode.com/svn/trunk@88 590c3fc9-4838-0410-bb95-17a0c9b37ca9
959697b
Jannis Leidel jezdez Added get_absolute_url for Notice and a single view that checks for t…
…hat owncer of the notice before displaying.

Added feed_for_user view that wraps Django's syndication framework. In conjunction with the basic_auth_decorator this enables the user to subscribe to his notifications with /notices/feed/.


git-svn-id: http://django-notification.googlecode.com/svn/trunk@88 590c3fc9-4838-0410-bb95-17a0c9b37ca9
6f5dec0
Jannis Leidel jezdez fixed bug where the context variables don't get translated to the lan…
…guage of the recipient, e.g. resulting in wrong translations of the email subject

git-svn-id: https://django-notification.googlecode.com/svn/trunk@89 590c3fc9-4838-0410-bb95-17a0c9b37ca9
1310e11
Jannis Leidel jezdez fixed bug where the context variables don't get translated to the lan…
…guage of the recipient, e.g. resulting in wrong translations of the email subject

git-svn-id: http://django-notification.googlecode.com/svn/trunk@89 590c3fc9-4838-0410-bb95-17a0c9b37ca9
bfcaead
Jannis Leidel jezdez added additional exception for profile loading because of a bug in Dj…
…ango

git-svn-id: https://django-notification.googlecode.com/svn/trunk@91 590c3fc9-4838-0410-bb95-17a0c9b37ca9
270f71e
Jannis Leidel jezdez added additional exception for profile loading because of a bug in Dj…
…ango

git-svn-id: http://django-notification.googlecode.com/svn/trunk@91 590c3fc9-4838-0410-bb95-17a0c9b37ca9
43708b1
eduardo.padoan Updating Observation feature.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@92 590c3fc9-4838-0410-bb95-17a0c9b37ca9
02250bd
Eduardo de Oliveira Padoan edcrypt Updating Observation feature.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@92 590c3fc9-4838-0410-bb95-17a0c9b37ca9
be75f85
James Tauber jtauber catch object does not exist exception if trying to get profile and no…
…ne exists

git-svn-id: https://django-notification.googlecode.com/svn/trunk@93 590c3fc9-4838-0410-bb95-17a0c9b37ca9
dd198e1
James Tauber jtauber catch object does not exist exception if trying to get profile and no…
…ne exists

git-svn-id: http://django-notification.googlecode.com/svn/trunk@93 590c3fc9-4838-0410-bb95-17a0c9b37ca9
7684876
James Tauber jtauber add unique_together
git-svn-id: https://django-notification.googlecode.com/svn/trunk@94 590c3fc9-4838-0410-bb95-17a0c9b37ca9
50fed30
James Tauber jtauber add unique_together
git-svn-id: http://django-notification.googlecode.com/svn/trunk@94 590c3fc9-4838-0410-bb95-17a0c9b37ca9
0f2bf15
Brian Rosner brosner Added the user to the context of a notification template.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@95 590c3fc9-4838-0410-bb95-17a0c9b37ca9
3aaccc8
Brian Rosner brosner Added the user to the context of a notification template.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@95 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ab5ea92
Brian Rosner brosner Removed issue_notice flag and replaced with on_site flag. This is bac…
…kward

incompatible in that SQL migration is needed and the keyword argument changed.
Its default value is the same. Due to the backward incompatible change here,
the recipient argument name changed to users. That is backward incompatible if
you relied on the old name.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@96 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ab07342
Brian Rosner brosner Removed issue_notice flag and replaced with on_site flag. This is bac…
…kward

incompatible in that SQL migration is needed and the keyword argument changed.
Its default value is the same. Due to the backward incompatible change here,
the recipient argument name changed to users. That is backward incompatible if
you relied on the old name.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@96 590c3fc9-4838-0410-bb95-17a0c9b37ca9
0ab4b9f
Brian Rosner brosner Added asynchronous notification sending.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@97 590c3fc9-4838-0410-bb95-17a0c9b37ca9
6b854a4
Brian Rosner brosner Added asynchronous notification sending.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@97 590c3fc9-4838-0410-bb95-17a0c9b37ca9
d3190a0
Brian Rosner brosner Gave NoticeQueue a better name of NoticeQueueBatch.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@98 590c3fc9-4838-0410-bb95-17a0c9b37ca9
2c2dc37
Brian Rosner brosner Gave NoticeQueue a better name of NoticeQueueBatch.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@98 590c3fc9-4838-0410-bb95-17a0c9b37ca9
18f6317
Brian Rosner brosner Handle an AnonymousUser being passed into is_observing correctly.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@99 590c3fc9-4838-0410-bb95-17a0c9b37ca9
87d1e5d
Brian Rosner brosner Handle an AnonymousUser being passed into is_observing correctly.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@99 590c3fc9-4838-0410-bb95-17a0c9b37ca9
1453421
Jannis Leidel jezdez Uncoupled the place to get the notification languages from. Just spec…
…ify a NOTIFICATION_LANGUAGE_MODULE setting as <app_label>.<modelname>, e.g. accounts.userprofile, that contains a 'language' and ForeignKey to a User object.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@100 590c3fc9-4838-0410-bb95-17a0c9b37ca9
2071a9f
Jannis Leidel jezdez Uncoupled the place to get the notification languages from. Just spec…
…ify a NOTIFICATION_LANGUAGE_MODULE setting as <app_label>.<modelname>, e.g. accounts.userprofile, that contains a 'language' and ForeignKey to a User object.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@100 590c3fc9-4838-0410-bb95-17a0c9b37ca9
eb0fb70
Brian Rosner brosner Pass the context in get_formatted_messages into the correct argument …
…in render_to_string.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@101 590c3fc9-4838-0410-bb95-17a0c9b37ca9
2a6386e
Brian Rosner brosner Pass the context in get_formatted_messages into the correct argument …
…in render_to_string.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@101 590c3fc9-4838-0410-bb95-17a0c9b37ca9
f14d10f
Brian Rosner brosner Conditionally turn off autoescaping for .txt extensions in the format.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@102 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b8ad018
Brian Rosner brosner Conditionally turn off autoescaping for .txt extensions in the format.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@102 590c3fc9-4838-0410-bb95-17a0c9b37ca9
1da2eca
Brian Rosner brosner pluggable-backends: Merged from trunk revisions 77-89 and 91-102. Thi…
…s is a very rough merge and has broken code.

git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@103 590c3fc9-4838-0410-bb95-17a0c9b37ca9
e3f854e
Brian Rosner brosner Use None for default values in function signatures to avoid mistakes …
…and follow best practices.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@104 590c3fc9-4838-0410-bb95-17a0c9b37ca9
57efdb8
Brian Rosner brosner Use None for default values in function signatures to avoid mistakes …
…and follow best practices.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@104 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b459819
Brian Rosner brosner Updated a docstring that had slipped through.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@105 590c3fc9-4838-0410-bb95-17a0c9b37ca9
c37f7a2
Brian Rosner brosner Updated a docstring that had slipped through.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@105 590c3fc9-4838-0410-bb95-17a0c9b37ca9
97a0f43
Brian Rosner brosner Renamed current send to send_now and made send a wrapper around send …
…and queue. This allows for a global queue toggle as well as per-call overrides using `queue` and `now` kwargs.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@106 590c3fc9-4838-0410-bb95-17a0c9b37ca9
0e4abd8
Brian Rosner brosner Renamed current send to send_now and made send a wrapper around send …
…and queue. This allows for a global queue toggle as well as per-call overrides using `queue` and `now` kwargs.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@106 590c3fc9-4838-0410-bb95-17a0c9b37ca9
151442c
Brian Rosner brosner Encode/decode pickle data before and coming out the database. pickle …
…doesn't gurantee a bytestream when done serializing.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@107 590c3fc9-4838-0410-bb95-17a0c9b37ca9
7570991
Brian Rosner brosner Encode/decode pickle data before and coming out the database. pickle …
…doesn't gurantee a bytestream when done serializing.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@107 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b3d68f2
James Tauber jtauber removed old migration command
git-svn-id: https://django-notification.googlecode.com/svn/trunk@108 590c3fc9-4838-0410-bb95-17a0c9b37ca9
5894799
James Tauber jtauber removed old migration command
git-svn-id: http://django-notification.googlecode.com/svn/trunk@108 590c3fc9-4838-0410-bb95-17a0c9b37ca9
010a269
Brian Rosner brosner Added docs placeholder. Documentation to come very soon.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@109 590c3fc9-4838-0410-bb95-17a0c9b37ca9
a5978e5
Brian Rosner brosner Added docs placeholder. Documentation to come very soon.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@109 590c3fc9-4838-0410-bb95-17a0c9b37ca9
1245413
James Tauber jtauber changed notification template naming: plain.txt -> full.txt; teaser.h…
…tml -> notice.html

git-svn-id: https://django-notification.googlecode.com/svn/trunk@110 590c3fc9-4838-0410-bb95-17a0c9b37ca9
896fde5
James Tauber jtauber changed notification template naming: plain.txt -> full.txt; teaser.h…
…tml -> notice.html

git-svn-id: http://django-notification.googlecode.com/svn/trunk@110 590c3fc9-4838-0410-bb95-17a0c9b37ca9
52866b3
Brian Rosner brosner Port of documentation from the wiki. This needs to be updated.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@111 590c3fc9-4838-0410-bb95-17a0c9b37ca9
3ce9fac
Brian Rosner brosner Port of documentation from the wiki. This needs to be updated.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@111 590c3fc9-4838-0410-bb95-17a0c9b37ca9
50d43da
James Tauber jtauber renamed notification templates
git-svn-id: https://django-notification.googlecode.com/svn/trunk@112 590c3fc9-4838-0410-bb95-17a0c9b37ca9
da8270d
James Tauber jtauber renamed notification templates
git-svn-id: http://django-notification.googlecode.com/svn/trunk@112 590c3fc9-4838-0410-bb95-17a0c9b37ca9
2f4ace6
Brian Rosner brosner Updated the documentation to reflect current state.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@113 590c3fc9-4838-0410-bb95-17a0c9b37ca9
a2d4da2
Brian Rosner brosner Updated the documentation to reflect current state.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@113 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ad8c99d
James Tauber jtauber first pass at notification template doc
git-svn-id: https://django-notification.googlecode.com/svn/trunk@114 590c3fc9-4838-0410-bb95-17a0c9b37ca9
1c7284e
James Tauber jtauber first pass at notification template doc
git-svn-id: http://django-notification.googlecode.com/svn/trunk@114 590c3fc9-4838-0410-bb95-17a0c9b37ca9
532cc72
James Tauber jtauber improvements to doc
git-svn-id: https://django-notification.googlecode.com/svn/trunk@115 590c3fc9-4838-0410-bb95-17a0c9b37ca9
69937db
James Tauber jtauber improvements to doc
git-svn-id: http://django-notification.googlecode.com/svn/trunk@115 590c3fc9-4838-0410-bb95-17a0c9b37ca9
634b046
James Tauber jtauber fixed formatting
git-svn-id: https://django-notification.googlecode.com/svn/trunk@116 590c3fc9-4838-0410-bb95-17a0c9b37ca9
f86127a
James Tauber jtauber fixed formatting
git-svn-id: http://django-notification.googlecode.com/svn/trunk@116 590c3fc9-4838-0410-bb95-17a0c9b37ca9
7e9fef1
Brian Rosner brosner Fixed a minor typo that prevented code to be rendered as code.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@117 590c3fc9-4838-0410-bb95-17a0c9b37ca9
315726f
Brian Rosner brosner Fixed a minor typo that prevented code to be rendered as code.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@117 590c3fc9-4838-0410-bb95-17a0c9b37ca9
55e681f
Brian Rosner brosner Updated the lockfile to 0.6. This fixes Python 2.4 compatibility.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@118 590c3fc9-4838-0410-bb95-17a0c9b37ca9
aa0453c
Brian Rosner brosner Updated the lockfile to 0.6. This fixes Python 2.4 compatibility.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@118 590c3fc9-4838-0410-bb95-17a0c9b37ca9
4d7069c
Brian Rosner brosner Catch exceptions while processing the queue and handle them nicely an…
…d e-mail them to ADMINS.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@119 590c3fc9-4838-0410-bb95-17a0c9b37ca9
5ad46f2
Brian Rosner brosner Catch exceptions while processing the queue and handle them nicely an…
…d e-mail them to ADMINS.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@119 590c3fc9-4838-0410-bb95-17a0c9b37ca9
b664582
Jannis Leidel jezdez Added missing import to lockfile.py just as reported in http://code.g… a928b49
Jannis Leidel jezdez Added missing import to lockfile.py just as reported in http://code.g… 3c5b1ae
Brian Rosner brosner Added an AUTHORS file. Thanks thiago.salves for bootstrapping the pro…
…cess.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@121 590c3fc9-4838-0410-bb95-17a0c9b37ca9
31226eb
Brian Rosner brosner Added an AUTHORS file. Thanks thiago.salves for bootstrapping the pro…
…cess.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@121 590c3fc9-4838-0410-bb95-17a0c9b37ca9
e7ee80a
Brian Rosner brosner Added a basic README file based on the one provided by thiago.salves.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@122 590c3fc9-4838-0410-bb95-17a0c9b37ca9
566cc21
Brian Rosner brosner Added a basic README file based on the one provided by thiago.salves.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@122 590c3fc9-4838-0410-bb95-17a0c9b37ca9
fb2e715
Jannis Leidel jezdez Added setup.py and necessary files.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@123 590c3fc9-4838-0410-bb95-17a0c9b37ca9
7282cc1
Jannis Leidel jezdez Added setup.py and necessary files.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@123 590c3fc9-4838-0410-bb95-17a0c9b37ca9
8a93e11
Jannis Leidel jezdez Added LICENSE file
git-svn-id: https://django-notification.googlecode.com/svn/trunk@124 590c3fc9-4838-0410-bb95-17a0c9b37ca9
e0af83f
Jannis Leidel jezdez Added LICENSE file
git-svn-id: http://django-notification.googlecode.com/svn/trunk@124 590c3fc9-4838-0410-bb95-17a0c9b37ca9
fa84b80
Brian Rosner brosner Honor the default syncdb verbosity when creating notice types.
To honor all verbosity levels *all* callers of create_notice_types needs to
pass in the verbosity keyword argument from inside create_notice_types.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@125 590c3fc9-4838-0410-bb95-17a0c9b37ca9
78e6912
Brian Rosner brosner Honor the default syncdb verbosity when creating notice types.
To honor all verbosity levels *all* callers of create_notice_types needs to
pass in the verbosity keyword argument from inside create_notice_types.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@125 590c3fc9-4838-0410-bb95-17a0c9b37ca9
22c652c
Jannis Leidel jezdez Fixed issue 24: Check for django-mailer by using Django's app cache i…
…nstead of simple imports

git-svn-id: https://django-notification.googlecode.com/svn/trunk@126 590c3fc9-4838-0410-bb95-17a0c9b37ca9
cc1b139
Jannis Leidel jezdez Fixed issue 24: Check for django-mailer by using Django's app cache i…
…nstead of simple imports

git-svn-id: http://django-notification.googlecode.com/svn/trunk@126 590c3fc9-4838-0410-bb95-17a0c9b37ca9
11505a0
Jannis Leidel jezdez Updated docs to use Django's app cache to detect if notification is i…
…nstalled

git-svn-id: https://django-notification.googlecode.com/svn/trunk@128 590c3fc9-4838-0410-bb95-17a0c9b37ca9
4947bdf
Jannis Leidel jezdez Updated docs to use Django's app cache to detect if notification is i…
…nstalled

git-svn-id: http://django-notification.googlecode.com/svn/trunk@128 590c3fc9-4838-0410-bb95-17a0c9b37ca9
4cd2d9c
Brian Rosner brosner pluggable-backends: Merged from trunk up to r128. f4d526c
Brian Rosner brosner pluggable-backends: Use get_app over to include django-mailer support…
… over a standard import and ImportError exception handling.

git-svn-id: https://django-notification.googlecode.com/svn/branches/pluggable-backends@130 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ede4689
brosner Updated the version generating to be more specific and format nicely.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@131 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ac6e2fd
Brian Rosner brosner Updated the version generating to be more specific and format nicely.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@131 590c3fc9-4838-0410-bb95-17a0c9b37ca9
2973596
Brian Rosner brosner Removed the captureas template tag.
It is no longer needed since Django 1.0 introduced the as keyword to {% url %}.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@132 590c3fc9-4838-0410-bb95-17a0c9b37ca9
452dc81
Brian Rosner brosner Removed the captureas template tag.
It is no longer needed since Django 1.0 introduced the as keyword to {% url %}.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@132 590c3fc9-4838-0410-bb95-17a0c9b37ca9
e2eb80c
Brian Rosner brosner Removed notification.templatetags from setup.py.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@133 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9b5bf7f
Brian Rosner brosner Removed notification.templatetags from setup.py.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@133 590c3fc9-4838-0410-bb95-17a0c9b37ca9
744fbc1
Brian Rosner brosner Modified the version generation to ignore the final designation.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@134 590c3fc9-4838-0410-bb95-17a0c9b37ca9
8bc8ee3
Brian Rosner brosner Modified the version generation to ignore the final designation.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@134 590c3fc9-4838-0410-bb95-17a0c9b37ca9
db70d12
Brian Rosner brosner Bumping the version to 0.1.0final.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@135 590c3fc9-4838-0410-bb95-17a0c9b37ca9
a56c5a0
Brian Rosner brosner Bumping the version to 0.1.0final.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@135 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9a5148c
Brian Rosner brosner Bumped the version number to 0.2.0pre to indicate trunk status.
git-svn-id: https://django-notification.googlecode.com/svn/trunk@137 590c3fc9-4838-0410-bb95-17a0c9b37ca9
ac5ff62
Brian Rosner brosner Bumped the version number to 0.2.0pre to indicate trunk status.
git-svn-id: http://django-notification.googlecode.com/svn/trunk@137 590c3fc9-4838-0410-bb95-17a0c9b37ca9
6dd7a68
Brian Rosner brosner Fixed a typo. 55502ce
Brian Rosner brosner Avoid double initialization of the backend class that Python can do w…
…hen using an empty string in the from list.
81de973
Brian Rosner brosner Updated the pluggable-backend branch to include all the changes made …
…from trunk.

The big change here is that backends are now in charge of rendering their
own templates. get_formatted_messages was moved to the backend and each
backend has access to it from BaseBackend.
62e90a4
Brian Rosner brosner Restructured the code a little to allow backends to know their label …
…and handle their own spam_sensitivity.
fac857b
Brian Rosner brosner Removed the need to unpack the NOTIFICATION_BACKENDS dict when iterat…
…ing over it sending notifications.
9504ea4
Brian Rosner brosner Allow the user to define spam_sensitivity overrides for backends. 94f0e39
Brian Rosner brosner Merge branch 'master' into pb
Conflicts:
	notification/__init__.py
	notification/models.py
	setup.py
5f84e8c
Brian Rosner brosner Corrected a stale reference to an old variable. 47b310b
Brian Rosner brosner Added a default backend for backward compatibility. 1cc80ae
Brian Rosner brosner Fixed up some code that I broke earlier. 9e2f2f5
Jannis Leidel jezdez Fixes issue 25 - importing notification broken. Uses simple check for…
… existance in settings.INSTALLED_APPS.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@138 590c3fc9-4838-0410-bb95-17a0c9b37ca9
73afb14
Jannis Leidel jezdez Fixes a typo in the docs
git-svn-id: http://django-notification.googlecode.com/svn/trunk@139 590c3fc9-4838-0410-bb95-17a0c9b37ca9
d0af811
Jannis Leidel jezdez Fixes another typo in the docs
git-svn-id: http://django-notification.googlecode.com/svn/trunk@140 590c3fc9-4838-0410-bb95-17a0c9b37ca9
8ba4bb7
Jannis Leidel jezdez Documentation now shows how to mark notice types for translations
git-svn-id: http://django-notification.googlecode.com/svn/trunk@145 590c3fc9-4838-0410-bb95-17a0c9b37ca9
f88a044
Jannis Leidel jezdez Fixes a typo in the docs
git-svn-id: http://django-notification.googlecode.com/svn/trunk@146 590c3fc9-4838-0410-bb95-17a0c9b37ca9
8beb70b
James Tauber jtauber fixed missing colon
git-svn-id: http://django-notification.googlecode.com/svn/trunk@151 590c3fc9-4838-0410-bb95-17a0c9b37ca9
f97c847
James Tauber jtauber fixed missing colon
git-svn-id: http://django-notification.googlecode.com/svn/trunk@152 590c3fc9-4838-0410-bb95-17a0c9b37ca9
9f331c7
Jannis Leidel jezdez Added atompub.py and changed to version string for 0.1.1 release
git-svn-id: http://django-notification.googlecode.com/svn/trunk@153 590c3fc9-4838-0410-bb95-17a0c9b37ca9
3e6e539
Jannis Leidel jezdez Absolute import of the atomformat module. Thanks for the bug report c…
…arl.j.meyer

git-svn-id: http://django-notification.googlecode.com/svn/trunk@155 590c3fc9-4838-0410-bb95-17a0c9b37ca9
d1466e0
Jannis Leidel jezdez Updated setup.py to use setuptools to find all media files and bumped…
… minor version up.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@156 590c3fc9-4838-0410-bb95-17a0c9b37ca9
500ab4b
Jannis Leidel jezdez Small changes on the docs and changed description and long_descriptio…
…n for pypi.

git-svn-id: http://django-notification.googlecode.com/svn/trunk@157 590c3fc9-4838-0410-bb95-17a0c9b37ca9
4236144
Brian Rosner brosner Updated lockfile to 0.7 and fixed a Python 2.6 issue. See http://code… 3f18d36
Brian Rosner brosner Only count on_site notices in the context processor (also unseen_coun…
…t_for now calls notices_for).

git-svn-id: http://django-notification.googlecode.com/svn/trunk@159 590c3fc9-4838-0410-bb95-17a0c9b37ca9
0f2d6f3
Jannis Leidel jezdez Fixed a finally statement for Python 2.4 compatibility
git-svn-id: http://django-notification.googlecode.com/svn/trunk@160 590c3fc9-4838-0410-bb95-17a0c9b37ca9
e04fdc9
Brian Rosner brosner Removed an unnesscary import of mailer in models. f7d0e17
Brian Rosner brosner Do not use get_app for getting mailer. It was causing a circular import. ba8de99
Brian Rosner brosner Use the backend enumerated number over the label. e99cda1
Brian Rosner brosner Import should_send in the best possible way for now. 4d8b8ce
Brian Rosner brosner Use medium_id more throughly and consistently. 3c9d3ce
Brian Rosner brosner Fixed the NOTIFICATION_BACKENDS data structure to work more correctly. 1319b87
Brian Rosner brosner Added a missing import in the email backend. c6b9e68
Brian Rosner brosner Use the e-mail address when sending mail from the email backend. a48821f
Brian Rosner brosner Moved should_send function call to BaseBackend to reduce code duplica…
…tion.

This change is backwards incompatible in the sense that if should_send changes
you may be affected.
9d2da7f
James Tauber jtauber turn on autoescaping explicitly if not a text notice (pinax bug #394) 62cc746
Jannis Leidel jezdez Bumped up version to 0.1.4 42227f2
Jannis Leidel jezdez Bumped up version to 0.1.4
Signed-off-by: James Tauber <jtauber@jtauber.com>
3f023ad
Brian Rosner brosner Merge branch 'master' of git://github.com/jtauber/django-notification f471522
Brian Rosner brosner added support for DEFAULT_HTTP_PROTOCOL settings fallback 087d2a6
Brian Rosner brosner added a couple more missed places for use of DEFAULT_HTTP_PROTOCOL 6b02bb2
Brian Rosner brosner updated atomformat to 0.1.1dev 850cb34
Brian Rosner brosner moved DEFAULT_HTTP_PROTOCOL to a global variable and fixed another mi…
…ssed instance of http hardcoding
bd95ae7
Brian Rosner brosner whitespace da77ee0
Brian Rosner brosner added CHANGELOG e6328c9
Brian Rosner brosner bumped version to 0.1.5 c9d2d11
Brian Rosner brosner master is now 0.2 work and modified version handling for dev releases 91d9a2f
Brian Rosner brosner BACKWARD INCOMPATIBLE: renamed Notice.user to Notice.recipient and ch…
…anged its context variable to match

This change is being made to clarify the purpose of the User FK on Notice.
5202196
Brian Rosner brosner BACKWARD INCOMPATIBLE: added nullable Notice.sender and modified send…
…_now and queue to take an optional sender

This allows notifications to record possibly request.user when sending the
notification.
57f4da8
Brian Rosner brosner added received and sent methods taking a User instance to Notice.objects 9f2aa6d
Brian Rosner brosner re-arranged CHANGELOG items 83d8a17
Brian Rosner brosner updated NoticeAdmin to reflect the changed/new fields on Notice 8f38e23
Matt Croydon mcroydon New default behavior: added optional mark_seen keyword argument to si…
…ngle notice view. When enabled (default) it will mark the notice as seen if it's not set already.
1b4df0a
Matt Croydon mcroydon Added view documentation. 69eacff
Matt Croydon mcroydon Updated a few outdated references to notice.user
Signed-off-by: Brian Rosner <brosner@gmail.com>
f4cc717
Matt Croydon mcroydon Added sender to unpickling in notification.engine.send_all to match p…
…ickling in notification.models.queue.

Signed-off-by: Brian Rosner <brosner@gmail.com>
69e6710
Brian Rosner brosner 0.2.0.dev2 9bb89dd
diox and others added some commits
Mathieu Pillard diox add .gitignore
Signed-off-by: Brian Rosner <brosner@gmail.com>
ed72c3f
Mathieu Pillard diox Display the label of the notice we're sending in emit_notices
Signed-off-by: Brian Rosner <brosner@gmail.com>
f35917a
Mathieu Pillard diox Display batches in the admin for debugging
Signed-off-by: Brian Rosner <brosner@gmail.com>
f9a0851
Gaël Le Mignot glemignot Pass additionnal arguments to notices sent for an observed item just …
…like regular notices

Signed-off-by: Mathieu Pillard <m.pillard@liberation.fr>
Signed-off-by: Brian Rosner <brosner@gmail.com>
d726bb7
Mathieu Pillard diox Ignore non existing users in async notices
Signed-off-by: Brian Rosner <brosner@gmail.com>
5f29902
Mathieu Pillard diox Don't send notifications to inactive (i.e., not confirmed) users
Signed-off-by: Brian Rosner <brosner@gmail.com>
6a1db8f
Mathieu Pillard diox Split notices/notice_settings in two separate views to do less db que…
…ries. Also don't save notice settings when we don't need to.

Signed-off-by: Brian Rosner <brosner@gmail.com>
879a0c7
Brian Rosner brosner use django.core.mail over mailer (using django-mailer 0.2a1+ supports…
… e-mail backends)
2be9a5a
Brian Rosner brosner changed version building to match what Pinax uses producing 0.2a1.dev3 8aaa36e
Brian Rosner brosner updated CHANGELOG with recent changes d097e77
Brian Rosner brosner various clean-ups from recent contributions from others 55f718a
Brian Rosner brosner 0.2a1.dev4 5b3edaf
Sławomir Ehlert slafs added redirect to settings view 6d7cdd9
Sławomir Ehlert slafs fixed atom feed 412adca
Brian Rosner brosner cleaned up code style 408ede1
Brian Rosner brosner Merge branch 'master' into pb
Conflicts:
	docs/index.txt
	docs/usage.txt
	notification/__init__.py
	notification/admin.py
	notification/context_processors.py
	notification/decorators.py
	notification/engine.py
	notification/feeds.py
	notification/lockfile.py
	notification/models.py
	notification/urls.py
	notification/views.py
	setup.py
e454b1e
Brian Rosner brosner Merge branch 'pb' 29d5ae6
Brian Rosner brosner removed Notice model and all supporting elements (bumped to 0.3 due t…
…o level of change)
a2fd330
Brian Rosner brosner added better APIs and removed vestigial code in models.py 09fbf58
Brian Rosner brosner removed observer code 7781513
Brian Rosner brosner removed ObservedItemManager 54fcdf7
Brian Rosner brosner removed dead imports 9d4f5a1
Brian Rosner brosner moved QUEUE_ALL definition to when function is called 3689e29
Brian Rosner brosner 0.3a1.dev2 b8d663c
Brian Rosner brosner removed remaining on_site bits 5cf39d0
Brian Rosner brosner removed formats from send_now (not used any longer) 8b76270
Brian Rosner brosner fixed missing variable in send d96a39e
Brian Rosner brosner 0.3a1.dev3 6ccbcaf
Brian Rosner brosner 0.3a1.dev4 26479c5
Patrick Altman paltman added missing function c8949ab
Patrick Altman paltman 0.3a1.dev5 f9f0191
Daniel Greenfeld pydanny Initial sphinxification of docs 3831e2d
Daniel Greenfeld pydanny A little bit of tests and a docs fc3bd8d
Patrick Altman paltman Merge pull request #3 from pydanny/master
Initial sphinx docs and tests
88862ab
neelesh Updated setup.py to use usage.rst instead of usage.txt d5955bb
Patrick Altman paltman Merge pull request #4 from neeleshs/master
Updated setup.py to use usage.rst
80d30a7
Andrew Halligan nearlyfreeapps Fixed ValueError when adding a notice_setting in admin panel a4acb9c
Sławomir Ehlert

Hi! So... where's the feed functionality now?

I realize this change was a long time ago, but just now updating an older project that relies on all this stuff. Is there any more information somewhere explaining why the Notice model, feed, and views all went away? Thinking of just forking this project from an earlier commit and going from there, but wondering what gives?

Also curious why the Notice model and feed views had been removed since 0.2x ? Are there any plans to re-introduce them in a later version?
@lmorchard please keep me posted if you do decide to create a 1.5 compatible fork that includes feed view & helpers - I would definately use that :smile:

Patrick Altman
Owner

There have been a massive amount of change in preparation for 1.0 release. I am not sure if this patch is still applicable anymore. If it is, could you please resubmit? Thanks.

Patrick Altman paltman closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +1 −1  notification/backends/__init__.py
  2. +2 −2 notification/models.py
2  notification/backends/__init__.py
@@ -33,5 +33,5 @@ def load_backends():
# add the backend label and an instantiated backend class to the
# backends list.
backend_instance = getattr(mod, backend_class)(medium_id, spam_sensitivity)
- backends.append(((medium_id, label), backend_instance))
+ backends.append(((str(medium_id), label), backend_instance))
return dict(backends)
4 notification/models.py
@@ -99,7 +99,7 @@ def for_user(cls, user, notice_type, medium):
try:
return cls._default_manager.get(user=user, notice_type=notice_type, medium=medium)
except cls.DoesNotExist:
- default = (NOTICE_MEDIA_DEFAULTS[medium] <= notice_type.default)
+ default = (NOTICE_MEDIA_DEFAULTS[str(medium)] <= notice_type.default)
setting = cls(user=user, notice_type=notice_type, medium=medium, send=default)
setting.save()
return setting
@@ -109,7 +109,7 @@ def get_notification_setting(user, notice_type, medium):
try:
return NoticeSetting.objects.get(user=user, notice_type=notice_type, medium=medium)
except NoticeSetting.DoesNotExist:
- default = (NOTICE_MEDIA_DEFAULTS[medium] <= notice_type.default)
+ default = (NOTICE_MEDIA_DEFAULTS[str(medium)] <= notice_type.default)
setting = NoticeSetting(user=user, notice_type=notice_type, medium=medium, send=default)
setting.save()
return setting
Something went wrong with that request. Please try again.