Commit graph

58 commits

Author SHA1 Message Date
dependabot[bot] c143500605 chore(deps): bump ws from 7.4.0 to 7.5.0 in /api
Bumps [ws](https://github.com/websockets/ws) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.5.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 13:45:47 +02:00
Paul Bienkowski dab902aa22 Bump api/scripts 2021-06-22 09:56:06 +02:00
Paul Bienkowski 7162589617 Validate file uniqueness (fixes #78) 2021-06-21 19:36:28 +02:00
Paul Bienkowski e6350cdb66 api: Do not require district for parsing anymore 2021-06-21 18:52:04 +02:00
Paul Bienkowski 3bb87989b2 api: Show privacy policy checkbox in registration, if a URL is provided 2021-05-15 14:03:44 +02:00
Paul Bienkowski fb1d04d98e api: Consider password reset a successful email verification (fixes #77) 2021-05-15 10:21:26 +02:00
Paul Bienkowski 54d0a56b9a Show per-user stats in profile settings 2021-05-14 20:44:36 +02:00
Paul Bienkowski b34fbb1ee7 Add date range to statistics 2021-05-14 20:16:05 +02:00
Paul Bienkowski 5c28f1d344 Make stats calculation more robust, ignore obvious errors 2021-05-14 19:25:27 +02:00
Paul Bienkowski f2e6c062d3 Improve logout mechanism 2021-05-14 19:24:17 +02:00
Paul Bienkowski fb8e622d7c Revert "Moved license back from subfolder to root"
This reverts commit 451abe28b5.
2021-05-14 16:58:52 +02:00
Steffen Genauck 451abe28b5 Moved license back from subfolder to root 2021-05-14 11:24:09 +02:00
Paul Bienkowski 16b89ce08b Disable npm update message when building docker files (resolves #75) 2021-05-14 09:19:45 +02:00
Paul Bienkowski bc682a22a1 Fix .dockerignore by moving them into the actual contexts 2021-05-14 09:19:25 +02:00
Paul Bienkowski 7aee81dcee Improve auto-title generation for tracks, using date from filename if available 2021-05-13 20:52:50 +02:00
Paul Bienkowski ce2a27ed51 Expose all generated JSON files in one endpoint, and use actual track data for rendering the blue line (fixes #72, fixes #64) 2021-05-13 20:32:55 +02:00
dependabot[bot] 5193acd9cd chore(deps): bump underscore from 1.12.0 to 1.12.1 in /api
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.0...1.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 09:43:20 +02:00
dependabot[bot] 741ee78de3 chore(deps): bump y18n from 4.0.0 to 4.0.3 in /api
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 09:43:03 +02:00
dependabot[bot] 5e213b8ea5 chore(deps): bump pug from 3.0.0 to 3.0.1 in /api
Bumps [pug](https://github.com/pugjs/pug) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug@3.0.0...pug@3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 09:42:05 +02:00
dependabot[bot] ecaf398f3b chore(deps): bump pug-code-gen from 3.0.1 to 3.0.2 in /api
Bumps [pug-code-gen](https://github.com/pugjs/pug) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@3.0.1...pug-code-gen@3.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 09:41:54 +02:00
dependabot[bot] ba0db9a175 chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /api
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 09:41:33 +02:00
Paul Bienkowski 34042ede54 feat: stop using smiley default avatar, use first letter of name on colored square as fallback 2021-05-07 14:57:54 +02:00
Paul Bienkowski 76620c5e8f api: add client.autoAccept flag to not ask for authorization 2021-05-01 16:20:05 +02:00
Paul Bienkowski 9a7043ea71 api: Use semantic-ui-css for api-rendered views (account pages) 2021-05-01 15:47:22 +02:00
Paul Bienkowski 31af59819e api: Handle views directory better, and disable obsver1 download 2021-05-01 13:29:25 +02:00
Paul Bienkowski 44a18657f6 api: Allow reprocessing of stalled jobs 2021-04-30 16:05:02 +02:00
Dennis Boldt 9002802d70 package-lock.json 2021-04-29 21:58:54 +02:00
Dennis Boldt 4f5177a5fc Bump node to 15.14 + add .nvmrc 2021-04-29 21:43:40 +02:00
Dennis Boldt a00189d56a Fix stats. 2021-04-29 21:30:23 +02:00
Dennis Boldt e9ea0645c9 Small fixes to get started
- docker-compose needs the flag --build to (re)build all containers
- Initially, on an empty database, Track.aggregate returns an empty array,
  which results in an undefined error for /api/stats
2021-04-26 22:12:07 +02:00
Paul Bienkowski 840ecc6d6f Rename track.visible -> track.public 2021-04-19 21:57:40 +02:00
Paul Bienkowski bca3582e30 Add worker, queue, redis, and call python script to import files 2021-04-19 21:38:54 +02:00
Paul Bienkowski 764a711a9e api: Include scripts repo, and add python to docker container 2021-03-27 16:19:46 +01:00
Paul Bienkowski b80b219748 api: Use baseUrl in email links 2021-02-28 22:57:43 +01:00
Paul Bienkowski da7f3fb432 api: Fix baseUrl for templates to have the slash 2021-02-28 22:37:48 +01:00
Paul Bienkowski 46466874da api: Add baseUrl to templates 2021-02-28 22:36:11 +01:00
Paul Bienkowski 5b4ec4d69e api: Add baseUrl to redirects 2021-02-28 22:32:44 +01:00
Paul Bienkowski 4779965377 api: Move OAuth2.0 client definitions to config file, from MongoDB 2021-02-28 20:19:08 +01:00
Paul Bienkowski 470dfe339d api: More configurable options 2021-02-27 13:20:41 +01:00
Paul Bienkowski ccd3d80bae api: Configure jwt and cookie secret separately 2021-02-27 13:06:06 +01:00
Paul Bienkowski ad448efd7c api: Add config parsing from JSON file 2021-02-27 13:03:35 +01:00
Paul Bienkowski d5a1eed27a api: Expose default avatar image to logged-in user themselves 2021-02-26 23:16:49 +01:00
Paul Bienkowski c53796f9b6 api: Auto-generate title if none is passed on upload 2021-02-26 22:50:20 +01:00
Paul Bienkowski 45bbde1037 api: Registration, password recovery, verification flows 2021-02-26 15:20:13 +01:00
Paul Bienkowski 6297fcd56f api: Add some nicer html templates for auth dialogs 2021-02-23 20:20:21 +01:00
Paul Bienkowski 12bd42a3bb Implement and enforce PKCE 2021-02-23 19:32:08 +01:00
Paul Bienkowski 39e1d2a9f4 api: Add Client.maxScope and Client.refreshTokenExpirySeconds options 2021-02-23 18:46:39 +01:00
Paul Bienkowski 768f0f541b api: Add __LOCAL__ as a pattern to Client.validRedirectUris, for OBS local IP installations 2021-02-23 18:33:01 +01:00
Paul Bienkowski 5ce2947fea frontend,api: Expose authorization server metadata and use it 2021-02-23 18:26:37 +01:00
Paul Bienkowski 1e0544802f Oauth code flow in API and frontend 2021-02-21 11:22:22 +01:00