[koha-commits] main Koha release repository branch master updated. v18.05.00-995-g56ab537
Git repo owner
gitmaster at git.koha-community.org
Fri Oct 12 21:12:04 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 56ab53702013f36c7f174e1a219b7b450098412a (commit)
from be4f22f5a0745ef64c6bf20b89bd9f4fcbe40403 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 56ab53702013f36c7f174e1a219b7b450098412a
Author: Owen Leonard <oleonard at myacpl.org>
Date: Wed Oct 10 16:44:10 2018 +0000
Bug 20260: Use CodeMirror for the SQL reports editor
This patch adds CodeMirror syntax highlighting to the SQL reports
editor. Newly added is a file containing the sql-specific syntax
highlighting code, in both compressed and uncompressed versions.
Unrelated changes:
- Some JavaScript has been moved from inside the body of the page to
the footer.
- Paths to some assets have been corrected to no use relative paths.
To test, apply the patch and go to Reports -> Saved SQL reports
- Edit an existing report and confirm that the SQL is correctly
highlighted and that there are no display problems when editing.
- Confirm that changes are saved successfully.
- Perform the same test when creating a new SQL report.
- View an existing report and confirm that the SQL is syntax-highlighted
but is read-only.
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
-----------------------------------------------------------------------
Summary of changes:
koha-tmpl/intranet-tmpl/lib/codemirror/sql.js | 501 ++++++++++++++++++++
koha-tmpl/intranet-tmpl/lib/codemirror/sql.min.js | 2 +
.../en/modules/reports/guided_reports_start.tt | 40 +-
3 files changed, 535 insertions(+), 8 deletions(-)
create mode 100644 koha-tmpl/intranet-tmpl/lib/codemirror/sql.js
create mode 100644 koha-tmpl/intranet-tmpl/lib/codemirror/sql.min.js
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list