Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

151 total results found

Desktop applications (Le Sage, Aïda, Inpro) and two-step verification

Studio Two-step verification

For customers who send statements to Karyo from the desktop versions of Le Sage, Aïda or Inpro. These programs sign in to Karyo on their own, with an administrator's email and password stored in their settings: no one is there to type a code. Two-step verifica...

Database migrations (SQL bundles)

How Le Sage 13 (and Inpro 9, Aïda 6) upgrade their databases: bundles, adding a column, adding a function, testing locally, releasing a bundle and building the installer.

Adding a column (a table step)

Database migrations (SQL bundles)

This is what you used to do by adding a block to upgradedb.sql. Now it is a step file in ~/dev/improvize/lesage/sql/steps/. 1. Pick the version Look at lesage/sql/version and lesage/released.json: The current version is in released.json (e.g. version = 1 and ...

Adding or changing a function

Database migrations (SQL bundles)

Functions are no longer dropped and recreated at every launch. They live in functions/*.sql of a bundle and are (re)created only when the bundle changes, as <owner>_ddl. 1. Choose the bundle lesage/sql/functions/ for anything Le Sage uses (calculations, ABR, ...

Testing locally without releasing

Database migrations (SQL bundles)

You never need an installer or a release to try a change. There are two loops: the check script on the Linux host (fast, throwaway databases), and Sage.exe in the VM pointed straight at your working copies. Loop 1: the check script (Linux host) Runs on the loc...

Releasing a bundle and building the installer

Database migrations (SQL bundles)

"Releasing" a bundle version means freezing it: recording its checksum and git commit in released.json, because from then on a real database may carry it. Delphi installers ship only released versions. Checklist On the Linux host Version bumped: lesage/sql/v...

At launch: the connect rule and its messages

Database migrations (SQL bundles)

What Sage.exe does with the bundles at each launch (TDM.ApplyBundles → RunConnectRule in catBundleUpgrade.pas), and how to read what went wrong. Startup sequence Read the parameters (srv= owner= user= pwd= db=, plus sqlroot= and dev=1), connect as the login. ...