GithubHelp home page GithubHelp logo

l0o0 / tara Goto Github PK

View Code? Open in Web Editor NEW
258.0 2.0 11.0 233 KB

A Zotero add-on for backup and restore preferences, add-ons, translators, styles, and locate between two machines

License: GNU Affero General Public License v3.0

JavaScript 30.22% TypeScript 56.71% HTML 7.86% CSS 0.06% Fluent 5.15%
zotero zotero-plugin

tara's Introduction

IconTara

Tara(Taraxacum)蒲公英

中文文档

Tara is a Zotero add-on for backup and restore preferences, add-ons, translators, styles. You can keep the same settings between different Zotero or restore history settings from the backup.

Backup includes:

  • Zotero preferences, include add-ons
  • Zotero installed add-ons
  • Zotero CSL styles
  • Zotero translators
  • Zotero locate,which is under Zotero directory

excludes:

  1. Specific path in Zotero and add-ons
  2. Zotero sync account information

Usage

Download xpi from release page. After installation,function buttons are listed in Zotero toolbar

  1. Create button will create backup attachment under Tara_Backup item in Zotero.
  2. Export button will export backup attachment to Backup folder in Zotero data directory. You can install tara in another Zotero, and then click restore to select the exported attachment.
  3. Restore button can restore selected attachment you created before.

Preferences setting.

❤Thanks

This add-on is proud to use Zotero addon template

tara's People

Contributors

l0o0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tara's Issues

菜单位置

建议将按钮调到菜单栏中,因为本插件功能重要,但并非高频使用,放在菜单栏更有利界面整洁

拼写错误

您好,感谢开发
多处取消按键cancel似乎出现的拼写错误,错误拼写为cancle
望后续版本更正
image
image

跨平台恢复备份

希望把mac上的配置同步到Windows上,但是选择恢复备份后,提示仅恢复了translater和styles。

请问作者是否有计划支持跨平台的设置共享呢?

无法解压备份文件以及无法安装插件

请建议按照下面的格式汇报BUG

Describe the bug 请详细介绍BUG信息

电脑A备份了数据,电脑B恢复备份失败,无法解压备份文件以及无法安装插件

To Reproduce BUG 如何产生的

Bug appears in (BUG 什么时候产生)

  • Create Backup 创建备份
  • Export Backup 导出备份
  • Import Backup 导入备份
  • Restore Backup 恢复备份

System Information 系统信息

  • OS 操作系统:Win11
  • Zotero Version 版本: 6.0.36
  • Addon Version 插件版本号:Tara 0.0.6

Screenshots 可提供截图
image

调试日志
(3)(+0030370): Starting full-text content processor

(4)(+0009064): SELECT COALESCE(IA.parentItemID, itemID) AS itemID FROM items LEFT JOIN itemAnnotations IA USING (itemID) WHERE (itemID NOT IN (SELECT itemID FROM deletedItems UNION SELECT itemID FROM itemNotes WHERE parentItemID IS NOT NULL AND parentItemID IN (SELECT itemID FROM deletedItems) UNION SELECT itemID FROM itemAttachments WHERE parentItemID IS NOT NULL AND parentItemID IN (SELECT itemID FROM deletedItems)UNION SELECT itemID FROM itemAnnotations WHERE parentItemID IN (SELECT itemID FROM deletedItems)UNION SELECT itemID FROM itemAnnotations WHERE parentItemID IN (SELECT itemID FROM itemAttachments WHERE parentItemID IN (SELECT itemID FROM deletedItems)))) AND itemID IN (SELECT itemID FROM itemData WHERE (fieldID IN (?,?,?,?) AND valueID IN (SELECT valueID FROM itemDataValues WHERE value=?))) [1, 46, 66, 106, 'Tara_Backup']

(3)(+0000025): [ "0": "Z7_2024-04-10-00'48'58_Tara.zip" "1": "Z7_2024-04-09-01'16'55_Tara.zip" "2": "Z6_2024-04-10-00'47'15_Tara.zip" ]

(3)(+0000000): ** Tara open select window

(3)(+0003645): ** Tara Tara select promise

(3)(+0000001): Z6_2024-04-10-00'47'15_Tara.zip

(3)(+0000018): ** Tara open window

(3)(+0000026): ** Tara wait

(3)(+0000068): ** Tara wait

(3)(+0000001): C:\Users\Shadow\Zotero\tmp\Backup

