/dports/www/seahub/seahub-8.0.7-server/tests/api/endpoints/ |
H A D | test_notifications.py | 3 from seahub.notifications.models import UserNotification 13 UserNotification.objects.add_file_uploaded_msg(self.username, 'test') 29 UserNotification.objects.add_file_uploaded_msg(self.username, 'test') 30 assert UserNotification.objects.count_unseen_user_notifications(self.username) == 1 36 assert UserNotification.objects.count_unseen_user_notifications(self.username) == 0 40 UserNotification.objects.add_file_uploaded_msg(self.username, 'test') 41 assert UserNotification.objects.count_unseen_user_notifications(self.username) == 1 53 notice = UserNotification.objects.add_file_uploaded_msg(self.username, 'test') 54 assert UserNotification.objects.count_unseen_user_notifications(self.username) == 1 72 notice1 = UserNotification.objects.add_user_message(self.username, 'test1') [all …]
|
H A D | test_group_members.py | 5 from seahub.notifications.models import UserNotification 27 assert len(UserNotification.objects.all()) == 0 35 assert len(UserNotification.objects.all()) == 1 36 assert UserNotification.objects.all()[0].to_user == self.admin.username
|
H A D | test_file_comments.py | 8 from seahub.notifications.models import UserNotification 92 assert len(UserNotification.objects.all()) == 0 104 assert len(UserNotification.objects.all()) == 1 105 assert UserNotification.objects.all()[0].to_user == self.admin.username
|
/dports/finance/quickfix/quickfix-1.15.1/src/C++/fix50sp1/ |
H A D | UserNotification.h | 9 class UserNotification : public Message 12 UserNotification() : Message(MsgType()) {} in UserNotification() function 13 UserNotification(const FIX::Message& m) : Message(m) {} in UserNotification() function 14 UserNotification(const Message& m) : Message(m) {} in UserNotification() function 15 UserNotification(const UserNotification& m) : Message(m) {} in UserNotification() function 18 UserNotification( in UserNotification() function
|
/dports/finance/quickfix/quickfix-1.15.1/src/C++/fix50sp2/ |
H A D | UserNotification.h | 9 class UserNotification : public Message 12 UserNotification() : Message(MsgType()) {} in UserNotification() function 13 UserNotification(const FIX::Message& m) : Message(m) {} in UserNotification() function 14 UserNotification(const Message& m) : Message(m) {} in UserNotification() function 15 UserNotification(const UserNotification& m) : Message(m) {} in UserNotification() function 18 UserNotification( in UserNotification() function
|
/dports/www/seahub/seahub-8.0.7-server/tests/api/endpoints/admin/ |
H A D | test_notifications.py | 4 from seahub.notifications.models import UserNotification 18 notice1 = UserNotification.objects.add_user_message(self.user_name, 'test1') 19 notice2 = UserNotification.objects.add_user_message(self.admin_name, 'test2') 33 notice1 = UserNotification.objects.add_user_message(new_user1.username, 'test for user1') 34 notice2 = UserNotification.objects.add_user_message(new_user1.username, 'test for user1') 35 notice3 = UserNotification.objects.add_user_message(new_user2.username, 'test for user2') 36 notice4 = UserNotification.objects.add_user_message(new_user2.username, 'test for user2') 37 notice5 = UserNotification.objects.add_user_message(new_user2.username, 'test for user2') 54 notice1 = UserNotification.objects.add_user_message(self.user_name, 'test1')
|
/dports/www/seahub/seahub-8.0.7-server/tests/seahub/notifications/ |
H A D | test_models.py | 2 UserNotification, repo_share_msg_to_json, file_comment_msg_to_json, 16 notice = UserNotification.objects.add_file_comment_msg('a@a.com', detail) 25 notice = UserNotification.objects.add_file_uploaded_msg('file@upload.com', detail) 34 notice = UserNotification.objects.add_group_join_request_notice('group_join', 41 notice = UserNotification.objects.set_add_user_to_group_notice(self.user.username, 47 notice = UserNotification.objects.add_repo_share_msg( 63 notice = UserNotification.objects.add_repo_share_msg( 72 notice = UserNotification.objects.add_repo_share_to_group_msg( 85 notice = UserNotification.objects.add_repo_share_to_group_msg(
|
/dports/www/seahub/seahub-8.0.7-server/tests/seahub/notifications/management/commands/ |
H A D | test_send_notices.py | 7 UserNotification, repo_share_msg_to_json, file_comment_msg_to_json, 37 UserNotification.objects.add_repo_share_msg( 48 UserNotification.objects.add_repo_share_msg( 58 UserNotification.objects.add_repo_share_to_group_msg( 72 UserNotification.objects.add_repo_share_to_group_msg( 95 UserNotification.objects.add_repo_share_msg( 110 UserNotification.objects.add_file_comment_msg(self.user.username, detail) 125 UserNotification.objects.add_guest_invitation_accepted_msg( 138 notice = UserNotification.objects.add_repo_share_msg('to@to.com', detail) 159 notice = UserNotification.objects.add_file_uploaded_msg('file@upload.com', detail) [all …]
|
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/ |
H A D | notifications.py | 14 from seahub.notifications.models import UserNotification 52 notice_list = UserNotification.objects.get_user_notifications(username)[start:end] 74 unseen_count = UserNotification.objects.filter(to_user=username, seen=False).count() 78 total_count = UserNotification.objects.filter(to_user=username).count() 93 unseen_notices = UserNotification.objects.get_user_notifications(username, 112 UserNotification.objects.remove_user_notifications(username) 146 notice = UserNotification.objects.get(id=notice_id) 147 except UserNotification.DoesNotExist as e:
|
/dports/www/seahub/seahub-8.0.7-server/seahub/api2/endpoints/admin/ |
H A D | notifications.py | 13 from seahub.notifications.models import UserNotification 58 total_count = UserNotification.objects.get_user_notifications(user_name).count() 59 … notification_list = UserNotification.objects.get_user_notifications(user_name)[start:end] 62 total_count = UserNotification.objects.get_all_notifications().count() 63 notification_list = UserNotification.objects.get_all_notifications()[start:end]
|
/dports/www/seahub/seahub-8.0.7-server/tests/seahub/invitations/ |
H A D | test_views.py | 9 from seahub.notifications.models import UserNotification 53 assert len(UserNotification.objects.filter(to_user=self.user.username)) == 0 59 assert len(UserNotification.objects.filter(to_user=self.user.username)) == 1 60 obj = UserNotification.objects.all()[0]
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/app/ |
H A D | notifications.py | 26 from mailman.email.message import OwnerNotification, UserNotification 67 msg = UserNotification( 92 msg = UserNotification( 182 msg = UserNotification(
|
H A D | moderator.py | 28 from mailman.email.message import UserNotification 164 fmsg = UserNotification( 206 msg = UserNotification( 272 msg = UserNotification(recip, mlist.bounces_address, subject, text, lang)
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/email/tests/ |
H A D | test_message.py | 27 from mailman.email.message import Message, UserNotification 39 self._msg = UserNotification( 95 msg = UserNotification(
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/app/docs/ |
H A D | message.rst | 13 ``UserNotification`` instance, and then calls the ``.send()`` method on this 18 The ``UserNotification`` constructor takes the recipient address, the sender 21 >>> from mailman.email.message import UserNotification 22 >>> msg = UserNotification(
|
/dports/www/seahub/seahub-8.0.7-server/seahub/notifications/ |
H A D | models.py | 314 class UserNotification(models.Model): class 793 UserNotification.objects.add_file_uploaded_msg(owner, detail) 808 UserNotification.objects.add_repo_share_msg(to_user, detail) 828 UserNotification.objects.add_repo_share_to_group_msg(to_user, detail) 840 UserNotification.objects.add_group_join_request_notice(to_user=staff, 852 UserNotification.objects.set_add_user_to_group_notice(to_user=added_user, 869 UserNotification.objects.add_file_comment_msg(u, detail) 880 UserNotification.objects.add_draft_comment_msg(draft.username, detail) 895 UserNotification.objects.add_request_reviewer_msg(to_user, detail) 902 UserNotification.objects.add_guest_invitation_accepted_msg( [all …]
|
/dports/mail/mailman/mailman-2.1.39/Mailman/ |
H A D | Deliverer.py | 77 msg = Message.UserNotification( 87 msg = Message.UserNotification( 136 msg = Message.UserNotification(recipient, adminaddr, subject, text, 224 outer = Message.UserNotification(member, probeaddr, subject,
|
/dports/mail/mailman-exim4/mailman-2.1.39/Mailman/ |
H A D | Deliverer.py | 77 msg = Message.UserNotification( 87 msg = Message.UserNotification( 136 msg = Message.UserNotification(recipient, adminaddr, subject, text, 224 outer = Message.UserNotification(member, probeaddr, subject,
|
/dports/mail/mailman-postfix/mailman-2.1.39/Mailman/ |
H A D | Deliverer.py | 77 msg = Message.UserNotification( 87 msg = Message.UserNotification( 136 msg = Message.UserNotification(recipient, adminaddr, subject, text, 224 outer = Message.UserNotification(member, probeaddr, subject,
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/chains/ |
H A D | hold.py | 30 from mailman.email.message import UserNotification 115 msg = UserNotification( 207 nmsg = UserNotification( 228 nmsg = UserNotification(mlist.owner_address,
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/handlers/ |
H A D | acknowledge.py | 24 from mailman.email.message import UserNotification 76 usermsg = UserNotification(sender, mlist.bounces_address,
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/email/ |
H A D | message.py | 132 class UserNotification(Message): class 196 class OwnerNotification(UserNotification): 207 UserNotification.__init__(self, recipients, sender, subject,
|
/dports/mail/mailman-postfix/mailman-2.1.39/Mailman/MTA/ |
H A D | Manual.py | 97 msg = Message.UserNotification( 140 msg = Message.UserNotification(
|
/dports/mail/mailman-exim4/mailman-2.1.39/Mailman/MTA/ |
H A D | Manual.py | 97 msg = Message.UserNotification( 140 msg = Message.UserNotification(
|
/dports/mail/mailman/mailman-2.1.39/Mailman/MTA/ |
H A D | Manual.py | 97 msg = Message.UserNotification( 140 msg = Message.UserNotification(
|