server

The VPDB RESTful API.

GPL-2.0 License

Stars
13
Committers
4

Bot releases are hidden (Show)

server - v3.0.3

Published by freezy about 6 years ago

Features

  • Include body and header in structured log on errors

Bugfixes

  • Fix avatar on Slack bot
  • Add some missing cache invalidations
  • Fix a bug in the processing queue
server - v3.0.2

Published by freezy about 6 years ago

Features

  • Add structured logs to be processed by the Elastic Stack
  • Add basic Elastic APM support
server - v3.0.1

Published by freezy about 6 years ago

The usual bugfix release after a new major.

  • Update build script to copy email templates
  • Allow dashes in user's display name
  • Remove XDEBUG instruction in OAuth client
server - v2.0.2

Published by freezy about 6 years ago

  • Fix crash introduced by Mongoose update
server - v2.0.1

Published by freezy about 6 years ago

  • Fix login token not included in welcome mail
server - v2.0.0

Published by freezy about 6 years ago

This release adds features necessary for other sites to integrate more tightly with VPDB.

Features

  • Add token scopes to authorization
  • Add provider scope that is allowed to create OAuth users
  • Downloads can be pre-validated using HEAD
  • Profiles can merged when conflicting
  • Add Sqreen integration

Internal

  • Make serializer code reusable
  • Drop Grunt in favor of npm scripts
server - v3.0.0

Published by freezy about 6 years ago

This was a major rewrite to make the code more maintainable and progress faster with new features in the future.

Features

  • Add caching for release and game resources
  • Removed Pusher, will be replaced later with websockets.

Internal

  • Rewrite code base in Typescript
  • Replace promises with async/wait
  • Rewrite file processing queue
  • Use Koa instead of Express
  • Replace Passport with own implementations
  • Make logger context-aware
  • Properly implement sitemap
  • Add error reporting for Rollbar and Raygun
  • Refactor metrics plugin to work on embedded documents

Tests

  • New test helpers based on async/await
  • Split ACL and scope tests into components
  • Add coverage for storage API
  • Log less during tests to keep log size under 4mb.