Commit graph

50 commits

Author SHA1 Message Date
Alexander Borsuk
cda02e3a23 Enabled donates url for iOS
Old iOS versions (without donate menu item support) do not send build number and flavor.
Newer iOS versions send it in the form: 2022.11.21-3-ios.

Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-23 07:48:08 +02:00
Alexander Borsuk
8a4330d582 Temporarily workaround missing CF type definition check
Will revert it when CF fixes their @cloudflare/workers-types
2022-11-23 07:48:08 +02:00
Alexander Borsuk
7c3947d978 Upgrade to Wrangler 2
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-23 07:48:08 +02:00
Alexander Borsuk
feb0f468ef .gitignore .DS_Store files
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-23 07:48:08 +02:00
Alexander Borsuk
5a7540fc88 [2] Refactored tests. No any changes in the logic.
Now there is no copy-paste and it is easier to add new test cases

Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-21 11:53:58 +02:00
Alexander Borsuk
8779625701 [1] Renamed generic utils to specialized versions
It is required for follow up commits

Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-11-21 11:53:58 +02:00
Alexander Borsuk
cf3ad82a72 Enabled donations on Google Play 2022-11-08 22:15:33 +01:00
Alexander Borsuk
b597d4ec71 Added new data 221029, disabled donates for Google Review 2022-11-02 13:02:02 +01:00
Alexander Borsuk
5c637682b7 Removed annoying dependabot
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-10-24 09:48:38 +02:00
e7cb18f14b Enable donates 2022-10-10 13:27:22 +03:00
0c45b20401
Add a log message when donates are enabled
Needed to count the number of users who actually received
the new config.

```
"logs":[{"message":["Donates enabled"],"level":"log","timestamp":1664702669575}]
```

Co-authored-by: Alexander Borsuk <170263+biodranik@users.noreply.github.com>
2022-10-02 13:31:41 +03:00
Alexander Borsuk
5271453dcd Upgraded dependencies 2022-09-25 08:50:26 +02:00
Alexander Borsuk
b2e3a548ea npm upgrade now upgrades all modules
Depends on npm-check-updates package
2022-09-25 08:50:13 +02:00
dependabot[bot]
f0abe48bac Bump jest-environment-miniflare from 2.8.2 to 2.9.0
Bumps [jest-environment-miniflare](https://github.com/cloudflare/miniflare/tree/HEAD/packages/jest) from 2.8.2 to 2.9.0.
- [Release notes](https://github.com/cloudflare/miniflare/releases)
- [Commits](https://github.com/cloudflare/miniflare/commits/v2.9.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest-environment-miniflare
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-25 01:04:59 +03:00
dependabot[bot]
25d292b3f0 Bump ts-jest from 29.0.0 to 29.0.1
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.0.0 to 29.0.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.0.0...v29.0.1)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-25 01:04:44 +03:00
dependabot[bot]
b2ab3884f2 Bump @typescript-eslint/eslint-plugin from 5.36.2 to 5.37.0
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.37.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-25 01:04:31 +03:00
dependabot[bot]
c2846d417d Bump esbuild from 0.15.7 to 0.15.8
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.15.7 to 0.15.8.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.15.7...v0.15.8)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-25 01:04:02 +03:00
decc88ba55 220912 data 2022-09-16 17:22:40 +03:00
3d66cc1c0d Change donation URL 2022-09-13 07:37:06 +03:00
dependabot[bot]
7dda57780f Bump eslint from 8.23.0 to 8.23.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.23.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 07:36:35 +03:00
dependabot[bot]
02e8bf2d17 Bump @types/jest from 29.0.0 to 29.0.1
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.0.0 to 29.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 07:36:25 +03:00
7d8797c56a Implement conditional donates 2022-09-11 20:10:23 +03:00
ddd4dea2f3 Enable formatting for the rest of repository
Follow up the previous commit.
2022-09-11 10:00:26 +03:00
1aba9a9246 Fix formatting 2022-09-11 09:27:19 +03:00
dependabot[bot]
438b995b52 Bump esbuild from 0.14.54 to 0.15.7
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.54 to 0.15.7.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.14.54...v0.15.7)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-11 08:30:21 +03:00
c4f647ab67
Enable Dependabot 2022-09-11 08:25:52 +03:00
6225ff53c4 Bump versions 2022-09-11 08:25:31 +03:00
46544dd96a Handle old versions properly 2022-09-09 09:30:33 +03:00
Alexander Borsuk
fbb410b155 Updated last versions 2022-03-25 11:48:57 +01:00
Alexander Borsuk
38deb82134 Updated last available data version on cdns 2022-02-14 10:53:40 +01:00
Alexander Borsuk
6ed77b0bfd Removed non-working ru-1 server 2022-02-14 10:53:40 +01:00
Alexander Borsuk
33c64ff52e Updated npm packages 2022-02-14 10:53:40 +01:00
ea22715a7b
Add ru1 + bump data version (#4) 2022-02-05 11:06:42 +03:00
44b314e669 Add new Hetzner server in US East 2022-02-05 08:59:41 +01:00
Alexander Borsuk
604c0b747f Increased version
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-02-05 08:59:41 +01:00
4bc9626dd1 Remove cdn-pl1 server
This server is dead. OVH is buggy and completely unusable.
2022-02-05 08:59:41 +01:00
Alexander Borsuk
0c8b818eb1 Allow older clients to download old maps data from Backblaze archive
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-02-05 08:59:24 +01:00
Alexander Borsuk
773dceb447 Compatibility date
Signed-off-by: Alexander Borsuk <me@alex.bio>
2022-02-05 08:58:59 +01:00
Alexander Borsuk
3ea296736a Updated npm dependencies
Signed-off-by: Alexander Borsuk <me@alex.bio>
2021-11-10 21:53:48 +01:00
29e974b4a6
Update US servers 2021-08-25 11:25:54 +03:00
Alexander Borsuk
6920fc8978 Added aliases /maps and /resources 2021-08-25 08:28:53 +02:00
71142c5406 Add Mythic Beasts serves 2021-08-23 23:07:57 +03:00
13d50b1a5d
Merge pull request #1 from organicmaps/rt-america-backblaze
Route North America to BackBlaze + CF
2021-08-19 12:36:05 +03:00
a3ba3f18fa Route North America to BackBlaze + CF 2021-08-19 12:33:36 +03:00
c197b73c8f
Temporary disable ca1 for maintaince 2021-06-27 09:16:43 +03:00
2a71f0fd2e
Add cdn-ca1.organicmaps.app 2021-06-21 18:19:04 +03:00
a8f17446bf
Fix URLs 2021-06-21 15:12:24 +03:00
44b966be38
Update index.ts 2021-06-21 15:11:33 +03:00
Alexander Borsuk
afca07f58e Added eu1 Warsaw server 2021-06-21 11:45:45 +02:00
Alexander Borsuk
28ad2631bf Initial commit 2021-06-18 22:38:16 +02:00