Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Revert axios version back to v0.19.2 #1001

Merged
merged 2 commits into from Oct 11, 2022

Conversation

psikoi
Copy link
Member

@psikoi psikoi commented Oct 11, 2022

The newest axios versions aren't playing well with proxies, will upgrade again once this PR is merged.

@psikoi psikoi merged commit ac6d12c into wise-old-man:release/v2 Oct 11, 2022
psikoi added a commit that referenced this pull request Oct 13, 2022
* [Beta] API Version 2 (#957)

* Fix ts errors in migration files

* Add Prisma base

* Update setups for dev and prod environments

* Migrate achievements to Prisma

* Migrate CI to postgres and docker

* Temporarily disable snapshot tests

* Add new achievements integration tests

* Add name changes integration tests

* Migrate NameChange model queries to prisma

* Add records API tests

* Refactor achievement service into module

* Convert name changes to service modules

* Convert name changes to service modules

* Add module services for all name change services

* Tweak achievement module services structure

* Convert NameChange status to string based enum

* Convert all record services to module services

* Add PlayerType prisma enum

* Fix tests timezone (UTC)

* Add snapshot tests

* Migrate snapshot module to services (part 1)

* Migrate snapshot module to services (part 2)

* Start adding delta tests

* Add guardians of the rift

* Finish delta integration tests

* Adjust Deltas Prisma Model to use "Period" enum

* Migrate Deltas to module and service files

* Efficiency utils cleanup

* Add unit tests for efficiency calculations

* Migrate efficiency service to module files

* Add new player integration tests

* Migrate player build to enum

* Cleanup Player Model

* Migrate player utils to modules

* Migrate findPlayer and affected services

* Migrate more player endpoints

* Add player id cache

* Migrate resolvePlayer and resolvePlayerId to new cache

* Migrate more player service functions to files

* Migrate UpdatePlayer

* Rename a few enums

* Remove metric-related @utils dependencies

* Migrate more utils to the server dir

* Merge util imports into index

* Migrate string utils

* Add new group integration tests

* Start migrating some group services to modules and prisma

* Migrate country utils to server dir

* More group stuff

* Even more group stuff

* Add group statistics and better snapshot formatting

* Migrate "add members", add "count" and fix validations

* Migrate createGroup

* Finish migrating groups

* Add group migrate endpoints testing

* Remove unused name check

* Merge integration and unit test suites

* Add more group delta tests

* Reorganize project folders

* Refactor InvalidateDeltas to prisma

* Add more competition tests

* Migrate some competition functions to services

* Migrate more competition stuff

* Migrate "create competition"

* Add edit competition service

* Optimize EditGroupService

* Migrate Competition Details

* Finish competitions tests and migrations

* Discontinue utils package

* Migrate some sequelize/model dependencies to prisma

* Get rid of sequelize

* Migrate from moment to dayjs

* Remove "extract" functions

* Remove "/api/ prefix

* Add pvp arena metric

* Update schema to match v1 (adapted) db

* Add "group" field to competition lists

* Remove base package files

* Disable cron jobs

* bump prisma to v4.2.1

* Move log files

* Fix achievements combat error

* Add production dockerfile and run-prod script

* Add docker build GH action workflow

* Fix prisma installation (& generate) in production build (#958)

* Change prod script to run pm2 directly (#959)

* Fix database url (env var resolver) & add deploy/test workflows (#960)

* Fix database url env var resolver

* Restore v2 deploy workflow, and add v2 test workflow

* Fix production start script (#961)

* Revert prod script (#962)

* Uncomment prisma migrate command

* Update tsconfig files (#963)

* [v2] Rename some player/group/competition routes (#964)

* Change player routing

* Change competition routes

* Change group routes

* Update npm package version

* Sync v2 prisma schema with current db (#965)

* [API v2] Add Tombs of Amascut Metric (#966)

* Add tombs_of_amascut and tombs_of_amascut_expert metrics

* Uncomment prisma deploy in run-prod.sh

* Update npm package version

* Add JavaScript/TypeScript WiseOldMan client (library) (#970)

* Add jsclient initial code

* Improve api util types

* Improve type exports in /server

* Works with js only

* Add decent typescript declaration file generation

* Add ESLint and api-types file

* Add name changes client

* Add competitions client

* Add groups client

* Add comments to client methods and fix some API typings

* Prevent snapshot/exp utils from being bundled into the js client

* Prepare release

* Change v2 deployment workflow to also tag latest

* Fix achievement progress type mismatch

* Add event dispatching tests (#973)

* Add dispatcher for onPlayerUpdated

* Add event dispatcher and player events

* Add event dispatcher and deltas events

* Add event dispatcher for name change events

* Add event dispatcher to achievement events

* Add group events to dispatcher

* Change event registry to event hooks

* Finish migrating to event dispatcher

* Get rid of event dispatcher, add jest function spies

* Rewrite Job dispatching & scheduling (bullMQ) (#978)

* Migrate job dispatching to bullmq

* Distribute score update jobs

* Distribute delta invalidation jobs

* Replace rate limit with delayed scheduling

* Distribute name change reviews over 24h

* Disable cron jobs for v2

* Fix server port back to 5001 and version to 2.0.4

* Improve API Logging (#979)

* Add better logging to API

* Bump package version

* Rename virtual metrics to computed metrics (#981)

* [v2] Update ToA EHB rates (#984)

* Update ToA EHB rates

* Update package version to 2.0.6

* Fix Delta Fetching in SyncPlayerDeltas service (#985)

* Fix delta fetching in SyncPlayerDeltas

* Bump package version to 2.0.7

* [js-client] Add type guards & export group hiscores items (#986)

* Add group hiscores items types

* Export group hiscores items

* Bump client-js package version

* [v2] Combine Group Details with Group Members endpoints (#987)

* Combine group details and group members endpoints

* Update client-js to include updated group details

* [v2] Fix group editing "duplicate name" and competition top history sorting (#989)

* Fix group editing duplicate name error

* Fix competition top 5 progress sorting

* Bump package version to 2.0.9

* client-js: Add options to the JS Client (#990)

* client-js: Add optional baseAPIUrl param

* add apiKey and userAgent client options

* Improve Client-JS "Map" types [2.0.0-beta.6] (#991)

* Fix map types

* Rename Typescript Native Record to MapOf

* Bump client-js package version to 2.0.0-beta.6

* [client-js] Add decimal precision to `formatNumber` and fix `parseMetricAbbreviation` [2.0.0-beta.7] (#992)

* client-js: Add decimal precision arg to formatNumber

* Fix parseMetricAbbreviation to return Metric or null

* Bump client js package version to 2.0.0-beta.7

* [v2] Add API keys & Extend rate limits for trusted origins (#982)

* Add API keys and extended limits for trusted developers

* Bump API version to 2.0.10

* Fix default null API key headers in client-js (#993)

* [v2] Add logging for critical actions (#994)

* Add moderation logging for critical actions

* Oops

* [v2] Add Activity minimum values (#995)

* Add Activity minimum values

* Add client-js 2.0.0-beta.9 build

* Add pvp arena as possibly decayed

* [v2] Update a few dependencies (#996)

* Upgrade sentry packages to 7.15.0

* Update axios to v1.1.2

* Update bcrypt to v5.1.0

* Update express to 4.18.2

* chore: Add unique SENTRY_DSN env var to API v2 (#997)

* Add unique sentry DSN for API v2

* Bump API to v2.0.12

* [v2] Enable cron jobs (#998)

* Enable v2 cron jobs

* Bump API to v2.0.13

* Fix: Revert axios version back to v0.19.2 (#1001)

* Revert axios version back to v0.19.2

* Bump API version

* Add missing ReviewPlayerTypeJob (#1002)

* Add missing ReviewPlayerTypeJob

* Bump API version to 2.0.15

* [v2] Adapt Web app to use API v2 endpoints (#988)

* add TOA

* Migrate a lot of endpoints calls to v2

* Adapt app to combined group details endpoint

* Adapt competition endpoints

* Adapt player endpoints

* Fix package lock version

* Fix random things

* Replace metric utils and config with client-js package

* Replace more things with client-js package

* Update client-js package

* Fix package lock

* Update v1 api workflows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant