Commit graph

9101 commits

Author SHA1 Message Date
Dan Stillman
42f6ac0f9f Fixes #283, Autocomplete broken in Firefox 3, only 17 months later 2008-02-16 10:17:31 +00:00
Dan Stillman
d92e3661d5 - Added Zotero.ID.get(table) method for getting a primary key id -- it first tries to find the lowest unused integer in the PK column and falls back to using MAX() + 1 if it can't find one quickly
- Removed Zotero.getRandomID() (moved into Zotero.ID, but unused)
- Purge itemDataValues on item delete
2008-02-09 09:46:29 +00:00
Dan Stillman
25d57b8428 Revert [1615-1616] on the trunk, where they're no longer necessary 2008-02-05 11:15:53 +00:00
Dan Stillman
200cca74a6 Merged revisions 1986,1988-1990,1996,1998,2000-2004,2006,2008-2010,2013,2020-2028,2032-2034,2037,2039,2044-2049,2052-2056,2059,2065-2066,2068-2072,2075,2077-2079,2081,2083-2084,2086,2088-2094,2096,2099,2101,2103-2104,2107-2110,2115,2118,2120-2122,2126-2128,2131,2140,2142-2145,2149-2153,2155-2159,2165,2167-2168,2170-2171,2173-2176,2179-2183,2185-2186 via svnmerge from
https://www.zotero.org/svn/extension/branches/1.0
2008-01-30 09:53:19 +00:00
Simon Kornblith
fde19abd57 deleting on the trunk... 2008-01-03 06:46:50 +00:00
Dan Stillman
e2cb3a699a Merge r1802-1983 from branch to trunk 2007-12-02 05:45:07 +00:00
Dan Stillman
70b10ea320 Fix error saving snapshots of files not handled natively by Firefox (except PDFs) 2007-11-03 18:42:06 +00:00
Dan Stillman
ba4caa7c86 Fix incorrect defineGetter line 2007-11-01 04:07:23 +00:00
Dan Stillman
34ea8ced85 Addresses #283, Minefield compatibility
Closes #285, Hitting Esc should close tags popup

Fixes various UI issues and problems adding tags on Minefield

Still getting autocomplete self-destruction
2007-10-31 00:03:06 +00:00
Dan Stillman
1159de39f6 Fix #803, A few UI alignment issues in Preferences
And streamlined some of the layout code. Used some of the changes from BZ translator (without doing away with all styling).
2007-10-30 06:52:16 +00:00
Dan Stillman
2145431468 Fix hang saving snapshots on some pages (e.g. permanent Wikipedia URLs) 2007-10-30 00:33:38 +00:00
Dan Stillman
c0ad18ee28 Fix for Case title not showing up in items list (since letter/interview change) 2007-10-29 20:31:57 +00:00
Dan Stillman
cc497c2718 Merged r1792-1793 to trunk 2007-10-26 14:44:43 +00:00
Dan Stillman
3ce9d82b00 Addresses #527, Add translators' names to install.rdf and about.xul
Up-to-date on trunk and branch
2007-10-24 09:02:23 +00:00
Dan Stillman
560ae102cb Fix spacing of larger creator type dropmarker on Windows 2007-10-24 08:55:35 +00:00
Dan Stillman
1294682120 2007-10-23 09:44:09 +00:00
Dan Stillman
35ff52f2e8 Merged 1.0 branch back to trunk 2007-10-23 07:11:59 +00:00
Dan Stillman
4fb199457d Updated link to Quick Start Guide in fresh installs with new URL and intro note 2006-10-05 22:55:50 +00:00
Dan Stillman
c59dcdc0a6 New item types, fields, creator types, and the glue to make them work
If anyone's out there, now would be the time to test this.

Missing icons for the new types -- I could try to get some of those now, or we could just launch. Maybe we'll just launch. But really, might want to test this. Just sayin'.
2006-10-05 22:27:29 +00:00
Dan Stillman
589f1a6f20 2006-10-05 18:28:50 +00:00
Dan Stillman
9a96c54118 Addresses #327, Scrapers should either take snapshots or use URL field
Use automaticSnapshots pref (which defaults to on and is changeable in the prefs window) rather than downloadAssociatedFiles (which defaults to off and is only settable through about:config at the moment) for now in translate.js

downloadAssociatedFiles should eventually be used for PDFs and other large files, whereas automaticSnapshots will be for HTML and the like -- in the meantime, I think it's OK for scrapers to just follow the visible pref for both, since otherwise they'd be totally confused when the NIFP button took a snapshot and the scrapers didn't

Simon, if there's any problem I'm not aware of with switching this for now (other than people getting some large PDFs on JStor), let me know.
2006-10-05 09:44:41 +00:00
Dan Stillman
76b7adaa05 Closes #328, View button in metadata pane should show snapshot first before using URL 2006-10-05 08:54:15 +00:00
Simon Kornblith
cbe7c086e1 closes #336, Some metadata fields are not exported with notes and attachments
closes #165, verify import/export can carry all data for all fields and item types
closes #168, make sure MODS import works with files from external sources
2006-10-05 08:45:44 +00:00
Dan Stillman
c6ae132bd3 Return itemID from linkFromURL() when it doesn't have to do a HEAD request; true otherwise 2006-10-05 06:23:44 +00:00
Dan Stillman
3919594834 New options in context menu of regular items in the item list:
Attach Snapshot of Current Page
Attach Link to Current Page

I also removed "New Item" from the context menu, as it was the only option in the menu that wasn't specific to the selected item, it made the whole menu a lot more confusing, and it doesn't take all that much longer to click the (+) button and choose Book (assuming that's even the item you want).
2006-10-05 05:56:56 +00:00
Dan Stillman
83da98f208 Added zotero.org link to About panel
Added "About Zotero..." to cog menu
2006-10-05 04:02:21 +00:00
Dan Stillman
eff310c5c9 Closes #294, Checkbox in search dialog to search subfolders recursively
Addresses #155, Localize strings

- Added "Search subfolders"

- Localized strings in search dialog

Known issue:

#342, "Search subfolders" checkbox should be greyed out until applicable
2006-10-05 02:33:39 +00:00
Dan Stillman
e2e5d59f61 Renamed Notifier.[un]register(Item|Column)Tree() to [un]register(Item|Collection)Observer(), which is more accurate 2006-10-05 01:25:36 +00:00
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