Commit graph

14333 commits

Author SHA1 Message Date
Dan Stillman
d65e75fbc9 Keep track of manually set ids (via a Notifier observer watching for 'add' events or manual Zotero.ID.skip() calls) so that subsequent calls to Zotero.ID.get() don't return them
This should fix hard-to-reproduce 'constraint failed' errors during syncing.
2008-06-19 07:46:08 +00:00
Dan Stillman
a610595b84 Fix deletion of items without tags 2008-06-18 08:58:38 +00:00
Dan Stillman
2df1e34dc2 Reverting r2892 -- not necessary 2008-06-18 08:57:46 +00:00
Dan Stillman
dd776bbb70 Use SQLite text data type for integers longer than 15 characters 2008-06-18 08:49:44 +00:00
Dan Stillman
d5eacdcbc6 Fix sync URL 2008-06-18 08:47:38 +00:00
Elena Razlogova
f66de48ba7 Fixes some options to make style valid 2008-06-18 07:09:49 +00:00
Elena Razlogova
b377528d10 Adds Chicago quick copy style (allows for quick copy of footnotes and subsequent citations in the same style; not appropriate for the Word plugin) 2008-06-18 07:03:59 +00:00
Dan Stillman
0efeb1f26c Merged revisions 2845-2848,2850-2852,2855-2857,2860-2863,2872,2874,2879-2880 from 1.0 branch via svnmerge 2008-06-17 20:50:44 +00:00
Dan Stillman
da4262e364 Blocked revisions 2853,2882 from 1.0 branch via svnmerge 2008-06-17 20:46:45 +00:00
Dan Stillman
42fa6f091f Move sync URL to ZOTERO_CONFIG array 2008-06-17 20:41:31 +00:00
Dan Stillman
35e9f3b3b7 Fix export from saved search content menu on trunk, changing ZoteroItemPane.getSortedItems() to return Item objects unless asIDs is passed (like getSelectedItems()) 2008-06-17 20:39:26 +00:00
David Kaplan
dcccee13a1 Adding automagic indent to align on second field for PLoS format. 2008-06-17 16:27:13 +00:00
Dan Stillman
d5756c1168 Fix tag pane refresh after adding tag to item 2008-06-17 07:08:13 +00:00
Dan Stillman
9bf8333ea8 Missed file for tag case insensitivity 2008-06-16 21:01:09 +00:00
Dan Stillman
413670b09d Restore tag rename and delete
Tag comparisons are now case-insensitive, and old tags with case differences are migrated to the most-used tag or the tag linked to the oldest item
2008-06-16 20:07:17 +00:00
Dan Stillman
8214d7ac60 Fix tag autocomplete
Also fixed to not display tags twice if both manual and automatic and to not display automatic tags if manual versions of the same tags are already linked to the current item
2008-06-16 15:11:59 +00:00
Dan Stillman
72b53e1b3f Don't drop all tags on DB upgrade 2008-06-16 14:55:09 +00:00
David Kaplan
0b4bfec8fe Making a number of minor modifications to PLoS CSL style so that it agrees more
closely with http://journals.plos.org/plosbiology/guidelines.php
Most are relatively minor involving moving periods and spaces around.  Also 
changed macro for dating references to just use year and removed DOI from
spec.  I have used XML commenting to remove these chunks in case they are
ever wanted again.
2008-06-16 13:44:11 +00:00
Dan Stillman
9bcdf021dd - Fixes tag editing
- Adds tag syncing
- Fixes a few other things

