Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #27 from verder-helpen/reorganisation
Browse files Browse the repository at this point in the history
Reorganise package, fix attribute view
  • Loading branch information
marlonbaeten committed Dec 12, 2023
2 parents 015110b + 43d9902 commit 11323b9
Show file tree
Hide file tree
Showing 40 changed files with 509 additions and 503 deletions.
19 changes: 3 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 36 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
[workspace]
[package]
name = "verder-helpen-comm-isolate"
version = "0.1.0"
edition = "2021"

members = [
"comm-common",
"comm-plugin",
]
[features]
default = ["auth_during_comm", "platform_token", "session_db"]
auth_during_comm = ["platform_token"]
platform_token = []
sentry = ["dep:verder-helpen-sentry"]
session_db = ["platform_token"]

[dependencies]
verder-helpen-jwt = { git = "https://github.com/verder-helpen/verder-helpen-jwt.git" }
verder-helpen-proto = { git = "https://github.com/verder-helpen/verder-helpen-proto.git" }
verder-helpen-sentry = { git = "https://github.com/verder-helpen/verder-helpen-sentry.git", optional = true }
accept-language = "2.0.0"
josekit = "0.8.2"
lazy_static = "1.4.0"
rand = "0.8.5"
reqwest = { version = "0.11.16", features = ["json"] }
rocket = { version = "0.5.0-rc.3", features = ["json"] }
rocket_oauth2 = { git = "https://github.com/arjentz/rocket_oauth2.git", rev = "214efa99b0bd95c0df4d3f3d4c6235ae25610e37" }
rocket_sync_db_pools = { version = "0.1.0-rc.3", features = ["postgres_pool"] }
serde = "1.0.159"
serde_json = "1.0.95"
serde_yaml = "0.9.19"
strum = "0.24.1"
strum_macros = "0.24.3"
tera = "1.18.1"
thiserror = "1.0.40"
unic-langid = "0.9.1"

[dev-dependencies]
figment = { version = "0.10.8", features = ["env", "toml", "json"] }
serial_test = "2.0.0"
tokio-test = "0.4.2"
2 changes: 0 additions & 2 deletions comm-common/.gitignore

This file was deleted.

37 changes: 0 additions & 37 deletions comm-common/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion comm-common/LICENSE

This file was deleted.

3 changes: 0 additions & 3 deletions comm-common/README.md

This file was deleted.

44 changes: 0 additions & 44 deletions comm-common/config.toml

This file was deleted.

1 change: 0 additions & 1 deletion comm-common/schema.sql

This file was deleted.

20 changes: 0 additions & 20 deletions comm-common/src/templates/base.html

This file was deleted.

16 changes: 0 additions & 16 deletions comm-common/src/templates/credentials.html

This file was deleted.

4 changes: 0 additions & 4 deletions comm-common/src/templates/expired.html

This file was deleted.

4 changes: 0 additions & 4 deletions comm-common/src/templates/login.html

This file was deleted.

4 changes: 0 additions & 4 deletions comm-common/src/templates/not_found.html

This file was deleted.

6 changes: 0 additions & 6 deletions comm-plugin/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions comm-plugin/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion comm-plugin/LICENSE

This file was deleted.

53 changes: 0 additions & 53 deletions comm-plugin/attribute-ui/attribute.js

This file was deleted.

13 changes: 0 additions & 13 deletions comm-plugin/attribute-ui/index.html

This file was deleted.

6 changes: 3 additions & 3 deletions config.sample.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[global]
## NOTE: Don't (!) use this key! Generate your own!
## NOTE: DON'T USE THIS KEY! GENERATE YOUR OWN!
secret_key = "2P7d9MsOAZWyPu8HZn2AyMvOeN9MhkFEb4C9IzkLvno="

internal_url = "http://comm-isolate:8000/internal"
Expand Down Expand Up @@ -149,7 +149,6 @@ Bs6neR/sZuHzNm8y/xtxj2ZAEw==
session = { url = "postgres://tg@comm-isolate-psql:5432/tg" }

[global.translations.en]
title = "Information"
unknown_error = "Unknown error"
loading = "Loading..."
purpose = "Subject"
Expand All @@ -168,9 +167,9 @@ login_successful = "Login successfull. You can close this window."
logout_successful = "Logout successfull. You can close this window."
insufficient_permission = "You do not have sufficient permissions to access this resource."
no_credentials_found = "There are no authenticated guests (yet)"
secured_by = "secured by"

[global.translations.nl]
title = "Verder Helpen gegevens"
unknown_error = "Onbekende fout"
loading = "Laden..."
purpose = "Onderwerp"
Expand All @@ -189,3 +188,4 @@ login_successful = "U bent ingelogd. U kan dit venster nu sluiten"
logout_successful = "U bent uitgelogd. U kan dit venster nu sluiten"
insufficient_permission = "Uw account heeft niet voldoende rechten, probeer met een ander account in te loggen"
no_credentials_found = "Er zijn (nog) geen geïdentificeerde gasten"
secured_by = "beveiligd door"
Loading

0 comments on commit 11323b9

Please sign in to comment.