I'm currently using Gerrit to manage a project, I've received complaints about how chatty gerrit is. Is there anyway to filter who gets which emails (i.e. code review owner gets all emails, while reviewers only get notified when added to a new code review or a new patchset is added)
I've looked into the project level notification settings but I'm not 100% sure how they work? (do they only apply to the project watchers? or to everyone involved in a code review in that project)
I understand that when using the REST API calls I can choose who to notify but not when making changes using the web interface.
You can configure e-mail notifications in two different levels:
1) User level
Go to Settings > Watched Projects and add the project(s) which you want to receive notifications. You can also add a search expression to receive notifications "only if" a situation is satisfacted (e.g. branch:release). You can receive notifications for one (or more) of the following:
New Changes
New Patch Sets
All Comments
Submitted Changes
Abandoned Changes
2) Project level
Independent if users configured or not the first notification level, you can set projects to send notifications to users or groups if some pre defined situations (like the ones showed in the user level above) happens.
See here more details about the e-mail notifications and how to configure the project level one.
Notes:
Although you can add more notifications using these methods, you can not remove the default existing notifications.
With Gerrit 2.15 you can ignore and mute changes. I think these new features can be very usefull to you.
Related
I have a LogicApp that, in some cases, can decide to send a notification to a user via Teams (provided that the target user has installed the associated Teams App).
I was successful in doing so by using the approach presented here.
However, I got stucked when it comes to localize the message.
My first idea was to retrieve somehow the user language settings, but it seems that this info is not available through the Graph API.
Any other idea on how to implement this feature?
User notifications are working properly and if I configure my own user notification it works. But team notifications from TFS are not working.
From my understanding with the first image configuration, when a build in the project fails the user that requested the build should receive a notification.
Am I losing anything?
On the second image is my user configuration that works properly.
Note: "Requested by" is when the users execute the build directly in TFS and "Requested for" is when the user do an action that triggers the build.
Team notification settings
User notification settings
Check whether you have correct Delivery settings:
Finally I figure out why is not working.
The problem is I was setting the notifications at project level, as you can see in the first screenshot of the post, it was set to Develop. So I found two solutions:
1- At projects page: https://MyTfsUrl.com/tfs/MyCollection/_projects You have to select a Team in your project, so then set the notifications and the members of that team will receive the notifications.
As you can see in the image, now is selected Develop/DevOpsDev that is a team and notifications set there are working.
2- Other solution I found, and finally is the one I am using, is to set the notification at collections level on https://MyTfsUrl.com/tfs/MyCollection/_admin/_notifications?tab=Subscriptions
As I want to set notifications for a build fail. I decided that is a good option to inform the user involved in a failed build of all the projects.
I'm developing an app that creates a simple document with basic information created by the app. It won't contain any personal information, but it will contain data created and requested by the user. I want the user to be able to send this to themselves via email. I would also like to add the option for the user to have this file (which updates daily) to be able to send to them automatically every week/month, so they won't have to think about it. The user can set the intervals themselves.
Is this possible? The user will set up this option themselves from a menu, so it's not like they won't know it's happening. Every automatic mail will also contain information on how to turn the option back off again.
Is this possible and is it allowed by Apple?
Thanks for your reply
It is not possible from within the app. A user has to explicitly send the email through the MFMailComposeViewController.
If you want this functionality, you should build a backend for your app.
To clarify, if you want to use the users configured accounts; i.e. the account they use with Mail, then no you cannot do this automatically. The other answers rely on the fact a user enters their POP/IMAP settings, which personally I would never do.
You could use an email service as mandril or mailgun, to send emails "from your app".
Take a look at this: https://github.com/rackerlabs/objc-mailgun
There's a library called MailCore that's incredibly powerful. You can use it to send mail in the background of your app without needing to present the built in mail composer view
https://github.com/MailCore/mailcore2
Quick question, if I develop an app and create a dedicated "alerts screen" and on that screen will be a list of 200 teams, next to each team will be "news" and "transfers".
So the user has the option to opt in to push notifications for only the teams they choose but also narrow down to just news or transfers for example.
Will this be an issue with iOS? I know Parse and others allow "segmentation and channelling" but I am not sure if this is the best way as my app has no user login/registration, I will be doing it via device token.
It won't be an issue with iOS, as long as you plan to support this functionality in your server - once the user chooses the types of notifications they prefer to see, you'll send these types along with the device token to your server and store them in your DB. Your server will send push notifications to each device token based on those preferences.
That being said, a UI screen with 200 options to choose from doesn't seem very user friendly. You should think how to make it less painful for the user to make those choices.
We have a need to fetch notifications for a particular user. By notifications, I mean the "Alert" items that appear in the D2L minibar (Message alerts, Update alerts, Subscription alerts).
We want to integrate some of these items into our CMS' menu.
I see that D2L offers a Notifications API:
http://docs.valence.desire2learn.com/res/user.html#id1
Question 1: Is the notifications API flexible enough to grab the items described above for a user?
Question 2:
To experiment with the notifications API, I tried using the following API call:
http://docs.valence.desire2learn.com/res/user.html#get--d2l-api-lp-%28D2LVERSION-version%29-notifications-instant-carriers-
And a 403 error was encountered.
The documentation states:
These routes depend upon the back-end service having the Notifications tool active. If the service does not have the Notifications tool active, then all calls to these routes will result in authorization (403) error results.
Where is the option in the backend to toggle this setting? Is this setting available in DOME somewhere?
Question 3: For the Alert items, is there a static link to view these items on D2L?
For example, I am able to access the:
Pager - at
example.desire2learn.com/d2l/lms/pager/messageList.d2l?ou=ORGID
Email - at example.desire2learn.com/d2l/lms/email/frame.d2l?ou=ORGID
But, there doesn't appear to be a way to access the "Update Alerts" and "Subscription Alerts" items from a static link. They only appear via AJAX when you click on these icons in the minibar. If I am overlooking where these links are, please let me know.
The answer will be long-ish, and probably isn't what you want to hear. First off, there is a strong distinction between "alerts" (the items that show up in the minibar) and "notifications". The Notifications API is simply exposing the "Instant Notifications preference" table that you can see when you open your user's Notifications settings page (the page at url: http://yourLMS.edu/d2l/Notifications/Settings).
The types of messages that can be sent as a "notification" are the rows in the Instant Notifications table; the "carriers", or endpoints, for them are the columns of checkboxes. The Notifications API exposes this table, letting you retrieve it's current state, and change the setting for a checkbox at the vertex of a notification messageTypeId and a carrierId.
So, to answer your specific questions:
Question 1. No, the Notifications API does not currently provide any access to the alerts that appear in the minibar control in the LMS' web UI.
Question 2. Your 403 may indicate that your calling user context does not have the permission required to use the Notifications tool: the calling user must have a role that grants them the ability to Receive Instant Notifications -- without that, the API call to retrieve the carriers list results in a 403.
If your org has had the Notifications tool turned off entirely, then it's likely no user will be able to see their Notifications setting page through the Web UI, and to turn it back on may require your organization to call D2L's support desk to have it turned back on: I'm not sure that client organization admins have the ability to select what tools are on and which are off without intervention from the support desk.
Question 3. I do not believe there is a static page for the Update and Subscription alert lists.