(3)(+0000164): NS_ERROR_FILE_NOT_FOUND Exception: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIZipReader.extract] unzipToTemporaryDir/<@chrome://tara/content/scripts/index.js:624:11 fulfilled@chrome://tara/content/scripts/index.js:10:16

(3)(+0000001): NS_ERROR_FILE_NOT_FOUND Exception: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init] Zotero.File</this.getContents@chrome://zotero/content/xpcom/file.js:167:7 restoreFromFile/<@chrome://tara/content/scripts/index.js:707:17 rejected@chrome://tara/content/scripts/index.js:17:16

(3)(+0000272): Getting contents of C:\Users\Shadow\Zotero\tmp\Backup\backup.json

(3)(+0000005): Error: Win error 2 during operation open on file C:\Users\Shadow\Zotero\tmp\Backup\backup.json (系统找不到指定的文件。 ) (No stack trace) From previous event: restoreFromFile/<@chrome://tara/content/scripts/index.js:788:23 fulfilled@chrome://tara/content/scripts/index.js:10:16

(3)(+0017354): Getting contents of C:\Users\Shadow\AppData\Roaming\Zotero\Zotero\Profiles\z0ytm68d.default\treePrefs.json

(3)(+0000004): Writing column prefs of length 4331 to file C:\Users\Shadow\AppData\Roaming\Zotero\Zotero\Profiles\z0ytm68d.default\treePrefs.json

zotero7中导入功能异常

版本:7.0.0-beta.75+f7dc68c7f (64-bit)
1.设置界面,备份路径选择按钮失效
2.使用导入功能时,系统无反应,没有备份文件选择的弹窗。
3.创建功能创建的备份文件不在Tara_Backup目录下

插件不能同步

安装的0.03版本,恢复的时候提示如下图:
image
插件也没有安装,
我原先认为是插件版本太低,所以想安装高一点的版本,下载了1.0.2版本,安装提示为:
image
我的zotero插件是6.0.30版本。
请大佬给我看看是什么原因

用自己配置同步文件手动帮新手配置zotero

您好,我想利用自己电脑的zotero(安装了很多最新插件)帮他人升级插件,利用此插件。将自己的备份文件发给其他人,结果在他人电脑上恢复时候,始终识别不了我的同步文件,请问可以帮忙新增这功能吗?能够利用他人的备份文件帮自己电脑配置最新的插件。

重装后之前的数据无法恢复问题

zotero重装后,想恢复之前的备份,但是检测不到之间的版本,只能检测重装后创建的版本,如何恢复之前的版本呢,跪求恢复。

zotero beta 7 无法兼容

非常感谢作者开发了这个软件,多设备党福音!可惜的是不适配7,请问日后可否有适配计划呢?

希望添加指定备份文件路径的功能

  1. 功能描述
    0.0.3版本在从备份文件恢复的时候必须将备份文件放到一个指定的文件夹才能被识别和选择,对于Zotero新用户来说操作不便捷,难以找到指定的路径,并且在手动替换指定路径中的文件容易导致一些路径冲突的问题,最终备份文件仍然不能被Tara识别。希望作者能添加一个手动选择备份文件路径的功能,这样能方便Zotero新老用户在新电脑上安装插件和解析器等。

  2. bug反馈
    0.0.3版本“恢复”页面中“cancel”拼写错误。
    image

找不到插件按钮

谢谢您对插件的开发努力!不过我无法在zotero 7 beta67中找到该插件使用按钮,可否放个截图显示插件按钮的位置?

Can't install this plugin.

The add-on "%S" could not be installed. It may be incompatible with this version of Zotero.

My zotero version is 6.0.30.

插件无法同步

大佬您好!请教您,为什么我生成的压缩文件里面的extensions文件夹并无法同步到另一台电脑?在另一台电脑上点击恢复,插件依然是没有的?谢谢!

只是添加插件,而未同步相关设置

今天卸载zotero尝试tara,恢复后只是安装了之前的插件,而插件的Preference均未同步,以及Zotero高级设置中的编辑器,列头...设置均无法同步,仍需从头进行配置,恳请改善,谢谢!

【导出】备份的作用是什么

首先感谢大佬制作这个方便好用的扩展😁,我现在关于扩展的功能有一个小疑问,就是:

创建备份的意思我懂了,就是创建一个Tara_backup条目,然后在【恢复】时,Tara会读取Tara_backup条目下面的备份zip。
那么【导出】功能的作用是什么呢,我尝试【导出】了一个备份,然后点击【恢复】,发现备份文件列表是空的,也没有地方手动选择备份文件。

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.