Changes 2019 in Lino¶
2019-02-22¶
Uploading files under Python 3 caused a server error Exception Value:
a bytes-like object is required, not 'str'
(#2845).
Released Lino 19.2.1.
Fixed a bug in which caused a UnicodeEncodeError in export_excel : Exporting to Excel on Travis and possibly in other situations as well.
2019-02-17¶
Have the renderer return a js string that when eval’d reloads the dashboard, rather than a hard-coded string.
2019-02-14¶
Make the field’s label following FileField visible #2830.
2019-02-12¶
Translations for #2834.
2019-02-11¶
Added a button “Close and save window” (#2816)
2019-02-09¶
Released Lino 19.2.0 to PyPI.
Added two columns volume library_file in UploadsByController
2019-02-08¶
The lino.modlib.uploads
plugin has been extended to support
#2826. Until now an Upload
could represent either an uploaded
file (the original meaning) or just an entry representing some external
document to be monitored by its author, without any uploaded file. With
#2826 we add a third possibility a “library file”, i.e. a file that
has been stored on some volume using some other method than uploading.
Concretely:
Added a new model
Volume
Added two fields
volume
andlibrary_file
to theUpload
model.The insert_layout of
UploadsByControler
does not include thevolume
, but instead the controller (owner) decides which volume is to be used.IOW a new method
UploadController.get_uploads_volume()
. The field should be hidden or at least readonly when the owner says that there is no volume.
2019-02-05¶
Fixed #2822 (Cannot create new user ‘NoneType’ object has no attribute ‘full_value_from_object’)
Fixed ActionFormPanel logic to use action.html_method.
Changed sign_in action to use POST as html_method.
2019-02-02¶
Field values for actons with paramiers no long need to be an array with a key of ‘fv’. They now can be included in the root of the data object with the field name as the key.
2019-01-28¶
We fixed the #2782 (Dashboard in Jane is slower than before). Store has a new attribute _disabled_fields_storefield.
2019-01-24¶
Changed the verbose name for lino.modlib.printing.BuildMethods
from
“Build method” to “Print method”.
2019-01-22¶
lino.sphinxcontrib.help_text_extractor
caused a Sphinx warning
RemovedInSphinx20Warning: app.info() is now deprecated. Use
sphinx.util.logging instead.
(fixed)
Added intersphinx_urls, srcref_url and doc_trees settings to the main module so that other doctrees can link to the docs.
2019-01-16¶
I fixed #2785 (Django 2.1.5 under Py3 restore.py fails saying
disable_constraint_checking).
For the test lino.utils.djangotest.RestoreTestCase
, we need to make
sure that foreign_keys is set to OFF before we actually start the restore.
2019-01-10¶
I fixed #2784 (Some actions are duplicated). The show action of
lino_welfare.modlib.integ.ActivityReport
was duplicated in
Actor._actions_list
but nobody ever complained because it was not
visible. But since I wrote a test case in Integration Service which
verifies that the ticket is fixed, I must now do a release on PyPI to get the
test suite on Travis CI passing again.
2019-01-07¶
We released Lino 19.1.2
Immediately after the release we discovered a bug in Lino 19.1.2 which caused a
missing button in a critical place in Tera. So we did a quick bugfix
release 19.1.3.
2019-01-04¶
We released Lino 19.1.0
New lino.core.fields.TableRow
.
The message “Form fields may not be submitted with invalid values” says now
“Please check all fields of this form before submitting.”
(linoweb.js
)