go to post Dmitry Maslennikov · Oct 9, 2019 Could be many different solutions on electronic signatures. So, would it be better if you can give more details about what exactly are you going to achieve? What do you mean by "capture electronic signatures"? Why you need it, and how you going to use it?
go to post Dmitry Maslennikov · Oct 9, 2019 Another solution, I've implemented in one of the previous projects. I used pre-commit hooks, where I have some simple parser and scanned code for some temporary globals, such as ^tmp*, ^debug, ^log and so on (we actually had some naming convention for such global names), and it also checked for forbidden commands break, zwrite, zbreak. By now I think would be good to add some checks to an editor as well, so, I think to add it to my VSCode-ObjectScript. So, VSCode will highlight recognized as debugging lines, as an error or warning.
go to post Dmitry Maslennikov · Oct 9, 2019 Mario,I have recently published example of mirroring with docker-compose as well. But I did it in a bit different manner.
go to post Dmitry Maslennikov · Oct 3, 2019 Studio's Add-ins have not added, yet. Please fill the issue. So, I will know that this feature useful. And you can issues for anything you found, and anything you would like to see in extension.
go to post Dmitry Maslennikov · Oct 1, 2019 If you fill well in moving to 3rd party tools, you can use my VSCode-ObjectScript extension, by now you already getting more than just Studio. With my company CaretDev, we already offer commercial support, so you can be sure that you will get help if you will face some troubles.
go to post Dmitry Maslennikov · Sep 27, 2019 I think I already mentioned about shrink. On macOS with the latest filesystem, you don't even need it. reset docker just destroy everything, so, you will lose all of your images containers and so on, if you had containers which you wanted to be running all the time, you will have to create them again manually.
go to post Dmitry Maslennikov · Sep 17, 2019 SQL Performance is a very big topic. So many ways how to achieve what you need. Just indexes not enough, you need right indexes and right queries. I think it will be much more productive if you provide some examples of your classes with populate, and queries. So, anybody will be able to reproduce your issue and offer some ways how to solve it.
go to post Dmitry Maslennikov · Sep 16, 2019 My VSCode-ObjectScript extension supports the same versions as Atelier, so Caché/Ensemble versions from 2016.1.You can not just edit mac routines, and classes, compile and do many other features. And it is also supporting Intellisense. CSP support, just very simple, only syntax highlighting as HTML, as it already stored as files, you can just use the same folder in Caché and in VSCode, and everything should be OK. You can find details about the latest features here, and use the arrow buttons to navigate to the previous release notes.And now, we are also offering enterprise support, so, you will get faster issues solving, and may get some priority in realization new features.
go to post Dmitry Maslennikov · Sep 14, 2019 Regexp? USER> Set str = "abcd(123)/,op(56)*&^%$987ABC" USER> Write ##class(%Regex.Matcher).%New("[^\w\d()]", str).ReplaceAll(" ") abcd(123) op(56) 987ABC USER> Write ##class(%Regex.Matcher).%New("[^\w\d()]+", str).ReplaceAll(" ") abcd(123) op(56) 987ABC
go to post Dmitry Maslennikov · Sep 12, 2019 I'm sure you have %OnOpen method in your class which not working properly. At least it should return status, but return nothing by now.
go to post Dmitry Maslennikov · Sep 11, 2019 Instead of Studio, you can try to use VSCode-ObjectScript, which is available without any registration and completely for free.
go to post Dmitry Maslennikov · Sep 11, 2019 When you have || in Id, it usually means, that you have additional Index by two or more fields, and marked as IdKey. Something like this. Property RollNo As %String; Property Marks As %String; Index RollNoMarks On (RollNo, Marks) [ IdKey, Unique ]; Here we have some two properties, to store both values separately, but we used both of their values as IdKey. Now it is possible to check of existing an object by ##class(User.School).%ExistsId(RollNo_"||"_Marks), or open id by ##class(User.School).%OpenId(RollNo_"||"_Marks) But in additional to this system methods, we now have some new ones which construct with index name and "Exists", "Open" and so on. But call will be a bit different. You should pass all values separately in this way. ##class(User.School).RollNoMarksExists(RollNo, Marks) ##class(User.School).RollNoMarksOpen(RollNo, Marks, , .sc) You can try any of these ways, and you should remember about Status variable, which may help you to understand what's happening. do $system.OBJ.DisplayError(sc) will decode status
go to post Dmitry Maslennikov · Sep 9, 2019 Sure, we can discuss here, or in githubYes, some IntelliSense options need connection to the server, yet for now. Like, it's easier yet to get a list of methods directly from server, instead of parsing all files locally. But some things, such as commands and system functions should work without a connection. As well as go to definition if file exists locally. It is possible to add loading METADATA info prepared for Atelier, to use it as a cache for system classes, but it anyway will need a connection to a server at least once.
go to post Dmitry Maslennikov · Sep 9, 2019 Rubens, thanks for the donation. You can just disable a connection with "objectscript.conn.action": false, and activity with a server will be disabled, autosave as well.Actually I had this option previously but removed it recently. If you would like to have this option, just fill the issue, I will add it.It's cool, that more and more extensions will appear, to add more features. btw, are you going to GlobalSummit, so we would have some discuss there?
go to post Dmitry Maslennikov · Sep 6, 2019 It is not actually a bug, it mostly expected behavior. I'm not sure about Windows (just, too lazy to check it there), but in *nix systems, folders and files just act almost exactly the same way, there only one difference in one flag, D for directories. And if you would like to check the difference just look at the method DirectoryExists also in the %Library.File class
go to post Dmitry Maslennikov · Sep 6, 2019 It's actually a very interesting question, and actually mostly depends on what you really want to achieve.First of all, you can redefine Dockerfile name in docker-compose.yml version: '3.7' services: myapp: build: context: . dockerfile: Dockerfile.test or just in docker build docker build -f Dockerfile.test . But there is another use case when you would need even different docker-compose.yml files. If you would want to split running like in the production and development environment. You can just do it this way, docker-compose up --build -f docker-compose.prod.yml docker-compose up --build -f docker-compose.dev.yml But I would recommend a bit different way, based on the possibility to extend one YAML file with the content of another. So we need main docker-compose.yml version: '3.7' services: iris: extends: file: docker-compose.${MODE:-dev}.yml service: iris ports: - '${WEBPORT:-52773}:52773' which in fact declares just common settings, which will be the same for dev and prod. Then look at docker-compose.dev.yml, for example I'm using IRIS community edition for development version: '3.7' services: iris: image: store/intersystems/iris:2019.3.0.302.0-community volumes: - ./src:/opt/myapp/src and docker-compose.prod.yml, and licensed version for testing production environment version: '3.7' services: iris: image: store/intersystems/iris:2019.3.0.302.0 volumes: - ~/iris.key:/usr/irissys/mgr/iris.key By default when you will start docker-compose environment, it will use dev. Because here ${MODE:-dev} it uses environment variable MODE with default value as dev. Then, you can change it this way. MODE=prod docker-compose up --build But you can also create file .env with values for any environment variables which you would like to redefine. So, in our case it can be like this, with changed WEBPORT as well. MODE=prod WEBPORT=52774
go to post Dmitry Maslennikov · Sep 5, 2019 It is not a big problem to make it with Caché. But I would recommend you to look at different ways. Using Caché just as a reverse proxy, looks like a sledgehammer to crack a nut.First of all, you should go from an original source of users, I don't see it in your question, but it can be LDAP/AD or something else outside of Caché. I would look at Nginx for example, which is actually very flexible.
go to post Dmitry Maslennikov · Sep 2, 2019 Have you looked at @Daniel Kutac series of articles about OAuth2? In part 3 he mentioned about debugging. Kind of like this should help you. set ^%ISCLOG=5 set ^%ISCLOG("Category","OAuth2")=5 set ^%ISCLOG("Category","OAuth2Server")=5
go to post Dmitry Maslennikov · Sep 2, 2019 Probably you can manage to extend ccontainermain functionality for it, which I suppose you going to use anyway, as iris-main yet IRIS only and not public.