Aurimas Vinckevicius
c6151f959d
Fix relations serialization in Zotero.Item::toJSON()
2015-05-26 15:39:44 -05:00
Aurimas Vinckevicius
21cd15b068
Port Zotero.Item.toJSON from api_syncing branch
...
* Modified to use synchronous DB access
* Take patchBase argument as an option
* Update to conform to v3 API
2015-05-26 15:32:33 -05:00
Aurimas Vinckevicius
7445f81042
Port Zotero.Date.sqlToISO8601 from 755ead2119
...
Copy-pasted, no modifications
2015-05-26 15:32:33 -05:00
rmzelle
06e6168cb4
Implement locale drop-down menus
2015-05-26 00:12:04 -04:00
Dan Stillman
28301ea45f
Center the site-specific Quick Copy and proxy editing windows
...
On OS X these show up as sheets, but on Windows without this flag they
appear in the top-left of the screen.
2015-05-25 23:36:24 -04:00
Dan Stillman
c152e81bed
Merge pull request #732 from rmzelle/edit-button-quickcopy
...
Add Edit button for site-specific Quick Copy settings
2015-05-25 23:31:44 -04:00
rmzelle
5833d87169
Add Edit button for site-specific Quick Copy settings
2015-05-25 23:21:50 -04:00
Dan Stillman
6e4eb61694
Merge pull request #673 from sendecomp/optional-proxy-redirect-notification
...
Add an option to not show the proxy redirection notification
2015-05-25 21:57:16 -04:00
LinuxMercedes
34c0e746f5
Add an option to not show the proxy redirection notification
2015-05-25 17:38:24 -05:00
Dan Stillman
8352934009
Merge pull request #671 from gracile-fr/localize-locators-labels
...
Add localized locator labels
2015-05-21 02:19:16 -04:00
rmzelle
4bdef75074
Add DOI-field context-menu
2015-05-19 16:25:02 -04:00
Dan Stillman
7a93b132b3
Merge pull request #715 from rmzelle/proxylist-editbutton
...
Add Edit button to proxy list
2015-05-14 13:10:20 -04:00
rmzelle
bd8db988f3
Add Edit button to proxy list
2015-05-14 09:26:38 -04:00
retorquere
47ffa1188a
export groups, unify library export
2015-05-12 17:52:35 +02:00
Dan Stillman
45b3cd8a53
Replace non-breaking spaces in tested lines in recognizePDF
...
Fixes "PDF does not contain OCRed text" message for
http://pdfserver.amlaw.com/nlj/NSA_ca2_20150507.pdf
2015-05-07 13:41:13 -04:00
Dan Stillman
3587bb0f6b
Fix error if a synced filename begins with a dot (".pdf")
2015-05-07 13:40:05 -04:00
Dan Stillman
453e7bd090
Fix size of 2x icons in progress window
2015-05-02 19:00:42 -04:00
Dan Stillman
a2b6df1014
Include both DB version numbers in "newer than SQL file" dialog
2015-04-15 16:03:47 -04:00
Dan Stillman
4f9366749c
Add Zotero.alert() method
...
This is just a wrapper around nsIPromptService.alert() that takes
Zotero.noUserInput into consideration, which avoids long timeouts during
testing (e.g., for lookup failures).
2015-04-14 16:09:55 -04:00
Dan Stillman
1c2b2575f7
Fix excessive file sync mtime updates/checks (probably?)
2015-04-09 03:47:43 -04:00
Dan Stillman
f5ce2d238e
Fixes #546 , Advanced search : match "any" is broken
2015-04-09 02:57:29 -04:00
Dan Stillman
1e2346eba1
Revert to modified 3.02 binaries on Windows
...
To deal with issues running .vbs scripts on some systems. If the 3.02
binaries haven't been reinstalled since this version, reinstall them as
3.02a automatically or on manual upgrade to fix corrupted binaries from
previous gzip issue.
Other platforms unchanged
2015-04-09 00:22:32 -04:00
Dan Stillman
b2d5612526
Fix sync and debug output submission in Nightly
...
(sendAsBinary() removal)
2015-04-07 16:59:33 -04:00
Dan Stillman
2afebc79d0
Set tree image height to 16px everywhere
...
Windows maybe also doesn't handle HiDPI tree images correctly otherwise
2015-04-07 14:37:13 -04:00
Dan Stillman
c398353d5d
Remove obsolete CSS include
2015-04-07 14:26:49 -04:00
Dan Stillman
fe79954b96
Fix HiDPI icons in trees on Linux
2015-04-07 14:25:24 -04:00
Dan Stillman
152b1c0d83
Merge pull request #692 from aurimasv/test-beta_build
...
Add Firefox Beta for Travis-CI testing
2015-04-07 03:13:19 -04:00
Dan Stillman
61e11f9afa
Fix main toolbar icons in 2x mode on Win/Linux
2015-04-07 03:06:25 -04:00
Dan Stillman
adadc9e03a
Accept a string path in Zotero.Utilities.Internal.exec()
2015-04-07 01:16:17 -04:00
Dan Stillman
31941c0798
Fix flashing console window for Retrieve Metadata on Windows
2015-04-07 01:14:18 -04:00
Aurimas Vinckevicius
f6510419cb
Skip test for "recognizePDF without DOI" on Travis-CI
...
Breaks due to CAPTCHA when tests are run frequently
2015-04-06 23:17:41 -05:00
Dan Stillman
796a1a2898
Use firstCreator instead of creators[0] for QuickFormat sort
...
Previously, if an editor was entered before an author, it would sort by
the editor. Now, as long as there's an author, it will sort by that
first (and, with 2f3d865f
, favor left-bound matches).
Addresses the second issue on
https://forums.zotero.org/discussion/48047/
2015-04-06 23:32:15 -04:00
Dan Stillman
2f3d865f11
Favor left-bound name matches in QuickFormat bar
...
https://forums.zotero.org/discussion/48047/
2015-04-06 23:14:32 -04:00
Dan Stillman
bfbf3d871c
Fix display of sync error icon (2x and spacing)
2015-04-06 17:39:21 -04:00
Dan Stillman
af871a3fd5
Add 2x versions of many icons
...
Courtesy of Pastel SVG (2x famfamfam)
I didn't add 2x versions for any composite icons or any Fugue icons.
Also:
- Removed some unused/redundant images
- Switched to shadowless versions for a couple Fugue icons
2015-04-06 17:24:55 -04:00
Dan Stillman
58b56abbc7
Fix file sync errors with symlinked files/directories
...
nsIFile seems to have figured out symlinks since Firefox 3.0.1
2015-04-04 00:09:24 -04:00
Dan Stillman
788f92bc8b
Fix sync error panel positioning (at least on OS X)
...
After 88be88661
2015-04-03 23:54:37 -04:00
Dan Stillman
4613f9593c
Don't update pdfinfo unnecesarily
2015-04-01 16:43:37 -04:00
Dan Stillman
e567ad25aa
More PDF tools tweaks
...
- If one tool is missing, reinstall it automatically during translator
update check
- Account for pdfinfo 3.02pl1 on Linux
2015-04-01 16:35:13 -04:00
Dan Stillman
1a47d79716
Restore support for modified pdfinfo 3.02
2015-04-01 13:20:34 -04:00
Dan Stillman
a9ca6e0857
Support unmodified Xpdf binaries
...
Use stdout redirection scripts for pdfinfo and, on Windows, a script to
run pdftotext hidden, which together allow for all unmodified binaries
(including, probably, symlinked system ones, though I didn't test that).
On Windows, using a .vbs does cause a brief wait cursor. The stock
pdfinfo needs the redirection script anyway, so that's unavoidable, but
on the async branch I think we'll be able to switch to pdf.js for the
page count, at which point maybe I'll try to remember how I modified the
Windows binaries to be hidden and use a modified version of pdftotext to
avoid VBScript. (We use the stock pdftotext elsewhere already.)
2015-04-01 04:36:21 -04:00
Aurimas Vinckevicius
49a0b02b06
Log a list of translators that were found during detect*
2015-03-31 14:29:32 -05:00
Aurimas Vinckevicius
c05025f4b1
Log translatorID and lastUpdated timestamp when parsing translators
2015-03-31 14:29:32 -05:00
Dan Stillman
e1c1803ce2
Add DB version info to newer-DB-version error
2015-03-30 14:45:53 -04:00
Dan Stillman
aab21f68ad
Blacklist "bad script XDR magic number" message
2015-03-29 15:22:07 -04:00
Dan Stillman
d6e19a9f25
Automatic PDF tool upgrading
...
If automatic translator/style updates are enabled, at least one of the
PDF tools is installed, and the repo returns a more recent version
number than what's installed, automatically upgrade the tools. (Version
3.02 counts as lower, since Poppler's version numbers are lower.)
If an error occurs, wait increasing amounts of time to try the downloads
again, up to one week.
2015-03-28 18:50:06 -04:00
Dan Stillman
40b349edca
Handle gzip encoding via saveURI()
2015-03-27 18:43:39 -04:00
Dan Stillman
c9a787c7bd
Maybe show some sync errors that weren't being shown
...
(This might end up showing some twice, but better than not at all.)
2015-03-26 20:34:31 -04:00
Dan Stillman
4625b7081e
Add checkbox to use one side for all remaining conflicts
...
This should be rewritten in a way that allows it to be unit tested, but
it seems to work.
2015-03-26 20:34:23 -04:00
Dan Stillman
21ad09112c
Merge pull request #683 from aurimasv/setValue-base_fields
...
Allow setting item field value via base field
2015-03-26 20:33:54 -04:00
Aurimas Vinckevicius
48810f23e0
Tweak cleanISBN, cleanISSN, toISBN13 to match tests
...
Fixes regression from 37921b0910
cleanISBN/ISSN now return first valid ISBN/ISSN from a list of valid/invalid ISBNs/ISSNs, even if invalid ISBN/ISSN comes first
toISBN13 now corrects the check digit for ISBN13 input
2015-03-25 21:25:38 -05:00
Dan Stillman
d1ca5e2729
Restore use of dump() on Windows if debug pref is enabled
...
It turns out that the Cygwin console, unlike -console, is actually
usable, so developers on Windows can use that. Since we sometimes need
real-time debug output from end users (who won't have Cygwin installed),
keep logging to the Browser Console if only the -ZoteroDebug flag is
passed.
2015-03-24 03:44:16 -04:00
Aurimas Vinckevicius
e732d6350b
Allow setting item field value via base field
2015-03-24 02:16:32 -05:00
rmzelle
0df26d1d2d
No prompt for remove if no top-level items are selected
...
As requested at
https://github.com/zotero/zotero/pull/668#issuecomment-84090670
2015-03-21 20:28:29 -04:00
Dan Stillman
44a9b84891
Additional safety check when checking for persisted item pane state
...
I don't think there's any way for this to happen short of manual
preference editing, and the pane width would have to be exactly 250px,
and it's pretty harmless anyway, but might as well be safe.
2015-03-18 19:07:45 -04:00
Dan Stillman
935fb90bed
Reopen collapsed item pane on restart, for now
...
Until we find a solution that confuses people less (#678 ), don't persist the
collapsed state across restarts.
2015-03-18 16:13:19 -04:00
Dan Stillman
faed7cd7dd
Replace some 'for each..in' instances
...
There are hundreds more, but these are all the ones that generate warnings in
the console at startup. XPCOM/XBL ones don't seem to do so, so we can ignore
those for now (and hopefully not bother with them on 4.0). Instances in
translators do generate warnings.
Addresses #656
2015-03-17 15:19:45 -04:00
Simon Kornblith
b4142342a5
Merge remote-tracking branch 'origin/connector' into 4.0
2015-03-14 18:32:54 -04:00
Simon Kornblith
48f6de7ad1
Move Safari items to root images directory, part 1
2015-03-14 18:28:05 -04:00
gracile-fr
7fb8f162c5
Add localized locator labels
...
Fixes #557
2015-03-12 15:30:05 +01:00
Simon Kornblith
3583793571
Wait for bundled file updates to complete before running tests
2015-03-11 13:32:25 -04:00
Simon Kornblith
608da632f3
E4X is gone
2015-03-11 12:04:54 -04:00
Dan Stillman
3672d2a895
Merge pull request #668 from rmzelle/confirm-remove-from-collection
...
Add prompt for Remove Item(s) from Collection
2015-03-09 22:27:12 -04:00
rmzelle
c5a40d503b
Add prompt for Remove Item(s) from Collection
2015-03-09 21:45:39 -04:00
Simon Kornblith
d5f3e6d8f7
Merge pull request #580 from aurimasv/relative-urls
...
Resolve protocol-relative URLs outside of document context
2015-03-09 20:41:18 -04:00
Simon Kornblith
f2fb6e2e9c
Merge pull request #640 from aurimasv/trans-tester-redundant-tags
...
Discard redundant tags in translator tester
2015-03-09 20:25:03 -04:00
Simon Kornblith
3415cefa71
Merge pull request #601 from aurimasv/defer
...
Allow meta redirects when running web translator tests
2015-03-09 20:10:19 -04:00
Simon Kornblith
181d852b72
Merge pull request #665 from zotero/unit-testing
...
Unit testing infrastructure
2015-03-09 19:13:25 -04:00
Dan Stillman
0aaa0540d9
Delete syncedSettings for deleted libraries on sync error
...
Not sure how this is possible, but fix it for now. It'll be prevented with a FK
check in 5.0.
2015-03-09 19:11:36 -04:00
Dan Stillman
2681a508b4
Merge pull request #664 from gracile-fr/prefs-pane
...
Move shortcut keys prefpane to tab of Advanced (#646 )
2015-03-09 18:54:39 -04:00
Simon Kornblith
c2d32c2e27
Just give up on trying to automate the panel itself
2015-03-09 16:49:50 -04:00
Simon Kornblith
c7c58f8343
Add support function to reset the DB and a test that it works.
2015-03-09 14:25:49 -04:00
gracile-fr
0a4fcc90ac
Move shortcut keys prefpane to tab of Advanced
...
[and delete unused "#zotero-prefpane-keys checkbox" (there used to be a checkbox to "Try to override conflicting shortcuts", which has been definely removed by 5b34dce40f
)]
2015-03-09 12:08:31 +01:00
Dan Stillman
3194f4629f
Fix size of separate Z toolbar icon on Windows and Linux
...
Fixes #667
2015-03-09 03:37:40 -04:00
Dan Stillman
806259d187
When dropping combo buttons into panel, add two separate buttons instead
...
And move combo button to customization palette
2015-03-08 00:13:19 -07:00
Philipp Zumstein
e9e9527e60
Add stopPropagation to menuitem of new icon
...
This should solve 658
2015-03-03 00:00:36 +01:00
Aurimas Vinckevicius
efa269d382
Regression from f0bd1e77ff
...
Re https://forums.zotero.org/discussion/47176/beta-item-fields-mapping-to-weird-csl-variables/
2015-02-28 15:57:27 -06:00
Dan Stillman
126d55b3c3
Remove extra overlay.css import
...
(Though possibly we just want to merge zotero.css and overlay.css, since
the distinction has been mostly lost.)
2015-02-27 03:39:35 -05:00
Dan Stillman
a1bed8b5ad
More icon tweaks
...
- New dedicated Zotero button, available in the Customize palette
- Remove "16px" Z SVG and just render "32px" one at the smaller size
(there's a slight difference at the edges, but we should probably redo
it anyway so that dark lines reach all the way to the bottom)
- Change "Open Zotero" back to just "Zotero", since 1) it's for closing
too, 2) it can also just bring Standalone to the front, and 3) "Open
Zotero" looks weird and inconsistent in the menu panel next to things
like "Preferences"
- For now, show single large Z for combo buttons in customization
palette with "Zotero (Combo)", though we can probably do something
better.
- Fix some HiDPI bugs when moving items between areas
Still need a layout for the panel for the combo buttons
2015-02-27 03:35:18 -05:00
Klaus Flittner
1990240733
Restore settings to server
...
If the local data is to be resotres to the zotero server,
the settings like tag colors also need to be synced again.
2015-02-26 21:57:16 +01:00
Aurimas Vinckevicius
3918adf21a
Hyphenate ISBN when writing to DB
...
Only hyphenate if we're very confident that it's a list of unhyphenated ISBNs
2015-02-24 22:42:41 -06:00
Aurimas Vinckevicius
68e7849fcf
Add Zotero.Utilities.Internal.hyphenateISBN
...
Hyphenates ISBN-10 or ISBN-13 according to data from https://www.isbn-international.org
2015-02-24 22:42:29 -06:00
Aurimas Vinckevicius
37921b0910
Add dontValidate parameter to ZU.cleanISBN
...
Don't validate check digit
2015-02-24 22:40:40 -06:00
Aurimas Vinckevicius
c809dfcbc4
Use only the first ISBN for CSL JSON
2015-02-24 22:40:40 -06:00
Aurimas Vinckevicius
f0bd1e77ff
Use Zotero.Utilities.itemToCSLJSON when sending items to citeproc
2015-02-24 22:40:39 -06:00
Aurimas Vinckevicius
7f52e00341
Cleanup ISBNs when importing from web/search translators
...
Validate, convert to ISBN-13, and list in a space-separated format
2015-02-24 22:40:39 -06:00
Dan Stillman
395d596105
Don't try to add child items to collections dragging cross-library
...
Previously, if you dragged a standalone attachment to a collection in another
library where the item already existed as a child item, it would crash Zotero
on a collection-item constraint.
2015-02-24 15:54:34 -05:00
Dan Stillman
0ab38f1d43
Add borders to collapsed collections/items splitters
...
We can think about making them more wider, etc., but this makes them ever so
slightly more visible.
2015-02-23 19:48:28 -05:00
Dan Stillman
a61157f8e3
Change "Zotero" button tooltip to "Open Zotero"
2015-02-23 03:33:34 -05:00
Dan Stillman
8371749bd1
Add Zotero.clientName, set to "Zotero" by default
...
We should eventually replace all hard-coded uses of "Zotero" with this
for use by unofficial versions (which legally can't be called "Zotero").
2015-02-23 03:31:52 -05:00
Dan Stillman
003db7c894
Toolbar icon tweaks on OS X
2015-02-23 02:38:48 -05:00
Dan Stillman
46bed210a1
Toolbar icon tweaks on Windows
2015-02-22 19:30:16 -05:00
Dan Stillman
0f402295be
Toolbar icon tweaks on Linux
2015-02-22 18:56:39 -05:00
Dan Stillman
00d9bd41b3
Fix HiDPI save icon on Linux, maybe
2015-02-22 14:11:54 -05:00
Dan Stillman
1abee72233
Fix toolbar buttons on Windows
...
Known issues:
- Hover doesn't work on the dropmarker alone, so instead of showing the
hover effect for each segment individually, the menu-button parts are
highlighted together, which at least looks like a choice
- When the menu-button is disabled, it still has some hover/active
effects.
- Tested only on Windows 7
2015-02-22 06:46:07 -05:00
Dan Stillman
a85a9a632e
Decrease right-padding of middle button by 1px on OS X
2015-02-22 06:46:07 -05:00
Dan Stillman
1069b483cc
Fix toolbar buttons on Linux
...
Known issues:
- The dropmarker segment doesn't get a background highlight color on
hover. And now you'll notice. Sorry.
2015-02-22 06:46:07 -05:00
Aurimas Vinckevicius
7e67a34444
[WebPageDump] Fix regression from 5f8b56ef86
2015-02-21 21:51:01 -05:00
Aurimas Vinckevicius
7d70cc5886
[WebPageDump] Fix regression from 5f8b56ef86
2015-02-21 20:35:39 -06:00
Aurimas Vinckevicius
66eb40da32
[WebPageDump] More verbose log messages
...
Log full error stack
2015-02-21 20:32:45 -06:00