Sergey Mikhailenko · Jan 25, 2023 go to post

DbVisualizer or SQL Data Lens. Probably they are good for those who use them. I did not know about these products, thanks.

^SECURITY Everything is fine with this program, but it does not allow you to do a selective upload. For example, I need to export not all users, but only certain attributes.

Sergey Mikhailenko · Feb 23, 2022 go to post

Hey, here's another one-liner: Change password for preset users

x "new $namespace,s,p,n set $namespace=""%SYS"",p(""Password"")=""NewPass123"" for n=""admin"",""cspsystem"",""iam"",""superuser"",""unknownuser"",""_system"",""_ensemble"" set s=##class(Security.Users).Modify(n,.p)"
Sergey Mikhailenko · Feb 14, 2022 go to post

Propose No. 5 Create a new database and namespace with resources and mapping in interoperability and install a module from the register into it, for example "dc-one-liners"

At the end of line No. 2 of the zpm installation:

set $namespace="%SYS" do ##class(Security.SSLConfigs).Create("ssl") set r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ssl" do r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c") zpm "install zapm" zapm "newdb dc-one-liners"

And you can create any number of such one-liners for all possible cases ;-)

Sergey Mikhailenko · Feb 12, 2022 go to post

There is a shorter line, from @Sergei Shutov 

zn "%SYS" d ##class(Security.SSLConfigs).Create("z") s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="z" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

Hey Mr. Evgeny Shvarov

Please add points for the quality code for:

appmsw-forbid-old-passwd +1

isc-apptools-lockdown +1

I also ask you to add +2 for appmsw-forbid-old-passwd The program that checks the correctness of the password entered by the user is already definitely an authorization component.

Sergey Mikhailenko · Nov 30, 2021 go to post

Thank you so much Robert.
Your high professionalism and subtle sense of humor adorns our community.

Sergey Mikhailenko · Nov 26, 2021 go to post

In a studio it is possible.
1. I put a delay of a few seconds in the service code.
2. Start the service
3. I find the required process, connect to it

By the way, I saw a shorter line from Sergei Shutov:

zn "%SYS" d ##class(Security.SSLConfigs).Create("z") s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="z" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

Hi, Guillaume!
It’s very nice, I scattered this code in all my projects on openexchange, so that it was always at hand

Hi Nick!
Thanks for the good article.
There is a typo in the program code associated with a variable name and username