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
817de8fae5
frontend: Add download button for original file
2021-05-01 13:31:03 +02:00
Paul Bienkowski
31af59819e
api: Handle views directory better, and disable obsver1 download
2021-05-01 13:29:25 +02:00
Paul Bienkowski
c32a475b96
frontend: Downgrade to node:14, chokidar was not availble
2021-05-01 13:28:42 +02:00
Paul Bienkowski
760ea4c013
frontend: Include roads.json in homepage, and use grayscale theme for maps
2021-05-01 11:19:34 +02:00
Paul Bienkowski
912aebb9d5
frontend: format a file
2021-05-01 11:18:21 +02:00
Paul Bienkowski
44a18657f6
api: Allow reprocessing of stalled jobs
2021-04-30 16:05:02 +02:00
Paul Bienkowski
23843481c6
readme: Fix abbreviation of Node Version Manager (npm -> nvm)
2021-04-30 14:29:15 +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
7cdf6b2d17
hrs -> hours
2021-04-29 21:30:04 +02:00
Dennis Boldt
09dfe24045
Link OpenBikeSensor text in headline as well.
2021-04-29 21:29:18 +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
13b6dd8691
Fix wording for missing public tracks
2021-04-19 21:53:35 +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
39f5a011ed
Add short instructions in readme for setting up production server
2021-02-28 23:01:13 +01:00
Paul Bienkowski
b80b219748
api: Use baseUrl in email links
2021-02-28 22:57:43 +01:00
Paul Bienkowski
e1a9898fd9
frontend: Add apiUrl to upload request URL
2021-02-28 22:42:32 +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
a0d9c2dbc4
frontend: Add API url config
2021-02-28 22:21:38 +01:00
Paul Bienkowski
e10b29e0c6
frontend: Configure base-href and router with PUBLIC_URL
2021-02-28 22:11:32 +01:00
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