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
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
ee0a20acf8
Change minVersion to Firefox 17
...
We need at least Firefox 12, and no one should really be using anything
below Fx17 ESR.
2013-02-18 16:04:31 -05: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
Dan Stillman
1575cfa84a
Update Q library
2013-02-18 02:33:12 -05: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
Dan Stillman
eb93c421e5
Merge pull request #246 from aurimasv/webdav-pref
...
Store username and url inside correct preference keys
2013-02-10 01:56:09 -08: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
61fa874572
There is no keeping up with @adam3smith.
2013-02-08 02:03:02 -05:00
Dan Stillman
d6ab465a4c
Update a few locales
2013-02-08 02:01:51 -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
Simon Kornblith
ce12c999ca
Fix integration.error.notInstalled string on non-English locales
2013-02-07 17:21:23 -05:00
Dan Stillman
77cb88a797
Update styles submodule
2013-02-07 01:20:53 -05:00
Dan Stillman
38cee7e625
Update repotime and submodules
2013-02-07 01:07:03 -05:00
Dan Stillman
224adc0372
Merge locales from Transifex
2013-02-06 21:55:49 -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
Simon Kornblith
816dba37bf
Merge pull request #244 from gracile-fr/quickFormat
...
Quick Format Citation dialog: improve bubble (& drop-down search list)
2013-02-06 18:09:23 -08:00
gracile-fr
f2239d31bc
Localize quotation marks (cf. previous commit) and colon
2013-02-07 00:11:32 +01: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
46e3e7293e
Fix "results.sort is not a function" in tags autocomplete
...
This occured if there were no autocomplete results for an entered tag
string.
2013-02-04 05:03:12 -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