Open ERP Ace Editor widget - odoo

I added new widget which allow edit text in perfect Ace Editor.
Github
Maybe someone will need such widget.
Also I would like to receive some feedback. What need to add or what work not correctly?

The best way would be to advertise your module at the OpenERP Community mailing list.
Another suggestion is to add it to the Web Addons community reviewed project, by making a merge proposal.
You can find more information here.

Related

How to download a file from a SharePoint though a website button?

I hope all is well,
I have a webpage that has a button and a SharePoint library.
Once the user clicks the download button, the document will be downloaded from SharePoint with a watermark of the user trying to download this file.
Additionally, I need to manage who can access or download the file.
Therefore, the main points to consider are:
User authentication to the SharePoint document library
Pulling the document from the website itself
Watermark feature
Thus, what is the most effective practice to achieve that and what should I use?
Thanks in advance
oh man, this is really an open and not quite detailed question 😟. Could you provide more context? what language are you using? have you already tried something and what is failing?
For now, the only help I may provide you is just general info 🙂:
User authentication to the SharePoint document library
if you are extending SharePoint or M365 with a SPFx solution you do not need to worry on auth. If it is totally aside I would recommend checking
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
I would strongly recommend checking microsoft-graph-toolkit there is a mgt-login component
https://learn.microsoft.com/en-us/graph/toolkit/components/login
again here I would also recommend using MS Graph and endpoint like https://graph.microsoft.com/(version)/sites/(site-id)/drive/(drive-id)/items/(item-id)/content
I guess this is a very similar topic: Sharepoint Graph API download file from Document library that are not listed as drive ("Site Pages" and others)
Watermark feature
as for this I would take a look at Microsoft 365 sensitivity labels feature and read more about it here
https://learn.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels?view=o365-worldwide#what-sensitivity-labels-can-do
I hope this will be of any help. For sure it is a good start 🙂

is there any sample program using Kentor.AuthServices.MVC

I am using mvc4 and I need SAML2.0 for the security. I tried some samples with Component Pro but we need to purchase it and it has good documentation also.
I came to know about Kentor.AuthServices.MVC which is an open source and may i know whether there is any learning site where I can implement with mvc4.
There is a working SampleMvcApplication included in the source on github.

Does Swagger have the ability to support API change history, or is there an open-source library that does?

I am using Swagger Editor to generate YAML/JSON code that will display the details of my API in Swagger UI.
I would like for the consumers of my API to be able to view a revision history (ex. an added field, a field changed from 'optional' to 'required', etc) of the API document. Is this functionality supported by Swagger?
Now it's possible with swagger-diff
As far as I know it is not supported, at least in swagger-ui itself
While an interesting idea, this is a hard problem to solve. Please check out this feature request - https://github.com/swagger-api/swagger-spec/issues/233. Feel free to add comments and opinions to help push it forward.

Sitefinity, intercepting page events

Sitefinity has some documentation on how to create a page programmatically, but what I really want to do is to perform some additional logic when the "Create Page" event is fired.
From a high-level, how would one go about doing this? Is there certain interface to implement, or a class to extend?
I'm using SiteFinity 4 (4.4)
If you download SDK, you will find Utilities class which contains sample code for creating pages, templates etc.
You can create pages by using PageManager or a fluent API - everything is in the SDK.
Disclaimer: I work on the Sitefinity team at Telerik.
I'm talking from memory here, but usually you can subscribe to the Executed event of each manager in Sitefinity. It is fired on each action you perform from that manager and passes you arguments about the current command being executed. You'll have to debug and inspect what is the name of the command when creating pages, and if so do what you need.
Another alternative is to implement custom workflow and include your coded step somewhere. More info here: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/sitefinity-essentials/modules/workflow-for-content-modules/custom-workflow
If you open a support ticket or write in the forums with more details, we would be glad to help.
Maybe this post "Automatically create other language versions of the page using Sitefinity API" will help...

Intellij IDEA plugin for YouTrack

I got interested in YouTrack and thought I should give it a go since apparently it has good integration with IDEA. I've setup the tasks server in IDEA, but what now? How can I view the list of all tasks, start/stop work on them, etc.? (I was previously using JIRA with it's connector plugin in IDEA so I'm trying to do the same with YouTrack)
Thanks.
Make sure to read the related documentation sections. If you have more specific questions, please edit your original question.
YouTrack can only be integrated as a provider of tasks. It is not like Atlassians IDE-Connector which allows you to eork completely in the IDE with issues.
Also note that when you connect YouTrack as a task provider, by default you will only see open tasks assigned to you. So you need to first go to the YouTrack web and assign an issue to you, then it will show up in IDEA.
Unlike using JIRA as task provider it will not provide you with a list of tasks, you have to search by complete task id for it to show up.