Dan Stillman
0f87772b97
Fix broken checkboxes in tag selector context menu (OS X only?)
...
On OS X, the checked state of <menuitem type="checkbox"/> still doesn't
work right if set before the menu is opened. To get around this, the
state is now set manually in onpopupshown(). There's an annoying delay
before the UI update, but this is better than nothing.
2013-03-16 16:25:58 -04:00
Dan Stillman
fec159f969
Fix error on tag change without a selected item (from 1e59c5ab7
)
2013-03-16 16:25:58 -04:00
Dan Stillman
6dbe1d1e19
Show colored tags in tag selector in all views
...
Always show colored tags at the top of the tag selector, regardless of
whether they're in the current scope. If not, they're shown with reduced
opacity (as an equivalent to the gray style for out-of-scope tags in
Display All Tags mode). As a corollary, colored tags are now shown even
if they have no associated items and will remain until they're
explicitly deleted.
Also:
- Don't show outline on out-of-scope tags in "Display All Tags" mode
2013-03-16 16:25:51 -04:00
Dan Stillman
2b7d7ebfbf
Don't rely on object property order to sort tags
...
It works, but in theory it's not guaranteed in JS.
2013-03-15 17:44:07 -04:00
Dan Stillman
2b4f2e3a0f
Merge branch '3.0' into 4.0
2013-03-15 17:01:44 -04:00
Dan Stillman
d726ce41fa
Fixes incorrect post-edit scrolling
...
Fixes #268 , broken in 2cd45be191
Post-edit scrolling can probably be smarter, but this fixes the brokenness.
2013-03-15 16:56:55 -04:00
Dan Stillman
a1197883bb
Disable key navigation on 1-6 keys if any tag colors are assigned
...
Previously any unused numbers were still available for key navigation, but I
think it's too easy hit the wrong key that way, and getting moved to another
part of the items list is annoying.
2013-03-15 14:09:31 -04:00
Dan Stillman
3faa8949ef
Fix glitch entering tag with whitespace
...
If an existing colored tag was added to an item with whitespace around it, the
tag didn't immediately show up with a color.
2013-03-15 04:39:57 -04:00
Dan Stillman
1e59c5ab7e
More tags box fixes (follow-up to f932f312eb
)
...
Use the Notifier for all tags box updates to ensure that it always updates.
Also fix the tag count and some other things.
Post-tab focus still isn't 100% correct in all situations, but it's real close.
2013-03-15 04:13:14 -04:00
Dan Stillman
4e1fbf9747
Fix clearing selected tag when removed from last item in view
...
I somehow broke this in d2f028d797
, though
I'm not sure how.
2013-03-14 20:06:34 -04:00
Dan Stillman
d60b0221db
Fix error trying to toggle colored tag with no tag
...
(This should be fixed so that the setting is always removed, though.)
2013-03-14 19:03:20 -04:00
Dan Stillman
e20bd35756
Don't clear other tag colors when rename colored tag
2013-03-14 19:00:52 -04:00
Dan Stillman
0f85b07aad
3.1 is now 4.0
2013-03-14 01:27:54 -04:00
Dan Stillman
0191601f9f
Fix items tree styling (context rows, attachment pies) in Fx22+
2013-03-13 00:00:27 -04:00
Dan Stillman
d5bfed1c96
Missed changed from 0cd3a34e14
2013-03-12 21:10:11 -04:00
Dan Stillman
487ce7183b
Make tag color chooser window wider
...
Follow-up to d2f028d79
2013-03-12 20:54:53 -04:00
Dan Stillman
0cd3a34e14
Properly handle sync errors thrown from Zotero.HTTP.promise()
2013-03-12 19:58:31 -04:00
Dan Stillman
fe3ad1883d
Use API version 2
2013-03-12 19:57:47 -04:00
Dan Stillman
1217a5409e
Fix Control (and Alt) key shortcuts in items pane on Windows
...
Follow-up to d2f028d
and 0a7cc4448
2013-03-12 02:13:35 -04:00
Dan Stillman
65488b56b6
Remove debug output
2013-03-11 21:42:47 -04:00
Dan Stillman
c270766540
Skip repeated file syncs for libraries with no uploaded files
2013-03-11 21:41:51 -04:00
Simon Kornblith
d25d49de66
Extract PMCID from extra field
2013-03-10 16:58:34 -04:00
Simon Kornblith
687997e963
Parse PMIDs from extra field
2013-03-10 16:17:54 -04:00
Simon Kornblith
2f8f18c957
Ensure that arrays are not strings
2013-03-10 16:17:54 -04:00
Dan Stillman
b7c0427167
Fix various file sync issues
...
- Clear per-library error icon on new sync
- Pass upload errors through to end
- Don't make WebDAV verification error a global failure
- Some other things
2013-03-10 01:49:14 -05:00
Dan Stillman
c8386fb40b
Merge pull request #260 from aurimasv/duplicates
...
Duplicates
2013-03-09 10:29:45 -08:00
Dan Stillman
a921c57d5d
Remove old tags box code from itembox.xml
2013-03-09 03:15:01 -05:00
Dan Stillman
f932f312eb
Overhaul tags box
...
- Improvements to #20 , with the tags box switching to a multiline
textbox in the style of #164 on a multiline paste or Shift-Return. In
the multiline box, Return is a newline and Shift-Return saves
- Allow tabbing through tags via keyboard (and keep the last empty
textbox open on tab, so you can hold down the tab key to get all the
way to the end)
- Fix various post-update focusing issues (though the wrong textbox is
still selected for some multiline updates via Tab/Shift-Tab)
- Make (single-line) tag entering much faster by not reloading the whole
tags list and just placing the new tag in the correct sorted position.
This could be made even faster with tag selector optimizations.
- Allow the Add button to focus when switching to the Tags pane (and the
same for the Related pane, for good measure)
2013-03-09 03:05:29 -05:00
Aurimas Vinckevicius
d30ab9cc4f
[duplicates] DOIs are not case sensitive
2013-03-07 19:38:24 -06:00
Simon Kornblith
d291084af6
Escape backslash
2013-03-07 19:47:57 -05:00
Simon Kornblith
acd6d38a1e
Don't break when DOI is not a string
2013-03-07 19:46:37 -05:00
Dan Stillman
5f4bb73564
Always return order property from strToDate()
...
Broken in merge 995091d0
2013-03-07 18:35:54 -05:00
Dan Stillman
7f25572e49
Update submodules
2013-03-07 18:17:13 -05:00
Dan Stillman
995091d0a1
Merge branch '3.0' into 3.1
...
Conflicts:
chrome/content/zotero/xpcom/date.js
2013-03-07 18:15:03 -05:00
Dan Stillman
dec5af4d6a
Fix file sync error
2013-03-07 16:05:14 -05:00
Simon Kornblith
b5d07e1951
Use hostPort for debug messages
2013-03-07 15:59:21 -05:00
Dan Stillman
3c0e4a2ce4
Don't sync updated settings more than once
2013-03-07 15:23:15 -05:00
Dan Stillman
6ea38df873
Don't sort Year column by full date
2013-03-06 16:41:02 -05:00
Dan Stillman
398cf765f5
Zotero.File.getBinaryContentsAsync()
...
Currently unused, but we might need it at some point
2013-03-06 15:48:00 -05:00
Dan Stillman
b3cb1dbe5e
Fix tag colors in the items pane in XPI builds
2013-03-06 15:35:46 -05:00
Dan Stillman
d9197235d5
Fix whitespace (from 53322e6e
)
2013-03-06 14:32:31 -05:00
Dan Stillman
ca0ad42a6a
Fix Z pane brokenness with no titled items (from 53322e6e
)
2013-03-06 14:32:02 -05:00
Dan Stillman
de1983bf9f
Fix hover effect on unedited item tags (broken in 59913cc5
)
2013-03-06 06:22:14 -05:00
Dan Stillman
fc104e345b
Remove color swatch for last-removed tag color
2013-03-06 05:28:43 -05:00
Dan Stillman
0a7cc44481
Fix Select-All on Windows (broken by d2f028d
)
2013-03-06 04:52:27 -05:00
Simon Kornblith
578ba29cc5
Merge pull request #242 from aurimasv/date
...
Always return year as number in strToDate
2013-03-05 15:40:53 -08:00
Dan Stillman
490a176dcd
Remove whitespace from localized strings
...
Follow-up to #264
2013-03-05 18:08:26 -05:00
Dan Stillman
61aef48381
Add LTR/RTL toggle in notes
...
Initialize the note editor with the default directionality based on the current locale, and add a single button for the opposite direction that functions as a toggle. This avoids needing two buttons.
We should also add locales to TinyMCE, but we can do that separately.
Closes #157
2013-03-05 17:51:30 -05:00
Dan Stillman
5b367b6ac1
Tweaks to name-swapping menu
...
- Don't show menu if item isn't editable
- Make DOM access more robust
- Fix whitespace
2013-03-05 15:35:15 -05:00
Dan Stillman
c6afb86ba6
Put "Swap first/last names" in creator context menu root
...
And remove "Transform Name Form" menu for now
Discussed in #132
2013-03-05 15:03:01 -05:00
Dan Stillman
c68196e7b5
Merge 'gracile/fbennett-patch-authors'
2013-03-05 14:58:31 -05:00
Dan Stillman
4496c8d9e9
Merge remote-tracking branch 'aurimasv/multipleLookup'
...
Conflicts:
chrome/locale/en-US/zotero/zotero.dtd
2013-03-05 14:46:31 -05:00
Dan Stillman
8333c68f77
Fix trailing whitespace from #264
2013-03-05 03:43:50 -05:00
Dan Stillman
0c60911fd1
Tweaks to @gracile-fr's localization changes
...
Addresses #264
2013-03-05 03:43:46 -05:00
Dan Stillman
30f5679ec8
Merge remote-tracking branch 'gracile/3.1-l10n' into 3.1-l10n
2013-03-05 03:06:43 -05:00
Dan Stillman
4b46f252fd
Fix error on column header click
2013-03-04 18:25:44 -05:00
Dan Stillman
9d03697591
Merge branch '3.0' into 3.1
2013-03-04 17:02:58 -05:00
gracile-fr
eb7b301073
Localizes most of the strings marked "todo: localize"
2013-03-04 03:44:37 +01:00
Simon Kornblith
ebd8dfeb65
Don't show "undefined" in attachment progress window
2013-03-03 18:59:29 -05:00
Simon Kornblith
b2a7050dea
Fix PDF recognition
2013-03-03 17:04:37 -05:00
Dan Stillman
b0a71467ea
Fix sorting of top-level attachments in attachments column
...
Also hide the attachments column by default in the select-items dialog
2013-03-03 06:23:43 -05:00
Dan Stillman
98f62c6d3f
Switch notes column back to counts, and hide by default
...
While the attachment icon helps with on-demand download, a count is
probably more useful for notes, and between tag colors and the two
dot columns things were getting a little Dance Dance Revolution.
2013-03-03 06:23:43 -05:00
Dan Stillman
d2f028d797
Tag colors, synced settings, and (stopgap) silent DB upgrades
...
- New tag colors support, with the ability to assign colors to up to 6
tags per library. Tags with colors assigned will show up at the top of
the tag selector and can be added to (and removed from) selected items
by pressing the 1-6 keys on the keyboard. The tags will show up as
color swatches before an item's title in the items list.
- Synced settings, with Notifier triggers when they change and
accessible via the API (currently restricted on the server to
'tagColors', but available for other things upon request)
- Silent DB upgrades for backwards-compatible changes. We'll do
something fancier with async DB queries in 4.0, but this will work for
changes that can be made without breaking compatibility with older
clients, like the creation of new tables. The 'userdata' value is
capped at 76, while further increments go to 'userdata2'.
TODO:
- Try to avoid jitter when redrawing swatches
- Optimize tag color images for retina displays
- Redo attachment dots in flat style?
- Clear all colors from an item with 0 (as in Thunderbird), but I don't
think we can do this without undo
2013-03-03 06:23:25 -05:00
Aurimas Vinckevicius
f64d087926
Don't set unknown mimeTypes to "application/octet-stream"
2013-03-02 19:15:43 -06:00
Aurimas Vinckevicius
cf8a2c2635
Make sure that year is always returned as string
2013-03-02 19:08:36 -06:00
Aurimas Vinckevicius
6dd94f0a3a
When mimeType is not supplied, try to fetch it from server and redo checks for automatic snapshots.
2013-03-02 18:45:38 -06:00
Dan Stillman
aa458dcd63
Merge pull request #261 from gracile-fr/3.1-quickSearch-date
...
Include dateDecided, dateEnacted, issueDate in "Title, Creator, Year"
2013-03-01 16:31:02 -08:00
gracile-fr
58e6f5e07e
Allow searching for dateDecided (case), dateEnacted (statute), issueDate (patent) in the "Title, Creator, Year" quicksearch mode.
2013-03-02 00:29:49 +01:00
gracile-fr
d69ffd2ad8
localize sync.js
2013-03-01 18:37:25 +01:00
Simon Kornblith
68f5202eb6
Merge pull request #218 from aurimasv/mutation
...
Allow translators to re-trigger detectWeb on DOM changes
2013-03-01 09:24:32 -08:00
Simon Kornblith
42d15bf2db
Merge pull request #250 from aurimasv/parentTranslator
...
parentTranslator in detect calls
2013-03-01 09:24:19 -08:00
aurimasv
c4f008a97d
Keep track of currently loaded translator
2013-03-01 03:29:11 -06:00
gracile-fr
217929a3ea
more localization
2013-02-28 23:31:07 +01:00
gracile-fr
cc2f7836f8
localization preferences pane
2013-02-27 17:13:48 +01:00
Dan Stillman
cc39ee8144
Show the startup error in the alert
2013-02-27 04:50:51 -05:00
Dan Stillman
25563d2e04
Merge branch '3.0' into 3.1
2013-02-25 12:49:26 -05:00
Dan Stillman
f92ed125b6
Merge branch '3.0' into 3.1
...
Conflicts:
chrome/content/zotero/tinymce/note.html
chrome/content/zotero/tinymce/noteview.html
chrome/content/zotero/xpcom/zotero.js
install.rdf
update.rdf
2013-02-25 12:46:43 -05:00
aurimasv
53322e6ea0
Duplicate detection tweaks (take 2)
2013-02-24 05:48:11 -06:00
Simon Kornblith
4d2cee7824
Support journal abbreviations
...
Currently disabled by default
2013-02-24 05:57:28 -05:00
Dan Stillman
475b290600
Revert "Merge pull request #252 from aurimasv/patch-1"
...
This reverts commit d2e42bda29
, reversing
changes made to 8f263d0fd9
.
2013-02-24 03:39:14 -05:00
Aurimas Vinckevicius
42f9aaa8a1
Tweaks to duplicate detection
2013-02-24 02:17:49 -06:00
Dan Stillman
e4afbbfcea
Unprefix some CSS properties
2013-02-22 18:48:59 -05:00
Dan Stillman
937c0a3a3a
Fix error in in Error Conosle when clicking on some items
2013-02-22 18:41:49 -05:00
Dan Stillman
d68d510547
Move relative paths pref code into its own object
2013-02-21 06:24:46 -05:00
Dan Stillman
ed94d84a93
Code style/consistency updates for relative path changes
2013-02-21 06:24:46 -05:00
Dan Stillman
27a2a9c1f7
More relative path changes
...
- If attachment exists at same relative path in new base directory,
leave it alone so that it continues to work.
- If attachment doesn't exist in new base directory, revert it to an
absolute path.
- If new base directory is an ancestor or descendant of the previous
base directory, adjust relative paths below the new directory so that
they keep working.
- More dialog changes
- Select current base directory in file picker when changing directory
- Always use .persistentDescriptor instead of initWithPath(), though it
probably doesn't matter, and wrap in try/catch in case the old setting
is broken in some way.
- New function Zotero.File.directoryContains(dir, file), since
nsIFile.contains() isn't recursive
- Don't use a private Zotero.Item property from outside to force path changes.
2013-02-21 06:24:46 -05:00
Dan Stillman
f1eb356c19
Relative path support changes
...
- Changed placeholder to just "attachments:" for consistency with "storage:"
- Reworked dialog text
- Use a fancier (and undocumented) filefield XUL element for path
- A few small code tweaks
2013-02-21 06:24:46 -05:00
Dan Stillman
69cb928d6c
Move zotero.org version header pref to Advanced
...
Translator updates and broken translator reporting both make automatic
requests to zotero.org, but the version pref is just adding a header
with the Zotero version on existing requests.
2013-02-21 06:24:46 -05:00
Dan Stillman
7bc19c0cd3
Separate "Advanced" prefpane into "General" and "Files and Folders"
2013-02-21 06:24:46 -05:00
Will S
b224c5cf66
Relative path support for linked files
2013-02-21 06:24:46 -05:00
Dan Stillman
d4771c5f0d
Focus preferences window if already showing
...
Previously, if the prefwindow was behind another window, nothing would
happen when opening the preferences.
2013-02-19 16:27:16 -05:00
Dan Stillman
6e9167aef1
Fix cancel button in WebDAV verification
2013-02-19 06:10:57 -05:00
Dan Stillman
6c28e61032
More file sync fixes
2013-02-19 05:55:42 -05:00
Dan Stillman
918cb2ef1b
Fix focusing of WebDAV password field on verification auth failure
2013-02-19 05:01:37 -05:00
Dan Stillman
dba00c7cea
Don't Base64-encode filenames in ZIP files
...
Existing encoded filenames will still be read correctly
2013-02-18 23:47:49 -05:00
Dan Stillman
80e7f1c6c1
Various file sync fixes
2013-02-18 22:41:44 -05:00
Dan Stillman
bc800ddc30
Fix WebDAV verification feedback
2013-02-18 22:41:44 -05:00
Simon Kornblith
d14c3fcc92
Avoid importing Q into page scope
2013-02-18 21:40:36 -05:00
Simon Kornblith
ab2cbb0808
Avoid some unnecessary citation updates
2013-02-18 17:21:06 -05:00
Simon Kornblith
6d095b5025
Revert "Load as JS 1.8, to avoid throwing on "for each" for now"
...
This reverts commit b938ce5fdd
.
Not necessary since Mozilla bug 830665 is fixed
2013-02-18 16:16:18 -05:00
Simon Kornblith
d1225c44f7
Revert "Add type="application/javascript;version=1.8" to all JS script tags (for now)"
...
This reverts commit 35b1c16858
.
Not necessary since Mozilla bug 830665 is fixed
2013-02-18 16:15:44 -05:00
Simon Kornblith
6b2bbf80e1
Fix things so that they (hopefully) don't break under latest Q
2013-02-18 16:06:31 -05:00
Dan Stillman
8f5145f555
Version bump
2013-02-18 05:02:25 -05:00
Dan Stillman
82a8d9e2ae
Fix items list freezing in some situations
2013-02-18 04:59:16 -05:00
Dan Stillman
81f67d0ef9
Fix Firefox charset warning displaying note editor
2013-02-18 03:50:24 -05:00
aurimasv
63b9c9fd36
And also don't leave behind unnecessary properties.
2013-02-18 01:47:45 -06:00
aurimasv
db8b8a9662
Do not overwrite set translators
2013-02-18 01:42:08 -06:00
Dan Stillman
ccbccef597
Update versions
2013-02-18 02:37:03 -05:00
Dan Stillman
51365924a3
Accept HTTP headers in Zotero.HTTP.promise() 'options' object
2013-02-18 02:33:13 -05:00
aurimasv
72d3b8b711
Set this.translator for "detect" calls so that parentTranslator is set correctly
2013-02-18 00:16:44 -06:00
Simon Kornblith
e63364c788
Merge branch '3.0'
2013-02-18 01:03:15 -05:00
Simon Kornblith
376db8d9f0
Ensure that we treat 403 as a failure code
2013-02-18 01:02:54 -05:00
Simon Kornblith
755f2bf6f9
Set reasonable min-width and min-height for Standalone
2013-02-17 16:44:56 -05:00
Dan Stillman
ee16d96f92
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/preferences/preferences.xul
chrome/content/zotero/xpcom/storage/webdav.js
chrome/locale/gl-ES/zotero/zotero.dtd
chrome/locale/gl-ES/zotero/zotero.properties
chrome/locale/zh-CN/zotero/zotero.dtd
chrome/locale/zh-CN/zotero/zotero.properties
install.rdf
update.rdf
2013-02-16 05:07:59 -05:00
aurimasv
c279aef6cd
Store username and url inside correct preference keys
2013-02-10 03:17:12 -06:00
Dan Stillman
331a7cef7e
Fix child item duplication (UI-only) when dragging between parents
2013-02-08 02:20:53 -05:00
Dan Stillman
f941c8b6bc
Update repotime, submodules, and versions
2013-02-08 01:49:31 -05:00
Dan Stillman
be48ce06b6
Allow Verify Server to pass if uploaded file doesn't exist
...
With any storage service backed by S3 or another eventually consistent
storage service, there will be a short delay between when files
are uploaded and when they're available, so show a more helpful message
and allow the verification to pass. (Any IIS servers configured not to
serve extensionless files will also fail, but that's probably much
rarer at this point.)
We should also just retry the request on a 404, but that will have to
happen on master.
Addresses #115
2013-02-08 00:57:20 -05:00
Dan Stillman
54af603989
Fix copying of title between book and bookTitle
2013-02-08 00:42:45 -05:00
Dan Stillman
e157d8bc57
Fix sync error downloading new item with related item
2013-02-07 17:37:04 -05:00
Dan Stillman
38cee7e625
Update repotime and submodules
2013-02-07 01:07:03 -05:00
Simon Kornblith
548a6db761
Merge pull request #237 from aurimasv/web-title
...
Consider type-specific "title" alternatives for validating web translations
2013-02-06 18:12:30 -08:00
gracile-fr
81186be076
-Display the Year for types which don't have a proper "date" field (case, patent, statute) in the item description box and in the bubble. (includeBaseMapped set to true in item.getField).
...
-Display the Title for types which don't have a proper "title" field (case, email, statute) in the bubble (use getDisplayTitle).
2013-02-07 00:10:49 +01:00
Simon Kornblith
951ea82cb6
Update to citeproc-js 1.0.425
2013-02-06 01:51:07 -05:00
Simon Kornblith
5afeb9d721
Update to citeproc-js 1.0.425
2013-02-06 01:50:38 -05:00
Dan Stillman
0061ff3ca5
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/preferences/preferences.xul
chrome/content/zotero/xpcom/data/item.js
chrome/content/zotero/xpcom/utilities_translate.js
2013-02-04 07:02:38 -05:00
Dan Stillman
e2ea7532ba
Fixes #47 , Dragging attachment to item removes search results
2013-02-04 04:08:34 -05:00
Dan Stillman
194343cb0f
Don't update item when leaving an empty field
...
It looks like this has been happening for at least all of 3.0, including
when tabbing between empty fields.
2013-02-04 03:40:57 -05:00
Dan Stillman
1b1df60725
Make X-Zotero-Version and RIS/Refer prefs Firefox-only
2013-02-04 02:05:04 -05:00
Dan Stillman
650c393507
Expose launchNonNativeFiles hidden pref in Firefox
...
"Open PDFs and other files within Firefox when possible"
2013-02-04 01:56:29 -05:00
Dan Stillman
2cd45be191
Avoid unnecessary UI updates in various situations
...
beginUpdateBatch() doesn't suppress select events, so various batch
operations were triggering lots of extra selects.
This hopefully fixes the long hang some people were seeing when making
changes with an open quick search (which I was only able to reproduce in
Standalone).
2013-02-04 00:06:27 -05:00
Dan Stillman
dfdfbf1258
Properly clear temp DB tables from items list generation
2013-02-03 06:12:23 -05:00
Dan Stillman
2a0c95d0ad
Cache list of an item's child attachments/notes
2013-02-03 06:10:58 -05:00
Dan Stillman
190fe8ba05
Don't leak a hidden browser for every single imported text/HTML file
...
It is possible we have been doing this for a very long time.
(Only local imports were affected, not snapshot saving.)
2013-02-03 02:55:30 -05:00
gracile-fr
f0ad251097
Localization of hardcoded "Quick Format Citation" dialog title
2013-02-02 15:31:41 +01:00
Dan Stillman
1a0849e489
Fix and change extraData for item change notifications
...
- Some item changes were putting data in the wrong form into extraData,
which was keeping it from being passed through in notifications.
- For item modifications, set a 'changed' object, keyed by itemID, with
just the fields that changed as keys and their old values. For
deletes, keep the 'old' object for now, since sync relies on it.
- Remove item.serialize() for all item changes except deletions, which
should speed up writes (and which will leave extraData empty for some
changes).
- Currently only item fields, creators, related items ('related'), and
'parentItem' are added to 'changed'.
Closes #220
2013-02-02 05:55:38 -05:00
Simon Kornblith
b08e52363b
Merge pull request #229 from aurimasv/args
...
Add a way for translators to pass arguments to callbacks for HTTP requests
2013-01-31 20:00:53 -08:00
Aurimas Vinckevicius
6b878ba9f1
Delete hidden browser even if processDocuments exception handler does not fail.
2013-01-31 19:53:28 -06:00
aurimasv
eed6d2f22c
Pass responseCharset to subsequent doGet calls
2013-01-31 19:42:06 -06:00
Dan Stillman
13a2bb99e1
Tweak patch from 41de387
to keep file style consistent
2013-01-31 17:45:55 -05:00
Aurimas Vinckevicius
41de3876d8
Fall back to link attachments for opening item
2013-01-31 16:17:53 -06:00
Dan Stillman
0eb4db7c33
Merge pull request #235 from aurimasv/webdav
...
Tweaks to WebDAV preferences
2013-01-30 23:37:45 -08:00
Simon Kornblith
6de5cb4ab1
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/recognizePDF.js
chrome/content/zotero/zoteroPane.js
2013-01-31 01:51:54 -05:00
Simon Kornblith
6dd420458f
Detect CAPTCHA
2013-01-29 17:45:57 -05:00
aurimasv
b919d27d1e
Allow web translators to monitor DOM nodes for changes in order to re-trigger detectWeb
2013-01-29 03:25:05 -06:00
Dan Stillman
7cd3479094
Use eraseByURI() instead of eraseByURIPrefix(), and fix params
2013-01-29 04:03:56 -05:00
Dan Stillman
56bb5b17ad
Better MIME type detection of Office files
...
For at least one Windows user, a .docx file was being interpreted as
text/plain. Instead of relying entirely on the system, hard-code some
extensions we know. (More can be added.)
Also:
- Determine MIME type when opening files instead of using stored type,
since we might have gotten smarter
2013-01-28 22:44:02 -05:00
Simon Kornblith
64a40cda69
Fix first run (broken by d64379290c
)
2013-01-28 18:41:32 -05:00
Simon Kornblith
2c04b62a9e
Increase use of _translatorInfo to avoid breaking translation-server
2013-01-28 16:24:29 -05:00
Simon Kornblith
a0f1bbf8a6
Fix code for determining whether to use defaultView as sandbox scope
2013-01-28 15:58:35 -05:00
Simon Kornblith
6520a71788
Merge pull request #236 from aurimasv/generateDiff
...
[Zotero_TranslatorTester] Move _generateDiff and _compare out of prototype
2013-01-27 22:33:50 -08:00
aurimasv
9c7d3c3c4e
Consider type-specific "title" alternatives for validating web translations
2013-01-27 05:27:36 -06:00
aurimasv
baf772741b
[Zotero_TranslatorTester] Move _generateDiff and _compare out of prototype
2013-01-27 02:34:08 -06:00
aurimasv
7e808b9997
Tweaks to WebDAV preferences
2013-01-27 01:40:02 -06:00
Simon Kornblith
0417a1910d
Detect CAPTCHA and stop trying to hit Google Scholar
2013-01-26 02:36:23 -05:00
Simon Kornblith
6f31a3d31a
Limit Google Scholar queries to one per 1.5 seconds
...
Hopefully, this will stop our users from getting locked out.
2013-01-26 02:06:00 -05:00
Simon Kornblith
f9978e8f02
Update citeproc-js to 1.0.422
2013-01-26 01:49:20 -05:00
Simon Kornblith
1c3890e837
Merge branch '3.0'
2013-01-26 00:29:08 -05:00
Simon Kornblith
22eea572e2
Merge pull request #234 from aurimasv/cleanISSN
...
[Utilities] add cleanISSN
2013-01-25 19:47:25 -08:00
Simon Kornblith
5465c885e5
Tweaks to getHiddenPref()
...
- Remove references to configOptions, displayOptions, and hiddenPrefs
from connector/translator.js. We can't rely on them to be set in
Zotero.Translator since https://repo.zotero.org/repo/metadata doesn't
provide them, but we shouldn't need them until we get the translator
code anyway.
- Don't serve configOptions, displayOptions, and hiddenPrefs from Zotero
Standalone server. There's no point in serving anything that
https://repo.zotero.org/repo/metadata doesn't.
- Alias the translator metadata loaded into the sandbox as
Zotero.Translate._translatorInfo. Use this to get configOptions and
hiddenPrefs.
- "v" browserSupport indicates that a translator can be run through
translation-server, not that translation-server is required.
This obviates the need for zotero/zotero-connectors#4 .
2013-01-25 22:40:14 -05:00
aurimasv
0c38ce03ac
Allow translators to define translator-specific hidden preferences.
2013-01-25 22:40:14 -05:00
Aurimas Vinckevicius
1f08592d0e
[Utilities] add cleanISSN
2013-01-25 21:25:04 -06:00
Simon Kornblith
bd688f333c
Merge branch '3.0'
2013-01-22 23:05:15 -05:00
Dan Stillman
5b34dce40f
Remove "Try to override conflicting shortcuts" pref
...
I probably should have removed this years ago in 292c357e
when I made
the shortcut keys only work within the Zotero pane.
2013-01-22 18:38:00 -05:00
Simon Kornblith
39e8b226cb
Revert "Don't refresh item list upon tag selector actions unless the action changes the item list."
...
This reverts commit 7f732f56df
.
2013-01-22 17:25:50 -05:00
Simon Kornblith
b3640a8ae1
Recognize multiple items properly
2013-01-21 23:31:52 -05:00
Simon Kornblith
0e79cf247c
Only set timeout to 50 if undefined
2013-01-21 13:29:26 -05:00
Simon Kornblith
502f814fc4
Use Zotero.wait() to move progress indicator
...
This may help with #230
2013-01-21 04:07:07 -05:00
Simon Kornblith
7c24c27fb3
Merge pull request #231 from aurimasv/defaultHandlers
...
Set default handlers if they are not set
2013-01-20 23:20:46 -08:00
aurimasv
ee33da22e8
Set default handlers if they are not set (even if some other handlers are set).
2013-01-21 01:11:58 -06:00
Simon Kornblith
93cdb72e61
Merge branch '3.0'
2013-01-21 02:10:39 -05:00
Simon Kornblith
99e7235fe1
Fix source files to be UTF-8
2013-01-21 02:10:02 -05:00
Simon Kornblith
dbf2bc265f
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/recognizePDF.js
chrome/content/zotero/xpcom/utilities.js
2013-01-21 02:01:08 -05:00
Simon Kornblith
94619403ca
Tweak loading process
2013-01-21 01:58:01 -05:00
Simon Kornblith
7ff11fdebb
Merge remote-tracking branch 'aurimasv/xregexp' into 3.0
2013-01-21 01:48:18 -05:00
Simon Kornblith
28d83faa64
Use 100 lines
2013-01-21 01:05:56 -05:00
Simon Kornblith
19f5aebbcb
Add missing "new"
2013-01-21 01:05:18 -05:00
Simon Kornblith
91c3374d6b
Merge branch '3.0' and modify recognizePDF.js to use promises
...
Conflicts:
chrome/content/zotero/recognizePDF.js
install.rdf
update.rdf
2013-01-21 01:04:05 -05:00
Dan Stillman
9c80e9ab93
Fix sync error (since beaaf8fc
)
2013-01-20 14:46:07 -05:00
Simon Kornblith
732c785af4
Merge pull request #227 from aurimasv/complete
...
Complete
2013-01-19 11:51:19 -08:00
aurimasv
869d0ce90a
Don't report web translator errors if there is a parent translator
2013-01-19 01:50:48 -06:00
aurimasv
1d1b825c62
Properly handle cases where no translator is specified
2013-01-19 01:50:47 -06:00
Simon Kornblith
03ed7913a6
Merge pull request #226 from aurimasv/processDocuments
...
Eliminate race condition during processDocuments call with multiple URLs
2013-01-18 16:22:41 -08:00
Simon Kornblith
a5dc9d9647
Fix III host code
2013-01-18 18:58:34 -05:00
Simon Kornblith
4ca0e6408c
Fix III host code
2013-01-18 18:58:11 -05:00
aurimasv
13c3e5427e
Eliminate race condition during processDocuments call with multiple URLs
2013-01-18 15:02:46 -06:00
Dan Stillman
7f8de9c5dd
Remove E4X from ZFS and WebDAV, though both need more testing
2013-01-17 04:06:11 -05:00
Simon Kornblith
5ecfb72308
Kill E4X in locateManager
2013-01-15 04:19:04 -05:00
Dan Stillman
0c442dc1f6
Remove E4X in tag-fixing sync code
2013-01-15 04:02:39 -05:00
Dan Stillman
596c6da3ee
Remove Commons code, which contains E4X
...
Some items pane code is still in place, since it's a decent example of
dynamic items pane loading.
2013-01-15 03:23:37 -05:00
Simon Kornblith
35b1c16858
Add type="application/javascript;version=1.8" to all JS script tags (for now)
2013-01-15 03:22:00 -05:00
Simon Kornblith
0f957d6e99
Fix code that never threw a parse error before
2013-01-15 02:53:45 -05:00
Simon Kornblith
b938ce5fdd
Load as JS 1.8, to avoid throwing on "for each" for now
2013-01-15 02:51:55 -05:00
Dan Stillman
f24091626d
Update version and maxVersion
2013-01-14 20:30:46 -05:00
Dan Stillman
2562e64e82
Strip control characters when displaying child notes as well
2013-01-14 20:27:25 -05:00
Dan Stillman
4ea05ce091
Strip control characters when inserting notes and displaying reports
2013-01-14 16:01:02 -05:00
Simon Kornblith
620b8abb2c
Merge pull request #222 from aurimasv/deepCopy
...
[Utilities] Deep copy `null` as `null`. Display object type in varDump
2013-01-13 22:42:21 -08:00
aurimasv
9d8869cd33
[Utilities] Deep copy null
as null
. Display object type in varDump
2013-01-14 00:31:00 -06:00
Dan Stillman
bc12d92639
Make date parts indicator match order in date itself
...
This may not work properly for all inputs, but it worked with everything I tried. (This need unit tests once we have a functional unit-testing framework again.)
2013-01-11 22:31:27 -05:00
Simon Kornblith
f14b1f250e
Make clear that save to server code is non-Firefox only
2013-01-08 19:28:14 -05:00
aurimasv
70c1b1a8c4
Remove unnecessary character classes. Add some useful ones.
2013-01-06 04:27:28 -06:00
Dan Stillman
7a8e06cac2
Context-menu item delete from library root didn't show a prompt
2013-01-05 16:35:33 -05:00
Dan Stillman
d42b741756
Add lowercase 'j' to randomString() (not used for keys)
2013-01-04 14:55:28 -05:00
Dan Stillman
beaaf8fc6b
Accept two missing letters in object keys (but don't use them yet)
...
Also:
- 'T' doesn't come after 'X' (but does probably appear disproportionally
in existing object keys)
This commit has been brought to you by the letters 'L' and 'Y'.
2013-01-04 13:00:26 -05:00
Simon Kornblith
5e6c90d873
Merge pull request #221 from aurimasv/misc
...
Misc changes
2013-01-01 19:05:46 -08:00
aurimasv
6c2b8e1688
Minor documentation update
2013-01-01 21:03:32 -06:00
aurimasv
ea6a1098a6
[recognizePDF] Restructure file
2012-12-22 10:51:12 -06:00
aurimasv
74c9967b95
Tweak recognizePDF to avoid false positives: only count lines with more than 3 words (since we drop first and last later) as cleaned lines, increase number of pages read and number of lines away from median length as good lines (due to more stringent selection criteria), do not attempt to query google with a short query if we run out of lines, try to pick lines for a query that are not next to each other (to avoid finding articles that quote the article we're looking for)
2012-12-21 14:56:08 -06:00
Dan Stillman
11a83e5df3
Don't count as duplicates if DOI/ISBN don't match or year is off by > 1
...
Fixes #214
2012-12-21 02:10:24 -05:00
Dan Stillman
a3f7f97e02
Fix broken Note/Citation option in "Create Bibiography"
2012-12-20 01:21:36 -05:00
Simon Kornblith
45e28cf769
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/recognizePDF.js
chrome/content/zotero/xpcom/cite.js
2012-12-19 23:16:56 -05:00
Simon Kornblith
8b37031174
Merge pull request #215 from aurimasv/typo
...
Fix typo in cookie sandbox.
2012-12-19 20:11:24 -08:00
aurimasv
042e2d7fbc
Fix typo in cookie sandbox. i-- moved for clarity.
2012-12-19 21:15:58 -06:00
Simon Kornblith
040fa31887
Fix issue reported at http://forums.zotero.org/discussion/26922/
...
Since we still use E4X, this is a hack to make sure the span tag has a separate close tag.
2012-12-19 21:01:20 -05:00
Simon Kornblith
69ce6b7d1a
Fix issue reported at http://forums.zotero.org/discussion/26922/
...
In HTML, <span/> counts as <span>, not as <span></span>. We now use the HTML parser and
serializer rather than the XML serializer to create empty span tags.
Separate fix coming for 3.0 branch
2012-12-19 20:54:09 -05:00
Simon Kornblith
87199f6011
Merge pull request #191 from aurimasv/preselect
...
Allow translators to pre-select items in the "multiple" select item dialog.
2012-12-19 16:50:37 -08:00
Simon Kornblith
75999bcc66
Merge pull request #206 from aurimasv/ads
...
Use the last version of the page for translation.
2012-12-19 16:48:23 -08:00
aurimasv
b1cc6e260e
Load XRegExp into Zotero.XRegExp and Zotero.Utilities.XRegExp and make it accessible from translators.
2012-12-19 06:36:08 -06:00
aurimasv
4b13987c7e
Add XRegExp from d06eff50f8/src
2012-12-19 06:33:13 -06:00
aurimasv
68657634ec
Don't import duplicate identifiers
2012-12-12 00:21:47 -06:00
aurimasv
a64fa35ff2
Some tweaks to ISBN discovery
2012-12-12 00:21:47 -06:00
aurimasv
1ca0eb3965
Restructure multiline toggling. Move multiline progress bar next to the search button.
2012-12-12 00:21:46 -06:00
aurimasv
1b9c89fd59
Add support for multiple identifier lookup to the magic wand tool. Enable shift+enter for submitting input in multiline mode. Use shift+enter in single line mode to convert to multiline
2012-12-12 00:21:46 -06:00
Simon Kornblith
55d9d4ba51
Merge pull request #210 from aurimasv/wdp-css
...
[WebPageDump] Don't crash when @import stylesheets are null
2012-12-11 21:30:29 -08:00
aurimasv
524af03570
Make cleanISBN less aggressive. Should yield fewer false-positives.
2012-12-11 22:55:43 -06:00
aurimasv
4b09137402
Call complete() when no translators are set. Don't fail when a translator returns without throwing an error or completing an item.
2012-12-11 22:55:43 -06:00
Dan Stillman
4c58f248d1
Fix getTotalFileSize() error for file sync downloads
...
Also fix 'undefined' in error panel for some errors
2012-12-11 16:46:54 -05:00
Dan Stillman
bb93f019dc
File sync overhaul
...
- New promise-based architecture
- Library-specific file sync queues, allowing other libraries to
continue if there's an error in one library
- Library-specific sync errors, with error icons next to each library
- Changed file uploading in on-demand download mode, which had been missing
- On-demand download progress indicator in middle pane
- More accurate progress indicator
- Various tweaks and bug fixes
- Various future tweaks and bug fixes
2012-12-11 15:16:40 -05:00
Dan Stillman
4c8431ca7d
Generalize Zotero.HTTP.promise() for other methods
...
Also make success codes configurable with an options parameter
2012-12-11 03:35:08 -05:00
Dan Stillman
1a0735b381
Disable debug output on drag over tag
2012-12-11 03:30:48 -05:00
Dan Stillman
0e3d68bdd9
Fix debug output password hiding for HTTP.promise(), and add 'debug' option
...
'debug' option shows response text
The status code is also now displayed for 20x even without 'debug'.
2012-12-10 22:07:06 -05:00
aurimasv
07bcccd92e
[WebPageDump] Don't crash when @import stylesheets are null (caused by adblock)
2012-12-10 20:07:56 -06:00
Simon Kornblith
711b75ee66
Fix exceptions in integration.js
2012-12-06 21:23:13 -05:00
Simon Kornblith
b63886d37d
Only use mappings if mapping target exists
2012-12-06 21:22:56 -05:00
Dan Stillman
73dd60f2c1
Automatic style updating for all installed styles
2012-12-06 21:05:50 -05:00
Simon Kornblith
435b1d7bd8
Merge pull request #208 from aurimasv/PDF-doiScan
...
[PDF metadata retrieval] Fix broken DOI scanning
2012-12-01 17:08:38 -08:00
aurimasv
ab564ed7ca
[PDF metadata retrieval] Fix broken DOI scanning
2012-12-01 18:33:35 -06:00
aurimasv
7bf31afa8c
Pass url to detect function
2012-12-01 01:38:49 -06:00
aurimasv
5a4b280dad
Use the last version of the page for translation.
2012-11-27 16:33:49 -06:00
Simon Kornblith
2e4a218575
Fix cross-domain wrapping under most circumstances.
...
Cross-domain wrapping was previously broken when a page loaded a page from a different SOP, which then loaded another page. Thanks to @aurimasv for debugging this. It's still broken if one page sets document.domain and another does not, since we should wrap in this case but we won't.
Fixes #202
2012-11-25 16:26:09 -05:00
aurimasv
63f1dd163d
Make varDump more resilient to property access errors
2012-11-25 16:22:46 -05:00
Simon Kornblith
428ddbab36
Fix handling of overrides and remove debug code
...
Addresses #202
2012-11-25 16:19:11 -05:00
Simon Kornblith
b1a70bff3d
Merge branch '3.0'
2012-11-25 16:04:39 -05:00
Simon Kornblith
5f66482537
Ensure arrays exist in ZU.itemToExportFormat()
2012-11-25 16:04:20 -05:00
Dan Stillman
4caae896cf
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/attachments.js
chrome/content/zotero/xpcom/translation/translate_item.js
install.rdf
update.rdf
2012-11-23 01:49:32 -05:00
Dan Stillman
939719866f
Fixes #199 , Don't lowercase snapshot filenames
...
@aurimasv, let me know if this looks OK to you
2012-11-22 22:51:10 -05:00
Simon Kornblith
a57dd18afa
Use cookieSandbox when saving snapshots
2012-11-22 16:59:13 -05:00
Simon Kornblith
520309bfa4
Fix typo
2012-11-22 16:59:13 -05:00
Dan Stillman
36c5b57449
Update versions
2012-11-22 16:40:23 -05:00
Simon Kornblith
673962e999
Log errors thrown by calls to Zotero.Attachments
2012-11-22 16:38:03 -05:00
Simon Kornblith
11d9c1df04
Fix issue reported by Aurimas at http://forums.zotero.org/discussion/25058/?Focus=140039#Comment_140039 (broken by https://bugzilla.mozilla.org/show_bug.cgi?id=761620 )
2012-11-22 16:35:18 -05:00
Simon Kornblith
09e036e6fa
Fix XMLSerializer from translators
2012-11-22 14:10:53 -05:00
Dan Stillman
02aca0660a
Merge pull request #194 from aurimasv/shortenFN
...
Shorten long file names. Closes #8
2012-11-22 10:14:24 -08:00
Dan Stillman
9665e67042
Fix reports for notes with " " displaying as HTML markup
...
Reports are now always served as text/html
2012-11-21 19:42:47 -05:00
Dan Stillman
a56422be2c
Fix for HTML markup showing up in reports (since 21bf3000
)
2012-11-21 11:56:29 -05:00
Dan Stillman
1208aea99b
Fix double-click on attachments/notes when viewOnDoubleClick is false
2012-11-20 05:34:38 -05:00
Dan Stillman
ac195d2a5e
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/integration/quickFormat.js
chrome/content/zotero/xpcom/attachments.js
chrome/content/zotero/xpcom/utilities.js
install.rdf
styles
update.rdf
2012-11-20 03:22:49 -05:00
Dan Stillman
a0f0d52995
Fix infinite spinning on login error in 3.0.9 (from ade715ff0
)
2012-11-19 00:23:16 -05:00
Dan Stillman
4eb2fae0b3
Potential optimization for itemTags lookup
2012-11-18 23:36:22 -05:00
Dan Stillman
4662c5054c
Update submodules and repotime
2012-11-18 23:27:04 -05:00
Dan Stillman
711e180f8f
Update version
2012-11-18 23:25:58 -05:00
Simon Kornblith
a67cd6afca
Update to citeproc-js 1.0.409
2012-11-18 23:24:30 -05:00
Dan Stillman
21c0408800
Resend tags requested by server to fix tag issue for some libraries
2012-11-18 22:39:08 -05:00
Dan Stillman
231bc38c43
Fix invalid local Date Modified updates in some sync situations
...
(This isn't new in 3.0.9.)
2012-11-17 06:29:40 -05:00
aurimasv
0a6a8dee6d
Fix typo
2012-11-16 02:33:09 -06:00
Simon Kornblith
a0243a24d9
Fix QuickFormat sizing
2012-11-15 16:06:38 -05:00
adam3smith
f6e4e5f938
add field mappings corresponding to CSL 1.0.1 release
2012-11-15 15:13:25 -05:00
Simon Kornblith
12ff659e9f
Workaround for minimum Firefox window height of 60 px
2012-11-14 02:17:41 -05:00
aurimasv
fe04d60981
Shorten long file names. Closes #8
2012-11-13 23:09:17 -06:00
Dan Stillman
e6b4dde472
Debugging for non-PDF PDF download
2012-11-13 05:09:09 -05:00
Dan Stillman
ae39584c68
Notes deleted via "-" button didn't go to trash
2012-11-12 20:25:46 -05:00
Dan Stillman
5586b409e9
Merge pull request #196 from aurimasv/fixRelLink
...
Remove 'about:blank?' from all links
2012-11-12 15:03:56 -08:00
aurimasv
98688c24e5
Remove 'about:blank?' from all links
2012-11-12 16:47:18 -06:00
Simon Kornblith
585e5981f6
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/storage/webdav.js
chrome/content/zotero/xpcom/storage/zfs.js
2012-11-12 16:04:39 -05:00
Simon Kornblith
c7e811198f
Include disabled extensions, but note that they are disabled and sort them to the end
2012-11-12 15:39:40 -05:00
Simon Kornblith
89361851c0
Don't list disabled extensions in error reports
2012-11-12 15:26:38 -05:00
aurimasv
b9cc4496b9
Fix translator tester
2012-11-12 11:43:51 -06:00
aurimasv
9c92f50fab
Avoid potential exceptions
2012-11-12 11:12:39 -06:00
Simon Kornblith
49cbb23034
Merge pull request #190 from aurimasv/isbn-util
...
Add cleanISBN to utility functions
2012-11-12 05:52:18 -08:00
Simon Kornblith
829edbdffc
Import Services.jsm
...
Fixes #192 , DOI lookup is broken on 3.0 branch
2012-11-12 08:48:26 -05:00
aurimasv
fed9fe597d
Allow translators to pre-select items in the "multiple" select item dialog.
2012-11-12 03:26:11 -06:00
Simon Kornblith
42215d0441
More saveURI fixes
2012-11-12 01:10:32 -05:00
Simon Kornblith
b6fee9a357
Fix for Firefox 18+
2012-11-12 00:45:35 -05:00
Simon Kornblith
47a5aafda3
Remap attachment URLs so that they are saved through the proxy
2012-11-12 00:42:41 -05:00
Simon Kornblith
f6c3f58bc2
Merge commit '920df48d1da4f9bf33bf1a01c60a2131e589d29c' into 3.0
2012-11-12 00:09:23 -05:00
aurimasv
48b513640d
Add cleanISBN to utility functions
2012-11-11 18:15:44 -06:00
Simon Kornblith
d64379290c
Improve handling of corrupt translator data, and add support for III proxies
2012-11-11 17:59:41 -05:00
Simon Kornblith
bd367dcd85
Merge branch '3.0'
2012-11-11 17:15:30 -05:00
Simon Kornblith
a4f4691b04
Fix http://forums.zotero.org/discussion/23702/chrome-connector-hangs-on-some-pages-when-invoked-from-the-save-zotero-snapshot-context-menu/
2012-11-11 17:14:19 -05:00
aurimasv
920df48d1d
Make sure that absolutely all files that are being downloaded/written to are registered and their file names do not change.
2012-11-11 02:21:45 -06:00
Dan Stillman
61c36b0523
Add ZoteroPaneOpen command line argument to open Zotero automatically
2012-11-10 19:38:22 -05:00
Simon Kornblith
6d48b9224d
Update to citeproc-js 1.0.407
2012-11-10 13:52:30 -05:00
aurimasv
3fc4bc2efe
Pass webpagedump through JSBeutifier
2012-11-08 16:52:31 -06:00
aurimasv
f5d759b336
Fix web page dump when pages contain images/objects with same name as the web page.
2012-11-08 16:49:13 -06:00
Simon Kornblith
2353e73bf2
Save attachments that have snapshot=false when automaticSnapshots and downloadAssociatedFiles are false. This behavior might be confusing, but it's probably the best option given that links are usually important metadata.
2012-11-08 11:37:35 -05:00
Simon Kornblith
73f775950d
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/cite.js
2012-11-08 09:40:18 -05:00
Simon Kornblith
6b66dbfafa
Another tweak to processDocuments
2012-11-07 23:52:30 -05:00
Simon Kornblith
7754d530da
Use global counter for hidden browsers
2012-11-07 17:17:16 -05:00
Simon Kornblith
3c52b422fa
Fix missing parens
2012-11-07 15:15:56 -05:00
Simon Kornblith
b3ab9a96dc
Tweak to processDocuments
2012-11-07 12:55:27 -05:00
Simon Kornblith
5305f37ab4
Tweaks to processDocuments
2012-11-06 02:51:34 -05:00
Simon Kornblith
39c1024461
Copy citation list to clipboard, instead of multiple item citation
2012-11-06 01:35:36 -05:00
Dan Stillman
6220bc39f5
"Citations"/"Notes" instead of "Citation"/"Note" in right-click dialog
2012-11-06 01:16:03 -05:00
Simon Kornblith
cdd637f3ec
Save citation lists instead of multiple item citations
2012-11-06 01:00:17 -05:00
Simon Kornblith
b3237ae5e5
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/http.js
chrome/content/zotero/xpcom/translation/translate_firefox.js
2012-11-06 00:50:11 -05:00
Simon Kornblith
4b80a52106
Use separate hiddenBrowsers for each request in Zotero.HTTP.processDocuments
2012-11-06 00:48:26 -05:00
Simon Kornblith
32bfb0e407
Merge pull request #186 from aurimasv/attach
...
Fix searching for non-existing attachments with relative paths
2012-11-03 17:48:03 -07:00
Simon Kornblith
067e5ce5b4
Another attempt at fixing Firefox 17 sandboxing issues
2012-11-03 18:34:12 -04:00
Dan Stillman
dfd0a7ad83
Add option to skip tags when copying items between libraries
2012-11-02 05:45:26 -04:00
Dan Stillman
3a9483070e
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/tinymce/plugins/paste/editor_plugin.js
chrome/content/zotero/xpcom/translation/translate_firefox.js
chrome/content/zotero/zoteroPane.js
install.rdf
update.rdf
2012-11-01 22:14:08 -04:00
Dan Stillman
079b767974
Closes #44 , Allow generating citations via right-click
...
Currently generates multi-source citations for multiple items for note
styles, but a list of note citations might be better.
Also, context menu option is unchanged, since it becomes very long if
you add "Citation/Bibliography".
2012-11-01 21:47:10 -04:00
Simon Kornblith
2139603ae1
Fix detection of newer versions of pdf.js
2012-11-01 15:45:20 -04:00
aurimasv
3f43e0f170
Fix searching for non-existing attachments with relative paths
2012-11-01 04:50:24 -05:00
Dan Stillman
c9beb5b45a
Fix "Paste" menu item in Add Item By Identifier context menu
...
Fixes #58
2012-11-01 04:23:43 -04:00
Dan Stillman
9d7cc849cd
Fixes #151 , Allow Tab and Shift-Tab into and out of notes
2012-11-01 03:32:07 -04:00
Dan Stillman
0d0585b217
Update versions
2012-11-01 01:59:09 -04:00
Dan Stillman
cdbb4c28f6
Closes #49 , Open attachments with Return/Enter
...
Standard Firefox modifier keys also work
2012-11-01 01:53:31 -04:00
Dan Stillman
81bfb5c327
Keep New Collection button enabled on Trash if library is editable
...
Fixes #28
2012-10-31 05:22:58 -04:00
Dan Stillman
21bf3000cb
Better method for determining valid XHTML notes in reports
...
Previously looked for <p> tag. Now just check if it's valid XML.
2012-10-31 04:38:45 -04:00
Dan Stillman
aa0a3544bd
Fix XPI note loading in Fx17 due to navigator.userAgent error
2012-10-30 04:46:19 -04:00
Dan Stillman
2fc4ca59bd
Fix XPI note loading in Fx17 due to navigator.userAgent error
2012-10-30 04:40:12 -04:00
Dan Stillman
d7ce389201
Compatibility updates for TinyMCE 3.5.7
...
3.5.7 seems to init before the DOMContentLoaded we were relying on
previously to add the init function gets called, so instead call a
fixed init function from the HTML that we insert before the load
from chrome.
2012-10-30 04:40:12 -04:00
Dan Stillman
87d90e59d9
Update TinyMCE to 3.5.7
2012-10-30 04:40:12 -04:00
Simon Kornblith
e806925844
Fix passing all arrays to sandbox
2012-10-30 02:06:06 -04:00
Simon Kornblith
22c083fe6b
Revert "Fix RDF for Firefox 17"
...
This reverts commit 7022379a87
.
2012-10-30 02:01:45 -04:00
Simon Kornblith
7022379a87
Fix RDF for Firefox 17
2012-10-29 19:31:10 -04:00
Simon Kornblith
1bc98edba4
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/translation/translate_firefox.js
install.rdf
update.rdf
2012-10-29 18:04:42 -04:00
Simon Kornblith
52f4bd8f67
Fix processDocuments for Fx 17
2012-10-29 18:02:04 -04:00
Simon Kornblith
7d2c4e6b2d
Fix DOMParser for Fx 17, and set minVersion to Fx 15
2012-10-29 18:01:23 -04:00
Simon Kornblith
78dd74f391
Remove corruption check, since it's no longer necessary and likely to be wrong
2012-10-29 17:32:51 -04:00
Dan Stillman
ef7a3f0121
Update locales submodule
2012-10-29 17:15:54 -04:00
Simon Kornblith
ce355357ae
Remove callback line from merge
2012-10-29 15:55:27 -04:00
Simon Kornblith
1ed47f4823
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/attachments.js
chrome/content/zotero/xpcom/utilities.js
2012-10-29 15:54:44 -04:00
Simon Kornblith
d13e7037c3
Fix Zotero.selectItems for Firefox 17 sandboxing changes
2012-10-29 15:52:36 -04:00
Simon Kornblith
66347c2734
Another fixe for https://bugzilla.mozilla.org/show_bug.cgi?id=794602
2012-10-29 15:52:29 -04:00
Simon Kornblith
c6b812f0b1
Fix typo
2012-10-29 15:52:24 -04:00
Simon Kornblith
b41e2368a5
Update for https://bugzilla.mozilla.org/show_bug.cgi?id=794602
2012-10-29 15:52:18 -04:00
Simon Kornblith
a8efc1b874
Fix search translation for Firefox 17 sandboxing changes
2012-10-29 15:51:53 -04:00
aurimasv
e0e4699c3e
Fix cleanDOI
...
Conflicts:
chrome/content/zotero/xpcom/utilities.js
2012-10-29 15:51:14 -04:00
Dan Stillman
bb7ee9b436
Enable autocomplete for programmingLanguage
2012-10-25 14:40:22 -04:00
adam3smith
18be5d396a
add field mappings corresponding to CSL 1.0.1 release
2012-10-21 19:55:23 -06:00
Simon Kornblith
9ea12d5561
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/xpcom/translation/translate_item.js
2012-10-10 17:25:21 -04:00
Simon Kornblith
d18b6ffcf0
Fix Zotero.selectItems for Firefox 17 sandboxing changes
2012-10-10 15:34:35 -04:00
Simon Kornblith
1dd67fe837
Another fixe for https://bugzilla.mozilla.org/show_bug.cgi?id=794602
2012-10-10 15:33:40 -04:00
Simon Kornblith
f339e08894
Fix typo
2012-10-10 15:31:48 -04:00
Simon Kornblith
4535bb5315
Update for https://bugzilla.mozilla.org/show_bug.cgi?id=794602
2012-10-09 18:29:21 -04:00
Simon Kornblith
1ad5b9fd63
Revert sandboxing changes
2012-10-09 18:29:06 -04:00
Simon Kornblith
bdeff96162
Don't skip base fields that are mapped to a field with the same name
2012-10-03 17:54:21 -04:00
Simon Kornblith
dcfdf27c0b
Make item-specific fields override base fields when specified
2012-10-03 14:54:34 -04:00
Dan Stillman
bd75d95da9
Fix "(null)" in Firefox login manager corruption message
...
(It turns out this also displays if the user clicks Cancel on a master
password prompt, though.)
2012-09-26 21:57:40 -04:00
aurimasv
c5061de782
Fix cleanDOI
2012-09-22 18:43:13 -05:00
Dan Stillman
cff1bac7b9
Update CSL locales checkout
2012-09-22 13:45:26 -04:00
Simon Kornblith
c70fd9fa39
Merge pull request #166 from aurimasv/attachments
...
Allow relative file attachment import. Fix some bugs in _parsePath.
2012-09-21 16:51:10 -07:00
Simon Kornblith
df6426af2e
Fixes #168 , Properly adjust index when skipping empty creators
2012-09-21 19:49:37 -04:00
Simon Kornblith
387e9e4fc0
Merge pull request #169 from aurimasv/connector-proxy
...
Fix typo in proxy detection.
2012-09-21 16:43:47 -07:00
Dan Stillman
a9cb1e75f5
Switch to master branch of CSL locales
2012-09-19 15:02:47 -04:00
Dan Stillman
dee75dd417
Save translator names as ASCII during repo updates as well
...
Refs #459 , Non-ascii translator names
2012-09-19 04:19:30 -04:00
Dan Stillman
020eaf2d47
Fix translatorID in filename in ZIP build, hopefully
...
Follow-up from d821778
Refs #459 , Non-ascii translator names
2012-09-19 03:37:44 -04:00
Dan Stillman
d821778d24
Use ASCII for translator filenames
...
Remove diacritics and then use translatorID for anything that still has
extended characters.
Fixes #459 , Non-ascii translator names
2012-09-19 02:37:18 -04:00
Simon Kornblith
4eccdf724d
Fix RDF in Fx >= 17
2012-09-18 11:54:00 -04:00
aurimasv
b700f3ef56
Fix typo in proxy detection.
2012-09-17 01:33:24 -05:00
Simon Kornblith
70fad9730a
Fix CSL checkout
2012-09-16 21:55:39 -04:00
Simon Kornblith
4d41398d73
Fixes for https://bugzilla.mozilla.org/show_bug.cgi?id=553102
2012-09-16 21:49:41 -04:00
aurimasv
cffbed31e8
Make protocol decision clearer
2012-09-14 20:09:58 -05:00
aurimasv
b94837d3da
Recognize URI protocol based on RFC 3986 specification
2012-09-14 02:21:54 -05:00
aurimasv
d6bd353005
Allow relative file attachment import. Fix some bugs in _parsePath.
2012-09-13 22:51:08 -05:00
Dan Stillman
53449d47a9
Install styles served as application/vnd.citationstyles.style+xml
2012-09-13 14:42:15 -04:00
Simon Kornblith
71db21c605
Fix nonbreaking spaces in citations edited using classic add citation dialog
2012-09-12 14:26:34 -04:00
Dan Stillman
878500a011
Add file sync debugging output from e599a207
to master
2012-09-10 17:24:00 -04:00
Dan Stillman
c2e116a49a
Merge branch '3.0'
...
Conflicts:
chrome/content/zotero/locale/csl
chrome/content/zotero/xpcom/server_connector.js
chrome/content/zotero/xpcom/storage.js
2012-09-10 17:18:08 -04:00
Dan Stillman
e1159b9838
Update submodules, and point CSL locales to 1.0.1 for now
2012-09-10 16:54:41 -04:00
Simon Kornblith
027ea09457
Merge pull request #161 from aurimasv/itemComplete
...
Fix bug in item.complete()
2012-09-09 14:44:07 -07:00
Simon Kornblith
4e1f6f63a0
Fix clearing bibliography when all citations have been removed from the document
2012-09-09 17:33:30 -04:00
aurimasv
addfaa75f7
Fix bug in item.complete()
2012-09-03 04:46:36 -05:00
Simon Kornblith
c81c9478d9
Make Zotero Standalone use the browser's user agent string when making requests on its behalf via connectors
...
In conjunction with a change to the translator, this fixes the issue reported at http://forums.zotero.org/discussion/22409/
2012-08-19 19:06:05 -04:00
Simon Kornblith
9ca142c4f6
Fix a situation under which Zotero could fail to embed item data in a document
2012-08-19 12:39:49 -04:00
Dan Stillman
ade715ff04
Fixes #155 , Slow offline syncs
...
Don't reload all data for failed /login and /updated requests
2012-08-15 06:01:47 -04:00
Dan Stillman
e599a207a1
Some additional debug output for file syncing
2012-08-14 18:30:11 -04:00
Dan Stillman
7dad7bcd5a
Require exact 8-character, uppercase item key for quick search
2012-08-08 03:17:14 -04:00
Dan Stillman
f6e7cf83fa
Add ability to search for item by key from quick search bar
...
Matches beginning of key only, and only when search string is >= 2 chars
2012-08-08 01:56:25 -04:00
Simon Kornblith
0a89a787a3
Merge branch '3.0'
2012-08-06 02:04:52 -04:00
Simon Kornblith
2b00819253
ie_compat.js -> common_ie.js
2012-08-06 02:04:20 -04:00
Simon Kornblith
ab4c2f247d
Merge branch '3.0'
2012-08-05 19:44:57 -04:00
Simon Kornblith
c57f512aea
Don't save null tags to server
2012-08-05 19:44:34 -04:00
Simon Kornblith
cd6d528519
Be more resilient when IE DOMParser fails
...
Fixes JSTOR in IE
2012-08-04 19:38:21 -04:00
Simon Kornblith
0e2cf3146f
Support namespaces in ZU.xpath in IE
2012-08-03 12:39:54 -04:00
Simon Kornblith
009e315fa1
Fix compatibility with latest Nightly
2012-08-02 20:25:58 -04:00
Dan Stillman
bacd25633b
Fix error updating types menu after installation of NSF item type
2012-08-02 16:59:28 -04:00
Dan Stillman
77f422039f
Don't assume "text/" MIME types can be opened internally
...
Previously, dragging a Python script ("text/x-python-script") would
trigger an open/save dialog (at least on OS X), since Firefox was under
the impression that it couldn't read the file.
2012-08-02 09:08:49 -04:00
Dan Stillman
1dca17c96b
Add autocomplete for 'book' 'series' field
2012-08-02 09:01:59 -04:00
Simon Kornblith
cd6e78899b
Fix "Use profile directory" option to use correct app name
2012-08-01 10:52:00 -04:00
Simon Kornblith
3a3efbc430
Drop "0-" before the URL on III proxies before attempting subdomain dropping for connectors
2012-07-30 19:20:44 -04:00
Simon Kornblith
80d98e0bcb
Drop "0-" before the URL on III proxies before attempting subdomain dropping
2012-07-30 19:19:22 -04:00
Simon Kornblith
7dbe6d728a
No need to import Q here
2012-07-30 14:54:53 -04:00
Simon Kornblith
9e75aba8fd
Convert arrays passed to Z.selectItems to objects
2012-07-30 14:54:53 -04:00
Simon Kornblith
59913cc5c0
Tweak notes/tags/related pane appearance
2012-07-30 03:08:38 -04:00
Simon Kornblith
bdfbfc10b2
Use methodjit...
2012-07-30 02:37:39 -04:00
Simon Kornblith
da6149b06f
Tweak XPath utilities to behave more appropriately on IE XML documents
2012-07-29 21:29:24 -04:00
Simon Kornblith
36871467b6
Merge branch '3.0'
2012-07-29 21:28:33 -04:00
Simon Kornblith
13958bfaba
Revert "ZU.xpath tweak for IE"
...
This reverts commit cb7640a96a
.
2012-07-29 19:54:38 -04:00