Dan Stillman
0a63c7665a
Merge branch 'adomasven-feature/add-feed-from-page'
2016-04-04 17:38:18 -04:00
Adomas Venčkauskas
5b8d3c178f
Add a menu option to add feeds found on a page
...
Closes #adomasven/zotero/10
2016-04-04 17:36:51 -04:00
Dan Stillman
0f7d1c7061
Fix various connector-mode issues for 5.0
...
Still more to fix
2016-04-04 06:33:15 -04:00
Dan Stillman
7a449e8deb
Clearer parameter name for autocomplete select handler
...
Refs #926
2016-04-02 04:16:35 -04:00
Dan Stillman
eecd625298
Populate both creator fields on Tab autocomplete select
...
Closes #926
2016-04-02 04:11:35 -04:00
Dan Stillman
a315e4eced
Merge pull request #939 from Juris-M/z4.0-bib-edit-followup
...
Bugfixes for new styled-textbox code
2016-04-02 01:04:49 -04:00
fbennett
55bfe54af2
Bugfixes for new styled-textbox code
2016-04-02 12:02:53 +09:00
Dan Stillman
cdedbaccac
Add some missing empty platform-specific CSS files
2016-04-01 06:05:59 -04:00
Dan Stillman
6ec8e7800f
Fix double-size height of feed add buttons on HiDPI
2016-04-01 05:54:05 -04:00
Dan Stillman
c8affb49ee
Add empty Mac/Windows itemPane.css to avoid CSS load error
2016-04-01 05:51:49 -04:00
Dan Stillman
943b2c1ddf
Don't auto-sync on feed library changes, and add Zotero.Library::syncable
2016-04-01 05:47:43 -04:00
Dan Stillman
7aa6d98f35
Use library icon for New Library button, and add more HiDPI icons
...
Includes HiDPI icons for feed rows, which weren't showing up before
2016-04-01 05:37:25 -04:00
Dan Stillman
129b8113b9
Don't try to show secondary sort menu in feeds
...
(Feeds don't have a visible primary sort column.)
2016-04-01 05:33:14 -04:00
Dan Stillman
842dea973b
Remove references to removed Zotero.Items.cacheFields()
2016-04-01 05:33:14 -04:00
Dan Stillman
4cccf27bb1
A few debug message tweaks
2016-04-01 05:33:14 -04:00
Dan Stillman
d20e90c6fa
Merge pull request #927 from adomasven/feature/feed-buttons
...
Add feed menu buttons. Close adomasven/zotero#9 .
2016-04-01 05:32:16 -04:00
Adomas Venčkauskas
3dc0ad3745
Add feed menu buttons. Close adomasven/zotero#9 .
2016-04-01 12:25:37 +03:00
Dan Stillman
4f54214f11
Disable auto-sync pref for tests
...
We don't want auto-sync to try to run during unrelated tests.
Additionally, even though the sync process wouldn't actually start due
to the absence of an API key (which is injected directly into the sync
functions for sync tests), since auto-sync kicks off after a one-second
delay on pane open, during tests the Zotero object has often been torn
down by the time the check code runs, producing spurious errors in the
console.
2016-04-01 02:49:50 -04:00
Dan Stillman
8a57183e0b
Remove unused version table rows
2016-04-01 02:38:36 -04:00
Dan Stillman
514547ab3b
Reinstate auto-sync, and remove lots of old sync code
...
The on-change auto-sync now syncs only the modified library, and does so
quite efficiently (and should be able to be made more efficient), so we
might be able to reduce the timeout below 15 seconds.
2016-04-01 02:30:17 -04:00
Dan Stillman
9b231169b2
Return the new item from ZoteroPane.duplicateSelectedItem()
2016-04-01 02:00:30 -04:00
Dan Stillman
d60da717c4
Merge pull request #937 from Juris-M/z4.0-bib-edit-conversion
...
HTML/RTF and RTF/HTML conversion for styled textbox
2016-03-31 21:43:33 -04:00
fbennett
9431e0de53
HTML/RTF and RTF/HTML conversion for styled textbox
2016-04-01 09:24:02 +09:00
Dan Stillman
4566ff30f5
Merge pull request #936 from adomasven/feature/remove-feed-item-sync
...
Close #934 . Remove feed item read state syncing
2016-03-31 06:58:46 -04:00
Adomas Venčkauskas
2b41f7af1d
Close #934 . Remove feed item read state syncing
2016-03-31 12:37:01 +03:00
Dan Stillman
70c41e8a51
Update citeproc-js to 1.1.91
2016-03-30 23:24:34 -04:00
Dan Stillman
fabc2ba6a2
Always start at MAX() + 1 for Zotero.ID.get(), and deasyncify
...
Instead of getting batches of unused primary key ids, even if they're lower
than other ids, which for some reason seemed like a good idea in 2008, just do
a `MAX()` on the table at startup and return the next available id on each call
to `Zotero.ID.get()`. This is much simpler, and not reusing ids allows them to
be used as a chronological sort field.
While SQLite's `SELECT last_insert_rowid()` could return auto-increment values,
it's unsafe with async DB access, since a second `INSERT` can come in before
the first `last_insert_rowid()` is called. This is true even in a transaction
unless a function that calls it is never called in parallel (e.g., with
`Zotero.Promise.all()`, which can be faster than sequential `yield`s).
Note that the next id is always initialized as MAX() + 1, so if an object is
added and then deleted, after a restart the same id will be given. (This is
equivalent to (though unrelated to) SQLite's `INTEGER PRIMARY KEY` behavior,
as opposed to its `INTEGER PRIMARY KEY AUTOINCREMENT` behavior.)
Closes #993 , Feed items out of order
2016-03-30 01:39:43 -04:00
Dan Stillman
87acdce81b
Pass query options to logQuery for DB.(value/column)Query
...
Allows, e.g., `debug: false` to work for those methods.
2016-03-28 17:53:03 -04:00
Dan Stillman
cebf2a3125
Throw an error from queryAsync() if onRow throws an error
...
If onRow throws StopIteration, the query will stop gracefully.
2016-03-28 17:47:25 -04:00
Dan Stillman
0c5eacbd0f
Follow existing pref for gzip-compressed uploads
2016-03-28 05:19:32 -04:00
Dan Stillman
f906b4226d
Fix loading of Edit Bibliography window in Firefox 45
...
Edit textbox is still broken, at least for some items.
2016-03-28 03:14:09 -04:00
Dan Stillman
35530af1fb
Gzip-compress API uploads larger than 1000 characters
2016-03-28 02:38:28 -04:00
Dan Stillman
144d02e36c
Upgrade Sinon to 1.17.3
2016-03-27 23:10:17 -04:00
Dan Stillman
92f2e38325
Remove Zotero.UnresponsiveScriptIndicator
...
If import/export can still trigger the warning (which hopefully they
can't), we should just asyncify those further.
2016-03-27 03:34:40 -04:00
Dan Stillman
8b1f10aee0
Properly delete library version for full-text sync on library delete
2016-03-27 03:19:39 -04:00
Dan Stillman
b5adb084f2
Don't reload last folder on items pane crash, in case it's the problem
...
Otherwise you have to edit the prefs to continue using Zotero if, say, a saved
search causes a crash.
2016-03-26 04:16:23 -04:00
Dan Stillman
b7b246e741
Saved search fixes
...
- Fix saved search editing
- Refresh items list on search change
- Generate correct conditions array for search JSON
2016-03-26 04:14:56 -04:00
Dan Stillman
62f3177d36
Speed up expanding of items in items tree
2016-03-26 01:33:26 -04:00
Dan Stillman
6e0ef7b625
Don't send notification for 'user' library change
2016-03-25 18:46:13 -04:00
Dan Stillman
15a9fd5494
Make various collection methods synchronous
...
- Collection::getDescendents()
- Collections.getByLibrary()
- Collections.getByParent()
And various things that depend on those. (View with -w.)
2016-03-25 18:44:24 -04:00
Dan Stillman
7dfb62b8fc
Remove delay() in test
2016-03-25 16:53:28 -04:00
Dan Stillman
234127e65a
Update toolbar icons on group editability change
...
And trigger 'group' 'modify' notifier event for inherited Zotero.Library
properties
2016-03-25 16:49:26 -04:00
Dan Stillman
a61c99843b
Fix error switching to COinS in export dialog
...
Or other export translators without options
2016-03-25 02:33:55 -04:00
Dan Stillman
bc31a29e5a
Fix test breakage from db33163a9
2016-03-25 02:31:54 -04:00
Dan Stillman
afee1d16ad
Fix saving an item with a child note into a collection
2016-03-25 02:24:22 -04:00
Dan Stillman
c5702abb7b
Don't include 'filename' in linked_file attachment JSON
2016-03-24 22:26:50 -04:00
Dan Stillman
fc6c113f25
Show intro text for My Publications in middle pane when no items
...
ZoteroPane.setItemsPaneMessage() and setItemPaneMessage() can now
optionally take a DOM node instead of a string.
Closes #705
2016-03-24 09:03:59 -04:00
Dan Stillman
db33163a99
Fix Advanced Search window
2016-03-23 20:45:02 -04:00
Dan Stillman
d826e6b0e8
Disable Firefox Health Check in tests
2016-03-23 04:29:38 -04:00
Dan Stillman
0d343458a3
Normalize Unicode in new filenames
2016-03-23 04:29:38 -04:00