Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 16, 2011
Commits on Feb 14, 2011
  1. @erikrose

    [bug 633628] Add admin UIs for Watch and WatchFilter for QA.

    erikrose authored
    Also add a unicode representation for WatchFilters so they show up in the admin UI informatively.
Commits on Feb 10, 2011
  1. @rlr
  2. @pcraciunoiu
  3. @rlr
  4. @erikrose
  5. @erikrose
Commits on Feb 9, 2011
  1. @rlr
Commits on Feb 8, 2011
  1. Temporary admin for EventWatches.

    James Socol authored
  2. Adding push steps.

    James Socol authored
  3. migrate_watches management command [bug 623961]

    James Socol authored
  4. @erikrose
  5. @erikrose
  6. @pcraciunoiu

    [bug 623982, bug 629520] Anonymous watches. Delete watch when deliver…

    pcraciunoiu authored
    …y fails.
    * Add an is_active column.
    * Add stub implementation for confirmation email.
    * Update .notify() to send a confirmation email and raise an ActivationRequestFailed exception if the email message fails to send.
    * Add function Event._activation_email, which receives a watch and an email and returns an EmailMessage.
    * Make questions anonymous watches work, add extra views for confirming/unsubscribing from watches.
    * Add Event.get_activation_url() for use in email templates.
    * Add Event.get_watch_description() for events to describe their watches in string form. This comes in handy when sending out emails, to explain why the receiver is getting this.
    * Catch SMTPRecipientsRefused exception and show message about it.
    * Update wiki tests.
Commits on Feb 7, 2011
  1. @erikrose

    [bug 623960] Delete dead code from old notification system.

    erikrose authored
    Leave EventWatch there for the moment so migrations can use it.
  2. @erikrose

    Add NotificationsMixin to model classes that can be watched. Rely on …

    erikrose authored
    …Django cascading deletes to remove watches to deleted objects.
  3. @erikrose
  4. @pcraciunoiu

    [bug 627451] Claim anonymous watches upon user activation.

    pcraciunoiu authored
    Add a task and fire it off on user activation, i.e. after we know email is valid.
  5. @rlr

    Added `link-btn` CSS class for buttons that are styled to look like l…

    rlr authored
    …inks. Fixes bug 632041.
Commits on Feb 4, 2011
  1. @pcraciunoiu

    [bug 628751] Question ported to new notifications API.

    pcraciunoiu authored
    * QuestionEvent abstraction for common __init__() stuff
    * QuestionReplyEvent, QuestionSolvedEvent for new answers/new solutions.
    * WatchQuestionForm tests, also don't allow logged-in users to override what email the notification goes to. (I.e. improve WatchQuestionForm validation)
    * Update templates to reflect new notification.
  2. @rlr
  3. Change default site on anonymize.

    James Socol authored
  4. @rlr
Commits on Feb 3, 2011
  1. Add L10n comment to template recursion. [bug 624416]

    James Socol authored
  2. Edit a localized document based on a previous revision [bug 624416]

    James Socol authored
    When you edit a localized document 'based on' a previous revision of the
    *localized* document (i.e. not of the English doc) we were setting the
    'based_on' value to a revision of the localized doc, not the English doc.
    Now we set the 'based_on' revision to the correct English document but
    still prefill the form with the revision of the localized document you're
    * Go to any localized article's history.
    * Pick any revision and 'edit based on this revision'.
    * Attempt to submit.
    Without this patch, you'll see an error. With it, everything should work.
    Also worth noting that the new test fails on master but passes here.
Commits on Feb 2, 2011
  1. @pcraciunoiu

    [bug 628749] KBForums notifications ported to new API.

    pcraciunoiu authored
    Mostly copied from forums notifications, including tests.
    * Refactor tests, add a, like in forums app.
    * Add visual notification as in forums.
    * Add an attrs_eq to sumo.utils for checking email outputs.
    * Rename forums/kbforums events for clarity, now they are NewPostEvent, NewThreadEvent.
    * Fix some tests that weren't failing on this branch but were failing on master, by mock patching Site.objects.get_current()
  2. @erikrose

    [bug 630718] Hash string filter values down to ints. Recreate your ta…

    erikrose authored
    Not factoring up search app's implementation of crc32() since the notifications app is going to break off anyway.
  3. Update windows7 support URL. [bug 629516]

    James Socol authored
  4. @rlr

    * Created kbox type and jquery plugin.

    rlr authored
    * Used it to replace our pop-in and fixed-modal code in wiki and questions.
    * Replace jquery.ui.dialog in Army of Awesome
  5. @erikrose

    Merge branch 'notifications-623641'

    erikrose authored
    Renumber Notifications migration to be at home on master.
  6. @erikrose

    Refactor the query-building _users_watching_by_filter() to be a bit m…

    erikrose authored
    …ore comprehensible. Throw ValueError when someone tries to exclude an unsaved user.
Commits on Feb 1, 2011
  1. @pcraciunoiu

    [bug 630402] Update forums templates to reflect watching/not watching…

    pcraciunoiu authored
    … according to new notifications API.
    I forgot about this, so add tests so this doesn't happen in the future.
Something went wrong with that request. Please try again.