CI to automate build of zotero tarball for zotero aport
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
50eddb05ee
Moved schema file out of chrome and removed XML tags, since it will no longer be accessed by XMLHTTP Changed schema updater to use XPCOM components rather than XMLHTTP Converted DB class to a singleton named Scholar_DB Scholar_DB.query() now returns associative array similar to mysql_fetch_assoc() for SELECT statements rather than a mozIStorageStatementWrapper -- the mozStorage executeDataSet() function doesn't work yet, so we do it this way Added DB functions: - beginTransaction(), commitTransaction(), rollbackTransaction() - columnQuery() -- one column, multiple rows, returned as array indexed by row - getColumns() and getColumnHash DB query functions can now handle bind parameters passed as an array of object literals: e.g. [{'int':2},{'string':'foobar'}] valueQuery() now returns an int for COUNT(*) queries, so the result can be tested without a "0" being true Changed _initializeSchema to drop existing tables before creating new ones, hacked with try/catch until DROP TABLE IF EXISTS works with the mozStorage extension (it's already in the latest SQLite release) Added DB_REBUILD config flag to manually trigger schema regeneration Added debug logging at level 5 for all SQL queries Updated sample data |
||
---|---|---|
chrome/chromeFiles | ||
chrome.manifest | ||
install.rdf | ||
schema.sql |