Commit graph

218 commits

Author SHA1 Message Date
Paul Bienkowski 2c5ba1d5a0 frontend: Make config file overridable 2021-02-28 20:29:47 +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 cc4679d048 frontend: Replace tracks with new file through upload in edit page 2021-02-26 23:10:10 +01:00
Paul Bienkowski 40882549f7 frontend: Small UI improvements 2021-02-26 22:50:33 +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 7ab7e4918e frontend: Track editor and redirects on errors 2021-02-26 21:57:36 +01:00
Paul Bienkowski eef5deca70 frontend: Format and lint 2021-02-26 20:09:52 +01:00
Paul Bienkowski 6a1b193e06 frontend: Add favicons 2021-02-26 20:09:39 +01:00
Paul Bienkowski 45bbde1037 api: Registration, password recovery, verification flows 2021-02-26 15:20:13 +01:00
Paul Bienkowski d1d7921808 frontend: Settings page 2021-02-23 21:52:57 +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 6ba29e68a0 frontend: Better style for welcome map on mobile 2021-02-21 11:34:10 +01:00
Paul Bienkowski 1e0544802f Oauth code flow in API and frontend 2021-02-21 11:22:22 +01:00
Paul Bienkowski 254b262a72 wip: move all authentication to passport, including JWT and add new AccessToken and RefreshToken (which are not issued yet) 2021-02-21 11:22:20 +01:00
Paul Bienkowski fc99d8a03b api: More npm package cleanup 2021-02-20 20:06:09 +01:00
Paul Bienkowski 108ab1c3b5 api: Run npm update 2021-02-20 20:01:23 +01:00
Paul Bienkowski fe1f62f94a api: Remove newman dependency to solve transitive vulnerability 2021-02-20 19:47:58 +01:00
Paul Bienkowski 05b6c5e7ec
Merge pull request #31 from openbikesensor/dependabot/npm_and_yarn/api/node-notifier-8.0.1
chore(deps): bump node-notifier from 8.0.0 to 8.0.1 in /api
2021-02-18 09:42:20 +01:00
dependabot[bot] 649a766b84
chore(deps): bump node-notifier from 8.0.0 to 8.0.1 in /api
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-18 08:31:12 +00:00
Paul Bienkowski eb7663e2e9 frontend: Add frame of registration page 2021-02-18 09:25:10 +01:00
Paul Bienkowski 94b466e6d8 frontend: Some linting 2021-02-17 23:12:44 +01:00
Paul Bienkowski f56b303073 readme: Improve introduction 2021-02-17 23:01:30 +01:00
Paul Bienkowski 97db3c7e8a readme: Add link to docker-compose installation 2021-02-17 22:59:43 +01:00
Paul Bienkowski 146c5e8e66 Move and unify readme 2021-02-17 22:58:18 +01:00
Paul Bienkowski 1fbd471341 frontend: Add "name" and "email" field names to login form 2021-02-17 22:30:54 +01:00
Paul Bienkowski 1ab51fa578 Move docker to top level, include frontend 2021-02-17 22:19:42 +01:00
Paul Bienkowski 955966e56e Merge react frontend and api to create a monorepo 2021-02-17 21:51:35 +01:00
Paul Bienkowski 08e59cfe17 Move everything into "frontend" folder, for this will be a monorepo 2021-02-17 21:50:47 +01:00
Paul Bienkowski 87f5ecfc56 Multiupload 2021-02-17 21:50:18 +01:00
Paul Bienkowski 80ecd73e01 Move everything into "api" folder, for this will be a monorepo 2021-02-17 21:49:50 +01:00
Paul Bienkowski 67bae58b54 Format /stats handler, add trackDuration, fix for mongod version <4.4 2021-02-17 19:44:40 +01:00
Paul Bienkowski 5fa856c4ea Add way more stats and rename existing ones to remove "total" prefix 2021-02-17 19:44:40 +01:00
Paul Bienkowski 2fd3de037c Start /api/stats endpoint with total track length 2021-02-17 19:44:40 +01:00
Paul Bienkowski 0c2445e992 fix: sort comments in historical order 2021-02-17 19:44:14 +01:00
Paul Bienkowski af1e186069 fix: do not error when generating slug if not track title is present 2021-02-17 19:44:09 +01:00
Paul Bienkowski c6ce5d6415 Strip markdown in track list 2021-02-14 20:10:20 +01:00
Paul Bienkowski f5c9dad788 Remove ol-layerswitcher, use React 2021-02-14 19:49:14 +01:00
Paul Bienkowski 5f6aaae087 Prettier 2021-02-14 19:27:16 +01:00
Paul Bienkowski 7614a6dfc5 Markdown for comments and descriptions 2021-02-14 19:27:06 +01:00
Paul Bienkowski 281a7ac90c Cleanup API calls 2021-02-14 19:21:34 +01:00
Paul Bienkowski 2e7cdc24f3 Refactor 2021-02-14 18:54:05 +01:00
Paul Bienkowski 0e12898521 Track details map 2021-02-14 18:44:13 +01:00