Commit graph

5604 commits

Author SHA1 Message Date
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
2e81f087b9 Fix WebDAV URL error message 2012-12-11 03:30:48 -05:00
Dan Stillman
1a0735b381 Disable debug output on drag over tag 2012-12-11 03:30:48 -05:00
Dan Stillman
0b89ccadf9 Update Q library 2012-12-11 03:30:47 -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
Simon Kornblith
92e2ed45fd Merge pull request #207 from aurimasv/SA-savePage
[Standalone] Pass url to detect function from savePages
2012-12-01 08:46:12 -08: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
3403bedc8e Update translators and repotime 2012-11-22 23:28:25 -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
fbbfe93ce5 Update styles 2012-11-18 23:29:58 -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
beb74a4504 Version update 2012-11-17 06:36:33 -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
Dan Stillman
f3bfe8be7f Merge pull request #198 from aurimasv/cslMappings
Fix typo
2012-11-16 00:35:54 -08:00
aurimasv
0a6a8dee6d Fix typo 2012-11-16 02:33:09 -06:00
Dan Stillman
f746289299 Update translators and repotime 2012-11-16 02:12:50 -05:00
Dan Stillman
b77a87e4ca Update "Edit" string in zh-CN locale 2012-11-15 23:13:13 -05:00
Simon Kornblith
a0243a24d9 Fix QuickFormat sizing 2012-11-15 16:06:38 -05:00