├── .dockerignore ├── .eslintignore ├── .eslintrc ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .gitmodules ├── COPYING ├── Dockerfile ├── README.md ├── config ├── custom-environment-variables.json ├── default.json5 └── test.json ├── docker-entrypoint.sh ├── lambda_config.env-sample ├── lambda_deploy ├── lambda_local_test ├── lambda_local_test_event.json ├── lambda_package ├── lambda_template.yaml.j2 ├── package.json ├── src ├── args.js ├── cors.js ├── debug.js ├── exportEndpoint.js ├── formats.js ├── http.js ├── importEndpoint.js ├── lambda.js ├── proxy.js ├── searchEndpoint.js ├── server.js ├── testEndpoint.js ├── textSearch.js ├── translation │ ├── sandboxManager.js │ ├── translate.js │ └── translate_item.js ├── translators.js ├── utilities.js ├── webEndpoint.js ├── webSession.js └── zotero.js ├── test ├── data │ ├── bibtex_response.xml │ ├── loc_book1_response.xml │ └── pubmed_article1_response.xml ├── export_test.js ├── import_test.js ├── mocha.opts ├── search_test.js ├── setup.js ├── testTranslators │ └── testTranslators.js └── web_test.js ├── translate_export ├── translate_search ├── translate_url ├── translate_url_multiple └── translate_url_single /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | connectorTypeSchemaData.js 2 | modules 3 | src/rdf/* 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/.gitmodules -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/README.md -------------------------------------------------------------------------------- /config/custom-environment-variables.json: -------------------------------------------------------------------------------- 1 | { 2 | "translatorsDirectory": "TRANSLATORS_DIR" 3 | } 4 | -------------------------------------------------------------------------------- /config/default.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/config/default.json5 -------------------------------------------------------------------------------- /config/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/config/test.json -------------------------------------------------------------------------------- /docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/docker-entrypoint.sh -------------------------------------------------------------------------------- /lambda_config.env-sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/lambda_config.env-sample -------------------------------------------------------------------------------- /lambda_deploy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/lambda_deploy -------------------------------------------------------------------------------- /lambda_local_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/lambda_local_test -------------------------------------------------------------------------------- /lambda_local_test_event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/lambda_local_test_event.json -------------------------------------------------------------------------------- /lambda_package: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/lambda_package -------------------------------------------------------------------------------- /lambda_template.yaml.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/lambda_template.yaml.j2 -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/package.json -------------------------------------------------------------------------------- /src/args.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/args.js -------------------------------------------------------------------------------- /src/cors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/cors.js -------------------------------------------------------------------------------- /src/debug.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/debug.js -------------------------------------------------------------------------------- /src/exportEndpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/exportEndpoint.js -------------------------------------------------------------------------------- /src/formats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/formats.js -------------------------------------------------------------------------------- /src/http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/http.js -------------------------------------------------------------------------------- /src/importEndpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/importEndpoint.js -------------------------------------------------------------------------------- /src/lambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/lambda.js -------------------------------------------------------------------------------- /src/proxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/proxy.js -------------------------------------------------------------------------------- /src/searchEndpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/searchEndpoint.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/server.js -------------------------------------------------------------------------------- /src/testEndpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/testEndpoint.js -------------------------------------------------------------------------------- /src/textSearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/textSearch.js -------------------------------------------------------------------------------- /src/translation/sandboxManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/translation/sandboxManager.js -------------------------------------------------------------------------------- /src/translation/translate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/translation/translate.js -------------------------------------------------------------------------------- /src/translation/translate_item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/translation/translate_item.js -------------------------------------------------------------------------------- /src/translators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/translators.js -------------------------------------------------------------------------------- /src/utilities.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/utilities.js -------------------------------------------------------------------------------- /src/webEndpoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/webEndpoint.js -------------------------------------------------------------------------------- /src/webSession.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/webSession.js -------------------------------------------------------------------------------- /src/zotero.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/src/zotero.js -------------------------------------------------------------------------------- /test/data/bibtex_response.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/data/bibtex_response.xml -------------------------------------------------------------------------------- /test/data/loc_book1_response.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/data/loc_book1_response.xml -------------------------------------------------------------------------------- /test/data/pubmed_article1_response.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/data/pubmed_article1_response.xml -------------------------------------------------------------------------------- /test/export_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/export_test.js -------------------------------------------------------------------------------- /test/import_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/import_test.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --file test/setup.js 2 | -------------------------------------------------------------------------------- /test/search_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/search_test.js -------------------------------------------------------------------------------- /test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/setup.js -------------------------------------------------------------------------------- /test/testTranslators/testTranslators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/testTranslators/testTranslators.js -------------------------------------------------------------------------------- /test/web_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/test/web_test.js -------------------------------------------------------------------------------- /translate_export: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/translate_export -------------------------------------------------------------------------------- /translate_search: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/translate_search -------------------------------------------------------------------------------- /translate_url: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/translate_url -------------------------------------------------------------------------------- /translate_url_multiple: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/translate_url_multiple -------------------------------------------------------------------------------- /translate_url_single: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zotero/translation-server/HEAD/translate_url_single --------------------------------------------------------------------------------