CI to automate build of zotero tarball for zotero aport https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
Find a file
Dan Stillman c50dedc90a Addresses #17, add filesystem/ability to store files
Not finished, but enough to give David something to work with

No BLOBs -- just linking/importing of files and loaded documents


New Scholar.Item methods:

incrementFileCount() (used internally)
decrementFileCount() (used internally)
isFile()
numFiles()
getFile() -- returns nsILocalFile or false if associated file doesn't exist (note: always returns false for items with LINK_MODE_LINKED_URL, since they have no files -- use getFileURL() instead)
getFileURL() -- returns URL string
getFileLinkMode() -- compare to Scholar.Files.LINK_MODE_* constants: LINKED_FILE, IMPORTED_FILE, LINKED_URL, IMPORTED_URL
getFileMimeType() -- mime type of file (e.g. text/plain)
getFileCharset() -- charsetID of file
getFiles() -- array of file itemIDs this file is a source for

New Scholar.Files methods:

importFromFile(nsIFile file [, int sourceItemID])
linkFromFile(nsIFile file [, int sourceItemID])
importFromDocument(nsIDOMDocument document [, int sourceItemID])
linkFromDocument(nsIDOMDocument document [, int sourceItemID])

New class Scholar.FileTypes -- partially implemented, not yet used

New class  Scholar.CharacterSets -- same as other *Types classes:
getID(idOrName)
getName(idOrName)
getTypes() (aliased to getAll(), which I'll probably change the others to as well)

Charsets table with all official character sets (copied from Mozilla source)

Renamed Item.setNoteSource() to setSource() and Item.getNoteSource() to getSource() and adjusted to handle both notes and files
2006-07-27 09:16:02 +00:00
chrome/chromeFiles Addresses #17, add filesystem/ability to store files 2006-07-27 09:16:02 +00:00
components references #110, implement CSL for citation styling 2006-07-22 01:25:46 +00:00
defaults/preferences Fixes #114, Preference for Scholar location (top, bottom). 2006-07-19 16:14:27 +00:00
chrome.manifest Created Scholar toolbar button (use Customize Toolbar... option) 2006-07-26 16:42:26 +00:00
install.rdf Set icon for extension (visible on Add-Ons window. You'll have to reinstall Scholar to see). 2006-07-26 17:48:27 +00:00
schema.sql Addresses #17, add filesystem/ability to store files 2006-07-27 09:16:02 +00:00
scrapers.sql closes #78, figure out import/export architecture 2006-07-17 04:06:58 +00:00
update.rdf Change the version number to 1.0a1 2006-06-28 21:07:15 +00:00