No tag CR yet
Requires new 1.0 DB upgrade
2008-06-16 05:46:10 +00:00
Dan Stillman
f00e5501e9 Addresses #1037, Remove Firefox 2–specific code 2008-06-11 08:57:41 +00:00
Dan Stillman
97f214c9dc Merged revisions 2710-2712,2714-2716,2718-2728,2730-2731,2734,2736-2738,2740-2750,2752-2753,2755,2758-2768,2770-2779,2782,2789-2790,2794,2797-2802,2804,2808-2810,2812,2814-2824,2826-2832,2834-2835 via svnmerge from 1.0 branch 2008-06-11 08:55:59 +00:00
Dan Stillman
1b12446bc0 Blocked revisions 2713,2717,2757,2769,2825 on trunk via svnmerge 2008-06-11 08:33:01 +00:00
Dan Stillman
24e578dd84 Addresses #378, Button's tooltip displayed for dropdown list menu items 2008-06-11 07:57:24 +00:00
Dan Stillman
591094da75 For nightlies 2008-06-11 07:50:37 +00:00
Dan Stillman
558cd9c517 Closes #1003, Increase Firefox minVersion to 3.0.* 2008-06-11 07:39:35 +00:00
Tim Sherratt
3497b1cc2a Adding simple style for National Archives of Australia references 2008-06-04 12:05:49 +00:00
Tim Sherratt
bab7673e3a Fixing quotes in Australian Historical Studies style 2008-06-04 07:34:45 +00:00
Tim Sherratt
b6fd5dc005 Adding style for Australian Historical Studies 2008-06-04 07:15:54 +00:00
Dan Stillman
c695e9df46 Recorded r2786 as already merged to trunk 2008-06-03 19:45:17 +00:00
Dan Stillman
00c2b14d6c Adds rudimentary Zeroconf support to Zotero (a.k.a. "Z(ot)eroconf")
- Inspired by Dan Chudnov's Python/MODS-based Zeroconf demo at THATcamp
- Enabled by extensions.zotero.zeroconf.enabled (off by default)
- Currently supports only OS X (tested on Leopard, not sure about earlier versions)
- Uses Apple's dns-sd and mDNS command-client clients, but should be able to be extended to other clients, though a native library would be far superior
- Discovery is on-demand for now via Actions menu ("Search for Shared Libraries")
- Includes rudimentary web server (code copied from integration.js) that serves items as sync XML -- no authentication yet!
- Only supports top-level items
- Remote libraries show up in left pane (under remote computer name, for now)
- Items can be dragged into collections (but not the library yet, for some reason)
- On first run, might cause a long pause and the "This file was downloaded from the Internet" message on Leopard -- can't manage to get around the quarantine for the script file that we need to access stdout from Firefox
- Needs a lot of work, and without a real JS (or otherwise Mozilla-native) Zeroconf library we can't do proper discovery without intermittent polling
- But it works, at least for me

