]> git.koha-community.org Git - koha.git/commit
Bug 7977: QOTD uploader to enable uploading csv files containing quotes
authorChris Nighswonger <cnighswonger@foundations.edu>
Fri, 20 Apr 2012 20:12:26 +0000 (16:12 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 24 May 2012 12:14:09 +0000 (14:14 +0200)
commit12cb095bac53f049d4148aec27a063a4dfa2c24e
tree65cdd932c9f468a6849e181793537bc9f7b84805
parenteb7e930eea4a8d8bc9fcf25c86dc46b5ee953523
Bug 7977: QOTD uploader to enable uploading csv files containing quotes

This series will add a DataTable's based upload/editor with which
to upload csv files containing quotes to be used by the QOTD
feature.

The file should be formatted thusly:

"source","text-of-quote"
"source","text-of-quote"
...

Note: This work serves as a good example of potential improvements
in all other "editor" and file upload areas of Koha.

This patch is a squash of the following work:

--Adding code to parse CSV file contents and push it into a DataTable
--Adding in jEditable to enable table editing
--Adding ajax to post data back to the server to be saved
--Fixing edit and adding delete functionality
--Adding some missing css as well as server feedback on save
--Fixing a bug which limited the number of quotes which could be uploaded
--Also fixing a minor bug with fnCSVToArray and doing some style cleanup.
--Adding sanity checks to verify file type and size
--Implements YUI button widget/toolbar
--Improved handling of hiding uploader UI
--Adds row selectability
--Adds multi-delete capability
--Adds YUI button/toolbar widget
--Fixing capitalization in quote uploader
--Implements improvments suggested by jcamins and oleonard

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/css/datatables.css
koha-tmpl/intranet-tmpl/prog/en/css/uploader.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/quotes-upload-toolbar.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt
koha-tmpl/intranet-tmpl/prog/img/x_alt_16x16.png [new file with mode: 0644]
tools/quotes-upload.pl [new file with mode: 0755]
tools/quotes/quotes-upload_ajax.pl [new file with mode: 0755]