├── .eslintrc.json ├── .github └── workflows │ ├── codeql-analysis.yml │ ├── docker.yml │ └── tests.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── RELEASE_HOWTO.md ├── config ├── defaults.yml └── test.yml ├── docker-compose.dev.yml ├── docker-compose.env ├── docker-compose.yml ├── newrelic.js ├── package.json ├── src ├── config.js ├── helpers │ ├── axios.js │ ├── ioredis.js │ ├── languages.js │ ├── md5.js │ ├── plurals.js │ ├── ratelimit.js │ ├── utils.js │ └── validators.js ├── index.js ├── logger.js ├── middlewares │ ├── headers.js │ └── metrics.js ├── queue │ ├── index.js │ └── worker.js ├── routes │ ├── content.js │ ├── invalidate.js │ ├── jobs.js │ ├── languages.js │ └── purge.js ├── sentry.js ├── server.js ├── services │ ├── cache │ │ ├── index.js │ │ └── strategies │ │ │ ├── azure │ │ │ └── index.js │ │ │ ├── gcs │ │ │ └── index.js │ │ │ ├── redis │ │ │ └── index.js │ │ │ └── s3 │ │ │ └── index.js │ ├── registry │ │ ├── index.js │ │ └── strategies │ │ │ ├── dynamodb-redis │ │ │ └── index.js │ │ │ ├── dynamodb │ │ │ ├── index.js │ │ │ └── table.js │ │ │ └── redis │ │ │ └── index.js │ └── syncer │ │ ├── data.js │ │ └── strategies │ │ └── transifex │ │ ├── data.js │ │ └── utils │ │ ├── api.js │ │ ├── api_payloads.js │ │ ├── api_urls.js │ │ ├── errors.js │ │ └── transformer.js └── telemetry.js └── tests ├── helpers ├── plurals.spec.js └── utils.spec.js ├── lib.js ├── routes ├── content.spec.js ├── invalidate.spec.js ├── languages.spec.js └── purge.spec.js └── services ├── cache ├── route.spec.js └── strategies │ ├── redis │ └── cache.spec.js │ └── s3 │ └── cache.spec.js ├── registry └── strategies │ ├── dynamodb-redis │ └── registry.spec.js │ ├── dynamodb │ └── registry.spec.js │ └── redis │ └── registry.spec.js └── syncer └── strategies └── transifex ├── data.spec.js ├── helpers └── api.js └── utils ├── api_urls.spec.js └── transformer.spec.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE_HOWTO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/RELEASE_HOWTO.md -------------------------------------------------------------------------------- /config/defaults.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/config/defaults.yml -------------------------------------------------------------------------------- /config/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/config/test.yml -------------------------------------------------------------------------------- /docker-compose.dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/docker-compose.dev.yml -------------------------------------------------------------------------------- /docker-compose.env: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /newrelic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/newrelic.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/package.json -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/config.js -------------------------------------------------------------------------------- /src/helpers/axios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/axios.js -------------------------------------------------------------------------------- /src/helpers/ioredis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/ioredis.js -------------------------------------------------------------------------------- /src/helpers/languages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/languages.js -------------------------------------------------------------------------------- /src/helpers/md5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/md5.js -------------------------------------------------------------------------------- /src/helpers/plurals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/plurals.js -------------------------------------------------------------------------------- /src/helpers/ratelimit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/ratelimit.js -------------------------------------------------------------------------------- /src/helpers/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/utils.js -------------------------------------------------------------------------------- /src/helpers/validators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/helpers/validators.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/index.js -------------------------------------------------------------------------------- /src/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/logger.js -------------------------------------------------------------------------------- /src/middlewares/headers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/middlewares/headers.js -------------------------------------------------------------------------------- /src/middlewares/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/middlewares/metrics.js -------------------------------------------------------------------------------- /src/queue/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/queue/index.js -------------------------------------------------------------------------------- /src/queue/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/queue/worker.js -------------------------------------------------------------------------------- /src/routes/content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/routes/content.js -------------------------------------------------------------------------------- /src/routes/invalidate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/routes/invalidate.js -------------------------------------------------------------------------------- /src/routes/jobs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/routes/jobs.js -------------------------------------------------------------------------------- /src/routes/languages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/routes/languages.js -------------------------------------------------------------------------------- /src/routes/purge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/routes/purge.js -------------------------------------------------------------------------------- /src/sentry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/sentry.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/server.js -------------------------------------------------------------------------------- /src/services/cache/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/cache/index.js -------------------------------------------------------------------------------- /src/services/cache/strategies/azure/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/cache/strategies/azure/index.js -------------------------------------------------------------------------------- /src/services/cache/strategies/gcs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/cache/strategies/gcs/index.js -------------------------------------------------------------------------------- /src/services/cache/strategies/redis/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/cache/strategies/redis/index.js -------------------------------------------------------------------------------- /src/services/cache/strategies/s3/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/cache/strategies/s3/index.js -------------------------------------------------------------------------------- /src/services/registry/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/registry/index.js -------------------------------------------------------------------------------- /src/services/registry/strategies/dynamodb-redis/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/registry/strategies/dynamodb-redis/index.js -------------------------------------------------------------------------------- /src/services/registry/strategies/dynamodb/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/registry/strategies/dynamodb/index.js -------------------------------------------------------------------------------- /src/services/registry/strategies/dynamodb/table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/registry/strategies/dynamodb/table.js -------------------------------------------------------------------------------- /src/services/registry/strategies/redis/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/registry/strategies/redis/index.js -------------------------------------------------------------------------------- /src/services/syncer/data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/data.js -------------------------------------------------------------------------------- /src/services/syncer/strategies/transifex/data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/strategies/transifex/data.js -------------------------------------------------------------------------------- /src/services/syncer/strategies/transifex/utils/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/strategies/transifex/utils/api.js -------------------------------------------------------------------------------- /src/services/syncer/strategies/transifex/utils/api_payloads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/strategies/transifex/utils/api_payloads.js -------------------------------------------------------------------------------- /src/services/syncer/strategies/transifex/utils/api_urls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/strategies/transifex/utils/api_urls.js -------------------------------------------------------------------------------- /src/services/syncer/strategies/transifex/utils/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/strategies/transifex/utils/errors.js -------------------------------------------------------------------------------- /src/services/syncer/strategies/transifex/utils/transformer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/services/syncer/strategies/transifex/utils/transformer.js -------------------------------------------------------------------------------- /src/telemetry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/src/telemetry.js -------------------------------------------------------------------------------- /tests/helpers/plurals.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/helpers/plurals.spec.js -------------------------------------------------------------------------------- /tests/helpers/utils.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/helpers/utils.spec.js -------------------------------------------------------------------------------- /tests/lib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/lib.js -------------------------------------------------------------------------------- /tests/routes/content.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/routes/content.spec.js -------------------------------------------------------------------------------- /tests/routes/invalidate.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/routes/invalidate.spec.js -------------------------------------------------------------------------------- /tests/routes/languages.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/routes/languages.spec.js -------------------------------------------------------------------------------- /tests/routes/purge.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/routes/purge.spec.js -------------------------------------------------------------------------------- /tests/services/cache/route.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/cache/route.spec.js -------------------------------------------------------------------------------- /tests/services/cache/strategies/redis/cache.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/cache/strategies/redis/cache.spec.js -------------------------------------------------------------------------------- /tests/services/cache/strategies/s3/cache.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/cache/strategies/s3/cache.spec.js -------------------------------------------------------------------------------- /tests/services/registry/strategies/dynamodb-redis/registry.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/registry/strategies/dynamodb-redis/registry.spec.js -------------------------------------------------------------------------------- /tests/services/registry/strategies/dynamodb/registry.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/registry/strategies/dynamodb/registry.spec.js -------------------------------------------------------------------------------- /tests/services/registry/strategies/redis/registry.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/registry/strategies/redis/registry.spec.js -------------------------------------------------------------------------------- /tests/services/syncer/strategies/transifex/data.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/syncer/strategies/transifex/data.spec.js -------------------------------------------------------------------------------- /tests/services/syncer/strategies/transifex/helpers/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/syncer/strategies/transifex/helpers/api.js -------------------------------------------------------------------------------- /tests/services/syncer/strategies/transifex/utils/api_urls.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/syncer/strategies/transifex/utils/api_urls.spec.js -------------------------------------------------------------------------------- /tests/services/syncer/strategies/transifex/utils/transformer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/transifex/transifex-delivery/HEAD/tests/services/syncer/strategies/transifex/utils/transformer.spec.js --------------------------------------------------------------------------------