Commit graph

9073 commits

Author SHA1 Message Date
Dan Stillman
cd26267afe Closes #340, Change isInstitution to fieldMode everywhere
Including in the DB, which it turns out isn't really all that bad (thanks, among other things, to SQLite's ability to DROP tables within transactions without autocommitting (which MySQL can't do))
2006-10-05 00:59:26 +00:00
Dan Stillman
74dbdec49b Renamed user.js to userdata.js 2006-10-04 23:37:15 +00:00
Dan Stillman
088027d640 Added automaticSnapshots pref, and changed Create New Item From Current Page button to obey pref
At least some scrapers (NYT and WashPo, for sure) should be updated to follow this pref

Addresses #327, Scrapers should either take snapshots or use URL field
2006-10-04 22:59:07 +00:00
Dan Stillman
026b37169a Closes #63, Add ECL license info to source code
Added on all non-trivial files -- be sure to copy over XML or JS version as appropriate for new files
2006-10-04 17:16:56 +00:00
Dan Stillman
f9c387e09b Fixes #211, Creator drop-down should have a little arrow to indicate it's a menu
Changed creator type <label> to <toolbarbutton> -- hopefully won't have any ill effects with other platforms' default themes (I haven't checked)

Moved some metadata pane CSS from overlay.css to zotero.css
2006-10-04 08:53:24 +00:00
Dan Stillman
5c6fcf8e28 Closes #330, Attachment title should be editable
Currently uses an annoying popup window, since the code used in the regular metadata pane has too much baggage to use here -- it really should be abstracted into an XBL binding, but that won't be an easy feat

Also fixes SQL error opening popup notes and JS strict warnings when saving them
2006-10-04 06:57:49 +00:00
Dan Stillman
47b765121f Restore original value in metadata fields when hitting Esc (I think it used to do this correctly and I broke it at some point)
Don't try to convert accessDate if it's blank

Restore autocomplete on tags
2006-10-04 03:00:10 +00:00
Dan Stillman
7cee5b3b60 Fixes #333, Access date needs special handling in item pane for webpage item type
- Currently requires user to enter dates in SQL format if they want to change the access date, but at least it doesn't mangle the dates anymore

- Uses new function ScholardammitZotero.Date.dateToSQL(Date date [, Boolean toUTC])

- Utilities.lpad() now forces _string_ to a string so that .length exists

- Unrelated: Item.save() now returns false if the item didn't change
2006-10-04 00:47:55 +00:00
Simon Kornblith
92620afa52 fix a couple of rather inconsequential small bugs 2006-10-04 00:31:29 +00:00
Simon Kornblith
ac50ab16a2 Scholar -> Zotero (thanks Dan S.) 2006-10-04 00:10:35 +00:00
Dan Stillman
c08a82e831 Use "CURRENT_TIMESTAMP" (as a string, which Item.save() turns into the SQL keyword) in Translate._itemDone() rather than toLocaleString() 2006-10-03 23:16:48 +00:00
Dan Stillman
c5adecb6e7 Update Item.toArray() to properly handle new note and attachment metadata -- it now adds 'note' for embedded notes in attachments and just calls toArray() recursively to grab URL, accessDate, etc.
(I don't know if the export system will handle this properly or not.)
2006-10-03 22:48:40 +00:00
Simon Kornblith
56e77619c4 closes #334, Washington Post scraper shouldn't include " - washingtonpost.com" in title
closes #313, Blacklist known ad sites from scraper detection
closes #306, some New York Times ads prevent page from being recognized
closes #308, attachment import bug

currently, the ad site blacklist is located at the top of ingester/browser.js. at some point, we may want to switch this to a database table.
2006-10-03 22:13:49 +00:00
Simon Kornblith
03e9dc5ae5 closes #305, add conditionals/quotes to CSL
addresses #327, Scrapers should either take snapshots or use URL field
closes #309, Integration server prevents Zotero from loading in multiple instances of Firefox
2006-10-03 21:05:48 +00:00
Dan Stillman
5da77cf7ee 2006-10-03 20:48:41 +00:00
Dan Stillman
49a8d68e60 Fixes #310, active focus remains with zotero pane closed
Plus a couple JS strict warnings
2006-10-03 19:09:21 +00:00
Dan Stillman
eb94d648d7 Closes #300, when a webpage snapshot is selected in "related" tab, disk icon appears 2006-10-03 16:25:16 +00:00
Dan Stillman
c02755cb59 JS strict warning 2006-10-03 16:05:43 +00:00
Dan Stillman
9f959bf3e0 Display and save multiple-field selections in the creator autocomplete
In other words, show both "Shakespeare" and "Shakespeare, William" in the drop-down, and if the latter is chosen, save both fields

One issue is that since the autocomplete is by default limited to the width of the textbox, longer entries get truncated (though you can see them with a mouseover), and that may not be easy to fix.
2006-10-03 08:38:49 +00:00
Dan Stillman
044aea0fad Fix for access date on links and snapshots displaying as UTC (thanks Dan C.) 2006-10-03 04:25:23 +00:00
Dan Stillman
3a107a2c7c Bug in pref pane position change warning 2006-10-03 04:18:53 +00:00
Dan Stillman
c97b4b0bc0 OK, this might be it, assuming I got the build script right 2006-10-03 00:29:42 +00:00
Dan Stillman
b5ad390070 Not done yet 2006-10-02 23:46:36 +00:00