What does the mailboxes command do in mutt config? - configuration

I'm having a hard time understanding the structure of mutt's configuration. The spoolfile setting is where the list of messages when you first start is located. The folder is the top level directory for choosing folders when you press "c?". What are mailboxes then?

The mailboxes command adds the supplied mailbox(es) to the list of mail folders which mutt will monitor for new mail. The first folder in that list with new mail will be the default choice when you use the change-folder command (bound to c by default), and you can cycle through all of the mailboxes from that list with new mail by pressing the space bar. Also, the number of mailboxes in that list with new mail will be available to put into the status bar by using the %b format in $status_format.

Related

Can custom slash command be applied to all users of a Mattermost team?

I am in the process of adding some integrations to my Mattermost instance. My team need things like e.g. ability to create hangouts link with one slash command.
However as far as I can see everyone of my team members would have to create the integration by itself. I want to spare them the trouble and set it globally.
Is there some reasonable way to do it or would I have to try to backup my database and then run by hand PostgreSQL queries creating commands for every single team member?
Custom Slash Commands in Mattermost are scoped to the team. If one user creates a Custom Slash Command, it will be available to all users in the team where it was created.
However, it will still be owned by the user who has created it. If you have EnablePostUsernameOverride set to true in your config.json, the username of the posts made in response to the Custom Slash Command can be customised. Otherwise, they will have the username of the user who created the Custom Slash Command.

Can the OneNote API copy a notebook or section from one user to another user in Office 365

I'm trying to copy section of a notebook, or even notebook itself, from a notebook in one user's OneDrive to another user's notebook in their OneDrive. The user I'm logged in as has permissions to read and write both notebooks. I'm getting the error response:
message=The specified resource ID does not exist.
#api.url=http://aka.ms/onenote-errors#C20102
code=20102
Where the path I'm using is of the form https://www.onenote.com/api/v1.0/users/{id}/notes/sections/{id}/copyToNotebook where the ids in that are for the source section.
which is presumably because the id in the post request represents a notebook under a different user.
If I was copying to a SharePoint site or group then the post request can have additional ids to identify that, so it be logical if there was a argument to identify the user to copy to.
Copying works perfectly when both notebooks are within the same user's OneDrive.
Is there any way of doing it between users in Office 365 OneDrive?
Yes, you can copy a section from one notebook to another user's notebook, as long as you have write permission to that user's notebook (or a notebook under another site).
In you scenario, the destination/post body has to contain the ID to the notebook, as well as the siteCollectionId and siteId, or the groupId of the site where the notebook is stored. (Checkout the message body format here). If you want to copy the section to another user's notebook, you will need the siteCollectionId and siteId of that user's OneDrive for Business; if you want to copy it to a notebook stored in a site, you will need the IDs for that site.
The reason you need those extra IDs is because by default the copy API will consider the destination notebook is stored in your OneDrive for Business. By specifying those IDs you tell the API that the destination is in another location. I'm assuming you didn't provide those IDs that you got the error.
You get get more information about obtaining the siteCollectionId and siteId here.

Scheduling the Storing of BO Reports in PDF Format

Is it possible in BusinessObjects 4.0/4.1 to do the following:
Create a report in PDF format
Transfer and store the report on some Windows Share folder
Schedule this process
It this is possible, can anyone give short guidelines on how to do it? Thanks!
Sure, that's basic scheduling functionality.
From Launchpad, right-click on the report and hit "Schedule".
Click the recurrence tab to set the scheduling recurrence.
Click the Formats tab and select Acrobat.
Click the Destinations tab and select File System.
One important note on Destinations -- you can optionally enter the Windows user name and password that will be used to connect to the file share when the report is generated. You can leave this blank, in which case the BO server will connect to the file share as the account that BO runs as (that is, the user name that the SIA service runs as). In this case, the service account must have r/w permission to the file share. On the other hand, if you enter credentials manually, you need to make sure that any recurring schedules get updated if/when you change the accounts password, else the account will quickly get locked out (I know from experience....)
For more info, click the Help menu in Launchpad, then review the section on Scheduling Objects.

Copy a file across Box accounts

I am working on integrating my application with Box. I am providing a way for a user to send files to the server, and the server will upload to a managed enterprise Box account.
I would like to support users who already have a file in Box so that they can select a file from their Box account and transfer it to the server's Box account. I can do this by having the user download the file, upload it to the server, and having the server upload it to its Box account.
It seems silly to download and re-upload the file. Is there a way to simply copy the file from the user account to the server's account (with the user's approval)?
So let's say you have user A and user B. If you want to copy a file from user A's "outbox" folder to user B's "inbox" folder. You can do it one of two ways.
Either user B can make user A a collaborator with Editor access to the "inbox" folder. Then from user A's account they can do the copy API (POST /files//copy documentation here) and "push" the file into B's inbox.
Or
Via a "pull" model. User A can give user B access to their "outbox" folder, and user B can run the copy API, and copy the content to their "inbox" folder.

Setting up mailing in Hudson CI

Here is the problem - after the next assembly system sends some continuous integration is likely to default notification, which refers to the control panel with CI information about the success / failure. For example, after a letter arrives from commit theme
Hudson build is back to normal,
which contains the string -
See http://ХХ.ХХ.ХХ.ХХ:.../1457/
It is possible to configure Hudson, so that instead of this message came references to deploy?
It is possible with the email plugin. See email plugin configuration:
Advanced configuration
To see the advanced configuration for the
plugin, click the "Advanced" button. This section allows you to
specify recipients for each type of email trigger. By default, the
only trigger configured is the "Failure" trigger. To add more
triggers, select one from the dropdown, and it will be added to the
list. Once you have added a trigger, you have several options. If
you click "?" (question mark) next to a trigger, it will tell you what
conditions must be met for it to send an email.
Send to Recipient List - Check this checkbox if you would like to have the email sent to the "Global Recipient List" configured above.
Send to Committers - Check this checkbox to send the email to anyone who checked in code for the last build. The plugin will
generate an email address based on the committer's id and an appended
"default email suffix" from Hudson's global configuration page. For
instance, if a change was committed by someone with an id
"first.last", and the default email suffix is "#somewhere.com", then
an email will be sent to "first.last#somewhere.com"
More Configuration - Configure properties at a per-trigger level.
Recipient List - A comma (and whitespace) separated list of email address that should receive this email if it is triggered. This list
is appended to the "Global Recipient List" above.
Subject - Specify the subject line of the selected email.
Content - Specify the body of the selected email.
Remove - Click the delete button next to an email trigger to remove it from the configured triggers list.