aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/notifications
Commit message (Collapse)AuthorAgeFilesLines
* Apply pyupgrade --py36-plus.Ben Sturmfels2021-09-232-2/+2
| | | | This removes some 'u' prefixes and converts simple format() calls to f-strings.
* Convert notifications.js to vanilla JavaScript (no jQuery).Ben Sturmfels2021-08-191-0/+1
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-052-2/+2
|
* Fix #5451 - add_message inconsistenciesAndrew Browning2016-04-021-8/+9
| | | | | Reformat add_message function calls for consistency and PEP8 line continuations.
* Fix #5435 - Bad comment links cause server errorAndrew Browning2016-03-021-0/+5
| | | | | This patch addresses an issue where a server error is caused by entering a non-existent comment ID in a media URL.
* Fix #5376 - Ensure links have correct IDJessica Tallon2016-03-011-0/+5
| | | | | | | This ensures that links to comments have the correct ID (the ID of the Comment object) as well as fixing deletion on reports and fixing a few other little things. I hope this fixes the #5376 issue, though cannot reproduce so unable to confirm.
* Change Notification.object_id to be ID of Comemnt not TextCommentJessica Tallon2016-02-293-15/+31
| | | | | | | | This shouldn't really effect much but it is a needed change for the future this changes the Notification.object_id to be the ID of the Comment (the link table to the comment object) rather than TextComment (the comment object itself). This is needed as now comments can be other things, other than TextComment.
* Comment changes for federationJessica Tallon2015-10-203-10/+19
| | | | | | | | | | | | | | This adds a new Comment link table that is used to link between some object and then the comment object, which can be more or less any object in Mediagoblin. The MediaComment has been renamed to TextComment as that more aptly describes what it is. There is migrations for these changes. There is also the conslidation of the Report tables into a single Report table, the same with the Notification objects. This is because both of them split out MediaEntry and Comment versions into their own polymorphic versions from a base, this is no longer a meaningful distinction as comments can be anything.
* Collection changes and migration for federationJessica Tallon2015-10-072-3/+3
| | | | | | | - Adds a "type" column to the Collection object and allows the CollectionItem model to contain any object. - Changes "items" to "num_items" as per TODO - Renames "uploader", "creator" and "user" to a common "actor" in most places
* Use unicode for logging commentsTryggvi Bjorgvinsson2014-07-182-2/+2
| | | | | | | | | | | | | The comment problems detailed in issue 791 are related to logging of comments creation. The log tries to format unicode comments into an ascii string (that is the unicode comment content). This also creates problems with mark seen functionality since that also logs the comments which breaks and you end up with a lot of international comments in your message queue. This commit makes both log messages unicode as well as the representation of the comment.
* request object no longer contains notification functionsRodney Ewing2013-08-201-3/+4
|
* add user prefrence for insite notificationsRodney Ewing2013-08-201-2/+16
|
* Pep 8Rodney Ewing2013-08-201-8/+4
|
* add the ability to mark all notifications read.Rodney Ewing2013-08-202-1/+19
|
* Avoiding the celery warnings that we seem to be confusing people lately.Christopher Allan Webber2013-08-141-1/+1
| | | | | | Basically, it's shuffling around the notifications stuff. This commit sponsored by Günter Kraft. Thank you!
* New notificationsJoar Wandborg2013-06-095-0/+321
- Added request.notifications - Email configuration fixes - Set config_spec default SMTP port to `0` and switch to SSL/non-SSL default if `port == 0` - Added email_smtp_use_ssl configuration setting - Added migrations for notification tables - Added __repr__ to MediaComment(Mixin) - Added MediaComment.get_entry => MediaEntry - Added CommentSubscription, CommentNotification, Notification, ProcessingNotification tables - Added notifications.task to celery init - Fixed a bug in the video transcoder where pygst would hijack the --help argument. - Added notifications - views - silence - subscribe - routes - utility methods - celery task - Added half-hearted .active comment CSS style - Added quick JS to show header_dropdown - Added fragment template to show notifications in header_dropdown - Added fragment template to show subscribe/unsubscribe buttons on media/comment pages - Updated celery setup tests with notifications.task - Tried to fix test_misc tests that I broke - Added notification tests - Added and extended tests.tools fixtures - Integrated new notifications into media_home, media_post_comment views - Bumped SQLAlchemy dependency to >= 0.8.0 since we need polymorphic for the notifications to work