Thursday, February 12, 2015¶
Ticket #93 was trickier than expected. Some of the secondary changes:
The permission behaviour is mostly defined in
UserAuthoredcan now be None. And
Confirmableuses this new feature.
lino_welfare.modlib.aids.fixtures.demonow lets some of the generated confirmations be confirmed.
Merged the get_workflow_buttons method on Actor into the
workflow_buttons()method, and moved this method to Model
ConfirmationsByGranting(our “pseudo-virtual” table) now also shows the fields signer. And the grid no longer offers a workflow_buttons column which anyway didn’t work.
Language and recipient of an excerpt¶
I noticed and fixed another problem:
Bescheinigungen wurden bisher immer in der Sprache des Klienten ausgedruckt. Ab jetzt immer in der Sprache des Empfängers (wenn es einen gibt).
Setting the recipient of a confirmation caused this to be printed, but the excerpt neither stored that recipient nor select the corresponding language of that recipient.
Added a test case to Usage of database excerpts in Lino Welfare which tests this
new rule. And
lino_welfare.fixtures.demo now distributes
different languages to each partner.
Fixed #71 (Plausibilitätstest (Aktenkontrollliste)).
Renamed ClientsTest to StrangeClients (my personal naming
convention is that a table name should end with the plural for of the
model. Added a new table
The repositories now contain only my self-signed jars, I removed the “signed” variants which used to be signed using a GlobalSign code certificate. An “officialy certified” signature is not necessary for any known user, they must only set up their clients security policies correctly.
The signing didn’t work out of the box, it caused some optimizations
JarBuilder which is now in
a separate module. The usage API is slightly changed. Signing with a
timestamp is now optional, and the URL of the TSA can be configured.