Also includes some data/sync-layer changes that I needed along the way (and that we'll need for shared collections of any type)
2008-06-03 05:26:30 +00:00
Dan Stillman
4d03dd8d43 Moving default XML namespace declaration inside CSL objects -- this breaks CSL generation, as far as I can tell, but having the default namespace in the global scope makes dealing with E4X elsewhere very annoying
Creating a follow-up ticket to fix CSL generation
2008-06-02 21:30:01 +00:00
Dan Stillman
392c968315 Point trunk build to sync.zotero.org 2008-06-02 18:01:33 +00:00
Julian Onions
c62c4c13be Open university harvard format numeric style (for S320 at least) 2008-06-02 13:27:44 +00:00
Dan Stillman
77133f465c - Saved search syncing, with automatic latest-wins conflict resolution
- Last sync time displayed in sync button tooltip
- Various and sundry bug fixes

DB must be re-upgraded from 1.0
2008-06-02 09:15:43 +00:00
mmoole
cd93bf3927 * "last accessed" added for urls
* books title not italic in bibliography
2008-06-01 10:54:09 +00:00
mmoole
50c4d6bfc3 * quotation marks for german
* date format ''
* <url>
2008-05-31 22:00:59 +00:00
Simon Kornblith
6d9427981e closes #973, citation editor broken in FF3
(fixes a message asking the user if s/he wants to regenerate a citation when the editor has never been shown and a parameter is changed)
2008-05-31 02:51:08 +00:00
mmoole
9facfd5c24 minor fixes 2008-05-30 22:40:43 +00:00
mmoole
74bfc94734 * no extra capitalization in german 2008-05-30 22:31:53 +00:00
mmoole
e012d68f4a first version, hoping it works 2008-05-30 22:23:18 +00:00
mmoole
7c698eba4d hoping on validity 2008-05-30 20:59:11 +00:00
mmoole
4db6230ce1 first version, hoping it works 2008-05-30 20:46:13 +00:00
Bruce D'Arcus
554040d75e added short title to supra condition 2008-05-26 02:14:34 +00:00
Bruce D'Arcus
cc0eb28d82 added changes from nas 2008-05-24 15:25:34 +00:00
David Kaplan
b83dd8aa99 Making several minor changes to agu.csl to remove extra spaces that
were being added to references.  I think these should work with most
references, but I haven't checked with all possible reference types
(for example books).

Also added a sort key for the bibliography based on the publication
year, but it is really hard to know if this is correct as sorting of
bibliographies in OpenOffice with the plugin seems to have bugs.

Also, added a sort by authors then year to the citation format.  I
believe this is correctly done and testing with the openoffice plugin
suggests that it is having some effect, though it isn't working quite
right (sometimes doesn't sort authors correctly - it seems to have
problems with et al. citations).
2008-05-23 09:58:33 +00:00
David Kaplan
5049726019 Turning off all name-based disambiguation in citations as these do not appear
to be working correctly.  This may be incorrect in a strict sense, but in the
current implementation of the openoffice plugin, they are not doing what they
are supposed to.  However, turning these off does not appear to affect things
- i.e., name initials continue to appear in citations even after setting
these options to false.
2008-05-21 12:45:20 +00:00
David Kaplan
586bd47e10 More updates to agu style to conform to
http://www.agu.org/pubs/AuthorRefSheet.pdf .  Changes consist of:

1) Changed use of "&" in citations to "and".
2) Citation prefix and suffix are now [ and ].
2) Added italic to author names in citations and to volume in
bibliographic references.
2008-05-21 11:49:17 +00:00
David Kaplan
cc8bcbee12 Modifying agu.csl to conform to better conform to my understanding of
AGU style based on their style guide and experience with AGU
references.  Changes consist of:

1) Make it so that all references use initials for author's first
names.  I am not sure if this is officially in the style document, but
I have never seen an AGU publication that didn't use initials for
author names.  

2) Make it so that et al. is only used in bibliographic references
when you have more than 10 authors and that only the first author name
is used in this case, in accordance with
http://www.agu.org/pubs/AuthorRefSheet.pdf.

3) Set the disambiguate-add-givenname option to false for citations.
This MAY BE INCORRECT (not clear from above mentioned style guide - no
mention of what to do in ambiguous cases), but setting it to true
caused it to add the disambiguation in OpenOffice citations in wierd
places.  I think this might be a BUG in Zotero.  I am guessing that
upon citation Zotero was using disambiguate with respect to all
references in my database, not just those in the document, AND that
it considered names like John L. Doe and J. L. Doe different (or
something like that), causing it to add initials when it really wasn't
necessary.  Turning this off will produce the correct result in the
vaste majority of cases, but will fail in just those cases where
disambiguate is supposed to be used.
2008-05-21 08:36:05 +00:00
Dan Stillman
6408762b12 Merged revisions 2640-2647,2651,2653-2654,2656-2658,2660-2667,2670-2672,2674-2677,2680,2683-2684,2687-2704,2707 to trunk via svnmerge from 1.0 branch 2008-05-16 09:14:11 +00:00
Dan Stillman
dd9374b41d Blocked revisions 2652,2681 on trunk via svnmerge 2008-05-16 09:00:15 +00:00