Permalink
Switch branches/tags
Commits on Feb 14, 2011
  1. [bug 633628] Add admin UIs for Watch and WatchFilter for QA.

    erikrose committed Feb 11, 2011
    Also add a unicode representation for WatchFilters so they show up in the admin UI informatively.
Commits on Feb 10, 2011
  1. [bug 632992] Image thumbnail on questions should be scaled to thumbna…

    Paul Craciunoiu
    Paul Craciunoiu committed Feb 10, 2011
    …il size.
  2. Answers should use their own created date. [bug 633011]

    James Socol
    James Socol committed Feb 10, 2011
Commits on Feb 9, 2011
Commits on Feb 8, 2011
  1. Temporary admin for EventWatches.

    James Socol
    James Socol committed Feb 8, 2011
  2. Adding push steps.

    James Socol
    James Socol committed Feb 8, 2011
  3. migrate_watches management command [bug 623961]

    James Socol
    James Socol committed Feb 3, 2011
  4. [bug 623982, bug 629520] Anonymous watches. Delete watch when deliver…

    Paul Craciunoiu
    Paul Craciunoiu committed Feb 3, 2011
    …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. [bug 623960] Delete dead code from old notification system.

    erikrose committed Feb 7, 2011
    Leave EventWatch there for the moment so migrations can use it.
  2. Add NotificationsMixin to model classes that can be watched. Rely on …

    erikrose committed Feb 7, 2011
    …Django cascading deletes to remove watches to deleted objects.
  3. [bug 627451] Claim anonymous watches upon user activation.

    Paul Craciunoiu
    Paul Craciunoiu committed Feb 5, 2011
    Add a task and fire it off on user activation, i.e. after we know email is valid.
  4. Added `link-btn` CSS class for buttons that are styled to look like l…

    rlr committed Feb 7, 2011
    …inks. Fixes bug 632041.
Commits on Feb 4, 2011
  1. [bug 628751] Question ported to new notifications API.

    Paul Craciunoiu
    Paul Craciunoiu committed Feb 3, 2011
    * 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. Change default site on anonymize.

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

    James Socol
    James Socol committed Feb 2, 2011
  2. Link to media upload from gallery pages. [bug 629410]

    James Socol
    James Socol committed Feb 2, 2011
  3. Edit a localized document based on a previous revision [bug 624416]

    James Socol
    James Socol committed Feb 2, 2011
    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
    editing.
    
    Whew.
    
    STR:
    
    * 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. [bug 628749] KBForums notifications ported to new API.

    Paul Craciunoiu
    Paul Craciunoiu committed Jan 26, 2011
    Mostly copied from forums notifications, including tests.
    
    * Refactor tests, add a test_views.py, 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. [bug 630718] Hash string filter values down to ints. Recreate your ta…

    erikrose committed Feb 2, 2011
    …bles.
    
    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
    James Socol committed Feb 2, 2011
  4. * Created kbox type and jquery plugin.

    rlr committed Jan 28, 2011
    * Used it to replace our pop-in and fixed-modal code in wiki and questions.
    * Replace jquery.ui.dialog in Army of Awesome
  5. Merge branch 'notifications-623641'

    erikrose committed Feb 2, 2011
    Renumber Notifications migration to be at home on master.
  6. Refactor the query-building _users_watching_by_filter() to be a bit m…

    erikrose committed Feb 1, 2011
    …ore comprehensible. Throw ValueError when someone tries to exclude an unsaved user.
Commits on Feb 1, 2011
  1. [bug 630402] Update forums templates to reflect watching/not watching…

    Paul Craciunoiu
    Paul Craciunoiu committed Feb 1, 2011
    … according to new notifications API.
    
    I forgot about this, so add tests so this doesn't happen in the future.
  2. [bug 630630] Add some InstanceEvent tests and fix a bug with watching…

    Paul Craciunoiu
    Paul Craciunoiu committed Jan 31, 2011
    … multiple instances of the same model in the process.