CI to automate build of zotero tarball for zotero aport https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
Find a file
Dan Stillman 609657a8e4 Add zotero://open-pdf handler to open PDF at a given page
This is loosely based on the same functionality in ZotFile, but it tries
to do the right thing based on existing Zotero settings: either the new
PDF handler setting in the prefs or the system-default app. The latter
can only reliably be determined on Windows (and this uses ZotFile's
function to read that from the registry), but this tries to figure it
out on macOS and Linux too using the Mozilla handler service. (The
handler service only gets you an app name, not a path, so on Linux we
can try reading mimetypes.list and the like in case someone is using a
system-default okular or evince not in /usr/bin, but that's not yet
implemented.)

This uses the new 5.0 URL format, and a 'page' query parameter instead
of a path component:

zotero://open-pdf/library/items/[itemKey]?page=[page]
zotero://open-pdf/groups/[groupID]/items/[itemKey]?page=[page]

It also accepts ZotFile-style URLs, though, so if you uninstall ZotFile
you should still be able to open those links. ZotFile will need to
accept the new format for new links to work when ZotFile is installed,
since it will override this handler.

This functionality will be necessary for annotation extraction (#1018)
and for imported annotations from Mendeley (#1451).
2018-05-05 00:55:22 -04:00
chrome Add zotero://open-pdf handler to open PDF at a given page 2018-05-05 00:55:22 -04:00
components Add zotero://open-pdf handler to open PDF at a given page 2018-05-05 00:55:22 -04:00
defaults/preferences Show upgrade prompt for connector pings from below a certain version 2018-04-29 04:53:00 -04:00
resource Show upgrade prompt for connector pings from below a certain version 2018-04-29 04:53:00 -04:00
scripts Symlink TinyMCE directory during build 2018-03-01 22:41:33 -05:00
styles@4f3b62e0db Update submodules 2018-04-03 00:03:22 -04:00
test Add a test for PDF recognition by DOI (#1496) 2018-05-04 03:14:26 -04:00
translators@fbbef8992f Update submodules 2018-04-29 03:54:24 -04:00
.babelrc Remove obsolete line from Babel config 2018-03-11 01:42:34 -05:00
.gitattributes Fix enforcing of Unix newlines for SQL files 2016-02-26 18:37:44 -05:00
.gitignore Cache PDF tools in the source directory between test runs 2018-01-18 19:24:09 -05:00
.gitmodules Track master branch of submodules (#1477) 2018-03-31 16:08:31 -04:00
.travis.yml Remove Fx54 test from Travis config 2018-02-25 21:54:23 -05:00
chrome.manifest Firefox 55 compatibility: fix zotero-platform files 2017-09-30 03:33:50 -04:00
CONTRIBUTING.md Create CONTRIBUTING.md 2016-02-08 19:28:05 -05:00
COPYING Update COPYING 2018-03-26 11:27:48 +02:00
install.rdf Update version 2018-05-02 02:55:53 -04:00
package-lock.json Update to Sinon 4.5.0 2018-04-07 17:01:46 -04:00
package.json Update to Sinon 4.5.0 2018-04-07 17:01:46 -04:00
README.md Merge branch '4.0' 2015-11-01 21:22:13 -05:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00

Zotero

Build Status

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

For more information on how to use this source code, see the Zotero wiki.