Dan Stillman
fd31e41e2f
Add localization todos
2014-09-18 17:41:46 -04:00
Dan Stillman
57ec10dfd4
Remove unnecessary var
2014-09-18 17:35:25 -04:00
Dan Stillman
48955c8983
Check ext length explicitly in createShortened when checking path length
2014-09-18 17:34:10 -04:00
Dan Stillman
2a986c8635
Don't match extension in createShortened() for dot-files (.hidden)
2014-09-18 17:23:57 -04:00
Dan Stillman
5a8de7054c
Ignore case when extracting extension in Zotero.File.createShortened()
2014-09-18 16:54:05 -04:00
Dan Stillman
f5b5617885
Improve long-filename handling during syncing
...
This will hopefully fix some remaining issues with long filenames during
syncing, particularly on Linux with encrypted filenames (which have a
filename length of 143).
(This may have reintroduced some edge case bugs, so it needs some
testing.)
2014-09-18 16:23:49 -04:00
Dan Stillman
4464e8ed9e
Additional debugging for formatStringFromName error
2014-09-16 15:46:13 -04:00
Dan Stillman
f33d249e9c
Update minVersion/maxVersion
2014-09-11 21:10:03 -04:00
Dan Stillman
61d7bd852b
Debugging for strange Zotero.getString() error
2014-09-11 21:07:19 -04:00
Dan Stillman
c917d9e30e
Use only keys for collections and saved searches in search conditions
...
Previously, 'collection' and 'savedSearch' conditions used
"[libraryID]_[key]" format. Now, the condition should contain only a
key, and the libraryID will be drawn from either the search itself or a
libraryID search condition. Old-style conditions are still parsed if
provided.
2014-09-09 02:50:56 -04:00
Dan Stillman
985a5db0da
Throw error if NULL libraryID is passed to DataObjects.getByLibraryAndKey()
2014-09-09 02:31:17 -04:00
Dan Stillman
755ead2119
Update zotero:// extensions (report, timeline, etc.) for async DB, and more
...
- Protocol handler extensions can now handle promises and can also make
data available as it's ready instead of all at once (e.g., reports now
output one entry at a time)
- zotero:// URL syntaxes are now more consistent and closer to the web
API (old URLs should work, but some may currently be broken)
Also:
- Code to generate server API, currently available for testing via
zotero://data URLs but eventually moving to HTTP -- zotero://data URLs match
web API URLs, with a different prefix for the personal library (/library vs.
/users/12345)
- Miscellaneous fixes to data objects
Under the hood:
- Extensions now return an AsyncChannel, which is an nsIChannel implementation
that takes a promise-yielding generator that returns a string,
nsIAsyncInputStream, or file that will be used for the channel's data
- New function Zotero.Utilities.Internal.getAsyncInputStream() takes a
generator that yields either promises or strings and returns an async input
stream filled with the yielded strings
- Zotero.Router parsers URLs and extract parameters
- Zotero.Item.toResponseJSON()
2014-09-09 00:36:29 -04:00
Dan Stillman
c5ee3651fe
Don't try to load uncommitted files
2014-09-09 00:35:35 -04:00
Dan Stillman
ff5007fdea
Fix error fetching empty file via File.getContentsAsync()
2014-09-09 00:35:35 -04:00
Dan Stillman
490d24f43b
Merge branch 'master' into async_db
2014-09-09 00:34:18 -04:00
Dan Stillman
3d7a35addc
Merge branch '4.0'
...
Conflicts:
chrome/content/zotero/xpcom/zotero.js
install.rdf
update.rdf
2014-09-08 20:24:44 -04:00
Simon Kornblith
55f86f4295
Fix error handling for saveItems
2014-09-05 00:28:34 -04:00
Dan Stillman
9cd7423dd7
Change cert error message URL to https://
2014-09-02 23:28:20 -04:00
Simon Kornblith
431185cc3a
Merge pull request #531 from aurimasv/high-contrast
...
Use Mozilla's colors for itembox and tagbox background
2014-09-01 23:30:35 -04:00
Simon Kornblith
57da88ac3d
Fix == use
2014-09-01 23:19:12 -04:00
Simon Kornblith
9146fb03d9
Merge pull request #536 from adam3smith/coinsfix
...
test for presence of author's firstName before using it
2014-09-01 23:18:39 -04:00
adam3smith
17c0f44e66
fix indenting
2014-09-01 19:25:10 -05:00
Simon Kornblith
9c3ec6f0be
Fix DataCite under Fx 32
2014-09-01 20:00:31 -04:00
Simon Kornblith
79ed7e503e
Fix MODS under Fx 32
2014-09-01 19:29:45 -04:00
Simon Kornblith
a09ff9c9ec
Don't unwrap objects passed to chrome
...
Unwrapping objects also waives the Xray wrappers for contained objects,
which we need.
2014-09-01 18:42:24 -04:00
adam3smith
f973897d76
test for presence of author's firstName before using it
2014-09-01 14:31:51 -05:00
Simon Kornblith
5857368131
Update citeproc-js to 1.0.539
2014-09-01 15:04:52 -04:00
Dan Stillman
14a5643f38
Update submodules, repotime, versions
2014-09-01 14:56:01 -04:00
Simon Kornblith
ee35f7df41
Small fix to copyObject
2014-09-01 12:26:36 -04:00
Aurimas Vinckevicius
dc5ccffe43
Use Mozilla's colors for itembox and tagbox background
...
This way, the colors play nicely with Windows themes (e.g. high contrast)
Re https://forums.zotero.org/discussion/38870/make-zotero-fully-recognize-windowsff-high-contrast-themes/ and https://twitter.com/stuffilike2know/status/504167872567189504
2014-08-26 03:11:24 -05:00
Dan Stillman
9db4927f78
Scroll to new collections, and stay on same row when deleting collections
2014-08-12 22:19:59 -04:00
Dan Stillman
6dbcdb95f4
Fix variable name
2014-08-12 22:16:53 -04:00
Dan Stillman
38531ab172
Fix "Copy as HTML" checkbox disabling in Quick Copy site editor window
2014-08-12 21:49:38 -04:00
Dan Stillman
c729dc8a54
Fixes #522 , [Async DB] Quick Copy is broken
...
Export depends on #520 (but still with a synchronous interface, somehow)
2014-08-12 21:49:30 -04:00
Dan Stillman
a67521e9dd
Closes #500 , Remove DOM_VK_ENTER
2014-08-12 19:18:29 -04:00
Dan Stillman
df67de125e
Remove (non-async-compatible) REGEXP UDF in Zotero.DB.getNextName()
...
And remove UDF setup code
Duplicates view also used REGEXP, so we'll need to figure out another approach
for the async rewrite of that (#519 ). There are no other current UDF consumers,
so this closes #528 .
2014-08-12 03:13:00 -04:00
Dan Stillman
2856b71f0b
Remove some remaining synchronous queries in data objects
...
Fixes collection and search saving
2014-08-12 03:11:49 -04:00
Dan Stillman
78a8e6b622
Fix breakage from 278e06e58
- Zotero.DataObject signature changed
2014-08-12 02:09:45 -04:00
Dan Stillman
706e16ccb9
Merge pull request #525 from aurimasv/async_db-review
...
[Async DB] Documentation/minor tweaks
2014-08-12 01:55:43 -04:00
Aurimas Vinckevicius
278e06e588
Document Zotero.DataObject. Minor tweaks.
2014-08-12 00:26:27 -05:00
Aurimas Vinckevicius
dcd65d087c
Add object key/ID validation. Centralize key generation/checking.
2014-08-12 00:26:26 -05:00
Aurimas Vinckevicius
e1f59482c4
Add Zotero.Utilities.defineProperty convenience method
...
Use this to create enumerable properties in object prototypes.
2014-08-12 00:24:02 -05:00
Aurimas Vinckevicius
c5a532c789
Add option to print stack with debug messages
2014-08-12 00:24:01 -05:00
Dan Stillman
15d10d18a7
Use async DB queries for schema integrity check
...
Addresses #521
2014-08-11 02:23:00 -04:00
Dan Stillman
ae8f871f20
Fix flash of "No items in this view" when switching collections
2014-08-11 00:40:43 -04:00
Dan Stillman
40f111832c
Fix error double-clicking on unopened regular items
2014-08-11 00:40:35 -04:00
Dan Stillman
f358975153
Closes #526 , Asyncify database backup
...
When a database backup is in progress, all other DB operations are paused until
it's done.
2014-08-10 20:21:40 -04:00
Dan Stillman
f1ed5f1f03
Remove obsolete file (Zotero.Tag no longer exists)
2014-08-10 15:00:08 -04:00
Dan Stillman
89833e2da7
Use 'Zotero' object instead of this._zotero in autocomplete
2014-08-10 14:54:41 -04:00
Dan Stillman
00484c5e69
Closes #527 , Asyncify autocomplete
2014-08-10 14:52:03 -04:00