Commit Graph

180 Commits

Author SHA1 Message Date
e7d0769066 Switch to using axum_login in authentication server functions 2024-04-02 01:56:23 -04:00
8bbb37c1e1 Implement auth backend types for axum_login 2024-04-02 01:55:53 -04:00
5d69705239 Add find_user_by_id function 2024-04-02 01:55:00 -04:00
d6eb05514e Use UserCredentials in place of username/password parameters 2024-04-02 01:51:15 -04:00
7023e27b51 Create UserCredentials struct 2024-04-02 01:33:24 -04:00
3a34e8dada Add axum-login crate
Latest version depends on tower-sessions 0.12.0, which breaks tower-sessions-redis-store
2024-04-02 01:26:37 -04:00
48965bc72d Add async-trait crate 2024-04-02 01:26:37 -04:00
8c6ea8948f Add Redis session store layer 2024-04-02 01:26:37 -04:00
64a1c45dad Add tower-sessions-redis-store crate 2024-03-31 14:40:21 -04:00
37db254f50 Downgrade to tower-sessions 0.11 2024-03-31 14:39:29 -04:00
db0d2c6cb9 Serve files in assets/ 2024-03-31 13:08:48 -04:00
1c9dc4bbe9 Add rt-multi-thread feature to tokio 2024-03-31 12:08:35 -04:00
174b23da1d Fix compilation errors from updating axum 2024-03-31 12:08:20 -04:00
66c66f3f4f Upgrade to tower-http 0.5 2024-03-31 12:05:36 -04:00
d5e16c80ea Remove actix packages
Temporarily comment out login and authentication
2024-03-31 12:04:36 -04:00
2e42cc743c Override gloo-net version
In the git repository for gloo packages, gloo-net has been updated to use http 1.0, but this change is not published with the package yet.
2024-03-31 11:56:38 -04:00
c6e8902aa8 Update ahash version
Fixes "unknown feature stdsimd"
2024-03-31 02:24:27 -04:00
c9f4535284 Update to axum 0.7.5 2024-03-31 01:21:24 -04:00
1454c85d3b Update to leptos_axum 0.6 2024-03-31 01:21:13 -04:00
c4c88a2905 Merge branch '21-upgrade-to-leptos-0-6' into 24-switch-from-actix-to-axum 2024-03-31 01:14:23 -04:00
bc94c60240 Fix unused NoCustomError import 2024-03-31 00:49:06 -04:00
013fb6391d Upgrade to leptos 0.6 2024-03-31 00:46:31 -04:00
901aa2ce01 Update to leptos_icons 0.3.0 2024-03-31 00:46:25 -04:00
6bed5e5c55 Merge branch '28-make-ci-build-fail-on-warnings' into 'main'
Make CI build fail on warnings

Closes #28

See merge request libretunes/libretunes!17
2024-03-30 23:26:37 -04:00
93ea42b727 Fix warnings 2024-03-29 21:24:01 -04:00
6cef7ed36d Set deny warnings Rust flag 2024-03-29 21:18:48 -04:00
827d88ac94 Merge branch '13-create-example-environment-variable-file' into 'main'
Add example environment variable file

Closes #13

See merge request libretunes/libretunes!15
2024-03-29 21:10:27 -04:00
fa17a11557 Merge branch '25-fix-incorrect-copyright-line-in-license' into 'main'
Fix incorrect copyright line in license

Closes #25

See merge request libretunes/libretunes!16
2024-03-29 21:03:56 -04:00
f2b68fd8e3 Add example environment variable file 2024-03-29 20:25:16 -04:00
d09caba44c Update copyright year to include 2023 in LICENSE file 2024-03-29 20:18:11 -04:00
5a62f93ba8 Update copyright year and author in LICENSE file 2024-03-29 20:14:50 -04:00
7b6630447f Merge branch '27-switch-to-new-ci-system' into 'main'
Switch to new CI system

Closes #27

See merge request libretunes/libretunes!14
2024-03-29 20:04:33 -04:00
a783fb4e62 Generate random hex value for Postgres password instead of base64 2024-03-29 19:48:29 -04:00
6fc66336b7 Fix review environment URL 2024-03-29 19:27:11 -04:00
27ef4589bf Fix tunnel config script argument order 2024-03-29 17:08:24 -04:00
c736695cea Add export command for environment variables 2024-03-29 16:53:32 -04:00
eb56957a27 Automatically stop review environment after 1 week 2024-03-29 16:53:32 -04:00
0ed4de8bfd Deploy using Docker compose and Cloudflare for review environments 2024-03-26 16:39:14 -04:00
fd4d823cf5 Add misc CICD scripts and compose file 2024-03-26 16:36:50 -04:00
5e2b41da5d Create Docker base template 2024-03-26 16:19:31 -04:00
126ee5c366 Use Docker runner and dind service for Docker build 2024-03-22 18:13:49 -04:00
0b73f16b04 Merge branch '23-rename-leptos_start-to-libretunes' into 'main'
Rename "leptos_start" to "libretunes"

Closes #23

See merge request libretunes/libretunes!13
2024-03-05 11:35:28 -05:00
124e94390f Merge branch '3-create-logo' into 'main'
Add logo

Closes #3

See merge request libretunes/libretunes!12
2024-03-05 11:34:55 -05:00
b06461ce74 Rename "leptos_start" to "libretunes" 2024-03-01 18:53:42 -05:00
d50afbf6e7 Add tower-sessions crate 2024-03-01 18:00:19 -05:00
e1e3fe52d4 Handle server functions 2024-03-01 18:00:16 -05:00
fe465e2246 Properly handle router errors
Fixes file serving, including favicon
2024-03-01 18:00:13 -05:00
dcd08ff46e Remove favicon server 2024-03-01 18:00:10 -05:00
acf6d3fc05 Make http crate non-optional 2024-03-01 18:00:06 -05:00
5aaf602e2c Add thiserror crate 2024-03-01 17:59:54 -05:00