Commit Graph

27 Commits

Author SHA1 Message Date
Tyler Wilding
85e3d4ca6e ci: group dependabot updates 2025-02-26 20:34:27 -05:00
Tyler Wilding
f4dfb6045a API Rewrite and Dockerization (#78)
* workers: init

* workers: d1 initial work

* workers: resuming work, simplified schema

* api: flesh out the majority of critical features

* api: get rid of the old implementation

* db: seed database with current releases

* db: break seed files up, too much for a single stdout buffer

* api: support version diff'ing

* d1: debugging insert issue

* api: fix insert issue (missing `await`s) and explicitly cache to avoid invocations

* api: append CORS headers for requests originating from `pcsx2.net`

* api: update seed data and fix response data

* api: optimize DB indexes and add caching

* api: update page rule cache when a release is added/deleted/modified

* api: most functionality ported over to rocket.rs

* api: finish off core implementation

* api: dockerize

* api: cleaning up TODOs

* v1: remove some of the old implementation

* v2: small script to pull release data, update DB seed

* v2: minor cleanup

* v2: finalize v1 -> v2 transition

* v2: synchronize db on startup

* sqlx: commit sql query metadata

* v2: handful of bug fixes and v1 parity adjustments

* v2: some repo house cleaning

* ci: add CI workflows

* ci: finalize ci implementation
2025-02-26 20:31:03 -05:00
Ty
7ffaa76172 Release Cache: Provide asset sizes for releases (#77) 2023-10-14 18:45:16 -04:00
seapancake
21401f824c Merge pull request #69 from PCSX2/web-api-rate-limit-disable
Disable limiter
2023-01-09 18:21:50 +10:30
seapancake
1a837fdc59 Disable limiter
Disabled the API rate limit to avoid conflicting with Cloudflare request origins. See issue #137 on pcsx2-neet-it.
2023-01-09 18:21:10 +10:30
Tyler Wilding
e854c20eeb cache: fix some mistakes handling macos
.tar.gz doesn't play well with path parsing.
2022-04-27 19:54:04 -04:00
Tyler Wilding
bcb9557116 cache: support overriding the createdAt date, and change macos naming scheme (#33) 2022-04-23 16:09:11 -04:00
Tyler Wilding
0832e32231 cache: enable archive build caching 2022-04-05 01:14:49 -04:00
Tyler Wilding
e34b96e87a Allow CORS to be flexibly configured (#28) 2022-03-18 21:17:03 -04:00
Tyler Wilding
8a229e588b workaround semver tags without a patch number 2021-12-08 18:39:47 -05:00
Tyler Wilding
8c1827ea05 fixes for supporting legacy stable releases as well in the archive 2021-12-05 18:31:45 -05:00
Tyler Wilding
4affdb86b4 some small bug fixes, add compression middleware 2021-11-19 20:46:48 -05:00
Tyler Wilding
44fb5431b4 Merge pull request #4 from PCSX2/dependabot/npm_and_yarn/typescript-4.4.4 2021-11-13 18:42:42 -05:00
dependabot[bot]
1135611670 build(deps-dev): bump typescript from 4.4.3 to 4.4.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.3 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 20:13:07 +00:00
Tyler Wilding
ac10424bb4 Merge pull request #3 from PCSX2/dependabot/npm_and_yarn/octokit/rest-18.12.0 2021-11-12 15:11:45 -05:00
Tyler Wilding
d3c9d8a230 Merge pull request #5 from PCSX2/dependabot/npm_and_yarn/types/node-16.11.7 2021-11-12 15:10:36 -05:00
Tyler Wilding
e021268f8d Merge pull request #6 from PCSX2/dependabot/npm_and_yarn/express-rate-limit-5.5.1 2021-11-12 15:10:28 -05:00
Tyler Wilding
d735adee4c Merge pull request #7 from PCSX2/dependabot/npm_and_yarn/ts-node-10.4.0 2021-11-12 15:10:15 -05:00
Tyler Wilding
cb2179633e default to HTTP 2021-11-12 15:08:41 -05:00
dependabot[bot]
ac3582449a build(deps-dev): bump ts-node from 10.2.1 to 10.4.0
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.2.1 to 10.4.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v10.2.1...v10.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 20:02:29 +00:00
dependabot[bot]
8288c65e26 build(deps): bump express-rate-limit from 5.4.0 to 5.5.1
Bumps [express-rate-limit](https://github.com/nfriedly/express-rate-limit) from 5.4.0 to 5.5.1.
- [Release notes](https://github.com/nfriedly/express-rate-limit/releases)
- [Commits](https://github.com/nfriedly/express-rate-limit/compare/v5.4.0...v5.5.1)

---
updated-dependencies:
- dependency-name: express-rate-limit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 20:02:28 +00:00
dependabot[bot]
dc61af701e build(deps-dev): bump @types/node from 16.10.2 to 16.11.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.2 to 16.11.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 20:02:22 +00:00
dependabot[bot]
c423fa91db build(deps): bump @octokit/rest from 18.11.4 to 18.12.0
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.11.4 to 18.12.0.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.11.4...v18.12.0)

---
updated-dependencies:
- dependency-name: "@octokit/rest"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-12 20:02:12 +00:00
Tyler Wilding
0398ad8128 deps: keep dependencies up to date 2021-11-12 15:01:09 -05:00
Tyler Wilding
5ad512d51e Merge pull request #1 from PCSX2/migrate 2021-11-12 14:42:32 -05:00
Tyler Wilding
84a8aa8693 move over existing code into new repository 2021-11-12 14:41:45 -05:00
Tyler Wilding
95e9f47529 Initial commit 2021-11-12 14:16:07 -05:00