diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..e1138c61 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +public/env.sample.js +public/workbox-*.js +public/workbox-*.js.map \ No newline at end of file diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 00000000..31468d8d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,41 @@ +--- +kind: pipeline +type: docker +name: build:dev + +steps: + - name: run full license export + depends_on: ["clone"] + image: node:alpine + commands: + - yarn + - yarn licenses:export + - name: push new licenses file to repo + depends_on: ["run full license export"] + image: appleboy/drone-git-push + settings: + branch: dev + commit: true + commit_message: new license file version [CI SKIP] + author_email: bot@odit.services + remote: git@git.odit.services:lfk/frontend.git + ssh_key: + from_secret: GITLAB_SSHKEY + - name: build dev + image: plugins/docker + depends_on: [clone] + settings: + username: + from_secret: DOCKER_REGISTRY_USER + password: + from_secret: DOCKER_REGISTRY_PASSWORD + repo: registry.odit.services/lfk/frontend + tags: + - dev + registry: registry.odit.services + +trigger: + branch: + - dev + event: + - push \ No newline at end of file diff --git a/.gitignore b/.gitignore index d9ccf3ab..b2496c6e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,11 @@ -.vscode -.idea node_modules -dist -dist-ssr -public/env.js \ No newline at end of file +build +package-lock.json +yarn.lock +*.map +public/env.js +public/sw.js +public/index.html +public/workbox-*.js +svelte.config.js +public/index.html diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..8a864d15 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,13 @@ +{ + "recommendations": [ + "2gua.rainbow-brackets", + "christian-kohler.npm-intellisense", + "remimarsal.prettier-now", + "svelte.svelte-vscode", + "lokalise.i18n-ally", + "fivethree.vscode-svelte-snippets" + ], + "unwantedRecommendations": [ + "antfu.i18n-ally" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..30ffe0b1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "i18n-ally.localesPaths": "src/locales", + "i18n-ally.keystyle": "nested" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..b77da77c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,521 @@ +### Changelog + +All notable changes to this project will be documented in this file. Dates are displayed in UTC. + +#### [0.6.0](https://git.odit.services/lfk/frontend/compare/0.5.0...0.6.0) + +- Merge pull request 'feature/52-runner-filters' (#63) from feature/52-runner-filters into dev [`#52`](https://git.odit.services/lfk/frontend/issues/52) +- Merge pull request 'feature/43-password-reset' (#61) from feature/43-password-reset into dev [`#43`](https://git.odit.services/lfk/frontend/issues/43) +- Merge pull request 'feature/51-teamoverview-badge-org' (#59) from feature/51-teamoverview-badge-org into dev [`#51`](https://git.odit.services/lfk/frontend/issues/51) +- Merge pull request 'feature/47-sidebar-responsiveness' (#60) from feature/47-sidebar-responsiveness into dev [`#47`](https://git.odit.services/lfk/frontend/issues/47) +- Merge pull request 'feature/15-runner-import' (#58) from feature/15-runner-import into dev [`#15`](https://git.odit.services/lfk/frontend/issues/15) +- Merge pull request 'feature/56-footer-version-loading' (#57) from feature/56-footer-version-loading into dev [`#56`](https://git.odit.services/lfk/frontend/issues/56) +- Merge pull request 'feature/46-imprint-privacy' (#55) from feature/46-imprint-privacy into dev [`#46`](https://git.odit.services/lfk/frontend/issues/46) +- Merge pull request 'feature/44-require-mail-addresses' (#54) from feature/44-require-mail-addresses into dev [`#44`](https://git.odit.services/lfk/frontend/issues/44) +- Merge pull request 'feature/45-component-drop' (#53) from feature/45-component-drop into dev [`#45`](https://git.odit.services/lfk/frontend/issues/45) +- 🧹 drop old + unused components Dash + LoginAlt [`eeee272`](https://git.odit.services/lfk/frontend/commit/eeee272f0353cd543dca0efbdf23f5972a771f6c) +- ✨ added basic UI for ResetPassword [`b18a99e`](https://git.odit.services/lfk/frontend/commit/b18a99e4df6111e137a8081c3e6619da6f5af30c) +- 🧹 remove placeholder options from Dashboard sidebar [`16ac96c`](https://git.odit.services/lfk/frontend/commit/16ac96c64e86a6f97e179d70b586f20869ffe663) +- 👀 ResetPassword - success and error states [`8b2f196`](https://git.odit.services/lfk/frontend/commit/8b2f1965e2a754da6e40a3051e8ae3e771d70336) +- added Privacy page [`5741cbe`](https://git.odit.services/lfk/frontend/commit/5741cbe7562542ba2b81a9a6d6be7fb0f5145801) +- ImportRunnerModal - differenciate between team and org import [`acf0562`](https://git.odit.services/lfk/frontend/commit/acf0562851a77b9122473ffb1753a94b4272e53b) +- ✨ RunnersOverview - basic working filter [`575b4ce`](https://git.odit.services/lfk/frontend/commit/575b4ce9708625fbec23c49101f44825c6a75bce) +- basic select filtering in RunnersOverview [`e415258`](https://git.odit.services/lfk/frontend/commit/e415258787c776d4a5291632f47c2fcceba9a040) +- WIP on filter [`e23821a`](https://git.odit.services/lfk/frontend/commit/e23821a7cbe73fda420e4bcaaa2dbf5a89b56cc9) +- ✨ layout for Import from RunnerOverview [`c698508`](https://git.odit.services/lfk/frontend/commit/c6985087a8b51d6e1d8fb71b1eb8a659b8ed34e6) +- ✨ working Imprint page [`6401aeb`](https://git.odit.services/lfk/frontend/commit/6401aeb3a850b1dd9ec4eca5c181ebcf3ed8b7e9) +- 🌍 i18n for ResetPassword [`428a8a1`](https://git.odit.services/lfk/frontend/commit/428a8a10ffa96ae2f04c718d678439d36e6cb857) +- ⏫ dependency bump [`6614242`](https://git.odit.services/lfk/frontend/commit/6614242df6a9679f60bc3996c0317d0870a81ac4) +- added Imprint route /imprint [`bbec9ff`](https://git.odit.services/lfk/frontend/commit/bbec9ffcdf0be2cf37501a355c5678ed9cd46a1d) +- ⏫ general dependency bump [`369b099`](https://git.odit.services/lfk/frontend/commit/369b09972c786e5381d7bae667def6a15e21a45b) +- AddUserModal - enforce email input [`7131ba9`](https://git.odit.services/lfk/frontend/commit/7131ba99b6917dc0fb99f93ab40495b9702024ab) +- Org badge in TeamsOverview [`3490abe`](https://git.odit.services/lfk/frontend/commit/3490abe9a70ca3bd1725ae005c4031f25996f2a7) +- RunnersOverview - support should_display_based_on_id search [`5dc11c2`](https://git.odit.services/lfk/frontend/commit/5dc11c285d4e2155a3945bc44cbfcf61fe02c5f3) +- RunnersOverview badge to team/org [`a02be78`](https://git.odit.services/lfk/frontend/commit/a02be78df52f944d5842f8d0e9bbf62ba95e9ef0) +- working import binding [`7dd0881`](https://git.odit.services/lfk/frontend/commit/7dd0881d293a7c46133cccd947e668178058ddd8) +- Footer linking [`945963d`](https://git.odit.services/lfk/frontend/commit/945963db326e937456103f0092bbc684b0d0ec45) +- UserDetail - invalid email UI feedback [`7897820`](https://git.odit.services/lfk/frontend/commit/7897820632c7b9e1e00fbf3f86a1eb7e01794fa5) +- reactivity in import table [`b501342`](https://git.odit.services/lfk/frontend/commit/b5013426e6d4b92f56a8b7a42f4f13411c2cf61c) +- 😬 use actual team id for RunnersOverview badge [`1fac0c8`](https://git.odit.services/lfk/frontend/commit/1fac0c8640460278bf6e2460e685e192e8a984f3) +- 🐞 re-add sidebar component [`f8014c6`](https://git.odit.services/lfk/frontend/commit/f8014c62132eaafaa5edb486f3839b9502f3287f) +- ⚡ load version on DOMContentLoaded [`901c7c1`](https://git.odit.services/lfk/frontend/commit/901c7c12418f09a29235afe8df5982f964fc61db) +- UserDetail - enforce email input [`0dd9de2`](https://git.odit.services/lfk/frontend/commit/0dd9de2abc68ce10c4c763382945b92c0cd4e404) +- use onMount event instead of DOMready [`c2d7a31`](https://git.odit.services/lfk/frontend/commit/c2d7a319a0761a77597fe365083b12c4c045a7ba) +- new license file version [CI SKIP] [`43df188`](https://git.odit.services/lfk/frontend/commit/43df188df149401c966b8d7bb6e28fbbe39a83f1) +- new license file version [CI SKIP] [`b25dc62`](https://git.odit.services/lfk/frontend/commit/b25dc623cf12aba88576cd8784a20b0fefc5466e) +- ⏮decode base64 reset key [`92fee08`](https://git.odit.services/lfk/frontend/commit/92fee08dc40cf04fa1dc6d6e4aaf19f0b752031f) +- 🧹 formatting [`7b7e484`](https://git.odit.services/lfk/frontend/commit/7b7e4840918b21951fa9e267044d623e9de7b0f5) +- Merge commit '65f49489ad2e0cff30560e4c326ca7294d7f6190' into feature/51-teamoverview-badge-org [`f0be73c`](https://git.odit.services/lfk/frontend/commit/f0be73c2cd6c930273515a8773a2affd4068c92c) +- 👀 only display navbar on sm devices / hide on md and up [`42bd632`](https://git.odit.services/lfk/frontend/commit/42bd63253916ab339a62f64762802750dc315b4c) +- new license file version [CI SKIP] [`65f4948`](https://git.odit.services/lfk/frontend/commit/65f49489ad2e0cff30560e4c326ca7294d7f6190) +- new license file version [CI SKIP] [`e4e2bda`](https://git.odit.services/lfk/frontend/commit/e4e2bdac724f40584bf1526fa59b0f380ba8cba0) +- ⏫ client library bump [`80c3a90`](https://git.odit.services/lfk/frontend/commit/80c3a90d6fd14f1946b1e4ecd5e19314ca952c2d) +- new license file version [CI SKIP] [`0e04298`](https://git.odit.services/lfk/frontend/commit/0e04298b7c53e2dfd447f51b75c7c32f0b730eea) +- text selection color [`4e82369`](https://git.odit.services/lfk/frontend/commit/4e82369b160da3eaa5a32cf104aacc6250e7e31e) +- added basic styling to Imprint component [`6a0c129`](https://git.odit.services/lfk/frontend/commit/6a0c129d39f5e659411c2358f30d425720229f16) +- 🧹 remove ComponentDump from MainDashContent [`1bb79b1`](https://git.odit.services/lfk/frontend/commit/1bb79b1c98d166523b638a06ea9a354434ec1e08) + +#### [0.5.0](https://git.odit.services/lfk/frontend/compare/0.4.0...0.5.0) + +> 26 January 2021 + +- Merge pull request 'feature/12-user-management' (#39) from feature/12-user-management into dev [`#12`](https://git.odit.services/lfk/frontend/issues/12) +- Merge pull request 'feature/13-runner-management' (#42) from feature/13-runner-management into dev [`#13`](https://git.odit.services/lfk/frontend/issues/13) +- Merge pull request 'added permissions to dashboard sidebar' (#41) from feature/40-dynamic-sidebar-options into dev [`#41`](https://git.odit.services/lfk/frontend/issues/41) +- basic UserPermissions view [`9c6dc5b`](https://git.odit.services/lfk/frontend/commit/9c6dc5b4247e76be63a92294556be1e4a9154256) +- ✨ basic RunnerDetail [`03aa670`](https://git.odit.services/lfk/frontend/commit/03aa67034d5fc4ec64d5646a6583666301bb538e) +- 👀 ImportRunnerModal - layout cleanup [`2cc9b3e`](https://git.odit.services/lfk/frontend/commit/2cc9b3e1ede47bb1a4b598afc260d0bc06ed0902) +- ✨ basic ImportRunnerModal with CSV input [`b1e9f95`](https://git.odit.services/lfk/frontend/commit/b1e9f955b054cd17cb83f8364b6bc2b22159142f) +- ✨ basic xlsx + csv parsing [`74d9b94`](https://git.odit.services/lfk/frontend/commit/74d9b94119b49a77ff3e787a84f76c1e2e13d9e4) +- 🧹 darkmode classes cleanup [`259a76f`](https://git.odit.services/lfk/frontend/commit/259a76f46b9ac01b177100dfce0db367b517b3a0) +- UserDetail - basic permission badges [`7d4e939`](https://git.odit.services/lfk/frontend/commit/7d4e93912c4e1fd8a875f42a0f11b906f1ca0091) +- added permissions to dashboard sidebar [`acb86ae`](https://git.odit.services/lfk/frontend/commit/acb86ae2666ec3c336973184ec5cb1e2ffba9ebe) +- UserPermissions - working edit [`10d7955`](https://git.odit.services/lfk/frontend/commit/10d7955f99b1a640eb1ac83764c114a25cfcc07b) +- 🐞 ImportRunnerModal - table overflow fix [`dc1644e`](https://git.odit.services/lfk/frontend/commit/dc1644ed25b82afe6a51fbe0e1de69ddf54ef81d) +- 🧹 general runner cleanup [`9240e0c`](https://git.odit.services/lfk/frontend/commit/9240e0c90380fc6b44a3dde480bd2d29476b2a0f) +- 🚀RELEASE v0.5.0 [`2563e9d`](https://git.odit.services/lfk/frontend/commit/2563e9d1d6fe55544b04de8edd8c24cc1d3c9735) +- ✨ formatting [`6e5a4bc`](https://git.odit.services/lfk/frontend/commit/6e5a4bcb39259fc376262c16ad95555fd9cf7a0b) +- ✨ ImportRunnerModal usage in TeamDetail [`de0bd5f`](https://git.odit.services/lfk/frontend/commit/de0bd5fd57edba75faaa2ba097a2c7fb2f621f9a) +- 💣 process breaking changes for lib v0.3.0 [`dadb806`](https://git.odit.services/lfk/frontend/commit/dadb80608a55980f7b647d41c91061055287a250) +- 👀 basic ui interaction for ImportRunnerModal [`c382f77`](https://git.odit.services/lfk/frontend/commit/c382f770dc05f57a471389d3d4d012fd8439c014) +- 🐞 [bugfix] RunnerDetail update [`ec4bcd0`](https://git.odit.services/lfk/frontend/commit/ec4bcd093b6c94f2e3597de6de98db5ca47c5876) +- 🏃‍♂️ support for runner group edit [`8d92a75`](https://git.odit.services/lfk/frontend/commit/8d92a75ef03854397a7c01ed9ea22967b994f9f2) +- AddRunnerModal - improved team select [`1694c71`](https://git.odit.services/lfk/frontend/commit/1694c71528f9114622daae1bd16aaed9f94fc4ee) +- 🙋‍♂️🔒 UserDetail - permission layout ui [`65b36f8`](https://git.odit.services/lfk/frontend/commit/65b36f8e695479809566213ebcb64d51a7c6a52e) +- 🌎 added locale based csv/xlsx header parsing [`b606037`](https://git.odit.services/lfk/frontend/commit/b606037890856c1115315bb61d8469ff66dc4289) +- AddUserModal - username/email validation [`ff14f02`](https://git.odit.services/lfk/frontend/commit/ff14f024afda77e6f5f9e95a8f34e50cc8509790) +- UserDetail - link to permission page [`aaab95d`](https://git.odit.services/lfk/frontend/commit/aaab95d41400629683d89ee16013b6b4328c582c) +- UserDetail - add permission layout [`d65b463`](https://git.odit.services/lfk/frontend/commit/d65b463547a5cb4fb6f6de0f95795a66ebe92e31) +- RunnerDetail - button text fixes [`5552055`](https://git.odit.services/lfk/frontend/commit/5552055b989313e8999e424b6ad26c4398e8c6fa) +- 🧹 RunnerDetail cleanup + i18n 🌎 [`a871651`](https://git.odit.services/lfk/frontend/commit/a87165148a3ccdb4c4e10f2c6545d5fea9e78b30) +- ↙ added default fallback parsing to ImportRunnerModal [`ecad1ea`](https://git.odit.services/lfk/frontend/commit/ecad1ea839dbcea396217cb18fe335694406cdb1) +- 🌎 i18n [`366804a`](https://git.odit.services/lfk/frontend/commit/366804aa29eb0231e40017d1e5c3419486070174) +- ✨ ImportRunnerModal - compatibility for multi-component access [`f8a5913`](https://git.odit.services/lfk/frontend/commit/f8a59133a2534efdc9e13104eb64157a9724e746) +- ✨ use ImportRunnerModal in OrgDetail + Orgs [`8aa1d94`](https://git.odit.services/lfk/frontend/commit/8aa1d94a1aa976cc6cb4f7d3cc798822861676ad) +- ✨ ImportRunnerModal - hide team when loading from TeamDetail [`819b02a`](https://git.odit.services/lfk/frontend/commit/819b02a204cd43baaaf85d82cf0209a38028e6ce) +- 🚀 ImportRunnerModal - working demo [`6b91b22`](https://git.odit.services/lfk/frontend/commit/6b91b227136580180d5300b2614a6148995c4640) +- 🌎 i18n [`ae8bc01`](https://git.odit.services/lfk/frontend/commit/ae8bc01d9bab994aad6407102f3a6ef0167d008b) +- 🐞 fixed merge conflict errors [`cbc1d53`](https://git.odit.services/lfk/frontend/commit/cbc1d53cc257cbf60172dd4356831e43671ec626) +- ✨ basic cancel event dispatch from ImportRunnerModal [`cde4ec1`](https://git.odit.services/lfk/frontend/commit/cde4ec13efef8423464ebe90a4f0212a3be6cf77) +- 🧹 AddUserModal cleanup [`44f07ca`](https://git.odit.services/lfk/frontend/commit/44f07ca231307ebdbe38b822408c3965077053ef) +- 🙋‍♂️ UserDetail - active/inactive user state edit [`86c54e0`](https://git.odit.services/lfk/frontend/commit/86c54e04a84917383d3726b324c416ca1bd74627) +- UserDetail - update permission badges on change save [`358865d`](https://git.odit.services/lfk/frontend/commit/358865dc6a8e5a084078696048df99a67564a9e1) +- i18n 🌍 [`415f340`](https://git.odit.services/lfk/frontend/commit/415f340a68078e86fcf28d24b069ca030e28fc82) +- 👀 UsersOverview - disable advanced search [`b34e3ae`](https://git.odit.services/lfk/frontend/commit/b34e3aeed0f026308288fb568542cc0ba587b576) +- 🙋‍♂️ UserDetail - disable profile picture edit [`ef9fc59`](https://git.odit.services/lfk/frontend/commit/ef9fc596f57d63c1bf9c26614d746bf37394f832) +- 🌎 i18n [`2d48691`](https://git.odit.services/lfk/frontend/commit/2d4869128d2af5e7fa5e4bcf1d6b687fca6761e9) +- 🌎 i18n in ImportRunnerModal headers [`e34c91b`](https://git.odit.services/lfk/frontend/commit/e34c91b2cc64221cd553e80974a14448e3afc340) +- 🌎 last i18n keys [`6c2d13b`](https://git.odit.services/lfk/frontend/commit/6c2d13bd1721918f1ef847563cfad61284c40487) +- Fixed User group update [`1a799dc`](https://git.odit.services/lfk/frontend/commit/1a799dc30a4f051305e5279bb3325e64ab08f323) +- 🌎 UserDetail - more i18n keys [`e750c37`](https://git.odit.services/lfk/frontend/commit/e750c374739104c6aaac1abace9e9632b40342da) +- ⏫ general dependency bump [`b30b673`](https://git.odit.services/lfk/frontend/commit/b30b6734a1f4cc384f06147dfc657f2a1a05b3c0) +- 💻 updated VSCode recommended extensions [`fc21427`](https://git.odit.services/lfk/frontend/commit/fc214276859189c6e9b6fdc91eb440cf4afda7c0) +- 🐞 improved version builder from template [`09fd73b`](https://git.odit.services/lfk/frontend/commit/09fd73b13086025a31b4c1363331230e1c91e593) +- ⏫ general dependency bump [`9a1f7a1`](https://git.odit.services/lfk/frontend/commit/9a1f7a13f8669b690fb3f9533df7fdfa2f1bc093) +- 🌎 added more i18n keys [`169ffc1`](https://git.odit.services/lfk/frontend/commit/169ffc1b0b76c74350060c97218643789e0ea4f7) +- 😦 added missing dependencies [`822759a`](https://git.odit.services/lfk/frontend/commit/822759a6884eab81f62d96bd7e6f038fa8bc1926) +- fixed runner permissions [`e0356fa`](https://git.odit.services/lfk/frontend/commit/e0356fa360b74f91b38dc09351930c8c0778f845) +- Added friles to ignore [`9fbc1ba`](https://git.odit.services/lfk/frontend/commit/9fbc1ba0315fc0a2b7f3d95339cb17fc74e57903) +- ✨ new UsersEmptyState [`959b32d`](https://git.odit.services/lfk/frontend/commit/959b32de1c6fc74bec585630b3025babc1a8edc4) +- 🐞 fix package release for index template compatibility [`24bec66`](https://git.odit.services/lfk/frontend/commit/24bec66390bfddd57c0cd1d35de94a79bdbf477c) +- new license file version [CI SKIP] [`3d30734`](https://git.odit.services/lfk/frontend/commit/3d30734dc2716a88d823fe7a7650f17d14a8f18d) +- new license file version [CI SKIP] [`3281239`](https://git.odit.services/lfk/frontend/commit/3281239ff5b4968fb1dc8547e7c16f0789ec2b8c) +- 🐞 alphabetically sort permission targets in UserDetail [`ffd88ff`](https://git.odit.services/lfk/frontend/commit/ffd88ffc666d9d3add43dfa4ec4b6e01ca7084b5) +- new license file version [CI SKIP] [`e91e197`](https://git.odit.services/lfk/frontend/commit/e91e197873e524b93b2cf79286c66c8b776fbae2) +- Deleted files to ignore [`6704c07`](https://git.odit.services/lfk/frontend/commit/6704c07db0a00b17327a4b693b3f74ed41a1a41d) +- new license file version [CI SKIP] [`c6504c2`](https://git.odit.services/lfk/frontend/commit/c6504c2eaf1d0c5fb14a4035ccbf347d851068d9) + +#### [0.4.0](https://git.odit.services/lfk/frontend/compare/0.3.1...0.4.0) + +> 17 January 2021 + +- Merge commit 'a284806d3cb769030a4e28d0403190b746f8fc61' into dev [`#37`](https://git.odit.services/lfk/frontend/issues/37) +- ✨ AddRunnerModal [`66ffd8e`](https://git.odit.services/lfk/frontend/commit/66ffd8e936010960766e7f9021319d549e1d3e6b) +- ✨ RunnersOverview [`66a07c6`](https://git.odit.services/lfk/frontend/commit/66a07c6a51674a92d5e8459f250de2ab5ff6d902) +- ⚡ improved dev scripts for speed starts [`383f828`](https://git.odit.services/lfk/frontend/commit/383f82807f4090bdd2c3dcdc695b75093b854031) +- 🚀RELEASE v0.4.0 [`7d104a1`](https://git.odit.services/lfk/frontend/commit/7d104a151422a7c8306ef4d9f0ab25d26f8eb78b) +- ✨ dynamic contact info in AddRunnerModal [`d4579a9`](https://git.odit.services/lfk/frontend/commit/d4579a9a410a27676e0ed0285bd124696153aae4) +- 🐞 fix cross-env logic for faster dev starts ⚡ [`2ce4199`](https://git.odit.services/lfk/frontend/commit/2ce41990bf9911db11eb556ce4c9aa3b3e5ca16c) +- 👩‍💻 developer configs/ recommendations for VSCode [`5e02502`](https://git.odit.services/lfk/frontend/commit/5e02502a5c2b8ebf798cbc21856b4425f8510041) +- ⚡ re-enable PWA functionality via serviceworker [`a284806`](https://git.odit.services/lfk/frontend/commit/a284806d3cb769030a4e28d0403190b746f8fc61) +- 🔨 cleaned up build process + Dockerfile [`7e10c1d`](https://git.odit.services/lfk/frontend/commit/7e10c1db659c21cd737b5d1e10bf3e61c4e0de94) +- 🔨 cleaned up build process + Dockerfile [`1179063`](https://git.odit.services/lfk/frontend/commit/11790638d68e8c43f91448bd0c35f910a3d9e446) +- ⚡ improved serviceworker + PWA logic [`0583cbe`](https://git.odit.services/lfk/frontend/commit/0583cbe2664f8832c5eaa7fb155b3e6deccb2ed3) +- apply new gitignore config [`2e6874c`](https://git.odit.services/lfk/frontend/commit/2e6874c822f2f8e9a8a7b74b4765631ba08f0255) +- ⚡ PWA optimizations [`dccf7c6`](https://git.odit.services/lfk/frontend/commit/dccf7c6c8de0da0f25ad77e20822fb4fbf68a61a) +- ⏫ general dependency bumps [`03125b3`](https://git.odit.services/lfk/frontend/commit/03125b3a2d0ad4b12cffdec98f27da14f3f45f77) +- 🐞 gitignore fix [`e49dca0`](https://git.odit.services/lfk/frontend/commit/e49dca02754aa57cbe464066f11505db4a9b5ca9) +- gitignore fix [`a523379`](https://git.odit.services/lfk/frontend/commit/a523379b3a5f7f3cffecca82c0c066167da046ca) +- fix package:dev script [`aa6348a`](https://git.odit.services/lfk/frontend/commit/aa6348a29a6e9ecb9789681b7195527c4eef19e4) +- new license file version [CI SKIP] [`382cc3d`](https://git.odit.services/lfk/frontend/commit/382cc3d844bf0af7c46492907f8a9a78fadc25d0) +- 🧹 gitignore changes in public/index.html & svelte.config.js [`dd74d9e`](https://git.odit.services/lfk/frontend/commit/dd74d9ee89b80c46ce3d3347a3c7cbe34373019c) + +#### [0.3.1](https://git.odit.services/lfk/frontend/compare/0.3.0...0.3.1) + +> 16 January 2021 + +- Merge pull request 'feature/16-org-management' (#35) from feature/16-org-management into dev [`#16`](https://git.odit.services/lfk/frontend/issues/16) +- 🏃‍♂️🏃‍♂️🏃‍♂️ basic UI components for team management [`d87b879`](https://git.odit.services/lfk/frontend/commit/d87b879cc3d6c771a8a9932409e39068e1b2acdb) +- ✨ TeamDetail with edit,delete [`ccf09f9`](https://git.odit.services/lfk/frontend/commit/ccf09f97d5fb476113f24a9559a48bccd75fd0a5) +- 🔒 ConfirmTeamDeletion in TeamsOverview [`cbcce33`](https://git.odit.services/lfk/frontend/commit/cbcce336d68b0752daeaf4b5608c43ff6fa11c0d) +- 🔒 ConfirmOrgDeletion in OrgDetail [`d890112`](https://git.odit.services/lfk/frontend/commit/d8901126d0cc91cabe3b94a30a83f36e6288126d) +- ✨ basic TeamsOverview [`597e9e1`](https://git.odit.services/lfk/frontend/commit/597e9e1ea9da7c73bdcb8ef1ae1a13dfa68ff5a3) +- ✨ UX - ConfirmOrgDeletion cancel event reflection in datatable [`84a9cf0`](https://git.odit.services/lfk/frontend/commit/84a9cf069a4aa0940eaacc87ea67e745deabe939) +- 🐞 fix Dashboard sidebar responsiveness [`6a81e36`](https://git.odit.services/lfk/frontend/commit/6a81e369fa20f0bb2846365a45f96e91e95fe2e7) +- 🧹 Dashboard - drop header bar [`f1833f1`](https://git.odit.services/lfk/frontend/commit/f1833f13d57595c23abf29bce1a2795cbb05a116) +- ✨ AddTeamModal working [`9bb027e`](https://git.odit.services/lfk/frontend/commit/9bb027ec4c73483907d396180f739dc3a11b2404) +- 🧹 TeamDetail cleanup [`7654b79`](https://git.odit.services/lfk/frontend/commit/7654b795c756ca198bad77068823032714408535) +- 🚀RELEASE v0.3.1 [`64ade90`](https://git.odit.services/lfk/frontend/commit/64ade901ded75fa738c713446343a209eca89ce6) +- 🤝 attribution/ credits for icons and illustrations [`eb0dd3f`](https://git.odit.services/lfk/frontend/commit/eb0dd3f781f739c6511588a8e153c14a39096025) +- 🔒 re-enable confirmation in OrgOverview [`ce6002a`](https://git.odit.services/lfk/frontend/commit/ce6002a631dd3c140f3892c750d052e89c135653) +- ✨ added new empty states [`66e6cd8`](https://git.odit.services/lfk/frontend/commit/66e6cd80d39ef18a29fd8ac80fbac929bd0c4f8c) +- Merge pull request 'feature/14-team-management' (#36) from feature/14-team-management into dev [`4285168`](https://git.odit.services/lfk/frontend/commit/42851686caae69e6672f48cd7df77ee4c2e49092) +- 🧹 TeamsOverview - formatting [`6870a7f`](https://git.odit.services/lfk/frontend/commit/6870a7f9b1fce2f06182dafa502f6dc4bb818bd3) +- 🔒 ConfirmOrgDeletion in OrgOverview [`83f19a7`](https://git.odit.services/lfk/frontend/commit/83f19a7572255b5c095c68d688a963dbe3cf4a75) +- 🧹 Team cleanups [`07f2e65`](https://git.odit.services/lfk/frontend/commit/07f2e65fc722c0328ee5a8dc4d01fc89c906fa86) +- 🔒 ConfirmTeamDeletion in TeamDetail [`489244f`](https://git.odit.services/lfk/frontend/commit/489244f1a9636b9807e751073443f1c767f7b8ca) +- 🐞 fix deletion in TeamDetail + TeamsOverview [`e3943d8`](https://git.odit.services/lfk/frontend/commit/e3943d868a6131ea561c4000159b77ff70a4af8b) +- 🐞 fix component mount in TeamsEmptyState [`ace1a1b`](https://git.odit.services/lfk/frontend/commit/ace1a1b06379d922df2593c3a7aec77d5f958512) +- new license file version [CI SKIP] [`aaec5a3`](https://git.odit.services/lfk/frontend/commit/aaec5a3fc94e13c6d29ea16ab110151aa6dc1156) +- 🧹 drop tmp modification from UsersOverview [`854db4e`](https://git.odit.services/lfk/frontend/commit/854db4ece8388a70b8a50c5b4c7ce9be974a2616) + +#### [0.3.0](https://git.odit.services/lfk/frontend/compare/0.2.1...0.3.0) + +> 15 January 2021 + +- Merge pull request 'feature/16-org-management' (#32) from feature/16-org-management into dev [`#16`](https://git.odit.services/lfk/frontend/issues/16) +- Merge commit 'fcd657c10ea14290455cfb0bf2de89375a664143' into dev [`#31`](https://git.odit.services/lfk/frontend/issues/31) +- ✨ added Org base components [`bdc0de6`](https://git.odit.services/lfk/frontend/commit/bdc0de6adab2db95e6075a993bd50317e9e36eb5) +- 🚀RELEASE v0.3.0 [`7cd24cd`](https://git.odit.services/lfk/frontend/commit/7cd24cd51d52efff22f4ee0817f2d89f6efb35ed) +- 🏬 OrgDetail ui [`7a09869`](https://git.odit.services/lfk/frontend/commit/7a09869b0ca9d5dd38cf0c0010b71ab9ce6c6f40) +- 🏁 finish basic functionality of AddOrgModal + OrgDetail [`9324925`](https://git.odit.services/lfk/frontend/commit/93249258c6b0f34da22f0ed5d290b437d221a8fd) +- ✨ basic functionality in OrgDetail [`0e2a10f`](https://git.odit.services/lfk/frontend/commit/0e2a10fe94075b3cda8ef3ebae6a6159a2e6bbf9) +- 🐞 fix sidebar mobile-md scaling [`fcd657c`](https://git.odit.services/lfk/frontend/commit/fcd657c10ea14290455cfb0bf2de89375a664143) +- 🔨 reorder CI build order for correct license exporting [`7d58657`](https://git.odit.services/lfk/frontend/commit/7d58657c800e9e494c1d1f098ad0dc34d1f0cd8d) +- 💬 AddOrgModal bindings [`bc239ee`](https://git.odit.services/lfk/frontend/commit/bc239eead1d1a29c9662d94db797c6bf23e43166) +- ✨ improvements in OrgOverview [`0b9f3de`](https://git.odit.services/lfk/frontend/commit/0b9f3de47c0c8b750c38da07e53927ba55ef3499) +- 🔨 config compatibility for new Snowpack V3 bundler [`32ffa34`](https://git.odit.services/lfk/frontend/commit/32ffa345cde67b1affe2750add620522c0a24577) +- 🧹 general component cleanup [`157c7c6`](https://git.odit.services/lfk/frontend/commit/157c7c66b57c3a5053c780682402d3615fbc046a) +- ⏫ basic dependency bump [`6fc3c16`](https://git.odit.services/lfk/frontend/commit/6fc3c16073555fffd55773218c5c2eed361f076b) +- 🌎 i18n [`01c01a4`](https://git.odit.services/lfk/frontend/commit/01c01a46faa9332a2e437861fdb42afe962da833) +- ⏫ bump gridjs to 3.2.2 [`6ff9069`](https://git.odit.services/lfk/frontend/commit/6ff90694e288356e16f5226a6e0a054e6fec8b3f) +- [tmp] - disable serviceworker [`0fa107a`](https://git.odit.services/lfk/frontend/commit/0fa107a75bc33046758bc42523262a566da9f60f) +- new license file version [CI SKIP] [`ad34e45`](https://git.odit.services/lfk/frontend/commit/ad34e455ceedc0e0ccca5ccd86f7f011a7667873) +- ⏫ Bump Dockerfile builder to 15.5.1-alpine3.12 [`01fdd0b`](https://git.odit.services/lfk/frontend/commit/01fdd0bee2199bb58373aecc9942591a2d45011a) +- new license file version [CI SKIP] [`87926e6`](https://git.odit.services/lfk/frontend/commit/87926e69dbd5b93b2c98cd68fb31913259e3cc00) +- 🐳 Dockerfile - drop js sourcemaps [`4b80f30`](https://git.odit.services/lfk/frontend/commit/4b80f30afbfb8c16b9395fb310f309c516c48a17) + +#### [0.2.1](https://git.odit.services/lfk/frontend/compare/0.2.0...0.2.1) + +> 13 January 2021 + +- 🔒 UserDetail - WIP on Permissions [`36a084e`](https://git.odit.services/lfk/frontend/commit/36a084eab6bd0c922da29ebb2d260ba803bf9675) +- 👪 UserDetail - group edit support [`a9e319e`](https://git.odit.services/lfk/frontend/commit/a9e319e0c0f2bfaba42bc3af875462e394489dc2) +- 🙋‍♂️ UserDetails - group updating [`041c24a`](https://git.odit.services/lfk/frontend/commit/041c24a837d58ff46362699b54e8088f22ba2daa) +- ⚡ shared state reactivity - AddUserModal-Users-UsersOverview [`f7acbb1`](https://git.odit.services/lfk/frontend/commit/f7acbb1eaa14ddf41e29ff1db631520123218289) +- ✨ AddUserModal + UserDetail - optional username field [`7df76f9`](https://git.odit.services/lfk/frontend/commit/7df76f9642b528586fd654f27148b5502400ffdf) +- UserDetail - fixed group updating [`e6fbf7a`](https://git.odit.services/lfk/frontend/commit/e6fbf7aa5b230733ffd92fdfe851b9f86001c859) +- 🚀RELEASE v0.2.1 [`2bbaa50`](https://git.odit.services/lfk/frontend/commit/2bbaa500f4ca56e41613cac12228f4e3327180ab) +- 💬 UserDetail - info Toasts [`ea23b97`](https://git.odit.services/lfk/frontend/commit/ea23b972315db39e1f800366d52e3bacf9eaf58b) +- 🔨 optimized release script [`23c3cd6`](https://git.odit.services/lfk/frontend/commit/23c3cd605db950a5620ea709748216f7ea034385) +- 🐞 fix package release script: locales directory [`722a20e`](https://git.odit.services/lfk/frontend/commit/722a20e141079302da8876be1ccc55026c588048) +- ⏫ bump @odit/lfk-client-js to 0.0.11 [`f6db117`](https://git.odit.services/lfk/frontend/commit/f6db117a5eca5c9692a4c5d83159917a712a0e63) +- 🐞 UserDetail - fix permission reactivity by assignments [`39a3baa`](https://git.odit.services/lfk/frontend/commit/39a3baa00b0575ee3150c7ae26f32995e2e857d9) + +#### [0.2.0](https://git.odit.services/lfk/frontend/compare/0.1.6...0.2.0) + +> 11 January 2021 + +- 🔒 added rendering based on permission level [`5937a0d`](https://git.odit.services/lfk/frontend/commit/5937a0d7ce970d38ddb0e4c6a02d11f8c8b53e9b) +- ❌ UserDetail - delete [`4512272`](https://git.odit.services/lfk/frontend/commit/4512272c1c2a5c861d8ac4c9908244df125dc3d9) +- 🖊 UserDetail - reactivity on edit + update functionality [`ce1f384`](https://git.odit.services/lfk/frontend/commit/ce1f3842e0f581d9e94ea6079cf223d945f7465d) +- 🚀RELEASE v0.2.0 [`7769070`](https://git.odit.services/lfk/frontend/commit/77690702c0461b71ff1b65a44bfdc331d5a42c3e) +- [tmp] - disable darkmode + re-enable sw [`c7679b7`](https://git.odit.services/lfk/frontend/commit/c7679b7a67b362a7fbf796f612892bdfac50731c) +- 🕕 set manual refresh time to 2min [`be629e5`](https://git.odit.services/lfk/frontend/commit/be629e5c6b076bf9a28dcc953e97478d244d8413) +- 🐞 [tmp] - nginx.conf - disable .js file caching [`e6ac34b`](https://git.odit.services/lfk/frontend/commit/e6ac34bde8d288a45e83fc6723a2bbe952f2622a) +- ℹ update jwtinfo store on token refresh [`6356968`](https://git.odit.services/lfk/frontend/commit/63569684a392bf0c24c9c2efd7945114d1a230a5) + +#### [0.1.6](https://git.odit.services/lfk/frontend/compare/0.1.5...0.1.6) + +> 10 January 2021 + +- ✨ UsersOverview - user delete [`f0c100a`](https://git.odit.services/lfk/frontend/commit/f0c100aee47d6a5aeb0995db79b268f33bf316e9) +- 🔒 UserDetail - added basic layout for permission change [`81c1537`](https://git.odit.services/lfk/frontend/commit/81c1537bada2c87127385d9110d48459cd1b505f) +- 🚀RELEASE v0.1.6 [`ee01c3a`](https://git.odit.services/lfk/frontend/commit/ee01c3a059c435add68938657955cbd2c5851c50) +- 📧 UserDetail - email input [`f856c6a`](https://git.odit.services/lfk/frontend/commit/f856c6ae3792c93aee148339d89e3978db6e9293) +- ✨ UserDetail multiselect layout for groups [`98ecfab`](https://git.odit.services/lfk/frontend/commit/98ecfab0325e35c5418775f7162049b56e5f332f) +- UserDetail - placeholder for permission picker 🔒 [`b948b8c`](https://git.odit.services/lfk/frontend/commit/b948b8c1a48e5b4bc6a083139d26100ef4499970) + +#### [0.1.5](https://git.odit.services/lfk/frontend/compare/0.1.4...0.1.5) + +> 10 January 2021 + +- Merge commit '16f572480ad55425890061f9dad65fe85f2f39ad' into dev [`#30`](https://git.odit.services/lfk/frontend/issues/30) +- 🚀RELEASE v0.1.5 [`330755c`](https://git.odit.services/lfk/frontend/commit/330755c63e3405533a5da79c84ef4f379eb43e1c) +- ⤵ load dynamic build info in Footer component [`c089bb3`](https://git.odit.services/lfk/frontend/commit/c089bb39298fb1067093c2fa81101130c214947c) +- 📅 dynamic copyright year in Footer component [`b8a9e4f`](https://git.odit.services/lfk/frontend/commit/b8a9e4f272f925999b9a032dd009f7498acbfae0) +- 👀 improved Footer layout + display on Login component [`43b4065`](https://git.odit.services/lfk/frontend/commit/43b406592ebe115cea04a8dbf36874c0a5bdd7e9) +- ✨ added versionbuilder.js script [`1dd6674`](https://git.odit.services/lfk/frontend/commit/1dd6674faad686c0048a62b4cd25ab21b5c8b04f) +- ⚡ add versionbuilder script to release hook [`16f5724`](https://git.odit.services/lfk/frontend/commit/16f572480ad55425890061f9dad65fe85f2f39ad) +- 🔨 sample build of index.html with versionbuilder script [`3caa1fc`](https://git.odit.services/lfk/frontend/commit/3caa1fc277b99ee767c1e1fc4a28fd247d98e659) + +#### [0.1.4](https://git.odit.services/lfk/frontend/compare/0.1.3...0.1.4) + +> 10 January 2021 + +- Merge commit '45ec97066f425ac2ac66914be649cbd5a1038e10' into dev [`#20`](https://git.odit.services/lfk/frontend/issues/20) +- 🌎 add remaining translation keys for filepond [`45ec970`](https://git.odit.services/lfk/frontend/commit/45ec97066f425ac2ac66914be649cbd5a1038e10) +- add basic i18n logic to filepond [`b08c0f1`](https://git.odit.services/lfk/frontend/commit/b08c0f145a13d295b2a51c7a6da76faceb80a90c) +- 🚀RELEASE v0.1.4 [`4674b52`](https://git.odit.services/lfk/frontend/commit/4674b52717e388122e113553b8a136c649ce030c) +- 🌎 About - i18n [`692c906`](https://git.odit.services/lfk/frontend/commit/692c906cd26bdb7f7d730b90734d23748e0ab451) +- ✨ About - change license modal icon to "legal" [`0e31ba2`](https://git.odit.services/lfk/frontend/commit/0e31ba212f99d90b133bc242e5b4d163aa99b93b) +- new license file version [CI SKIP] [`4f3837a`](https://git.odit.services/lfk/frontend/commit/4f3837ac45a5df9a7476fd68ec9c069dc6b128cd) + +#### [0.1.3](https://git.odit.services/lfk/frontend/compare/0.1.2...0.1.3) + +> 10 January 2021 + +- 🌎 improved i18n for AddUserModal and UserDetail [`1c356a4`](https://git.odit.services/lfk/frontend/commit/1c356a41f54a954afaa69ed524f62c1676f7bbee) +- 🧹 simplified UsersOverview table [`e1d5d54`](https://git.odit.services/lfk/frontend/commit/e1d5d54cfb1fb20e56f0e971e2cfd196e9a913ac) +- 🌎 added i18n for UsersOverview [`3754f09`](https://git.odit.services/lfk/frontend/commit/3754f09b2f395a82ff8c3a9c655ab8a782e7eb71) +- 🖊 add basic UserDetail editing reactivity [`6012d05`](https://git.odit.services/lfk/frontend/commit/6012d0577e2ae6caf44aaee54335188bc767fff7) +- AddUserModal - data validation [`264e0d7`](https://git.odit.services/lfk/frontend/commit/264e0d7ed98c5000da543af154d6e36a6b956e4a) +- ✨ sample layout for advanced search [`5ec1dfa`](https://git.odit.services/lfk/frontend/commit/5ec1dfa8b0da4619f14e73794b9a9e22872aa330) +- userdetail - dynamic buttons [`ded3198`](https://git.odit.services/lfk/frontend/commit/ded31980bfbf9f09afa2818bdcc8cc3e40748441) +- 🚀RELEASE v0.1.3 [`ccb5125`](https://git.odit.services/lfk/frontend/commit/ccb5125a48486ef55709419eccd7d9e912a1e64c) +- 🔍 UsersOverview table - basic fuzzy search [`b9e0be4`](https://git.odit.services/lfk/frontend/commit/b9e0be448398d087005e220d08e34461490be14e) + +#### [0.1.2](https://git.odit.services/lfk/frontend/compare/0.1.2-1...0.1.2) + +> 10 January 2021 + +- Merge commit '2a37dfafa426e070aa136d171a1a01aa7f609d18' into dev [`#29`](https://git.odit.services/lfk/frontend/issues/29) +- Merge commit '5810b4ec4396ad650d90493fb48e2a8320865b42' into dev [`#4`](https://git.odit.services/lfk/frontend/issues/4) +- 🔒 added basic manual refresh every 4mins [`d92c6c0`](https://git.odit.services/lfk/frontend/commit/d92c6c0de9d6b72027b8aa27b22e3dc7b5116af1) +- 🚀RELEASE v0.1.2 [`242b5af`](https://git.odit.services/lfk/frontend/commit/242b5afbe93a6100826b0340f821ad2a2c4de343) +- dropped redundant console.log [`2a37dfa`](https://git.odit.services/lfk/frontend/commit/2a37dfafa426e070aa136d171a1a01aa7f609d18) +- 💾 save new auth data to localstorage [`2cbb431`](https://git.odit.services/lfk/frontend/commit/2cbb431acc0fe1aa333ddedb76510486a5fcf191) +- new license file version [CI SKIP] [`519ba79`](https://git.odit.services/lfk/frontend/commit/519ba79e1d5d97e2f59f769ef952a649481b55c0) + +#### [0.1.2-1](https://git.odit.services/lfk/frontend/compare/0.1.2-0...0.1.2-1) + +> 10 January 2021 + +- 🚀RELEASE v0.1.2-1 [`5810b4e`](https://git.odit.services/lfk/frontend/commit/5810b4ec4396ad650d90493fb48e2a8320865b42) +- 🧪 modified auto-changelog to commit CHANGELOG.md [`52aa996`](https://git.odit.services/lfk/frontend/commit/52aa99681bb02472e0433cb32b89dde814cd9467) + +#### [0.1.2-0](https://git.odit.services/lfk/frontend/compare/0.1.1...0.1.2-0) + +> 10 January 2021 + +- 🧪 experimental - auto changelog generation [`b28f76a`](https://git.odit.services/lfk/frontend/commit/b28f76a1d46a7abdd3014398d41ff976bf39230b) +- 🚀RELEASE v0.1.2-0 [`0276c3d`](https://git.odit.services/lfk/frontend/commit/0276c3deeb8d78f9773bea724e4007f03e8de5e4) + +#### [0.1.1](https://git.odit.services/lfk/frontend/compare/0.1.0...0.1.1) + +> 10 January 2021 + +- 🚀RELEASE v0.1.1 [`a66f6bb`](https://git.odit.services/lfk/frontend/commit/a66f6bbec8e9d6be4fd0b68e0a388d351dbc5cb1) +- 🧪 move changelog generation to default [`139b329`](https://git.odit.services/lfk/frontend/commit/139b3294cdfd2437605142de0e4bb029f03f54f6) + +#### 0.1.0 + +> 10 January 2021 + +- Merge commit '2657f30cf3acaa592408d2d4cddcb02bf76bb6af' into dev [`#27`](https://git.odit.services/lfk/frontend/issues/27) +- Merge commit '80d30a8e5425f4041e79c299095c36386b8d7777' into dev [`#26`](https://git.odit.services/lfk/frontend/issues/26) +- 📦 further Dockerfile/ Bundle optimizations [`#25`](https://git.odit.services/lfk/frontend/issues/25) +- Merge commit 'bb0eb6d1e276186af2c1e5d26abda4413c278981' into dev [`#11`](https://git.odit.services/lfk/frontend/issues/11) +- Merge branch 'feature/24-i18n-formatting' into dev [`#24`](https://git.odit.services/lfk/frontend/issues/24) +- Merge branch 'feature/17-license_collection' into dev [`#17`](https://git.odit.services/lfk/frontend/issues/17) +- Merge pull request 'feature/10-dashboard-stats' (#21) from feature/10-dashboard-stats into develop [`#10`](https://git.odit.services/lfk/frontend/issues/10) +- Merge pull request 'feature/8-login-preserve' (#19) from feature/8-login-preserve into develop [`#8`](https://git.odit.services/lfk/frontend/issues/8) +- Merge pull request 'feature/5-base-components' (#18) from feature/5-base-components into develop [`#5`](https://git.odit.services/lfk/frontend/issues/5) +- Merge commit 'de7cd1267df684b5befd6111aa347e76c6f2ffdd' into develop [`#7`](https://git.odit.services/lfk/frontend/issues/7) +- 🌑 enable tailwind darkmode in config [`#6`](https://git.odit.services/lfk/frontend/issues/6) +- basic move to snowpack [`#3`](https://git.odit.services/lfk/frontend/issues/3) +- tailwind config [`#2`](https://git.odit.services/lfk/frontend/issues/2) +- license.json export + usage [`9ab72ae`](https://git.odit.services/lfk/frontend/commit/9ab72aed19f4174abdff83e45d9f3bfd16448ad4) +- basic User Components [`08278b3`](https://git.odit.services/lfk/frontend/commit/08278b36a5ed8096ae1d8eed6d10dcc1abdc5943) +- general page cleanups [`3f961dd`](https://git.odit.services/lfk/frontend/commit/3f961dd3bd559968626ee9cacb2b4fb00f776a64) +- demo run [`70e10f7`](https://git.odit.services/lfk/frontend/commit/70e10f7a70cf24fe4b78eee91bf4af3e37452fff) +- basic AddUserModal ui [`e5ec98b`](https://git.odit.services/lfk/frontend/commit/e5ec98bf6f599fe7fcf53065666cff880e0d5dfd) +- working on user detail page [`0e08c7f`](https://git.odit.services/lfk/frontend/commit/0e08c7f075571c8734bcda3347e2e2635c46c806) +- simplified css classes for cleanliness [`9684c22`](https://git.odit.services/lfk/frontend/commit/9684c22da3c9029d00057a3efe9a0fe34fd41070) +- first UserDetail page mockup [`d570336`](https://git.odit.services/lfk/frontend/commit/d5703365e46e52ee5b3090a89526a887db9ffc0d) +- AboutPage - read license text modal [`c0328c5`](https://git.odit.services/lfk/frontend/commit/c0328c5cdb1edc1c3dca368d65b84e640ef4df3c) +- fixed datatable-emptystate transition [`10bf88e`](https://git.odit.services/lfk/frontend/commit/10bf88e4ba2390dbf78925f0541c49a4abe3041d) +- working on AddUserModal [`cb58fdf`](https://git.odit.services/lfk/frontend/commit/cb58fdfd8ed6c20551d99cefe37e10e9e46f13bf) +- display full user names in overview table [`6529907`](https://git.odit.services/lfk/frontend/commit/6529907a139edd8450e699a8ea9befae622137f7) +- reactivity on adding a new Track [`f37ba1d`](https://git.odit.services/lfk/frontend/commit/f37ba1dbf7cc71573bcfbc1fe09c2a4b9d0d3404) +- User Overview table expansion [`58d68c8`](https://git.odit.services/lfk/frontend/commit/58d68c8324b6306be697cde0be53f0c5caf262aa) +- basic track deletion working ✅ [`35a9aa4`](https://git.odit.services/lfk/frontend/commit/35a9aa40cbbb86bd004cf18792951dd3f81fc859) +- Track edit animation [`e5fcb2e`](https://git.odit.services/lfk/frontend/commit/e5fcb2ef68cdbc55875d5bf7f97ddfe297abe7e1) +- basic edit logic in table [`039fd8f`](https://git.odit.services/lfk/frontend/commit/039fd8f90ebccf8594c608c4cd7c8fe5178c66d0) +- ⚡ PWA optimizations [`bc66ebb`](https://git.odit.services/lfk/frontend/commit/bc66ebbf0aa2a756829b92a0869b60c093f5e7f8) +- UserDetailOne sample ui [`23e03be`](https://git.odit.services/lfk/frontend/commit/23e03bec352a9ec53cb3962b4f6ec64b0ea643ad) +- improved sidebar icons [`5c218c6`](https://git.odit.services/lfk/frontend/commit/5c218c64abc3e54fcc00ba996a9b4749d3340c75) +- added Breadcrumb nav to UserDetail [`11457b2`](https://git.odit.services/lfk/frontend/commit/11457b2792dca55225280854456481b7c6978071) +- basic ForgotPassword improvements [`e8c98a0`](https://git.odit.services/lfk/frontend/commit/e8c98a0a29518063d4f573a3c6a1055f3bf18906) +- 🎨 general page styles [`02d8888`](https://git.odit.services/lfk/frontend/commit/02d8888d97da0125d47269bd8526c94535ff1efd) +- AddTrackModal - basic validation w/ class + layout responses [`591dc09`](https://git.odit.services/lfk/frontend/commit/591dc09228408f4fff0349a42807c1d6268a59e3) +- general dependency bump ⏫ [`6e4fe37`](https://git.odit.services/lfk/frontend/commit/6e4fe37378ab4af8e438fa7d0c7cf43fc45b2c99) +- edit is working 🎉 [`68de076`](https://git.odit.services/lfk/frontend/commit/68de0762271eb9dbe0e7135f6457cf0b09d889d6) +- move serviceworker registration to separate module [`8f25a87`](https://git.odit.services/lfk/frontend/commit/8f25a874cb2f7fc3181c356514e9e6c11136c9bc) +- 🌍 i18n [`8443085`](https://git.odit.services/lfk/frontend/commit/84430854df8581b43eb48a153b52030cb1b384f1) +- AddTrackModal action [`501bf7a`](https://git.odit.services/lfk/frontend/commit/501bf7a5f4895f5b821abfe62830602171a57655) +- 🌍 translations [`48ddc62`](https://git.odit.services/lfk/frontend/commit/48ddc621921f796a02c0bf74d5721a7851cd1523) +- general cleanups [`5b15141`](https://git.odit.services/lfk/frontend/commit/5b15141ecc0a5ed6a689e739b0f8990be244fa53) +- 🐞👀 visual fix in Footer component [`0c7bc07`](https://git.odit.services/lfk/frontend/commit/0c7bc07d67f7449e51bbb3d5f1f7af3241aa2839) +- include minimum lap times [`7210f1b`](https://git.odit.services/lfk/frontend/commit/7210f1b947de01ca6f3ebad600744fd49b0a561f) +- general + PWA optimizations [`43ecd83`](https://git.odit.services/lfk/frontend/commit/43ecd83213abe401f324e058bd255ce0b76f553c) +- improved order script for scalability [`947482c`](https://git.odit.services/lfk/frontend/commit/947482c1b51ad1b5a055eddf112e6aa6b88f5939) +- i18n 🌍 [`1c2636d`](https://git.odit.services/lfk/frontend/commit/1c2636d6693cafe9011d24c1cbdefc9a3eaa008c) +- delete confirmation [`7d1b519`](https://git.odit.services/lfk/frontend/commit/7d1b51918f5fee8791d1bd4e36056c4d979a2a96) +- Component + Login cleanup [`b111463`](https://git.odit.services/lfk/frontend/commit/b1114634e804b0f41b80c87afa6903ffc17f575c) +- AddTrackModal - more input validation response [`fe297f6`](https://git.odit.services/lfk/frontend/commit/fe297f67795c35f3ea0e9a88b8453b27a4de05e0) +- UserOverview cleanup [`71c7611`](https://git.odit.services/lfk/frontend/commit/71c761187f0e645ef06808fac930045589cb7c1a) +- AddTrackModal - minlaptime validation [`bb0eb6d`](https://git.odit.services/lfk/frontend/commit/bb0eb6d1e276186af2c1e5d26abda4413c278981) +- AddTrackModal - add track icon [`7bb5a18`](https://git.odit.services/lfk/frontend/commit/7bb5a18527994f4fe3f23a87106a431f1ebfe7d1) +- StatCards direct linking to detail page [`9527167`](https://git.odit.services/lfk/frontend/commit/9527167fbc8774d57fce206b40800f249fd50ed8) +- added basic release-it config [`52a19c2`](https://git.odit.services/lfk/frontend/commit/52a19c2036e6d928c790f914f53ebd614d0e1bea) +- move FormLayout component to Settings Page [`9309ea9`](https://git.odit.services/lfk/frontend/commit/9309ea9a30a062ecb6ddc4152174ca9371fd32b8) +- logic cleanup 🧠 [`59d5ad5`](https://git.odit.services/lfk/frontend/commit/59d5ad5bd32ad45ccfb50ab4ae4dfe47db182113) +- use outsideclick custom directive in AddTrackModal component [`2657f30`](https://git.odit.services/lfk/frontend/commit/2657f30cf3acaa592408d2d4cddcb02bf76bb6af) +- 🐳 added Docker buildsteps for sw generation [`aaef97d`](https://git.odit.services/lfk/frontend/commit/aaef97dd431d27dbab023fd05c281b8b35a1b6df) +- improved empty state [`6e00ac8`](https://git.odit.services/lfk/frontend/commit/6e00ac8f1f9bcc9ac714177c5ab2d1d04854aaa5) +- AddTrackModal padding style [`d830727`](https://git.odit.services/lfk/frontend/commit/d830727036a5bf0f7d81efba2d15ac4394ea82e4) +- added general PromiseError component [`9e19c48`](https://git.odit.services/lfk/frontend/commit/9e19c482584062380403d505be28c1ce13a7f442) +- basic formatting script [`f9aa262`](https://git.odit.services/lfk/frontend/commit/f9aa262cab64596185323dbf5fb96e70019bf126) +- 🌍 i18n lap time [`dadccc1`](https://git.odit.services/lfk/frontend/commit/dadccc1b5f7e38adeae8c988efe1ad63252f7599) +- added routing to UserDetail page [`3c4a109`](https://git.odit.services/lfk/frontend/commit/3c4a10944ebcf7a627f2749e21572342059452da) +- added outsideclick as custom directive [`a042c8a`](https://git.odit.services/lfk/frontend/commit/a042c8a870323262803989df840f15c351393a24) +- added middlename input field to mock [`8cf73a2`](https://git.odit.services/lfk/frontend/commit/8cf73a2be0ae5cb842d78ae2071fdc54bb18c4bc) +- re-enable Tailwind compile with postcss [`6915123`](https://git.odit.services/lfk/frontend/commit/6915123973460fea5a7e6934404dc5906114a812) +- display profilepic properly [`4fd1ac2`](https://git.odit.services/lfk/frontend/commit/4fd1ac28c58366d6d719942a2953d093b3829a01) +- general dependency bump ⏫ [`f7d7b83`](https://git.odit.services/lfk/frontend/commit/f7d7b837c457e6ed324f3512979506e96386b207) +- Login Component Accessibility 👀 [`fc5c8d1`](https://git.odit.services/lfk/frontend/commit/fc5c8d13093023632129134cbae702cd840e95c2) +- NGINX config - enable brotli compression [`1f50574`](https://git.odit.services/lfk/frontend/commit/1f5057438fa75e3c5ff3fd76f4bb52658f4b74ec) +- remove duplicate class usage in Dash Component [`dbc660c`](https://git.odit.services/lfk/frontend/commit/dbc660c48e33d98b8c7e0c5ddb33729c0cc54799) +- ❌ escape key support [`0c3e74f`](https://git.odit.services/lfk/frontend/commit/0c3e74f8a3f04997faa3f1aa10926f09972ac3f6) +- 🚀RELEASE v0.1.0 [`1aac783`](https://git.odit.services/lfk/frontend/commit/1aac783df351526787ba8aff12c013a8ab06524f) +- ▶ ENTER key submit [`80d30a8`](https://git.odit.services/lfk/frontend/commit/80d30a8e5425f4041e79c299095c36386b8d7777) +- EmptyState fixup [`02bfecd`](https://git.odit.services/lfk/frontend/commit/02bfecd54015ad6c6de25c246552feeab5c084ef) +- 🎨 OrgDetail style fix [`3a702aa`](https://git.odit.services/lfk/frontend/commit/3a702aa91e768ab58e017d859732fcac960edac6) +- re-added missing i18n keys [`17e7778`](https://git.odit.services/lfk/frontend/commit/17e7778d15380a2bd3d2f0bb38ed9c69bcb0bdce) +- ⏫ bump to @odit/license-exporter@0.0.9 for version support [`919910d`](https://git.odit.services/lfk/frontend/commit/919910d4a8c7ee2876b51de78b72311230476a32) +- AddTrackModal - autofocus on modal open [`388fc8f`](https://git.odit.services/lfk/frontend/commit/388fc8f239560be221687c69bfbffd9e1b3e56e1) +- AddTrackModal - trap focus if active [`0e7640b`](https://git.odit.services/lfk/frontend/commit/0e7640bf86b6710d01cd6c553f205cad934f58bb) +- ⏫ bump lfk client [`236aba8`](https://git.odit.services/lfk/frontend/commit/236aba89c2967c38402b909e65ad724e27144f17) +- ⏫ dependency bump [`ba87349`](https://git.odit.services/lfk/frontend/commit/ba87349a88a54152874b6a30218042a676799c68) +- 🌍 i18n [`281747a`](https://git.odit.services/lfk/frontend/commit/281747a681624ecaeee902910f1ff3c52f9e3155) +- move OpenAPI config to App component rather than Login [`b107f5d`](https://git.odit.services/lfk/frontend/commit/b107f5de95489b02fe73e8fdc2836b02d1d29d02) +- NGINX config - fix 404 error for SPA usage [`32e4f22`](https://git.odit.services/lfk/frontend/commit/32e4f223f89d2b58ffc2466aded008fa1c948290) +- 🐞fixed snowpack config for bundle optimization [`3e8d0b5`](https://git.odit.services/lfk/frontend/commit/3e8d0b54627f175bfe29bfc14308fa433e2c72af) +- 🐞 fix malfuntion in logout logic [`7cf2ffc`](https://git.odit.services/lfk/frontend/commit/7cf2ffce2d2b7905388169a9c38462337699b5e5) +- actually perform user logout (recreate Cookies, invalidate token) [`2048533`](https://git.odit.services/lfk/frontend/commit/2048533fda6da6fdc0aeb0f42f3c6a66d7e87911) +- proper middlename display support [`644b9a7`](https://git.odit.services/lfk/frontend/commit/644b9a76836c626fb3581a352ae53c72cd99b5b0) +- ignore licenses.json in serviceworker [`c38d33a`](https://git.odit.services/lfk/frontend/commit/c38d33a549143143d08ccbe5b82f14174eaebf70) +- dependency bump ⏫ [`9aeb99d`](https://git.odit.services/lfk/frontend/commit/9aeb99d775e1bb7a8a26d68836dd8d4a4b085406) +- Dashboard - fix accessibility focus state on nav Dropdown + Logout [`44029c8`](https://git.odit.services/lfk/frontend/commit/44029c812eebe3ee591dc2133c35082c5b3de41f) +- move toastify css to app base [`34ecb8b`](https://git.odit.services/lfk/frontend/commit/34ecb8b2fb19d243db35bd59f98d93f08d522f25) +- ⏫ tinro dependency bump [`e62277b`](https://git.odit.services/lfk/frontend/commit/e62277bdd2492119dd78a41d6cb3c415c7ce69b8) +- new layout margin from page title [`51c9c3f`](https://git.odit.services/lfk/frontend/commit/51c9c3fe3c7dc3d6f4d5665e3eac1fbc6f837659) +- add basic package script [`e361c89`](https://git.odit.services/lfk/frontend/commit/e361c89f6c6b719e4a7fa1b0db23885249cd3b2b) +- added release-it dev dependency [`0023e22`](https://git.odit.services/lfk/frontend/commit/0023e225243af7b6e2d85ee18522ee7f67828b73) +- AddTrackModal - placeholder input [`d45eec9`](https://git.odit.services/lfk/frontend/commit/d45eec94ab7386ef29170b03e73c7683b36a3a0d) +- add package script [`1cd03ef`](https://git.odit.services/lfk/frontend/commit/1cd03ef02748f55b8e66e5e26b3e2be64b659313) +- track lap time interactive placeholder [`008c91a`](https://git.odit.services/lfk/frontend/commit/008c91a5526edc51d4995565f1681f300f980b51) +- Merge commit '3a702aa91e768ab58e017d859732fcac960edac6' into feature/11-tracks-management [`8af63fc`](https://git.odit.services/lfk/frontend/commit/8af63fc22a47959859153f8e742df86f73b9be54) +- init [`32357ec`](https://git.odit.services/lfk/frontend/commit/32357ece0a7195ea1135c9c3e4c6c84323f95b4d) +- tmp [`1b7173c`](https://git.odit.services/lfk/frontend/commit/1b7173cda9134ee8058a00bdc030defa80d46bfc) +- Login - move to env.js import [`8ef0b21`](https://git.odit.services/lfk/frontend/commit/8ef0b21819309752c573d0485f6514152fb684e6) +- initial commit [`4bb3bae`](https://git.odit.services/lfk/frontend/commit/4bb3bae4e6fc89c35a8a2b36b7cd6e6d47958eae) +- Initial license export [`4c96b9a`](https://git.odit.services/lfk/frontend/commit/4c96b9a3e04dbb7c021c71aa8828a29248509fbe) +- 🚚 move to tinro svelte router [`a50ea15`](https://git.odit.services/lfk/frontend/commit/a50ea15b38023b867a9f7757e973184cbcdd2457) +- new Dashboard [`7270ce9`](https://git.odit.services/lfk/frontend/commit/7270ce9d32869abd4f6ac65ab7c2c87363633cbe) +- Tracks sample page w/ modal [`c2cf8a0`](https://git.odit.services/lfk/frontend/commit/c2cf8a098974c6f2e75690a5f767a8282fd95789) +- Profile page [`d580522`](https://git.odit.services/lfk/frontend/commit/d5805229b3dfed37a3a210fcbcc1435fe1b6952e) +- PwReset view [`98bc810`](https://git.odit.services/lfk/frontend/commit/98bc810e515fc04192e6058e0dce272a2e34e76a) +- StatCards - fetch real data from API [`3d93b04`](https://git.odit.services/lfk/frontend/commit/3d93b04264e99f4717e48e68136a08c85e54d4a0) +- general UI cleanup [`0e5fbb8`](https://git.odit.services/lfk/frontend/commit/0e5fbb8835331966c23522d831be2a6a08ae123f) +- Dashboard component cleanup [`89fcfe6`](https://git.odit.services/lfk/frontend/commit/89fcfe6a4903f77360257883b11fce689de9f5cb) +- improved About page + route [`45cd532`](https://git.odit.services/lfk/frontend/commit/45cd532c1ae322759b7fe5393bb27c17c3c03f83) +- 🌎 first i18n support [`2c77450`](https://git.odit.services/lfk/frontend/commit/2c774508848d918b0348cac5c81c376952c07ae5) +- i18n fix + more pages [`4633a9b`](https://git.odit.services/lfk/frontend/commit/4633a9b3aeec136ad6f434fa46a3925b37ac5524) +- i18n compatible datatable [`3c36bea`](https://git.odit.services/lfk/frontend/commit/3c36bea07cdd2bf690e93fe8ddfbf5be62ddc7cb) +- more translations [`1dc4983`](https://git.odit.services/lfk/frontend/commit/1dc498302f9ab0563187439a7c207b00f0af3acb) +- tmp [`8ff1c55`](https://git.odit.services/lfk/frontend/commit/8ff1c55ba4e52f36931eb53aaa18021a1b894a7a) +- Tags [`3bd954e`](https://git.odit.services/lfk/frontend/commit/3bd954e9ffe558495427b899e0f33baffc9d227d) +- About page [`a977b34`](https://git.odit.services/lfk/frontend/commit/a977b34adbf5b95b8813ab0a18252dab7f3a8a75) +- ForgotPassword page [`25e62f0`](https://git.odit.services/lfk/frontend/commit/25e62f09075dbb0150d48698d8dd4ba4bb9530e3) +- Sidebar [`4765fae`](https://git.odit.services/lfk/frontend/commit/4765faeddc3e90c3d8696595f1db223c97e4b890) +- ✨ Avatars [`7e69eee`](https://git.odit.services/lfk/frontend/commit/7e69eeef295901749dcb2a9b5d57a40959288fa4) +- 🖼 new icons + i18n for card titles [`4f02a5b`](https://git.odit.services/lfk/frontend/commit/4f02a5bac0b12f89cfa95e8effc65d5b9cdad732) +- basic dependencies + first layout [`3ce8284`](https://git.odit.services/lfk/frontend/commit/3ce82840783e24ed605837fbde76f5562f1256c1) +- 💡 sample card layout + data [`20ee0c1`](https://git.odit.services/lfk/frontend/commit/20ee0c1a9efe588a8a24d47cc345c24e76c02e6f) +- Breadcrumb component [`815e07c`](https://git.odit.services/lfk/frontend/commit/815e07c13262607f2f0e701423b8b85d7996cf9c) +- ✨ Badges [`2fa102b`](https://git.odit.services/lfk/frontend/commit/2fa102b5430cbd57dfb63823450c15abd71bbd3b) +- first working router 🎉 [`b4d1370`](https://git.odit.services/lfk/frontend/commit/b4d13701a7ee16ad0281271b233eb03632673ffc) +- Dashboard code cleanup [`9b036de`](https://git.odit.services/lfk/frontend/commit/9b036de4d7adce065ff454b3183dcd78866a2363) +- 💾 login state preserve (localstorage) + ℹ JWT payload parsing [`13ccb56`](https://git.odit.services/lfk/frontend/commit/13ccb56354135704834ffade8085ddbc8c03b369) +- profile actions dropdown [`a80d3b0`](https://git.odit.services/lfk/frontend/commit/a80d3b060faad61f625776e23739f4b2837927c5) +- Added drone file with pipeline for dev [`9bf21a0`](https://git.odit.services/lfk/frontend/commit/9bf21a0eeb6d32cab18dcbb55f571969773fffac) +- DataTable [`d293859`](https://git.odit.services/lfk/frontend/commit/d2938591bf157e88acfd274ff1dfd527a1ce8588) +- 🚧 move to new config based env [`2cdd1cd`](https://git.odit.services/lfk/frontend/commit/2cdd1cd96196f586abfa50ba2f2b05f99545c669) +- Dashboard - dropdown arrow change [`b27fb8c`](https://git.odit.services/lfk/frontend/commit/b27fb8c0b5532710c97947731f0725e37f13c579) +- filepond integration ✅ [`ada6888`](https://git.odit.services/lfk/frontend/commit/ada68887a2e6a4a552c1d093f5ec1afaebd918d3) +- more translations [`186803f`](https://git.odit.services/lfk/frontend/commit/186803f8216c991927d8f5c8ec6aa19016267858) +- general cleanups [`428d2e2`](https://git.odit.services/lfk/frontend/commit/428d2e25790e7509c535970accbe9f79fbf6ab65) +- 🐳 move to new + simple Dockerfile [`9202b47`](https://git.odit.services/lfk/frontend/commit/9202b473f579c50f9a0b269ee2ef9530cd690d2c) +- TracksOverview route [`f3f318f`](https://git.odit.services/lfk/frontend/commit/f3f318fd01372eea1edff265d678f1a03e252377) +- Sidebar - UX logic w/ interactivity [`773800e`](https://git.odit.services/lfk/frontend/commit/773800e73203d438fe2f3e8245b6d13e9407f996) +- Login component - enter key listener [`016f08b`](https://git.odit.services/lfk/frontend/commit/016f08b07cf2b40a53a57642d7bc75ebd669feab) +- 🐳 new Dockerfile [`33d8622`](https://git.odit.services/lfk/frontend/commit/33d8622eb27d284dddb9bc14740e7a90b4b809d5) +- AddTrackModal cleanup [`f5d0e28`](https://git.odit.services/lfk/frontend/commit/f5d0e285fb3a913b7a26bf2ce7b7621502b68e49) +- Footer component cleanup [`05306c7`](https://git.odit.services/lfk/frontend/commit/05306c75a555d38adad3f3fc4a4d3bd1211c626c) +- ♻️ drop svelte-spa-router [`46491f3`](https://git.odit.services/lfk/frontend/commit/46491f38a0cf8d2ef3ceac00ce1be289a594eade) +- 🚧 working on sidebar [`e4c6c57`](https://git.odit.services/lfk/frontend/commit/e4c6c5711d55e8acb4366cebbd9c8b7c45741c5e) +- added webmanifest 🧾 [`de7cd12`](https://git.odit.services/lfk/frontend/commit/de7cd1267df684b5befd6111aa347e76c6f2ffdd) +- basic service worker registration via workbox [`13b6b32`](https://git.odit.services/lfk/frontend/commit/13b6b320411a4fda24c49cdec5fd890d09d02c9c) +- more i18n usage + logo [`d817058`](https://git.odit.services/lfk/frontend/commit/d817058e515cf79c782446c4b8c9443b15211523) +- ✨ Tabs [`e6815eb`](https://git.odit.services/lfk/frontend/commit/e6815eb75f45b56a8404a24d0d96b3e79ba73834) +- Dashboard - use sample components [`b2b05a4`](https://git.odit.services/lfk/frontend/commit/b2b05a4ec9f565ec92ebbf84ad4ed5f1eb80cbfe) +- Tracks page cleanup [`9af4cfe`](https://git.odit.services/lfk/frontend/commit/9af4cfe73f92f28e42c0d2bd83f687be16d4b8f0) +- Track page cleanup [`72f1645`](https://git.odit.services/lfk/frontend/commit/72f1645767ab57a6ce94bbe80eff2858a113bace) +- first language support [`35d379d`](https://git.odit.services/lfk/frontend/commit/35d379d84303cfb119c8df97d8ad0222e9749826) +- cleaned up Login component for darkmode compatibility [`040359a`](https://git.odit.services/lfk/frontend/commit/040359aa933bdfd3d2119229d29c95aa5a308a86) +- Tracks datatable action ui [`9975c0c`](https://git.odit.services/lfk/frontend/commit/9975c0cf64c356c30e229127bfa6d04df1b41a4a) +- hash based routing in env file [`3396d17`](https://git.odit.services/lfk/frontend/commit/3396d173586a6bb9518d07e4f9d84b6ba0bcf4b9) +- 🌎 translations [`0ff0a29`](https://git.odit.services/lfk/frontend/commit/0ff0a29dfe73c38b1c0c2dfb9b1e92a1b90e6c9c) +- dependency bumps ⏫ [`0dc8bff`](https://git.odit.services/lfk/frontend/commit/0dc8bffaec36b5f0419f84ee5722805b0d329f86) +- 🧠 logic cleanup in Login component [`90be420`](https://git.odit.services/lfk/frontend/commit/90be4200ca2578fe6b7f516b6c2b427e4875694a) +- demo login [`5499669`](https://git.odit.services/lfk/frontend/commit/5499669564801aab526a54cac4dca154e0fac6a4) +- [tmp] - move to cdn usage [`1473267`](https://git.odit.services/lfk/frontend/commit/1473267e8c7fd303c67ae8044c9846cd5ec94f9c) +- 🧹 drop nanoid dependency [`71b6258`](https://git.odit.services/lfk/frontend/commit/71b6258bc36576b4d9ad61556661ba299831e988) +- updated Dockerfile for snowpack ❄ [`6f787f6`](https://git.odit.services/lfk/frontend/commit/6f787f63f7530d6da94195e0e148b97f581b0bed) +- add Tracks route to app [`728dd40`](https://git.odit.services/lfk/frontend/commit/728dd40f16f11dd80275388cff75e2971172eb5a) +- small bugfix [`b9410dc`](https://git.odit.services/lfk/frontend/commit/b9410dc5f1611f274c882e74312e2187757be246) +- 🌍 i18n - general_promise_error [`f1b2c1d`](https://git.odit.services/lfk/frontend/commit/f1b2c1de267dd0388de293e481d2739a3eb64d38) +- move filepond import to css-in-js [`e48502f`](https://git.odit.services/lfk/frontend/commit/e48502fb41f483685e24b8d054406a8cc7459451) +- Dashboard - demo urls [`c65c138`](https://git.odit.services/lfk/frontend/commit/c65c138830f883d85c897478dc1c44ef527f195e) +- gitignore yarn.lock package-lock.json [`112516c`](https://git.odit.services/lfk/frontend/commit/112516ccfd6f00014c611cc14bf5a4bb431a9bca) +- ⏫ dependency bump [`1104ab2`](https://git.odit.services/lfk/frontend/commit/1104ab20c7de0ab5c97e0dc636835b2a4e25ed6b) +- Updated dev branch name [`b538b6c`](https://git.odit.services/lfk/frontend/commit/b538b6cb7103b47ef7bc34c04087580918c09f6d) +- Added script for license export [`1fba3ef`](https://git.odit.services/lfk/frontend/commit/1fba3ef9e43f3d9302409446d6ed2a641e554d7c) +- added translations 🌍 [`b4df123`](https://git.odit.services/lfk/frontend/commit/b4df123c0402ab7ae42fd8289ae9bb2f3fff9d5e) +- ✨ NotFound [`d188ae6`](https://git.odit.services/lfk/frontend/commit/d188ae658af7541764d34884e8ca67a59f0955c2) +- DataTable - load from json object [`a379327`](https://git.odit.services/lfk/frontend/commit/a379327d67ba5e9bab1724cf7e170c01166b4d64) +- ⏫ dependency bump svelte [`905d8b0`](https://git.odit.services/lfk/frontend/commit/905d8b0a201631cdca462a8a33d5fd394db36305) +- favicon + title [`d2b2542`](https://git.odit.services/lfk/frontend/commit/d2b254241295fa177af01a9f2f0fb747a7f9f02e) +- 🎨 TailwindStyles - Chromium fix [`9fbe1c7`](https://git.odit.services/lfk/frontend/commit/9fbe1c7c6cce21ba536128ceaa35b72c7841f67f) +- 👋 sample user info usage on dashboard [`813c058`](https://git.odit.services/lfk/frontend/commit/813c058a9a805bc2f63586e50c5b949d33406654) +- 🔧 re-enable jwtinfo userdetails in Dashboard [`12eb207`](https://git.odit.services/lfk/frontend/commit/12eb207605f69598a9a2308cf9b1c2d4916f8cb3) +- Dependency: Bumped license-exporter version [`0842640`](https://git.odit.services/lfk/frontend/commit/0842640fec285a3d99f0c7551f008919e64e5dcd) +- move StatCards up in Dashboard UI [`e9a6637`](https://git.odit.services/lfk/frontend/commit/e9a6637eb9f303dc93dbbc3287f9b7b4d92ed42a) +- 🐞 translation fix [`517c638`](https://git.odit.services/lfk/frontend/commit/517c6381bae270346c8ba60dd3287d96d17d4bf3) +- Dashboard - hide overflow [`4c161b3`](https://git.odit.services/lfk/frontend/commit/4c161b3c7067ed042deeea3bea0ef24b306c94a1) +- ⏫ bump client to 0.0.5 [`9633a09`](https://git.odit.services/lfk/frontend/commit/9633a09b730be91c31419cd8bfcea108c82976d3) +- ⏫ Bump snowpack to 3.0.0-rc.2 🧪❄ [`9a53e32`](https://git.odit.services/lfk/frontend/commit/9a53e326917bc1b9756baf2ce511447974779c8f) +- ✒ package rename [`937d044`](https://git.odit.services/lfk/frontend/commit/937d044b59095192859d516fbf60c04b057562be) +- add theme color to index [`fe40fd9`](https://git.odit.services/lfk/frontend/commit/fe40fd9a91f634046a974a90986e915ee3c53cc0) diff --git a/Dockerfile b/Dockerfile index b20271d3..c6e4e19f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,18 @@ -FROM node:15.4.0-alpine3.12 +FROM node:15.5.1-alpine3.12 WORKDIR /app RUN npm i -g pnpm -COPY package.json index.html ./ +COPY package.json ./ RUN pnpm i +COPY package.json *.config.js workbox-config.js template-copy.js index.template.html s-config.template.js ./ COPY src ./src COPY public ./public RUN pnpm run build # final image +FROM alpine +COPY --from=0 /app/build /app +RUN rm -rf /app/build/_dist_/components +RUN rm -rf /app/build/_dist_/locales +RUN rm -rf /app/build-manifest.json FROM fholzer/nginx-brotli:v1.19.1 -COPY --from=0 /app/dist /usr/share/nginx/html +COPY --from=1 /app /usr/share/nginx/html COPY ./nginx.conf /etc/nginx/nginx.conf \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..5797ceb3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,362 @@ +Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Creative +Commons Corporation ("Creative Commons") is not a law firm and does not provide +legal services or legal advice. Distribution of Creative Commons public licenses +does not create a lawyer-client or other relationship. Creative Commons makes +its licenses and related information available on an "as-is" basis. Creative +Commons gives no warranties regarding its licenses, any material licensed +under their terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the fullest +extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions +that creators and other rights holders may use to share original works of +authorship and other material subject to copyright and certain other rights +specified in the public license below. The following considerations are for +informational purposes only, are not exhaustive, and do not form part of our +licenses. + +Considerations for licensors: Our public licenses are intended for use by +those authorized to give the public permission to use material in ways otherwise +restricted by copyright and certain other rights. Our licenses are irrevocable. +Licensors should read and understand the terms and conditions of the license +they choose before applying it. Licensors should also secure all rights necessary +before applying our licenses so that the public can reuse the material as +expected. Licensors should clearly mark any material not subject to the license. +This includes other CC-licensed material, or material used under an exception +or limitation to copyright. More considerations for licensors : wiki.creativecommons.org/Considerations_for_licensors + +Considerations for the public: By using one of our public licenses, a licensor +grants the public permission to use the licensed material under specified +terms and conditions. If the licensor's permission is not necessary for any +reason–for example, because of any applicable exception or limitation to copyright–then +that use is not regulated by the license. Our licenses grant only permissions +under copyright and certain other rights that a licensor has authority to +grant. Use of the licensed material may still be restricted for other reasons, +including because others have copyright or other rights in the material. A +licensor may make special requests, such as asking that all changes be marked +or described. Although not required by our licenses, you are encouraged to +respect those requests where reasonable. More considerations for the public +: wiki.creativecommons.org/Considerations_for_licensees + +Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public +License + +By exercising the Licensed Rights (defined below), You accept and agree to +be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike +4.0 International Public License ("Public License"). To the extent this Public +License may be interpreted as a contract, You are granted the Licensed Rights +in consideration of Your acceptance of these terms and conditions, and the +Licensor grants You such rights in consideration of benefits the Licensor +receives from making the Licensed Material available under these terms and +conditions. + +Section 1 – Definitions. + +a. Adapted Material means material subject to Copyright and Similar Rights +that is derived from or based upon the Licensed Material and in which the +Licensed Material is translated, altered, arranged, transformed, or otherwise +modified in a manner requiring permission under the Copyright and Similar +Rights held by the Licensor. For purposes of this Public License, where the +Licensed Material is a musical work, performance, or sound recording, Adapted +Material is always produced where the Licensed Material is synched in timed +relation with a moving image. + +b. Adapter's License means the license You apply to Your Copyright and Similar +Rights in Your contributions to Adapted Material in accordance with the terms +and conditions of this Public License. + +c. BY-NC-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, +approved by Creative Commons as essentially the equivalent of this Public +License. + +d. Copyright and Similar Rights means copyright and/or similar rights closely +related to copyright including, without limitation, performance, broadcast, +sound recording, and Sui Generis Database Rights, without regard to how the +rights are labeled or categorized. For purposes of this Public License, the +rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. + +e. Effective Technological Measures means those measures that, in the absence +of proper authority, may not be circumvented under laws fulfilling obligations +under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, +and/or similar international agreements. + +f. Exceptions and Limitations means fair use, fair dealing, and/or any other +exception or limitation to Copyright and Similar Rights that applies to Your +use of the Licensed Material. + +g. License Elements means the license attributes listed in the name of a Creative +Commons Public License. The License Elements of this Public License are Attribution, +NonCommercial, and ShareAlike. + +h. Licensed Material means the artistic or literary work, database, or other +material to which the Licensor applied this Public License. + +i. Licensed Rights means the rights granted to You subject to the terms and +conditions of this Public License, which are limited to all Copyright and +Similar Rights that apply to Your use of the Licensed Material and that the +Licensor has authority to license. + +j. Licensor means the individual(s) or entity(ies) granting rights under this +Public License. + +k. NonCommercial means not primarily intended for or directed towards commercial +advantage or monetary compensation. For purposes of this Public License, the +exchange of the Licensed Material for other material subject to Copyright +and Similar Rights by digital file-sharing or similar means is NonCommercial +provided there is no payment of monetary compensation in connection with the +exchange. + +l. Share means to provide material to the public by any means or process that +requires permission under the Licensed Rights, such as reproduction, public +display, public performance, distribution, dissemination, communication, or +importation, and to make material available to the public including in ways +that members of the public may access the material from a place and at a time +individually chosen by them. + +m. Sui Generis Database Rights means rights other than copyright resulting +from Directive 96/9/EC of the European Parliament and of the Council of 11 +March 1996 on the legal protection of databases, as amended and/or succeeded, +as well as other essentially equivalent rights anywhere in the world. + +n. You means the individual or entity exercising the Licensed Rights under +this Public License. Your has a corresponding meaning. + +Section 2 – Scope. + + a. License grant. + +1. Subject to the terms and conditions of this Public License, the Licensor +hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, +irrevocable license to exercise the Licensed Rights in the Licensed Material +to: + +A. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial +purposes only; and + +B. produce, reproduce, and Share Adapted Material for NonCommercial purposes +only. + +2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions +and Limitations apply to Your use, this Public License does not apply, and +You do not need to comply with its terms and conditions. + + 3. Term. The term of this Public License is specified in Section 6(a). + +4. Media and formats; technical modifications allowed. The Licensor authorizes +You to exercise the Licensed Rights in all media and formats whether now known +or hereafter created, and to make technical modifications necessary to do +so. The Licensor waives and/or agrees not to assert any right or authority +to forbid You from making technical modifications necessary to exercise the +Licensed Rights, including technical modifications necessary to circumvent +Effective Technological Measures. For purposes of this Public License, simply +making modifications authorized by this Section 2(a)(4) never produces Adapted +Material. + + 5. Downstream recipients. + +A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed +Material automatically receives an offer from the Licensor to exercise the +Licensed Rights under the terms and conditions of this Public License. + +B. Additional offer from the Licensor – Adapted Material. Every recipient +of Adapted Material from You automatically receives an offer from the Licensor +to exercise the Licensed Rights in the Adapted Material under the conditions +of the Adapter's License You apply. + +C. No downstream restrictions. You may not offer or impose any additional +or different terms or conditions on, or apply any Effective Technological +Measures to, the Licensed Material if doing so restricts exercise of the Licensed +Rights by any recipient of the Licensed Material. + +6. No endorsement. Nothing in this Public License constitutes or may be construed +as permission to assert or imply that You are, or that Your use of the Licensed +Material is, connected with, or sponsored, endorsed, or granted official status +by, the Licensor or others designated to receive attribution as provided in +Section 3(a)(1)(A)(i). + + b. Other rights. + +1. Moral rights, such as the right of integrity, are not licensed under this +Public License, nor are publicity, privacy, and/or other similar personality +rights; however, to the extent possible, the Licensor waives and/or agrees +not to assert any such rights held by the Licensor to the limited extent necessary +to allow You to exercise the Licensed Rights, but not otherwise. + +2. Patent and trademark rights are not licensed under this Public License. + +3. To the extent possible, the Licensor waives any right to collect royalties +from You for the exercise of the Licensed Rights, whether directly or through +a collecting society under any voluntary or waivable statutory or compulsory +licensing scheme. In all other cases the Licensor expressly reserves any right +to collect such royalties, including when the Licensed Material is used other +than for NonCommercial purposes. + +Section 3 – License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following +conditions. + + a. Attribution. + +1. If You Share the Licensed Material (including in modified form), You must: + +A. retain the following if it is supplied by the Licensor with the Licensed +Material: + +i. identification of the creator(s) of the Licensed Material and any others +designated to receive attribution, in any reasonable manner requested by the +Licensor (including by pseudonym if designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of warranties; + + + +v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; + +B. indicate if You modified the Licensed Material and retain an indication +of any previous modifications; and + +C. indicate the Licensed Material is licensed under this Public License, and +include the text of, or the URI or hyperlink to, this Public License. + +2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner +based on the medium, means, and context in which You Share the Licensed Material. +For example, it may be reasonable to satisfy the conditions by providing a +URI or hyperlink to a resource that includes the required information. + +3. If requested by the Licensor, You must remove any of the information required +by Section 3(a)(1)(A) to the extent reasonably practicable. + +b. ShareAlike.In addition to the conditions in Section 3(a), if You Share +Adapted Material You produce, the following conditions also apply. + +1. The Adapter's License You apply must be a Creative Commons license with +the same License Elements, this version or later, or a BY-NC-SA Compatible +License. + +2. You must include the text of, or the URI or hyperlink to, the Adapter's +License You apply. You may satisfy this condition in any reasonable manner +based on the medium, means, and context in which You Share Adapted Material. + +3. You may not offer or impose any additional or different terms or conditions +on, or apply any Effective Technological Measures to, Adapted Material that +restrict exercise of the rights granted under the Adapter's License You apply. + +Section 4 – Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to +Your use of the Licensed Material: + +a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, +reuse, reproduce, and Share all or a substantial portion of the contents of +the database for NonCommercial purposes only; + +b. if You include all or a substantial portion of the database contents in +a database in which You have Sui Generis Database Rights, then the database +in which You have Sui Generis Database Rights (but not its individual contents) +is Adapted Material, including for purposes of Section 3(b); and + +c. You must comply with the conditions in Section 3(a) if You Share all or +a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not replace +Your obligations under this Public License where the Licensed Rights include +other Copyright and Similar Rights. + +Section 5 – Disclaimer of Warranties and Limitation of Liability. + +a. Unless otherwise separately undertaken by the Licensor, to the extent possible, +the Licensor offers the Licensed Material as-is and as-available, and makes +no representations or warranties of any kind concerning the Licensed Material, +whether express, implied, statutory, or other. This includes, without limitation, +warranties of title, merchantability, fitness for a particular purpose, non-infringement, +absence of latent or other defects, accuracy, or the presence or absence of +errors, whether or not known or discoverable. Where disclaimers of warranties +are not allowed in full or in part, this disclaimer may not apply to You. + +b. To the extent possible, in no event will the Licensor be liable to You +on any legal theory (including, without limitation, negligence) or otherwise +for any direct, special, indirect, incidental, consequential, punitive, exemplary, +or other losses, costs, expenses, or damages arising out of this Public License +or use of the Licensed Material, even if the Licensor has been advised of +the possibility of such losses, costs, expenses, or damages. Where a limitation +of liability is not allowed in full or in part, this limitation may not apply +to You. + +c. The disclaimer of warranties and limitation of liability provided above +shall be interpreted in a manner that, to the extent possible, most closely +approximates an absolute disclaimer and waiver of all liability. + +Section 6 – Term and Termination. + +a. This Public License applies for the term of the Copyright and Similar Rights +licensed here. However, if You fail to comply with this Public License, then +Your rights under this Public License terminate automatically. + +b. Where Your right to use the Licensed Material has terminated under Section +6(a), it reinstates: + +1. automatically as of the date the violation is cured, provided it is cured +within 30 days of Your discovery of the violation; or + + 2. upon express reinstatement by the Licensor. + +For the avoidance of doubt, this Section 6(b) does not affect any right the +Licensor may have to seek remedies for Your violations of this Public License. + +c. For the avoidance of doubt, the Licensor may also offer the Licensed Material +under separate terms or conditions or stop distributing the Licensed Material +at any time; however, doing so will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. + +Section 7 – Other Terms and Conditions. + +a. The Licensor shall not be bound by any additional or different terms or +conditions communicated by You unless expressly agreed. + +b. Any arrangements, understandings, or agreements regarding the Licensed +Material not stated herein are separate from and independent of the terms +and conditions of this Public License. + +Section 8 – Interpretation. + +a. For the avoidance of doubt, this Public License does not, and shall not +be interpreted to, reduce, limit, restrict, or impose conditions on any use +of the Licensed Material that could lawfully be made without permission under +this Public License. + +b. To the extent possible, if any provision of this Public License is deemed +unenforceable, it shall be automatically reformed to the minimum extent necessary +to make it enforceable. If the provision cannot be reformed, it shall be severed +from this Public License without affecting the enforceability of the remaining +terms and conditions. + +c. No term or condition of this Public License will be waived and no failure +to comply consented to unless expressly agreed to by the Licensor. + +d. Nothing in this Public License constitutes or may be interpreted as a limitation +upon, or waiver of, any privileges and immunities that apply to the Licensor +or You, including from the legal processes of any jurisdiction or authority. + +Creative Commons is not a party to its public licenses. Notwithstanding, Creative +Commons may elect to apply one of its public licenses to material it publishes +and in those instances will be considered the "Licensor." The text of the +Creative Commons public licenses is dedicated to the public domain under the +CC0 Public Domain Dedication. Except for the limited purpose of indicating +that material is shared under a Creative Commons public license or as otherwise +permitted by the Creative Commons policies published at creativecommons.org/policies, +Creative Commons does not authorize the use of the trademark "Creative Commons" +or any other trademark or logo of Creative Commons without its prior written +consent including, without limitation, in connection with any unauthorized +modifications to any of its public licenses or any other arrangements, understandings, +or agreements concerning use of licensed material. For the avoidance of doubt, +this paragraph does not form part of the public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/env.sample.js b/env.sample.js index 6e67035f..56fde078 100644 --- a/env.sample.js +++ b/env.sample.js @@ -1,5 +1,6 @@ const config = { baseurl: 'https://dev.lauf-fuer-kaya.de', fallback_username: 'admin', - fallback_password: '72fpTzsev4xUu78QPs2FCbwZ3' + fallback_password: '72fpTzsev4xUu78QPs2FCbwZ3', + prefersHashRouting: true }; diff --git a/index.html b/index.html deleted file mode 100644 index 3dd0d0cc..00000000 --- a/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - Lauf für Kaya! - Admin - - - - - - - diff --git a/index.template.html b/index.template.html new file mode 100644 index 00000000..cfe50ebd --- /dev/null +++ b/index.template.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + Lauf für Kaya! - Admin + __TAILWIND_INSERT__ + + + + RELEASE_INFO-0.6.0-RELEASE_INFO + + + + + + \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 0f0bce3b..7f7cb378 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,19 +1,24 @@ -events{} +events { +} http { include mime.types; sendfile on; server { + error_page 404 /index.html; root /usr/share/nginx/html; - location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { + location / { + try_files $uri $uri/ /index.html; + } + location ~* \.(?:ico|css|gif|jpe?g|png)$ { expires 1y; add_header Pragma public; add_header Cache-Control "public"; } # --- Brotli - # brotli on; - # brotli_comp_level 6; - # brotli_static on; - # brotli_types application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/eot font/opentype font/otf font/truetype image/svg+xml image/vnd.microsoft.icon image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml; + brotli on; + brotli_comp_level 6; + brotli_static on; + brotli_types application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-opentype application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/eot font/opentype font/otf font/truetype image/svg+xml image/vnd.microsoft.icon image/x-icon image/x-win-bitmap text/css text/javascript text/plain text/xml; # --- GZIP gzip on; gzip_disable "msie6"; @@ -22,6 +27,25 @@ http { gzip_comp_level 6; gzip_buffers 16 8k; gzip_http_version 1.1; - gzip_types application/javascript application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon text/css text/javascript text/plain text/xml; + gzip_types application/javascript + application/rss+xml + application/vnd.ms-fontobject + application/x-font + application/x-font-opentype + application/x-font-otf + application/x-font-truetype + application/x-font-ttf + application/x-javascript + application/xhtml+xml + application/xml + font/opentype + font/otf + font/ttf + image/svg+xml + image/x-icon + text/css + text/javascript + text/plain + text/xml; } } \ No newline at end of file diff --git a/order.js b/order.js new file mode 100644 index 00000000..1120c863 --- /dev/null +++ b/order.js @@ -0,0 +1,16 @@ +const fs = require('fs'); +// get all language files +const files = fs.readdirSync('./src/locales/'); +files.forEach((f) => { + // read file as object + const unordered = JSON.parse(fs.readFileSync(`src/locales/${f}`)); + // order object by keys alpabetically A-Z + const ordered = Object.keys(unordered).sort().reduce((obj, key) => { + obj[key] = unordered[key]; + return obj; + }, {}); + // format output as json for commit diff compatibility + const out = JSON.stringify(ordered, 0, 4); + // write output file + fs.writeFileSync(`src/locales/${f}`, out); +}); diff --git a/package.json b/package.json index e865ecd1..431d16df 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,62 @@ { "name": "@odit/lfk-frontend", - "version": "0.0.0", + "version": "0.6.0", "scripts": { - "dev": "svite", - "build": "svite build", - "start": "svite serve" + "i18n-order": "node order.js", + "dev:all": "yarn prebuild && snowpack dev", + "dev": "cross-env NODE_ENV_ODIT=development_fast node template-copy.js && yarn build:sw && snowpack dev", + "build": "yarn prebuild && snowpack build", + "prebuild": "cross-env NODE_ENV_ODIT=production node template-copy.js && yarn build:sw", + "build:sw": "workbox generateSW workbox-config.js", + "release": "release-it", + "licenses:export": "license-exporter --json -o public" }, + "license": "CC-BY-NC-SA-4.0", "dependencies": { - "@odit/lfk-client-js": "^0.0.4", - "svelte-i18n": "^3.3.0", - "svelte-spa-router": "^3.1.0", - "toastify-js": "^1.9.3", - "validator": "^13.5.2" + "@odit/lfk-client-js": "0.4.5", + "csvtojson": "^2.0.10", + "gridjs": "3.3.0", + "localforage": "1.9.0", + "lodash.isequal": "^4.5.0", + "marked": "^2.0.0", + "svelte-focus-trap": "1.0.1", + "svelte-i18n": "3.3.2", + "svelte-select": "^3.16.1", + "tailwindcss": "2.0.3", + "tinro": "0.5.12", + "toastify-js": "1.9.3", + "validator": "13.5.2", + "xlsx": "^0.16.9" }, "devDependencies": { - "svelte": "^3.31.0", - "svelte-hmr": "^0.12.2", - "svite": "^0.8.1" + "@odit/license-exporter": "^0.0.10", + "@snowpack/plugin-svelte": "3.5.2", + "auto-changelog": "^2.2.1", + "autoprefixer": "10.2.4", + "cross-env": "^7.0.3", + "postcss": "8.2.6", + "postcss-load-config": "3.0.1", + "release-it": "^14.4.0", + "snowpack": "3.0.11", + "svelte": "3.32.3", + "svelte-preprocess": "4.6.8", + "workbox-cli": "6.1.0" + }, + "release-it": { + "git": { + "commit": true, + "requireCleanWorkingDir": false, + "commitMessage": "🚀RELEASE v${version}", + "push": false, + "tag": true, + "tagName": null, + "tagAnnotation": "v${version}" + }, + "npm": { + "publish": false + }, + "hooks": { + "after:bump": "npx auto-changelog --commit-limit false -p -u --hide-credit && git add CHANGELOG.md && node versionbuilder.js && git add index.template.html && node order.js && git add src/locales" + } } } diff --git a/public/env.sample.js b/public/env.sample.js index f5031633..24c54fef 100644 --- a/public/env.sample.js +++ b/public/env.sample.js @@ -1,6 +1,5 @@ const config = { baseurl: 'http://localhost:4010', - // optional params ⏬ - fallback_username: 'demo', - fallback_password: 'demo' + // optional + prefersHashRouting: true }; diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 00000000..d75d248e Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 00000000..481f5263 Binary files /dev/null and b/public/favicon.png differ diff --git a/public/imprint_en.md b/public/imprint_en.md new file mode 100644 index 00000000..a56808ce --- /dev/null +++ b/public/imprint_en.md @@ -0,0 +1 @@ +Nostrud tempor dolor aute ea excepteur aute mollit elit eiusmod exercitation. Magna laborum pariatur adipisicing pariatur cupidatat exercitation duis aliquip pariatur sint exercitation deserunt labore. Consectetur id laboris dolore nostrud do velit ipsum. Eu laboris velit do commodo ad ea sint ex cillum. Cillum ipsum qui eiusmod laborum mollit sunt dolore incididunt. Cillum sunt culpa veniam voluptate et qui ut magna anim occaecat ut mollit dolor. Duis irure proident eu incididunt dolore sunt nisi aute dolore amet eu fugiat laboris quis. \ No newline at end of file diff --git a/public/lfk-logo.png b/public/lfk-logo.png new file mode 100644 index 00000000..428d4158 Binary files /dev/null and b/public/lfk-logo.png differ diff --git a/public/licenses.json b/public/licenses.json new file mode 100644 index 00000000..5c8bea26 --- /dev/null +++ b/public/licenses.json @@ -0,0 +1 @@ +[{"author":"ODIT.Services","repo":{"type":"git","url":"git+https://git.odit.services/lfk/lfk-client-js"},"description":"A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.","name":"@odit/lfk-client-js","license":"CC-BY-NC-SA-4.0","version":"0.4.5","licensetext":"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Creative\r\nCommons Corporation (\"Creative Commons\") is not a law firm and does not provide\r\nlegal services or legal advice. Distribution of Creative Commons public licenses\r\ndoes not create a lawyer-client or other relationship. Creative Commons makes\r\nits licenses and related information available on an \"as-is\" basis. Creative\r\nCommons gives no warranties regarding its licenses, any material licensed\r\nunder their terms and conditions, or any related information. Creative Commons\r\ndisclaims all liability for damages resulting from their use to the fullest\r\nextent possible.\r\n\r\nUsing Creative Commons Public Licenses\r\n\r\nCreative Commons public licenses provide a standard set of terms and conditions\r\nthat creators and other rights holders may use to share original works of\r\nauthorship and other material subject to copyright and certain other rights\r\nspecified in the public license below. The following considerations are for\r\ninformational purposes only, are not exhaustive, and do not form part of our\r\nlicenses.\r\n\r\nConsiderations for licensors: Our public licenses are intended for use by\r\nthose authorized to give the public permission to use material in ways otherwise\r\nrestricted by copyright and certain other rights. Our licenses are irrevocable.\r\nLicensors should read and understand the terms and conditions of the license\r\nthey choose before applying it. Licensors should also secure all rights necessary\r\nbefore applying our licenses so that the public can reuse the material as\r\nexpected. Licensors should clearly mark any material not subject to the license.\r\nThis includes other CC-licensed material, or material used under an exception\r\nor limitation to copyright. More considerations for licensors : wiki.creativecommons.org/Considerations_for_licensors\r\n\r\nConsiderations for the public: By using one of our public licenses, a licensor\r\ngrants the public permission to use the licensed material under specified\r\nterms and conditions. If the licensor's permission is not necessary for any\r\nreason–for example, because of any applicable exception or limitation to copyright–then\r\nthat use is not regulated by the license. Our licenses grant only permissions\r\nunder copyright and certain other rights that a licensor has authority to\r\ngrant. Use of the licensed material may still be restricted for other reasons,\r\nincluding because others have copyright or other rights in the material. A\r\nlicensor may make special requests, such as asking that all changes be marked\r\nor described. Although not required by our licenses, you are encouraged to\r\nrespect those requests where reasonable. More considerations for the public\r\n: wiki.creativecommons.org/Considerations_for_licensees\r\n\r\nCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public\r\nLicense\r\n\r\nBy exercising the Licensed Rights (defined below), You accept and agree to\r\nbe bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike\r\n4.0 International Public License (\"Public License\"). To the extent this Public\r\nLicense may be interpreted as a contract, You are granted the Licensed Rights\r\nin consideration of Your acceptance of these terms and conditions, and the\r\nLicensor grants You such rights in consideration of benefits the Licensor\r\nreceives from making the Licensed Material available under these terms and\r\nconditions.\r\n\r\nSection 1 – Definitions.\r\n\r\na. Adapted Material means material subject to Copyright and Similar Rights\r\nthat is derived from or based upon the Licensed Material and in which the\r\nLicensed Material is translated, altered, arranged, transformed, or otherwise\r\nmodified in a manner requiring permission under the Copyright and Similar\r\nRights held by the Licensor. For purposes of this Public License, where the\r\nLicensed Material is a musical work, performance, or sound recording, Adapted\r\nMaterial is always produced where the Licensed Material is synched in timed\r\nrelation with a moving image.\r\n\r\nb. Adapter's License means the license You apply to Your Copyright and Similar\r\nRights in Your contributions to Adapted Material in accordance with the terms\r\nand conditions of this Public License.\r\n\r\nc. BY-NC-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses,\r\napproved by Creative Commons as essentially the equivalent of this Public\r\nLicense.\r\n\r\nd. Copyright and Similar Rights means copyright and/or similar rights closely\r\nrelated to copyright including, without limitation, performance, broadcast,\r\nsound recording, and Sui Generis Database Rights, without regard to how the\r\nrights are labeled or categorized. For purposes of this Public License, the\r\nrights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.\r\n\r\ne. Effective Technological Measures means those measures that, in the absence\r\nof proper authority, may not be circumvented under laws fulfilling obligations\r\nunder Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996,\r\nand/or similar international agreements.\r\n\r\nf. Exceptions and Limitations means fair use, fair dealing, and/or any other\r\nexception or limitation to Copyright and Similar Rights that applies to Your\r\nuse of the Licensed Material.\r\n\r\ng. License Elements means the license attributes listed in the name of a Creative\r\nCommons Public License. The License Elements of this Public License are Attribution,\r\nNonCommercial, and ShareAlike.\r\n\r\nh. Licensed Material means the artistic or literary work, database, or other\r\nmaterial to which the Licensor applied this Public License.\r\n\r\ni. Licensed Rights means the rights granted to You subject to the terms and\r\nconditions of this Public License, which are limited to all Copyright and\r\nSimilar Rights that apply to Your use of the Licensed Material and that the\r\nLicensor has authority to license.\r\n\r\nj. Licensor means the individual(s) or entity(ies) granting rights under this\r\nPublic License.\r\n\r\nk. NonCommercial means not primarily intended for or directed towards commercial\r\nadvantage or monetary compensation. For purposes of this Public License, the\r\nexchange of the Licensed Material for other material subject to Copyright\r\nand Similar Rights by digital file-sharing or similar means is NonCommercial\r\nprovided there is no payment of monetary compensation in connection with the\r\nexchange.\r\n\r\nl. Share means to provide material to the public by any means or process that\r\nrequires permission under the Licensed Rights, such as reproduction, public\r\ndisplay, public performance, distribution, dissemination, communication, or\r\nimportation, and to make material available to the public including in ways\r\nthat members of the public may access the material from a place and at a time\r\nindividually chosen by them.\r\n\r\nm. Sui Generis Database Rights means rights other than copyright resulting\r\nfrom Directive 96/9/EC of the European Parliament and of the Council of 11\r\nMarch 1996 on the legal protection of databases, as amended and/or succeeded,\r\nas well as other essentially equivalent rights anywhere in the world.\r\n\r\nn. You means the individual or entity exercising the Licensed Rights under\r\nthis Public License. Your has a corresponding meaning.\r\n\r\nSection 2 – Scope.\r\n\r\n a. License grant.\r\n\r\n1. Subject to the terms and conditions of this Public License, the Licensor\r\nhereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive,\r\nirrevocable license to exercise the Licensed Rights in the Licensed Material\r\nto:\r\n\r\nA. reproduce and Share the Licensed Material, in whole or in part, for NonCommercial\r\npurposes only; and\r\n\r\nB. produce, reproduce, and Share Adapted Material for NonCommercial purposes\r\nonly.\r\n\r\n2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions\r\nand Limitations apply to Your use, this Public License does not apply, and\r\nYou do not need to comply with its terms and conditions.\r\n\r\n 3. Term. The term of this Public License is specified in Section 6(a).\r\n\r\n4. Media and formats; technical modifications allowed. The Licensor authorizes\r\nYou to exercise the Licensed Rights in all media and formats whether now known\r\nor hereafter created, and to make technical modifications necessary to do\r\nso. The Licensor waives and/or agrees not to assert any right or authority\r\nto forbid You from making technical modifications necessary to exercise the\r\nLicensed Rights, including technical modifications necessary to circumvent\r\nEffective Technological Measures. For purposes of this Public License, simply\r\nmaking modifications authorized by this Section 2(a)(4) never produces Adapted\r\nMaterial.\r\n\r\n 5. Downstream recipients.\r\n\r\nA. Offer from the Licensor – Licensed Material. Every recipient of the Licensed\r\nMaterial automatically receives an offer from the Licensor to exercise the\r\nLicensed Rights under the terms and conditions of this Public License.\r\n\r\nB. Additional offer from the Licensor – Adapted Material. Every recipient\r\nof Adapted Material from You automatically receives an offer from the Licensor\r\nto exercise the Licensed Rights in the Adapted Material under the conditions\r\nof the Adapter's License You apply.\r\n\r\nC. No downstream restrictions. You may not offer or impose any additional\r\nor different terms or conditions on, or apply any Effective Technological\r\nMeasures to, the Licensed Material if doing so restricts exercise of the Licensed\r\nRights by any recipient of the Licensed Material.\r\n\r\n6. No endorsement. Nothing in this Public License constitutes or may be construed\r\nas permission to assert or imply that You are, or that Your use of the Licensed\r\nMaterial is, connected with, or sponsored, endorsed, or granted official status\r\nby, the Licensor or others designated to receive attribution as provided in\r\nSection 3(a)(1)(A)(i).\r\n\r\n b. Other rights.\r\n\r\n1. Moral rights, such as the right of integrity, are not licensed under this\r\nPublic License, nor are publicity, privacy, and/or other similar personality\r\nrights; however, to the extent possible, the Licensor waives and/or agrees\r\nnot to assert any such rights held by the Licensor to the limited extent necessary\r\nto allow You to exercise the Licensed Rights, but not otherwise.\r\n\r\n2. Patent and trademark rights are not licensed under this Public License.\r\n\r\n3. To the extent possible, the Licensor waives any right to collect royalties\r\nfrom You for the exercise of the Licensed Rights, whether directly or through\r\na collecting society under any voluntary or waivable statutory or compulsory\r\nlicensing scheme. In all other cases the Licensor expressly reserves any right\r\nto collect such royalties, including when the Licensed Material is used other\r\nthan for NonCommercial purposes.\r\n\r\nSection 3 – License Conditions.\r\n\r\nYour exercise of the Licensed Rights is expressly made subject to the following\r\nconditions.\r\n\r\n a. Attribution.\r\n\r\n1. If You Share the Licensed Material (including in modified form), You must:\r\n\r\nA. retain the following if it is supplied by the Licensor with the Licensed\r\nMaterial:\r\n\r\ni. identification of the creator(s) of the Licensed Material and any others\r\ndesignated to receive attribution, in any reasonable manner requested by the\r\nLicensor (including by pseudonym if designated);\r\n\r\n ii. a copyright notice;\r\n\r\n iii. a notice that refers to this Public License;\r\n\r\n iv. a notice that refers to the disclaimer of warranties;\r\n\r\n \r\n\r\nv. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;\r\n\r\nB. indicate if You modified the Licensed Material and retain an indication\r\nof any previous modifications; and\r\n\r\nC. indicate the Licensed Material is licensed under this Public License, and\r\ninclude the text of, or the URI or hyperlink to, this Public License.\r\n\r\n2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner\r\nbased on the medium, means, and context in which You Share the Licensed Material.\r\nFor example, it may be reasonable to satisfy the conditions by providing a\r\nURI or hyperlink to a resource that includes the required information.\r\n\r\n3. If requested by the Licensor, You must remove any of the information required\r\nby Section 3(a)(1)(A) to the extent reasonably practicable.\r\n\r\nb. ShareAlike.In addition to the conditions in Section 3(a), if You Share\r\nAdapted Material You produce, the following conditions also apply.\r\n\r\n1. The Adapter's License You apply must be a Creative Commons license with\r\nthe same License Elements, this version or later, or a BY-NC-SA Compatible\r\nLicense.\r\n\r\n2. You must include the text of, or the URI or hyperlink to, the Adapter's\r\nLicense You apply. You may satisfy this condition in any reasonable manner\r\nbased on the medium, means, and context in which You Share Adapted Material.\r\n\r\n3. You may not offer or impose any additional or different terms or conditions\r\non, or apply any Effective Technological Measures to, Adapted Material that\r\nrestrict exercise of the rights granted under the Adapter's License You apply.\r\n\r\nSection 4 – Sui Generis Database Rights.\r\n\r\nWhere the Licensed Rights include Sui Generis Database Rights that apply to\r\nYour use of the Licensed Material:\r\n\r\na. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract,\r\nreuse, reproduce, and Share all or a substantial portion of the contents of\r\nthe database for NonCommercial purposes only;\r\n\r\nb. if You include all or a substantial portion of the database contents in\r\na database in which You have Sui Generis Database Rights, then the database\r\nin which You have Sui Generis Database Rights (but not its individual contents)\r\nis Adapted Material, including for purposes of Section 3(b); and\r\n\r\nc. You must comply with the conditions in Section 3(a) if You Share all or\r\na substantial portion of the contents of the database.\r\n\r\nFor the avoidance of doubt, this Section 4 supplements and does not replace\r\nYour obligations under this Public License where the Licensed Rights include\r\nother Copyright and Similar Rights.\r\n\r\nSection 5 – Disclaimer of Warranties and Limitation of Liability.\r\n\r\na. Unless otherwise separately undertaken by the Licensor, to the extent possible,\r\nthe Licensor offers the Licensed Material as-is and as-available, and makes\r\nno representations or warranties of any kind concerning the Licensed Material,\r\nwhether express, implied, statutory, or other. This includes, without limitation,\r\nwarranties of title, merchantability, fitness for a particular purpose, non-infringement,\r\nabsence of latent or other defects, accuracy, or the presence or absence of\r\nerrors, whether or not known or discoverable. Where disclaimers of warranties\r\nare not allowed in full or in part, this disclaimer may not apply to You.\r\n\r\nb. To the extent possible, in no event will the Licensor be liable to You\r\non any legal theory (including, without limitation, negligence) or otherwise\r\nfor any direct, special, indirect, incidental, consequential, punitive, exemplary,\r\nor other losses, costs, expenses, or damages arising out of this Public License\r\nor use of the Licensed Material, even if the Licensor has been advised of\r\nthe possibility of such losses, costs, expenses, or damages. Where a limitation\r\nof liability is not allowed in full or in part, this limitation may not apply\r\nto You.\r\n\r\nc. The disclaimer of warranties and limitation of liability provided above\r\nshall be interpreted in a manner that, to the extent possible, most closely\r\napproximates an absolute disclaimer and waiver of all liability.\r\n\r\nSection 6 – Term and Termination.\r\n\r\na. This Public License applies for the term of the Copyright and Similar Rights\r\nlicensed here. However, if You fail to comply with this Public License, then\r\nYour rights under this Public License terminate automatically.\r\n\r\nb. Where Your right to use the Licensed Material has terminated under Section\r\n6(a), it reinstates:\r\n\r\n1. automatically as of the date the violation is cured, provided it is cured\r\nwithin 30 days of Your discovery of the violation; or\r\n\r\n 2. upon express reinstatement by the Licensor.\r\n\r\nFor the avoidance of doubt, this Section 6(b) does not affect any right the\r\nLicensor may have to seek remedies for Your violations of this Public License.\r\n\r\nc. For the avoidance of doubt, the Licensor may also offer the Licensed Material\r\nunder separate terms or conditions or stop distributing the Licensed Material\r\nat any time; however, doing so will not terminate this Public License.\r\n\r\n d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.\r\n\r\nSection 7 – Other Terms and Conditions.\r\n\r\na. The Licensor shall not be bound by any additional or different terms or\r\nconditions communicated by You unless expressly agreed.\r\n\r\nb. Any arrangements, understandings, or agreements regarding the Licensed\r\nMaterial not stated herein are separate from and independent of the terms\r\nand conditions of this Public License.\r\n\r\nSection 8 – Interpretation.\r\n\r\na. For the avoidance of doubt, this Public License does not, and shall not\r\nbe interpreted to, reduce, limit, restrict, or impose conditions on any use\r\nof the Licensed Material that could lawfully be made without permission under\r\nthis Public License.\r\n\r\nb. To the extent possible, if any provision of this Public License is deemed\r\nunenforceable, it shall be automatically reformed to the minimum extent necessary\r\nto make it enforceable. If the provision cannot be reformed, it shall be severed\r\nfrom this Public License without affecting the enforceability of the remaining\r\nterms and conditions.\r\n\r\nc. No term or condition of this Public License will be waived and no failure\r\nto comply consented to unless expressly agreed to by the Licensor.\r\n\r\nd. Nothing in this Public License constitutes or may be interpreted as a limitation\r\nupon, or waiver of, any privileges and immunities that apply to the Licensor\r\nor You, including from the legal processes of any jurisdiction or authority.\r\n\r\nCreative Commons is not a party to its public licenses. Notwithstanding, Creative\r\nCommons may elect to apply one of its public licenses to material it publishes\r\nand in those instances will be considered the \"Licensor.\" The text of the\r\nCreative Commons public licenses is dedicated to the public domain under the\r\nCC0 Public Domain Dedication. Except for the limited purpose of indicating\r\nthat material is shared under a Creative Commons public license or as otherwise\r\npermitted by the Creative Commons policies published at creativecommons.org/policies,\r\nCreative Commons does not authorize the use of the trademark \"Creative Commons\"\r\nor any other trademark or logo of Creative Commons without its prior written\r\nconsent including, without limitation, in connection with any unauthorized\r\nmodifications to any of its public licenses or any other arrangements, understandings,\r\nor agreements concerning use of licensed material. For the avoidance of doubt,\r\nthis paragraph does not form part of the public licenses.\r\n\r\nCreative Commons may be contacted at creativecommons.org.\r\n"},{"author":"Keyang Xiang ","repo":{"type":"git","url":"https://github.com/Keyang/node-csvtojson.git"},"description":"A tool concentrating on converting csv data to JSON with customised parser supporting","name":"csvtojson","license":"MIT","version":"2.0.10","licensetext":"Copyright (C) 2013 Keyang Xiang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"},{"author":"Afshin Mehrabani ","repo":"https://github.com/grid-js/gridjs","description":"Advanced table plugin","name":"gridjs","license":"MIT","version":"3.3.0","licensetext":""},{"author":"Mozilla","repo":{"type":"git","url":"git://github.com/localForage/localForage.git"},"description":"Offline storage, improved.","name":"localforage","license":"Apache-2.0","version":"1.9.0","licensetext":" Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to Licensor for inclusion in the Work by the copyright owner\n or by an individual or Legal Entity authorized to submit on behalf of\n the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n APPENDIX: How to apply the Apache License to your work.\n\n To apply the Apache License to your work, attach the following\n boilerplate notice, with the fields enclosed by brackets \"{}\"\n replaced with your own identifying information. (Don't include\n the brackets!) The text should be enclosed in the appropriate\n comment syntax for the file format. We also recommend that a\n file or class name and description of purpose be included on the\n same \"printed page\" as the copyright notice for easier\n identification within third-party archives.\n\n Copyright 2014 Mozilla\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n"},{"author":"John-David Dalton (http://allyoucanleet.com/)","repo":"lodash/lodash","description":"The Lodash method `_.isEqual` exported as a module.","name":"lodash.isequal","license":"MIT","version":"4.5.0","licensetext":"Copyright JS Foundation and other contributors \n\nBased on Underscore.js, copyright Jeremy Ashkenas,\nDocumentCloud and Investigative Reporters & Editors \n\nThis software consists of voluntary contributions made by many\nindividuals. For exact contribution history, see the revision history\navailable at https://github.com/lodash/lodash\n\nThe following license applies to all parts of this software except as\ndocumented below:\n\n====\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n====\n\nCopyright and related rights for sample code are waived via CC0. Sample\ncode is defined as all source code displayed within the prose of the\ndocumentation.\n\nCC0: http://creativecommons.org/publicdomain/zero/1.0/\n\n====\n\nFiles located in the node_modules and vendor directories are externally\nmaintained libraries used by this software which have their own\nlicenses; we recommend you read them, as their terms may differ from the\nterms above.\n"},{"author":"Christopher Jeffrey","repo":"git://github.com/markedjs/marked.git","description":"A markdown parser built for speed","name":"marked","license":"MIT","version":"2.0.0","licensetext":"# License information\n\n## Contribution License Agreement\n\nIf you contribute code to this project, you are implicitly allowing your code\nto be distributed under the MIT license. You are also implicitly verifying that\nall code is your original work. ``\n\n## Marked\n\nCopyright (c) 2018+, MarkedJS (https://github.com/markedjs/)\nCopyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n## Markdown\n\nCopyright © 2004, John Gruber\nhttp://daringfireball.net/\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\n\nThis software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.\n"},{"author":{"name":"Greg Larrenaga","url":"https://github.com/Duder-onomy"},"repo":"github:Duder-onomy/svelte-focus-trap","description":"A svelte directive that will trap and wrap focus within an element.","name":"svelte-focus-trap","license":"MIT","version":"1.0.1","licensetext":"The MIT License (MIT)\n\nCopyright (c) 2020\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."},{"author":"Christian Kaisermann ","repo":"https://github.com/kaisermann/svelte-i18n","description":"Internationalization library for Svelte","name":"svelte-i18n","license":"MIT","version":"3.3.2","licensetext":"Copyright 2017 Christian Kaisermann \n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n"},{"author":"rob-balfre","repo":"https://rob-balfre@github.com/rob-balfre/svelte-select.git","description":"A - -
-
-
-
-
-
-
01 -
-
-
Teams
-
Minima quasi sunt.
-
-
-
-
-
-
02 -
-
-
Blog
-
Possimus non dolor.
-
-
-
-
-
-
03 -
-
-
Meetups
-
Cupiditate aliquid magnam.
-
-
-
-
-
-
04 -
-
-
Advertise with us
-
Doloribus modi cum.
-
-
-
-
-
-
05 -
-
-
Features
-
Voluptatum suscipit minima.
-
-
-
-
-
-
06 -
-
-
Job board
-
Magnam quae quia.
-
-
-
-
-
-
-
-
-
-
-
Change country
-
BrasilUSAEspañaРоссияChinaIndiaCanadaAustraliaJapanKorea
-
-
-
-
-
-
-
Apps
-
-
- - - Home
-
- - - Account
-
- - Comments
-
- - - - Settings
-
- - - Maps
-
- - - Twitter
-
- - Facebook
-
- - - - Instagram
-
- - - - LinkedIn
-
-
-
-
-
-
-
-
Project status
-
-
-
-
Mobile app development
-
33 - % -
-
-
-
-
-
-
-
-
Deploy github project
-
50 - % -
-
-
-
-
-
-
-
-
Customer development
-
66 - % -
-
-
-
-
-
-
-
-
Database backup
-
25 - % -
-
-
-
-
-
-
-
-
Release version 1.4
-
80 - % -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
5 new sales
-
Atque quaerat libero maiores vel.
-
-
-
-
-
-
-
$3.000 in average profits
-
Aut aut ullam eum possimus.
-
-
-
-
-
-
-
200 new tweets
-
Fugiat praesentium soluta amet non.
-
-
-
-
-
-
-
2 new items
-
Fugit eaque molestias et aut.
-
-
-
-
-
-
-
51 registered users
-
Labore aut voluptas molestias illo.
-
-
-
-
-
-
-
-
-
-
-
-
    -
  • - - - Inbox2 -
  • -
  • - - - Messages3 -
  • -
  • - - - Profile
  • -
  • - - - - Logout
  • -
-
-
-
-
- - -
-
-
-
-
Overview
-
Dashboard
-
-
-
-
-
-
-
-
-
-
Users
-
588
-
- - - - - -
-
-
-
-
-
-
-
Sessions
-
435
-
- - -
-
-
-
-
-
-
-
Bounce rate
-
40.5%
-
- - - - -
-
-
-
-
-
-
-
Session duration
-
1m 24s
-
- - - -
-
-
-
-
-
- -
-
-
-
-
-
Sessions
-
By device
-
-
-
-
-
-
    -
  • Today
  • -
  • This week
  • -
  • This month
  • -
  • This year
  • -
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - -
-
    -
  • - - Desktop
  • -
  • - - Mobile
  • -
  • - - Tablet
  • -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Users
-
Most important markets
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
Country
-
-
Active - users
-
-
Team - members
-
-
- Progress -
-
China - 1,377,422,166 -
mediamediamediamedia
-
-
-
-
-
-
83 - % - -
-
-
India - 1,295,210,000 -
mediamediamediamedia
-
-
-
-
-
-
71 - % - -
-
-
Indonesia258,705,000 -
mediamediamedia
-
-
-
-
-
-
45 - % - -
-
-
Pakistan194,125,062 -
mediamediamediamedia
-
-
-
-
-
-
60 - % - -
-
-
Bangladesh161,006,790 -
mediamediamedia
-
-
-
-
-
-
55 - % - -
-
-
Russian - Federation146,599,183 -
mediamediamedia
-
-
-
-
-
-
82 - % - -
-
-
Japan - 126,960,000 -
mediamediamediamedia
-
-
-
-
-
-
47 - % - -
-
-
Philippines103,279,800 -
mediamediamediamedia
-
-
-
-
-
-
70 - % - -
-
-
Viet - Nam92,700,000 -
mediamediamediamedia
-
-
-
-
-
-
45 - % - -
-
-
Germany81,770,900 -
mediamediamediamedia
-
-
-
-
-
-
68 - % - -
-
-
-
-
-
Page - 1 - of - 11 - - -
-
-
-
-
-
-
-
-
-
-
Project status
-
This week
-
-
-
-
-
-
    -
  • Today
  • -
  • This week
  • -
  • This month
  • -
  • This year
  • -
-
-
-
-
-
-
-
-
-
media
-
-
Harum quia vel vero id.
-
Et odio facere in quis.
-
-
-
-
52 - % - -
-
-
-
-
media
-
-
Qui itaque omnis distinctio commodi.
-
Tempore quis omnis tempore et.
-
-
-
-
54 - % - -
-
-
-
-
media
-
-
Nemo dolor reiciendis ut et.
-
Nisi aut iure et modi.
-
-
-
-
33 - % - -
-
-
-
-
media
-
-
Provident dignissimos sed non quia.
-
Odit omnis enim sapiente labore.
-
-
-
-
55 - % - -
-
-
-
-
-
-
-
-
-
-
-
Sales
-
This month
-
-
-
-
-
-
    -
  • Today
  • -
  • This week
  • -
  • This month
  • -
  • This year
  • -
-
-
-
-
-
-
-
-
-
- - - - - - - - - Jan - - - Feb - - - Mar - - - Apr - - - May - - - Jun - - - Jul - - - Aug - - - Sep - - - Oct - - - Nov - - - Dec - - - - - - - 0 - - - 60 - - - 120 - - - 180 - - - 240 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
    -
  • - - sales
  • -
  • - - conversions
  • -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Activities
-
Today
-
-
-
-
-
-
    -
  • Today
  • -
  • This week
  • -
  • This month
  • -
  • This year
  • -
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
Perferendis dignissimos provident saepe in.
-
Corporis in est quae exercitationem.
-
a few seconds ago
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
Eos et aut perspiciatis et.
-
Hic praesentium veritatis sapiente voluptatem.
-
a day ago
-
-
-
-
-
-
-
-
-
- 3
-
-
-
-
Vero voluptatibus est voluptas quas.
-
Ut iusto praesentium harum molestias.
-
2 days ago
-
-
-
-
-
-
-
-
-
- 4
-
-
-
-
Non maxime fuga nemo officiis.
-
Dolore nam laudantium vel voluptatem.
-
3 days ago
-
-
-
-
-
-
-
-
-
-
-
-
-
To do
-
In progress
-
-
-
-
-
-
    -
  • Today
  • -
  • This week
  • -
  • This month
  • -
  • This year
  • -
-
-
-
-
-
-
-
-
-
-
-
media
-
-
Laborum assumenda placeat doloribus architecto.
-
To do
medium -
-
-
Dec 18
-
-
-
-
-
media
-
-
Quis ut magnam provident reiciendis.
-
To do
high -
-
-
Dec 17
-
-
-
-
-
media
-
-
Nulla porro at ullam exercitationem.
-
Code Review
medium -
-
-
Dec 16
-
-
-
-
-
media
-
-
Velit ex quaerat voluptatum deserunt.
-
Code Review
important -
-
-
Dec 15
-
-
-
-
-
media
-
-
Vel hic laboriosam aut quibusdam.
-
In Progress
low -
-
-
Dec 14
-
-
-
-
-
-
5 - tasks left -
-
-
-
-
-
-
-
-
-
- - \ No newline at end of file diff --git a/src/components/Dashboard.svelte b/src/components/Dashboard.svelte deleted file mode 100644 index 22517128..00000000 --- a/src/components/Dashboard.svelte +++ /dev/null @@ -1,354 +0,0 @@ - - -
-
-
-
-
-
- Workflow -
- {$_('application_name')} -
-
- Dashboard - - Team - - Projects - - Calendar - - Reports -
-
- -
-
-
-
-
-
-
- - - -
-
- -
- - {#if isProfileActionsVisible} - -
- {$_('your_profile')} - - {$_('settings')} - - {$_('signout')} -
- {/if} -
-
-
-
- - -
-
-
- - -
-
- Dashboard - - Team - - Projects - - Calendar - - Reports -
-
-
-
- -
-
-
- Tom Cook -
-
- tom@example.com -
-
- -
-
- {$_('your_profile')} - - {$_('settings')} - - {$_('signout')} -
-
-
-
- -
- -
-
-
- -
- -
- -
- - - -
-
-
-
Regular
-
Text inputs
-
-
-
-
-
-
Label
-
This is a hint
-
-
-
-
-
First name
-
First name is required
-
-
-
-
-
First name
-
First name is valid
-
-
-
-
- -
- -
- - - - diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte deleted file mode 100644 index 005b904c..00000000 --- a/src/components/Footer.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - -
-
-

- proudly powered by ODIT.Services -

-
-
diff --git a/src/components/LoginAlt.svelte b/src/components/LoginAlt.svelte deleted file mode 100644 index bd6304f8..00000000 --- a/src/components/LoginAlt.svelte +++ /dev/null @@ -1,97 +0,0 @@ - - -
-
-
- -

- Sign in to your account -

-

- Or - - start your 14-day free trial - -

-
-
- -
-
- - -
-
- - -
-
- -
-
- - -
- -
- - Forgot your password? - -
-
- -
- -
-
-
-
diff --git a/src/components/StatCards.svelte b/src/components/StatCards.svelte deleted file mode 100644 index b4dab96a..00000000 --- a/src/components/StatCards.svelte +++ /dev/null @@ -1,96 +0,0 @@ - - -
-
-
-
-
-
- {$_('runners')} -
-
69
-
- - - -
-
-
-
-
-
-
-
- {$_('total-scans')} -
-
1500
-
-
-
-
-
-
-
-
-
- {$_('total-donations')} -
-
5000,00 €
-
- -
-
-
-
-
-
-
-
- {$_('total-distance')} -
-
100.0 km
-
- - -
-
-
-
diff --git a/src/components/Test.svelte b/src/components/Test.svelte deleted file mode 100644 index 132d1562..00000000 --- a/src/components/Test.svelte +++ /dev/null @@ -1,5 +0,0 @@ - - -
$locale $_('hallo')
diff --git a/src/components/Tracks.svelte b/src/components/Tracks.svelte deleted file mode 100644 index 030dc336..00000000 --- a/src/components/Tracks.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - -

{$_('tracks')}

-{#await tracks_promise} -
-

track data is being loaded...

-

This might take a moment 👀

-
-{:then tracks} - {#if tracks.length > 0} -

{tracks.length}

-
-
    - {#each tracks as item} -
  • {item.name}
  • -
  • {item.distance}
  • - {/each} -
- {:else}keine Tracks{/if} -{:catch error} -
- - 😢 Error - {error} - -
-{/await} diff --git a/src/components/ForgotPassword.svelte b/src/components/auth/ForgotPassword.svelte similarity index 82% rename from src/components/ForgotPassword.svelte rename to src/components/auth/ForgotPassword.svelte index 2503222c..9d6f3936 100644 --- a/src/components/ForgotPassword.svelte +++ b/src/components/auth/ForgotPassword.svelte @@ -1,27 +1,27 @@ -
-
- -

- {$_('application_name')} -

-

- {$_('log_in_to_your_account')} -

+
+
+ +

{$_('application_name')}

+

{$_('log_in_to_your_account')}

+ + bind:value={username} />
@@ -123,10 +134,11 @@
+ href="/forgot_password" + class="block w-full text-center py-2 px-3 border border-gray-300 rounded-md font-medium hover:border-gray-400 focus:outline-none focus:border-gray-400 sm:text-sm"> {$_('forgot_password?')}
+
diff --git a/src/components/auth/ResetPassword.svelte b/src/components/auth/ResetPassword.svelte new file mode 100644 index 00000000..ad8b9792 --- /dev/null +++ b/src/components/auth/ResetPassword.svelte @@ -0,0 +1,129 @@ + + +{#if state==="reset_success"} +
+
+ +

+ {$_('application_name')} +

+

+ {$_('successful-password-reset')} +

+

+ {$_('you-can-now-use-your-new-password-to-log-in-to-your-account')} +

+
+
+ + {$_('go-to-login')} + +
+
+
+
+{:else if state==="reset_error"} +
+
+ +

+ {$_('application_name')} +

+

+ {$_('password-reset-failed')} +

+

+ {$_('please-request-a-new-reset-mail')} +

+
+
+ + {$_('request-a-new-reset-mail')} + +
+
+
+
+{:else if state==="reset_in_progress"} +
+
+ +

+ {$_('application_name')} +

+

+ {$_('reset-password')} +

+
+
+
+ +
+
+ +
+ +
+
+
+
+{/if} diff --git a/src/components/FormLayout.svelte b/src/components/base/FormLayout.svelte similarity index 99% rename from src/components/FormLayout.svelte rename to src/components/base/FormLayout.svelte index 1175ffbc..73a23c82 100644 --- a/src/components/FormLayout.svelte +++ b/src/components/base/FormLayout.svelte @@ -55,6 +55,7 @@
+ @@ -71,6 +72,7 @@
+ diff --git a/src/components/base/NoComponentLoaded.svelte b/src/components/base/NoComponentLoaded.svelte new file mode 100644 index 00000000..a5f96fc2 --- /dev/null +++ b/src/components/base/NoComponentLoaded.svelte @@ -0,0 +1,23 @@ + + + +
+
+
+
+ Internal Error +
+
+

+ Something went wrong in the UI logic +

+ {$_('goback')} +
+
+
+ diff --git a/src/components/base/PromiseError.svelte b/src/components/base/PromiseError.svelte new file mode 100644 index 00000000..9636c230 --- /dev/null +++ b/src/components/base/PromiseError.svelte @@ -0,0 +1,11 @@ + + +
+ + {$_('general_promise_error')} + {error} + +
diff --git a/src/components/base/Transition.svelte b/src/components/base/Transition.svelte new file mode 100644 index 00000000..41998e76 --- /dev/null +++ b/src/components/base/Transition.svelte @@ -0,0 +1,11 @@ + + + +{#key $router.path} +
+ +
+{/key} diff --git a/src/components/base/datatable_i18n.js b/src/components/base/datatable_i18n.js new file mode 100644 index 00000000..96d1a7d0 --- /dev/null +++ b/src/components/base/datatable_i18n.js @@ -0,0 +1,24 @@ +export function getlang(langkeys) { + return { + search: { + placeholder: langkeys.search + }, + sort: { + sortAsc: langkeys.sort_column_ascending, + sortDesc: langkeys.sort_column_descending + }, + pagination: { + previous: langkeys.previous, + next: langkeys.next, + navigate: (page, pages) => `${langkeys.page} ${page} ${langkeys.of} ${pages}`, + page: (page) => `${langkeys.page} ${page}`, + showing: langkeys.showing, + of: langkeys.of, + to: langkeys.to, + results: langkeys.records + }, + loading: langkeys.loading, + noRecordsFound: langkeys.no_matching_records_found, + error: langkeys.an_error_happened_while_fetching_the_data + }; +} diff --git a/src/components/base/outsideclick.js b/src/components/base/outsideclick.js new file mode 100644 index 00000000..f2eef649 --- /dev/null +++ b/src/components/base/outsideclick.js @@ -0,0 +1,10 @@ +/** Dispatch event on click outside of node */ +export function clickOutside(node) { + const handleClick = (event) => { + if (event.target.getAttribute('data-id') === 'modal_backdrop') { + node.dispatchEvent(new CustomEvent('click_outside', node)); + } + }; + document.removeEventListener('click', handleClick, true); + document.addEventListener('click', handleClick, true); +} diff --git a/src/components/base/simple.css b/src/components/base/simple.css new file mode 100644 index 00000000..671acf9b --- /dev/null +++ b/src/components/base/simple.css @@ -0,0 +1 @@ +.simplecontent *{margin:0;padding:0}.simplecontent address,.simplecontent area,.simplecontent article,.simplecontent aside,.simplecontent audio,.simplecontent blockquote,.simplecontent datalist,.simplecontent details,.simplecontent dl,.simplecontent fieldset,.simplecontent figure,.simplecontent form,.simplecontent iframe,.simplecontent img,.simplecontent input,.simplecontent meter,.simplecontent nav,.simplecontent ol,.simplecontent optgroup,.simplecontent option,.simplecontent output,.simplecontent p,.simplecontent pre,.simplecontent progress,.simplecontent ruby,.simplecontent section,.simplecontent table,.simplecontent textarea,.simplecontent ul,.simplecontent video{margin-bottom:1rem}.simplecontent button,.simplecontent html,.simplecontent input,.simplecontent select{font-family:var(--nc-font-sans)}.simplecontent body{margin:0 auto;max-width:750px;padding:2rem;border-radius:6px;overflow-x:hidden;word-break:break-word;overflow-wrap:break-word;background:var(--nc-bg-1);color:var(--nc-tx-2);font-size:1.03rem;line-height:1.5}.simplecontent h1,.simplecontent h2,.simplecontent h3,.simplecontent h4,.simplecontent h5,.simplecontent h6{line-height:1;color:var(--nc-tx-1);padding-top:.875rem}.simplecontent h1,.simplecontent h2,.simplecontent h3{color:var(--nc-tx-1);padding-bottom:2px;margin-bottom:8px;border-bottom:1px solid var(--nc-bg-2)}.simplecontent h4,.simplecontent h5,.simplecontent h6{margin-bottom:.3rem}.simplecontent h1{font-size:2.25rem}.simplecontent h2{font-size:1.85rem}.simplecontent h3{font-size:1.55rem}.simplecontent h4{font-size:1.25rem}.simplecontent h5{font-size:1rem}.simplecontent h6{font-size:.875rem}.simplecontent a{color:#3d5af1}.simplecontent a:hover{color:var(--nc-lk-2)}.simplecontent abbr:hover{cursor:help}.simplecontent blockquote{padding:1.5rem;background:#ddd;border-left:5px solid var(--nc-bg-3)}.simplecontent abbr{cursor:help}.simplecontent blockquote :last-child{padding-bottom:0;margin-bottom:0}.simplecontent header{background:#ddd;border-bottom:1px solid var(--nc-bg-3);padding:2rem 1.5rem;margin:-2rem calc(0px - (50vw - 50%)) 2rem;padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}.simplecontent header h1,.simplecontent header h2,.simplecontent header h3{padding-bottom:0;border-bottom:0}.simplecontent header>:first-child{margin-top:0;padding-top:0}.simplecontent header>:last-child{margin-bottom:0}.simplecontent a button,.simplecontent button,.simplecontent input[type=button],.simplecontent input[type=reset],.simplecontent input[type=submit]{font-size:1rem;display:inline-block;padding:6px 12px;text-align:center;text-decoration:none;white-space:nowrap;background:#3d5af1;color:var(--nc-lk-tx);border:0;border-radius:4px;box-sizing:border-box;cursor:pointer;color:var(--nc-lk-tx)}.simplecontent a button[disabled],.simplecontent button[disabled],.simplecontent input[type=button][disabled],.simplecontent input[type=reset][disabled],.simplecontent input[type=submit][disabled]{cursor:default;opacity:.5;cursor:not-allowed}.simplecontent .button:focus,.simplecontent .button:hover,.simplecontent button:focus,.simplecontent button:hover,.simplecontent input[type=button]:focus,.simplecontent input[type=button]:hover,.simplecontent input[type=reset]:focus,.simplecontent input[type=reset]:hover,.simplecontent input[type=submit]:focus,.simplecontent input[type=submit]:hover{background:var(--nc-lk-2)}.simplecontent code,.simplecontent kbd,.simplecontent pre,.simplecontent samp{font-family:var(--nc-font-mono)}.simplecontent code,.simplecontent kbd,.simplecontent pre,.simplecontent samp{background:#ddd;border:1px solid var(--nc-bg-3);border-radius:4px;padding:3px 6px;font-size:.9rem}.simplecontent kbd{border-bottom:3px solid var(--nc-bg-3)}.simplecontent pre{padding:1rem 1.4rem;max-width:100%;overflow:auto}.simplecontent pre code{background:inherit;font-size:inherit;color:inherit;border:0;padding:0;margin:0}.simplecontent code pre{display:inline;background:inherit;font-size:inherit;color:inherit;border:0;padding:0;margin:0}.simplecontent details{padding:.6rem 1rem;background:#ddd;border:1px solid var(--nc-bg-3);border-radius:4px}.simplecontent summary{cursor:pointer;font-weight:700}.simplecontent details[open]{padding-bottom:.75rem}.simplecontent details[open] summary{margin-bottom:6px}.simplecontent details[open]>:last-child{margin-bottom:0}.simplecontent dt{font-weight:700}.simplecontent dd::before{content:"→ "}.simplecontent hr{border:0;border-bottom:1px solid var(--nc-bg-3);margin:1rem auto}.simplecontent fieldset{margin-top:1rem;padding:2rem;border:1px solid var(--nc-bg-3);border-radius:4px}.simplecontent legend{padding:auto .5rem}.simplecontent table{border-collapse:collapse;width:100%}.simplecontent td,.simplecontent th{border:1px solid var(--nc-bg-3);text-align:left;padding:.5rem}.simplecontent th{background:#ddd}.simplecontent tr:nth-child(even){background:#ddd}.simplecontent table caption{font-weight:700;margin-bottom:.5rem}.simplecontent textarea{max-width:100%}.simplecontent ol,.simplecontent ul{padding-left:2rem}.simplecontent li{margin-top:.4rem}.simplecontent ol ol,.simplecontent ol ul,.simplecontent ul ol,.simplecontent ul ul{margin-bottom:0}.simplecontent mark{padding:3px 6px;background:var(--nc-ac-1);color:var(--nc-ac-tx)}.simplecontent input,.simplecontent select,.simplecontent textarea{padding:6px 12px;margin-bottom:.5rem;background:#ddd;color:var(--nc-tx-2);border:1px solid var(--nc-bg-3);border-radius:4px;box-shadow:none;box-sizing:border-box}.simplecontent img{max-width:100%}.simplecontent blockquote{background:#ececec;}.simplecontent ol{list-style-type: decimal;} .simplecontent ul{list-style-type: circle;} \ No newline at end of file diff --git a/src/components/contacts/AddContactModal.svelte b/src/components/contacts/AddContactModal.svelte new file mode 100644 index 00000000..4f0203d5 --- /dev/null +++ b/src/components/contacts/AddContactModal.svelte @@ -0,0 +1,438 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ + +
+
+

+ {$_('create-a-new-contact')} +

+
+

+ Please provide the required information to add a new contact. +

+
+
+
+ + + {#if !isFirstnameValid} + + {$_('first-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isLastnameValid} + + {$_('last-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isPhoneValidOrEmpty} + + {@html $_('the-provided-phone-number-is-invalid-less-than-br-greater-than-please-enter-a-valid-international-number')} + + {/if} +
+
+ + + {#if !isEmailValidOrEmpty} + + {$_('valid-email-is-required')} + + {/if} +
+
+
+ +
+
+ +
+
+ {#if address_checked === true} +
+ + + {#if !isAddress1Valid} + + Address is required + + {/if} +
+
+ + +
+
+ + + {#if !iszipcodevalid} + + Valid zipcode/ postal code is required + + {/if} +
+
+ + + {#if !iscityvalid} + + Valid city is required + + {/if} +
+ {/if} +
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/contacts/ContactDetail.svelte b/src/components/contacts/ContactDetail.svelte new file mode 100644 index 00000000..0d8fae48 --- /dev/null +++ b/src/components/contacts/ContactDetail.svelte @@ -0,0 +1,385 @@ + + +{#await promise} + {$_('loading-contact-details')} +{:then} +
+
+
+
+
    +
  1. + + +
  2. +
  3. + {$_('contacts')} + +
  4. +
  5. + {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} +
  6. +
+
+
+
+
+ {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} + + {#if store.state.jwtinfo.userdetails.permissions.includes('CONTACT:DELETE')} + {#if delete_triggered} + + + {/if} + {#if !delete_triggered} + + {/if} + {/if} + {#if !delete_triggered} + + {/if} + +
+ +
+ + + {#if !isFirstnameValid} + + {$_('first-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isLastnameValid} + + {$_('last-name-is-required')} + + {/if} +
+
+ + + {#if !isEmailValid} + + {$_('valid-email-is-required')} + + {/if} +
+
+ + + {#if !isPhoneValidOrEmpty} + + {$_('valid-international-phone-number-is-required')} + + {/if} +
+
+ {$_('groups')} + +
+ +
+
+ +
+
+ +
+
+ {#if editable.address_checked === true} +
+ + + {#if !isAddress1Valid} + + {$_('address-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !iszipcodevalid} + + {$_('valid-zipcode-postal-code-is-required')} + + {/if} +
+
+ + + {#if !iscityvalid} + + {$_('valid-city-is-required')} + + {/if} +
+ {/if} +
+{:catch error} + +{/await} diff --git a/src/components/contacts/Contacts.svelte b/src/components/contacts/Contacts.svelte new file mode 100644 index 00000000..b37f28fb --- /dev/null +++ b/src/components/contacts/Contacts.svelte @@ -0,0 +1,29 @@ + + +
+ + {$_('contacts')} + {#if store.state.jwtinfo.userdetails.permissions.includes('CONTACT:CREATE')} + + {/if} + + +
+ +{#if store.state.jwtinfo.userdetails.permissions.includes('CONTACT:CREATE')} + +{/if} diff --git a/src/components/contacts/ContactsEmptyState.svelte b/src/components/contacts/ContactsEmptyState.svelte new file mode 100644 index 00000000..7ac2d6ba --- /dev/null +++ b/src/components/contacts/ContactsEmptyState.svelte @@ -0,0 +1,17 @@ + + +
+

+ + {$_('there-are-no-contacts-added-yet')}
+ {$_('add-your-first-contact')} +

+
+ + diff --git a/src/components/contacts/ContactsOverview.svelte b/src/components/contacts/ContactsOverview.svelte new file mode 100644 index 00000000..4a4a1c25 --- /dev/null +++ b/src/components/contacts/ContactsOverview.svelte @@ -0,0 +1,177 @@ + + +{#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} + {#await promise} +
+

contacts are being loaded...

+

{$_('this-might-take-a-moment')}

+
+ {:then} + {#if current_contacts.length === 0} + + {:else} + +
+
+ + + + + + + + + + {#each current_contacts as t} + {#if Object.values(t) + .toString() + .toLowerCase() + .includes(searchvalue)} + + + + + {#if active_deletes[t.id] === true} + + {:else} + + {/if} + + {/if} + {/each} + +
+ Name + + Groups + + Address + + Action +
+
+
+
+ {t.firstname} + {t.middlename || ''} + {t.lastname} +
+
+
+
+
+
+
+ {#if t.groups.length > 0} + {#each t.groups as g} + {#if g.responseType === 'RUNNERORGANIZATION'} + {g.name} + {:else} + {g.parentGroup.name} + > + {g.name} + {/if} + {/each} + {:else} + {$_('contact-is-not-a-member-in-any-group')} + {/if} +
+
+
+
+
+
+
+ {#if t.address.address1 !== null} + {t.address.address1}
+ {t.address.address2 || ''}
+ {t.address.postalcode} + {t.address.city} + {t.address.country} + {/if} +
+
+
+
+ + + + {$_('edit')} + {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:DELETE')} + + {/if} +
+
+ {/if} + {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +{/if} diff --git a/src/components/dashboard/Dashboard.svelte b/src/components/dashboard/Dashboard.svelte new file mode 100644 index 00000000..40401798 --- /dev/null +++ b/src/components/dashboard/Dashboard.svelte @@ -0,0 +1,199 @@ + + +
+
+ + Logo +

Lauf für Kaya! Admin

+
+
+ + + + + {$_('dashboard-title')} + + {#if store.state.jwtinfo.userdetails.permissions.includes('ORGANIZATION:GET')} + + + + {$_('orgs')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('USER:GET')} + + + {$_('users')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:GET')} + + + + {$_('runners')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} + + + {$_('teams')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('TRACK:GET')} + + + {$_('tracks')} + + {/if} + + + {$_('contacts')} + + + + + + {$_('settings')} + + + + + {$_('about')} + + { + AuthService.authControllerLogout(); + logout(); + }}> + + + {$_('logout')} + +
+
+
+
{ + navOpen = true; + }} class="flex items-center justify-between w-full px-4 bg-white border-b h-14 md:hidden">
+ + + +
+
{ + navOpen = false; + }} + class:hidden={!navOpen} + class="fixed inset-0 z-10 w-screen h-screen bg-black bg-opacity-25 md:hidden" /> +
diff --git a/src/components/dashboard/MainDashContent.svelte b/src/components/dashboard/MainDashContent.svelte new file mode 100644 index 00000000..4d3efd2a --- /dev/null +++ b/src/components/dashboard/MainDashContent.svelte @@ -0,0 +1,23 @@ + + +
{ + navOpen = false; + }}> + +

+ {$_('dashboard-title')} + - + {$_('dashboard-greeting')}, + {store.state.jwtinfo.userdetails.firstname} + 👋 +

+ +
diff --git a/src/components/dashboard/StatCards.svelte b/src/components/dashboard/StatCards.svelte new file mode 100644 index 00000000..0099c179 --- /dev/null +++ b/src/components/dashboard/StatCards.svelte @@ -0,0 +1,165 @@ + + + +

{$_('general-stats')}

+{#await stats_promise} +
+

{$_('stats-are-being-loaded')}

+

{$_('this-might-take-a-moment')}

+
+{:then stats} +
+ +
+
+
+
+ {$_('runners')} +
+
{stats.total_runners}
+
+ + +
+
+
+
+
+
+
+
+ {$_('total-scans')} +
+
{stats.total_scans}
+
+
+
+
+
+
+
+
+
+ {$_('total-donations')} +
+
{stats.total_donation} €
+
+ +
+
+
+
+
+
+
+
+ {$_('total-distance')} +
+
+ {stats.total_distance / 1000} + km +
+
+ + +
+
+
+ +
+
+
+
+ {$_('count_teams')} +
+
{stats.total_teams}
+
+ + + + +
+
+
+ +
+
+
+
+ {$_('count_organizations')} +
+
{stats.total_orgs}
+
+ + +
+
+
+
+{:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+{/await} diff --git a/src/components/general/About.svelte b/src/components/general/About.svelte new file mode 100644 index 00000000..c080b251 --- /dev/null +++ b/src/components/general/About.svelte @@ -0,0 +1,222 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ + +
+
+

+ {$_('read-license')} +

+
+

{currentlicense}

+
+
+

{licensetext}

+
+
+
+
+
+ +
+
+
+
+{/if} + +
+
+

+ {$_('about')} + 🧾 +

+

+ Lauf für Kaya! + + {$_('by')} + ODIT.Services + +
+ {$_('lfk-is-os')} +

+
+
+ +
+
+

+ {$_('credits')} +

+
+

{$_('oss_credit_description')}

+
+
+ {#await license_promise} +

{$_('licenses-are-being-loaded')}

+ {:then} + + + + + + + + + + + + {#each licenses as l} + + + + + + + + {/each} + +
{$_('dependency_name')}{$_('license')}{$_('repo_link')}{$_('installed-version')}{$_('author')}
{l.name} + {l.license || '?'}
{ + modal_open = true; + currentlicense = l.name + '@' + l.version; + licensetext = l.licensetext || $_('no-license-text-could-be-found'); + }}>{$_('read-license')} +
+ {(l.repo?.url || l.repo) + .replace('git+', '') + .replace('git://', '')} + {l.version || '?'}{l.author?.name || l.author || '?'}
+ {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +
+
+

{$_('icon-image-credits')}

+
    +
  • + https://storyset.com +
  • +
  • + https://undraw.co +
  • +
  • + https://remixicon.com +
  • +
+
+

+ {$_('faq')} +

+
+
+
+
+
Q
+
+

A

+
+
+
+
+
+
Q
+
+

A

+
+
+
+
Q
+
+

A

+
+
+
+
+
+
+
diff --git a/src/components/general/Footer.svelte b/src/components/general/Footer.svelte new file mode 100644 index 00000000..dd2a28aa --- /dev/null +++ b/src/components/general/Footer.svelte @@ -0,0 +1,40 @@ + + +
+

+ Lauf für Kaya! Läufersystem - Copyright © + {year} + + proudly powered by + ODIT.Services +

+

+ LfK!Frontend@{releaseinfo} + - + {$_('privacy')} + - + {$_('imprint')} +

+
diff --git a/src/components/general/Imprint.svelte b/src/components/general/Imprint.svelte new file mode 100644 index 00000000..d050c3fe --- /dev/null +++ b/src/components/general/Imprint.svelte @@ -0,0 +1,45 @@ + + +
+
+

+ {$_('imprint')} +

+
+
+ +
+
+ {#await promise} +

{$_('imprint-loading')}

+ {:then} +
+ {@html html} +
+ {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +
+
+
diff --git a/src/components/NotFound.svelte b/src/components/general/NotFound.svelte similarity index 85% rename from src/components/NotFound.svelte rename to src/components/general/NotFound.svelte index 62da0764..84f835d0 100644 --- a/src/components/NotFound.svelte +++ b/src/components/general/NotFound.svelte @@ -3,8 +3,8 @@ -
-
+
+
{$_('404title')} diff --git a/src/components/general/Privacy.svelte b/src/components/general/Privacy.svelte new file mode 100644 index 00000000..19b0c024 --- /dev/null +++ b/src/components/general/Privacy.svelte @@ -0,0 +1,45 @@ + + +
+
+

+ {$_('privacy')} +

+
+
+ +
+
+ {#await promise} +

{$_('privacy-loading')}

+ {:then} +
+ {@html html} +
+ {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +
+
+
diff --git a/src/components/general/Settings.svelte b/src/components/general/Settings.svelte new file mode 100644 index 00000000..e1963b30 --- /dev/null +++ b/src/components/general/Settings.svelte @@ -0,0 +1,35 @@ + + +
+
+

+ 🔨
{$_('settings')} +

+

+ configure your profile however you want +

+
+
+ +
+
+ +
+

+ Lorem ipsum dolor sit amet consectetur, adipisicing elit. Temporibus et + amet voluptate nulla accusantium vero blanditiis nobis facere veritatis. + Impedit deserunt saepe aliquid unde consequuntur officia consequatur + fugit iusto dolorem? +

+
+ +
+
\ No newline at end of file diff --git a/src/components/general/Sidebar.svelte b/src/components/general/Sidebar.svelte new file mode 100644 index 00000000..bf7e2bc4 --- /dev/null +++ b/src/components/general/Sidebar.svelte @@ -0,0 +1,82 @@ + + +
+
+
+ Sidebar + +
+
+ Blog + Portfolio + About + Contact +
+ +
+
+ Link #1 + Link #2 + Link #3 +
+
+
+
+
+
diff --git a/src/components/orgs/AddOrgModal.svelte b/src/components/orgs/AddOrgModal.svelte new file mode 100644 index 00000000..8419cdf8 --- /dev/null +++ b/src/components/orgs/AddOrgModal.svelte @@ -0,0 +1,161 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ +
+
+

+ Create a new Organization +

+
+

+ Please provide the required information to add a new + organization. +

+
+
+
+ + + {#if !isOrgnameValid} + + Organization name is required + + {/if} +
+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/orgs/ConfirmOrgDeletion.svelte b/src/components/orgs/ConfirmOrgDeletion.svelte new file mode 100644 index 00000000..926dc5ba --- /dev/null +++ b/src/components/orgs/ConfirmOrgDeletion.svelte @@ -0,0 +1,100 @@ + + +{#if modal_open} +
+
+
+
+
+ ​ +
+
+
+
+ +
+
+

+ Attention! +

+
+

+ Do you want to delete the organization + {delete_org.name}?
All associated teams and runners will + be deleted too! +

+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/orgs/OrgDetail.svelte b/src/components/orgs/OrgDetail.svelte new file mode 100644 index 00000000..43df726a --- /dev/null +++ b/src/components/orgs/OrgDetail.svelte @@ -0,0 +1,259 @@ + + + { + import_modal_open = false; + }} + current_runners={[]} + passed_team={{}} + passed_orgs={[]} + passed_org={orgdata} + opened_from="OrgDetail" + bind:import_modal_open /> + +{#if data_loaded} +
+
+ {original.name} + + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:IMPORT')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('USER:DELETE')} + {#if delete_triggered} + + + {/if} + {#if !delete_triggered} + + {/if} + {/if} + {#if !delete_triggered} + + {/if} + +
+
+
+
+
    +
  1. + + +
  2. +
  3. + Home + +
  4. +
  5. + + +
  6. +
  7. + Orgs + +
  8. +
  9. + Org-Details #{params.orgid} +
  10. +
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+{:else} + {#await promise} + organization detail is being loaded... + {:catch error} + + {/await} +{/if} diff --git a/src/components/orgs/OrgOverview.svelte b/src/components/orgs/OrgOverview.svelte new file mode 100644 index 00000000..7d4cd967 --- /dev/null +++ b/src/components/orgs/OrgOverview.svelte @@ -0,0 +1,175 @@ + + + { + modal_open = false; + active_deletes[event.detail.id] = false; + }} + bind:modal_open + bind:delete_org /> +{#if store.state.jwtinfo.userdetails.permissions.includes('ORGANIZATION:GET')} + {#await promise} +
+

organizations are being loaded...

+

{$_('this-might-take-a-moment')}

+
+ {:then} + {#if current_organizations.length === 0} + + {:else} + +
+ + + + + + + + + + + {#each current_organizations as o} + {#if Object.values(o) + .toString() + .toLowerCase() + .includes(searchvalue)} + + + + + {#if active_deletes[o.id] === true} + + {:else} + + {/if} + + {/if} + {/each} + +
+ Name + + Address + + Contact + + Action +
+
+
+
+ {o.name} +
+
+
+
+
+
+
+ {#if o.address} + {JSON.stringify(o.address)} + {:else}no address specified{/if} +
+
+
+
+
+
+
+ {#if o.contact} + {o.contact.firstname} + {o.contact.middlename || ''} + {o.contact.lastname} + {:else}no contact specified{/if} +
+
+
+
+ + + + Edit + {#if store.state.jwtinfo.userdetails.permissions.includes('ORGANIZATION:DELETE')} + + {/if} +
+
+ {/if} + {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +{/if} diff --git a/src/components/orgs/Orgs.svelte b/src/components/orgs/Orgs.svelte new file mode 100644 index 00000000..43e9bbfd --- /dev/null +++ b/src/components/orgs/Orgs.svelte @@ -0,0 +1,52 @@ + + +
+ + {$_('organizations')} + {#if store.state.jwtinfo.userdetails.permissions.includes('ORGANIZATION:CREATE')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:IMPORT')} + + {/if} + +

manage runner organizations

+ +
+ +{#if store.state.jwtinfo.userdetails.permissions.includes('ORGANIZATION:CREATE')} + + { + import_modal_open = false; + }} + passed_team={{}} + passed_org={{}} + passed_orgs={current_organizations} + opened_from="OrgOverview" + current_runners={[]} + bind:import_modal_open /> +{/if} diff --git a/src/components/orgs/OrgsEmptyState.svelte b/src/components/orgs/OrgsEmptyState.svelte new file mode 100644 index 00000000..1cc912f0 --- /dev/null +++ b/src/components/orgs/OrgsEmptyState.svelte @@ -0,0 +1,17 @@ + + +
+

+ + There are no organizations added yet.
+ Add your first organization +

+
+ + diff --git a/src/components/orgs/org_empty.svg b/src/components/orgs/org_empty.svg new file mode 100644 index 00000000..079f0de2 --- /dev/null +++ b/src/components/orgs/org_empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/presets/Avatars.svelte b/src/components/presets/Avatars.svelte new file mode 100644 index 00000000..5ecd3eae --- /dev/null +++ b/src/components/presets/Avatars.svelte @@ -0,0 +1,80 @@ +

Standard Avatars

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+

Status Avatars

+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
diff --git a/src/components/presets/Badges.svelte b/src/components/presets/Badges.svelte new file mode 100644 index 00000000..903e3a90 --- /dev/null +++ b/src/components/presets/Badges.svelte @@ -0,0 +1,53 @@ +

badges

+Paid +Overdue +Primary +Secondary +Success +Danger +Warning +Info +Light +Dark +

closable badges

+ + Primary + × + + + Secondary + × + + + Success + × + + + Danger + × + + + Warning + × + + + Info + × + + + Light× + + + Dark + × + diff --git a/src/components/BreadcrumbNav.svelte b/src/components/presets/BreadcrumbNav.svelte similarity index 100% rename from src/components/BreadcrumbNav.svelte rename to src/components/presets/BreadcrumbNav.svelte diff --git a/src/components/presets/ComponentDump.svelte b/src/components/presets/ComponentDump.svelte new file mode 100644 index 00000000..a2169ad2 --- /dev/null +++ b/src/components/presets/ComponentDump.svelte @@ -0,0 +1,75 @@ + + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ + +
+
+
+
Regular
+
Text inputs
+
+
+
+
+
+
Label
+
This is a hint
+
+
+
+
+
First name
+
First name is required
+
+
+
+
+
First name
+
First name is valid
+
+
+
+
+
+ +
diff --git a/src/components/ConversionsChart.svelte b/src/components/presets/ConversionsChart.svelte similarity index 97% rename from src/components/ConversionsChart.svelte rename to src/components/presets/ConversionsChart.svelte index 59dd955d..56450148 100644 --- a/src/components/ConversionsChart.svelte +++ b/src/components/presets/ConversionsChart.svelte @@ -1,4 +1,4 @@ -
+
Conversions
@@ -18,16 +18,16 @@
  • Today
  • This week
  • This month
  • This year
diff --git a/src/components/presets/DataTable.svelte b/src/components/presets/DataTable.svelte new file mode 100644 index 00000000..5aaba815 --- /dev/null +++ b/src/components/presets/DataTable.svelte @@ -0,0 +1,30 @@ + + +
diff --git a/src/components/Pagination.svelte b/src/components/presets/Pagination.svelte similarity index 100% rename from src/components/Pagination.svelte rename to src/components/presets/Pagination.svelte diff --git a/src/components/Profile.svelte b/src/components/presets/Profile.svelte similarity index 99% rename from src/components/Profile.svelte rename to src/components/presets/Profile.svelte index c369db0e..0d689bdb 100644 --- a/src/components/Profile.svelte +++ b/src/components/presets/Profile.svelte @@ -8,7 +8,7 @@
+ class="w-full p-4 mb-4 rounded-lg bg-white border border-grey-100">
-
+
diff --git a/src/components/presets/Tabs.svelte b/src/components/presets/Tabs.svelte new file mode 100644 index 00000000..afcb8bef --- /dev/null +++ b/src/components/presets/Tabs.svelte @@ -0,0 +1,18 @@ +

Tabs

+
+
+ 1 +
+
+ 2 +
+
+ 3 +
+
+
diff --git a/src/components/presets/Tags.svelte b/src/components/presets/Tags.svelte new file mode 100644 index 00000000..1aeec33e --- /dev/null +++ b/src/components/presets/Tags.svelte @@ -0,0 +1,102 @@ +
+
+ + + + + + + + Tag +
+ +
+ + + + + Tag +
+ +
+ + + + Tag +
+ +
+ + + + + + Tag +
+ +
+ + + + + + + Tag +
+
diff --git a/src/components/runners/AddRunnerModal.svelte b/src/components/runners/AddRunnerModal.svelte new file mode 100644 index 00000000..d2017d27 --- /dev/null +++ b/src/components/runners/AddRunnerModal.svelte @@ -0,0 +1,312 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ + +
+
+

+ {$_('create-a-new-runner')} +

+
+

+ {$_('please-provide-the-required-information-to-add-a-new-runner')} +

+
+
+
+ + + {#if !isFirstnameValid} + + {$_('first-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isLastnameValid} + + {$_('last-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isPhoneValidOrEmpty} + + {@html $_('the-provided-phone-number-is-invalid-less-than-br-greater-than-please-enter-a-valid-international-number')} + + {/if} +
+
+ + + {#if !isEmailValidOrEmpty} + + {$_('valid-email-is-required')} + + {/if} +
+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/runners/ImportRunnerModal.svelte b/src/components/runners/ImportRunnerModal.svelte new file mode 100644 index 00000000..1fcd35af --- /dev/null +++ b/src/components/runners/ImportRunnerModal.svelte @@ -0,0 +1,364 @@ + + +{#if import_modal_open} +
{ + import_modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ + +
+
+

+ {$_('runner-import')} +

+
+
+
+ {#if json_output.length === 0} +
+

+ {$_('please-provide-the-required-csv-xlsx-file')} +

+
+
+ +
+ {/if} + {#if json_output.length > 0} + {#if opened_from === 'OrgOverview'} +

{$_('import__target-organization')}

+ +

{$_('bitte-bestaetige-diese-laeufer-fuer-den-import')}

+ {/if} + {#if opened_from === 'RunnerOverview'} +

Group

+ + {/if} + {#if opened_from === 'OrgDetail'} +

+ {$_('runnerimport_verify_runners_org', { + values: { org_name: passed_org.name }, + })} +

+ {/if} + +
+
+ + + + + + + {#if (opened_from !== 'TeamDetail' && opened_from !== 'RunnerOverview') || (opened_from === 'RunnerOverview' && selected_org_or_team.includes('ORG_'))} + + {/if} + + + + {#each json_output as runner} + {#if Object.values(runner) + .toString() + .toLowerCase() + .includes(searchvalue)} + + + + + {#if (opened_from !== 'TeamDetail' && opened_from !== 'RunnerOverview') || (opened_from === 'RunnerOverview' && selected_org_or_team.includes('ORG_'))} + + {/if} + + {/if} + {/each} + +
+ {$_('csv_import__firstname')} + + {$_('csv_import__middlename')} + + {$_('csv_import__lastname')} + + {$_('csv_import__team')} +
+ {runner[`${$_('csv_import__firstname')}`]} + + {runner[`${$_('csv_import__middlename')}`] || ''} + + {runner[`${$_('csv_import__lastname')}`]} + + {runner[`${$_('csv_import__team')}`] || runner[`${$_('csv_import__class')}`] || '---'} +
+
+ + +
+ {/if} +
+
+
+
+
+{/if} diff --git a/src/components/runners/RunnerDetail.svelte b/src/components/runners/RunnerDetail.svelte new file mode 100644 index 00000000..80eabb96 --- /dev/null +++ b/src/components/runners/RunnerDetail.svelte @@ -0,0 +1,264 @@ + + +{#await runner_promise} + {$_('loading-runners')} +{:then} +
+
+
+
+
    +
  1. + + +
  2. +
  3. + {$_('runners')} + +
  4. +
  5. + {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} +
  6. +
+
+
+
+
+ {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} + + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:DELETE')} + {#if delete_triggered} + + + {/if} + {#if !delete_triggered} + + {/if} + {/if} + {#if !delete_triggered} + + {/if} + +
+ +
+ + + {#if !isFirstnameValid} + + {$_('first-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isLastnameValid} + + {$_('last-name-is-required')} + + {/if} +
+
+ + + {#if !isEmailValid} + + {$_('valid-email-is-required')} + + {/if} +
+
+ + +
+
+ {$_('group')} + +
+
+ {$_('distance')} +
+ {original_data.distance} km +
+
+{:catch error} + +{/await} diff --git a/src/components/runners/Runners.svelte b/src/components/runners/Runners.svelte new file mode 100644 index 00000000..92043e74 --- /dev/null +++ b/src/components/runners/Runners.svelte @@ -0,0 +1,49 @@ + + +
+ + {$_('runners')} + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:CREATE')} + + + {/if} + + +
+ +{#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:CREATE')} + + { + import_modal_open = false; + }} + passed_team={{}} + passed_orgs={[]} + passed_org={{}} + bind:current_runners + opened_from="RunnerOverview" + bind:import_modal_open /> +{/if} diff --git a/src/components/runners/RunnersEmptyState.svelte b/src/components/runners/RunnersEmptyState.svelte new file mode 100644 index 00000000..33620366 --- /dev/null +++ b/src/components/runners/RunnersEmptyState.svelte @@ -0,0 +1,16 @@ + + +
+

+ + There are no runners added yet.
+ Add your first runner +

+
+ + diff --git a/src/components/runners/RunnersOverview.svelte b/src/components/runners/RunnersOverview.svelte new file mode 100644 index 00000000..320a70cc --- /dev/null +++ b/src/components/runners/RunnersOverview.svelte @@ -0,0 +1,187 @@ + + +{#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:GET')} + {#await runners_promise} +
+

runners are being loaded...

+

{$_('this-might-take-a-moment')}

+
+ {:then} + {#if current_runners.length === 0} + + {:else} + +
+ + +
+
+ + + + + + + + + + + + {#each current_runners as runner} + {#if runner.firstname.toLowerCase().includes(searchvalue.toLowerCase())||runner.middlename.toLowerCase().includes(searchvalue.toLowerCase())||runner.lastname.toLowerCase().includes(searchvalue.toLowerCase())||should_display_based_on_id(runner.id)} + {#if filterGroupIDs.includes(runner.group.id)||filterGroupIDs.includes(runner.group.parentGroup?.id)||filterGroupIDs.length===0} + + + + + + {#if active_deletes[runner.id] === true} + + {:else} + + {/if} + + {/if} + {/if} + {/each} + +
+ {$_('name')} + + {$_('contact-information')} + + {$_('group')} + + {$_('distance-in-km')} + + {$_('action')} +
+
+
+
+ {runner.firstname} + {runner.middlename || ''} + {runner.lastname} +
+
+
+
+ {#if runner.email} +
{runner.email}
+ {/if} + {#if runner.phone} +
{runner.phone}
+ {/if} +
+ {#if runner.group.responseType === 'RUNNERTEAM'} + {runner.group.name} + {/if} + {#if runner.group.responseType === 'RUNNERORGANIZATION'} + {runner.group.name} + {/if} + {runner.distance} + + + + Edit + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:DELETE')} + + {/if} +
+
+ {/if} + {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +{/if} diff --git a/src/components/runners/runners_empty.svg b/src/components/runners/runners_empty.svg new file mode 100644 index 00000000..32053770 --- /dev/null +++ b/src/components/runners/runners_empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/teams/AddTeamModal.svelte b/src/components/teams/AddTeamModal.svelte new file mode 100644 index 00000000..34e9d1d1 --- /dev/null +++ b/src/components/teams/AddTeamModal.svelte @@ -0,0 +1,181 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ +
+
+

+ Create a new team +

+
+

+ Please provide the required information to add a new team. +

+
+
+
+ + + {#if !isTeamNameValid} + + team name is required + + {/if} +
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/teams/ConfirmTeamDeletion.svelte b/src/components/teams/ConfirmTeamDeletion.svelte new file mode 100644 index 00000000..c3e52686 --- /dev/null +++ b/src/components/teams/ConfirmTeamDeletion.svelte @@ -0,0 +1,97 @@ + + +{#if modal_open} +
+
+
+
+
+ ​ +
+
+
+
+ +
+
+

+ Attention! +

+
+

+ Do you want to delete the team + {delete_team.name}?
All associated runners will be + deleted too! +

+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/teams/TeamDetail.svelte b/src/components/teams/TeamDetail.svelte new file mode 100644 index 00000000..af83bfc0 --- /dev/null +++ b/src/components/teams/TeamDetail.svelte @@ -0,0 +1,262 @@ + + + { + import_modal_open = false; + }} + passed_team={teamdata} + passed_orgs={[]} + passed_org={{}} + opened_from="TeamDetail" + bind:import_modal_open /> + +{#if data_loaded} +
+
+ {original.name} + + {#if store.state.jwtinfo.userdetails.permissions.includes('RUNNER:IMPORT')} + + {/if} + {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:DELETE')} + {#if delete_triggered} + + + {/if} + {#if !delete_triggered} + + {/if} + {/if} + {#if !delete_triggered} + + {/if} + +
+
+
+
+
    +
  1. + + +
  2. +
  3. + Home + +
  4. +
  5. + +
  6. +
  7. + Teams + +
  8. +
  9. + Team-Details #{params.teamid} +
  10. +
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+{:else} + {#await promise} + team detail is being loaded... + {:catch error} + + {/await} +{/if} diff --git a/src/components/teams/Teams.svelte b/src/components/teams/Teams.svelte new file mode 100644 index 00000000..d3b9c3e5 --- /dev/null +++ b/src/components/teams/Teams.svelte @@ -0,0 +1,30 @@ + + +
+ + {$_('teams')} + {#if store.state.jwtinfo.userdetails.permissions.includes('USER:CREATE')} + + {/if} + +

everything is more fun together 🏃‍♂️🏃‍♀️🏃‍♂️

+ +
+ +{#if store.state.jwtinfo.userdetails.permissions.includes('USER:CREATE')} + +{/if} diff --git a/src/components/teams/TeamsEmptyState.svelte b/src/components/teams/TeamsEmptyState.svelte new file mode 100644 index 00000000..ebb3160b --- /dev/null +++ b/src/components/teams/TeamsEmptyState.svelte @@ -0,0 +1,17 @@ + + +
+

+ + There are no teams added yet.
+ Add your first team +

+
+ + diff --git a/src/components/teams/TeamsOverview.svelte b/src/components/teams/TeamsOverview.svelte new file mode 100644 index 00000000..d3cf57b8 --- /dev/null +++ b/src/components/teams/TeamsOverview.svelte @@ -0,0 +1,178 @@ + + + { + modal_open = false; + active_deletes[event.detail.id] = false; + }} + bind:modal_open + bind:delete_team /> +{#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:GET')} + {#await teams_promise} +
+

teams are being loaded...

+

{$_('this-might-take-a-moment')}

+
+ {:then} + {#if current_teams.length === 0} + + {:else} + +
+ + + + + + + + + + + {#each current_teams as t} + {#if Object.values(t) + .toString() + .toLowerCase() + .includes(searchvalue)} + + + + + {#if active_deletes[t.id] === true} + + {:else} + + {/if} + + {/if} + {/each} + +
+ Name + + {$_('organization')} + + Contact + + Action +
+
+
+
+ {t.name} +
+
+
+
+
+
+
+ {#if t.parentGroup} + {t.parentGroup.name} + {:else}no organization specified{/if} +
+
+
+
+
+
+
+ {#if t.contact} + {t.contact.firstname} + {t.contact.middlename || ''} + {t.contact.lastname} + {:else}no contact specified{/if} +
+
+
+
+ + + + Edit + {#if store.state.jwtinfo.userdetails.permissions.includes('TEAM:DELETE')} + + {/if} +
+
+ {/if} + {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +{/if} diff --git a/src/components/teams/team_empty.svg b/src/components/teams/team_empty.svg new file mode 100644 index 00000000..c8f1f965 --- /dev/null +++ b/src/components/teams/team_empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/tracks/AddTrackModal.svelte b/src/components/tracks/AddTrackModal.svelte new file mode 100644 index 00000000..b70147ef --- /dev/null +++ b/src/components/tracks/AddTrackModal.svelte @@ -0,0 +1,224 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ +
+
+

+ {$_('create-a-new-track')} +

+
+

+ {$_('please-provide-the-required-information-to-add-a-new-track')} +

+
+
+
+ + + {#if isTracknameValid} + + Track name must not be empty + + {/if} +
+
+ +
+ + m +
+ {#if isTracklengthValid} + + Track length must be greater than 0 + + {/if} +
+
+ +
+ + s +
+ {#if !trackMintimevalid} + + minimum lap time must be a positive number or 0 + + {/if} +
+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/tracks/Tracks.svelte b/src/components/tracks/Tracks.svelte new file mode 100644 index 00000000..94f9d89e --- /dev/null +++ b/src/components/tracks/Tracks.svelte @@ -0,0 +1,186 @@ + + +{#if trackscache.length > 0} +
+{/if} +{#await tracks_promise} +
+

{$_('track-data-is-being-loaded')}

+

{$_('this-might-take-a-moment')}

+
+{:then} + {#if trackscache.length === 0} + + {/if} +{:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+{/await} diff --git a/src/components/tracks/TracksEmptyState.svelte b/src/components/tracks/TracksEmptyState.svelte new file mode 100644 index 00000000..af1a7220 --- /dev/null +++ b/src/components/tracks/TracksEmptyState.svelte @@ -0,0 +1,260 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ {$_('no-tracks-added-yet')}
+ {$_('add-your-first-track')} +

+
+ + diff --git a/src/components/tracks/TracksOverview.svelte b/src/components/tracks/TracksOverview.svelte new file mode 100644 index 00000000..277220ae --- /dev/null +++ b/src/components/tracks/TracksOverview.svelte @@ -0,0 +1,25 @@ + + +
+ + Tracks + + +

+ configure the tracks & minimum lap times +

+ +
+ diff --git a/src/components/users/AddUserModal.svelte b/src/components/users/AddUserModal.svelte new file mode 100644 index 00000000..e047fca7 --- /dev/null +++ b/src/components/users/AddUserModal.svelte @@ -0,0 +1,271 @@ + + +{#if modal_open} +
{ + modal_open = false; + }}> +
+
+
+
+ ​ +
+
+
+
+ +
+
+

+ Create a new User +

+
+

+ Please provide the required information to add a new user. +

+
+
+
+ + + {#if !isFirstnameValid} + + {$_('first-name-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isLastnameValid} + + {$_('last-name-is-required')} + + {/if} +
+
+ + + {#if !isPasswordValid} + + {$_('password-is-required')} + + {/if} +
+
+ + +
+
+ + + {#if !isEmailValid} + {$_('valid-email-is-required')} + {/if} +
+
+
+
+
+
+ + +
+
+
+
+{/if} diff --git a/src/components/users/UserDetail.svelte b/src/components/users/UserDetail.svelte new file mode 100644 index 00000000..94b0b52f --- /dev/null +++ b/src/components/users/UserDetail.svelte @@ -0,0 +1,327 @@ + + +{#await user_promise} + +{:then user} +
+
+
+
+
    +
  1. + +
  2. +
  3. + {$_('users')} + +
  4. +
  5. + {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} +
  6. +
+
+
+
+
+ {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} + + {#if store.state.jwtinfo.userdetails.permissions.includes('USER:DELETE')} + {#if delete_triggered} + + + {/if} + {#if !delete_triggered} + + {/if} + {/if} + {#if !delete_triggered} + + {/if} + +
+
+

Profile Picture

+ {$_('profile-picture')} +
+
+ +
+

+ { + editable_userdata.enabled = !editable_userdata.enabled; + }} + name="enabled" + type="checkbox" + checked={editable_userdata.enabled} + class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded" /> + set the user active/ inactive +

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ {#if !isEmail(editable_userdata.email)} + {$_('valid-email-is-required')} + {/if} +
+ + +
+
+ {$_('groups')} + + +
+
+

+ {$_('permissions')} + {$_('edit-permissions')} +

+
+ +
+ {#each original_data.permissions as p} + {#if p.toLowerCase().includes(search_permission.toLowerCase())} + {p} + + {/if} + {/each} +
+
+{:catch error} + +{/await} diff --git a/src/components/users/UserPermissions.svelte b/src/components/users/UserPermissions.svelte new file mode 100644 index 00000000..5a020cb1 --- /dev/null +++ b/src/components/users/UserPermissions.svelte @@ -0,0 +1,241 @@ + + +{#await user_promise} + +{:then user} +
+
+
+
+
    +
  1. + +
  2. +
  3. + {$_('users')} + +
  4. +
  5. + {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} +
  6. +
  7. + + +
  8. +
  9. + Permissions +
  10. +
+
+
+
+
+ Permissions: + {original_data.firstname} + {original_data.middlename || ''} + {original_data.lastname} + + {#if promises.length === 0} + + {:else} + + {/if} + +
+ +
+
verfügbare
+
erteilte
+
geerbte
+
+ +
+ {#if allpermissions.length > 0} +
+
+ {#each allpermissions as p} + {#if !grantedPermissions.includes(p)} +

+ {p.target + ':' + p.action} + +

+ {/if} + {/each} +
+
+
+
+ {#each grantedPermissions as p} +

+ {p.target + ':' + p.action} + +

+ {/each} +
+
+
+
+ {#each inheritedPermissions as p} +

+ {p.target + ':' + p.action} +

+ {/each} +
+
+ {/if} +
+
+{:catch error} + +{/await} diff --git a/src/components/users/Users.svelte b/src/components/users/Users.svelte new file mode 100644 index 00000000..e4edd40d --- /dev/null +++ b/src/components/users/Users.svelte @@ -0,0 +1,30 @@ + + +
+ + {$_('users')} + {#if store.state.jwtinfo.userdetails.permissions.includes('USER:CREATE')} + + {/if} + +

{$_('manage-admin-users')}

+ +
+ +{#if store.state.jwtinfo.userdetails.permissions.includes('USER:CREATE')} + +{/if} diff --git a/src/components/users/UsersEmptyState.svelte b/src/components/users/UsersEmptyState.svelte new file mode 100644 index 00000000..9229ec8d --- /dev/null +++ b/src/components/users/UsersEmptyState.svelte @@ -0,0 +1,16 @@ + + +
+

+ + There are no users added yet.
+ Add your first user +

+
+ + diff --git a/src/components/users/UsersOverview.svelte b/src/components/users/UsersOverview.svelte new file mode 100644 index 00000000..60674d4b --- /dev/null +++ b/src/components/users/UsersOverview.svelte @@ -0,0 +1,177 @@ + + +{#if store.state.jwtinfo.userdetails.permissions.includes('USER:GET')} + {#await users_promise} +
+

users are being loaded...

+

{$_('this-might-take-a-moment')}

+
+ {:then} + {#if current_users.length === 0} + + {:else} + + + + +
+ + + + + + + + + + + {#each current_users as u} + {#if Object.values(u) + .toString() + .toLowerCase() + .includes(searchvalue)} + + + + + {#if active_deletes[u.id] === true} + + {:else} + + {/if} + + {/if} + {/each} + +
+ Name + + Status + + Groups + + Action +
+
+ {#if u.profilePic} +
+ +
+ {/if} +
+
+ {u.firstname} + {u.middlename || ''} + {u.lastname} +
+
+ {u.email || u.username} +
+
+
+
+ {#if u.enabled} + Active + {:else} + Inactive + {/if} + + {#each u.groups as g} + {g.name} + {/each} + + + + + Edit + {#if store.state.jwtinfo.userdetails.permissions.includes('USER:DELETE')} + + {/if} +
+
+ {/if} + {:catch error} +
+ + {$_('general_promise_error')} + {error} + +
+ {/await} +{/if} diff --git a/src/components/users/users_empty.svg b/src/components/users/users_empty.svg new file mode 100644 index 00000000..c387dd47 --- /dev/null +++ b/src/components/users/users_empty.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/index.js b/src/index.js index 2c27a257..c17a54f5 100644 --- a/src/index.js +++ b/src/index.js @@ -5,3 +5,10 @@ const app = new App({ }); export default app; +// HMR +if (import.meta.hot) { + import.meta.hot.accept(); + import.meta.hot.dispose(() => { + app.$destroy(); + }); +} diff --git a/src/locales/de.json b/src/locales/de.json index 37a89cf1..b0479a59 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1,25 +1,180 @@ { - "forgot_password?": "Passwort vergessen?", - "log_in": "Anmelden", - "log_in_to_your_account": "Bitte melde dich an", - "login_is_checked": "Login wird überprüft", - "welcome_wavinghand": "Willkommen 👋", - "error_on_login": "😢Fehler beim Login", - "settings": "Einstellungen", - "your_profile": "Dein Profil", - "password": "Passwort", - "email_address_or_username": "E-Mail-Addresse/ Benutzername", - "signout": "Abmelden", - "404message": "Die gesuchte Seite wurde leider nicht gefunden.", - "404title": "Fehler 404", - "application_name": "Lauf für Kaya! \n- Admin", - "goback": "Zur Startseite", - "cannot-reset-your-password-directly": "Schade. \nWir können das Passwort leider nicht direkt zurücksetzen.\nBitte sende uns eine Mail in der du deine Identität bestätigst.", - "register": "Registrieren", - "send-a-mail-to-lfk-odit-services": "Sende eine Mail an lfk@odit.services", - "dont-panic-were-resetting-it": "Keine Panik, wir setzen es zurück ✌", - "dont-have-your-email-connected": "Deine E-Mail ist nicht verknüpft?", - "reset-my-password": "Passwort zurücksetzen", - "e-mail-adress": "E-Mail-Adresse", - "invalid-mail-reset": "Das ist keine gültige E-Mail" -} + "404message": "Die gesuchte Seite wurde leider nicht gefunden.", + "404title": "Fehler 404", + "about": "Über", + "action": "Aktionen", + "add-your-first-track": "Erstelle den ersten Track (Laufstrecke).", + "address": "Adresse", + "application_name": "Lauf für Kaya! - Admin", + "author": "Autor:in", + "bitte-bestaetige-diese-laeufer-fuer-den-import": "Bitte die Läufer:innen für den Import bestätigen.", + "browse": "Durchsuchen", + "by": "von", + "cancel": "Abbrechen", + "cannot-reset-your-password-directly": "Schade. \nWir können das Passwort leider nicht direkt zurücksetzen.\nBitte sende uns eine Mail in der du deine Identität bestätigst.", + "changelog": "Änderungsprotokoll", + "close": "Schließen", + "confirm-delete": "Löschung Bestätigen", + "confirm-deletion": "Löschung Bestätigen", + "contact": "Kontakt", + "contact-information": "Kontaktinformation", + "count_organizations": "Organisationen (Anzahl)", + "count_teams": "Teams (Anzahl)", + "create": "Erstellen", + "create-a-new-runner": "Neue Läufer:in erstellen", + "create-a-new-track": "Neuen Track erstellen", + "create-organization": "Organisation erstellen", + "create-user": "Benutzer anlegen", + "credits": "Credits", + "csv_import__class": "Klasse", + "csv_import__firstname": "Vorname", + "csv_import__lastname": "Nachname", + "csv_import__middlename": "Mittelname", + "csv_import__team": "Team", + "dashboard-greeting": "Moin", + "dashboard-title": "Dashboard", + "datatable": { + "search": "🔍 Suche ...", + "an_error_happened_while_fetching_the_data": "Beim Abrufen der Daten ist ein Fehler aufgetreten", + "loading": "Wird geladen...", + "next": "Nächste", + "of": "von", + "previous": "Vorherige", + "to": "bis", + "showing": "Zeige", + "no_matching_records_found": "Keine passenden Einträge gefunden", + "page": "Seite", + "records": "Einträge", + "sort_column_ascending": "Spalte aufsteigend sortieren", + "sort_column_descending": "Spalte absteigend sortieren" + }, + "delete": "Löschen", + "delete-organization": "Organisation löschen", + "delete-runner": "Läufer:in löschen", + "delete-team": "Team Löschen", + "delete-user": "Benutzer:in löschen", + "dependency_name": "Name", + "distance": "Distanz", + "distance-in-km": "Distanz (in KM)", + "dont-have-your-email-connected": "Deine E-Mail ist nicht verknüpft?", + "dont-panic-were-resetting-it": "Keine Panik, wir setzen es zurück ✌", + "drag-and-drop-your-files-or__legacy": "Legacy", + "e-mail-adress": "E-Mail-Adresse", + "edit-permissions": "Berechtigungen bearbeiten", + "email_address_or_username": "E-Mail-Adresse/ Benutzername", + "error_on_login": "😢Fehler beim Login", + "faq": "FAQ", + "filepond__abort": "Abbrechen", + "filepond__cancel": "Abbrechen", + "filepond__error-during-load": "Fehler beim Laden", + "filepond__error-during-remove": "Fehler beim Löschen", + "filepond__error-during-revert": "Fehler beim Rückgängig machen", + "filepond__error-during-upload": "Fehler beim Hochladen", + "filepond__field-contains-invalid-files": "Invalide Dateien erkannt", + "filepond__loading": "Lade", + "filepond__remove": "Löschen", + "filepond__retry": "Erneut versuchen", + "filepond__size-not-available": "Größe ist nicht verfügbar", + "filepond__tap-to-cancel": "Zum Abbrechen hier tippen.", + "filepond__tap-to-retry": "Zum erneut versuchen hier tippen.", + "filepond__tap-to-undo": "Zum Rückgängig machen hier tippen.", + "filepond__undo": "Rückgängig", + "filepond__upload": "Hochladen", + "filepond__upload-cancelled": "Hochladen abgebrochen", + "filepond__upload-complete": "Hochladen abgeschlossen", + "filepond__uploading": "Wird hochgeladen", + "filepond__waiting-for-size": "Warte auf Dateigröße", + "first-name": "Vorname", + "first-name-is-required": "Vorname muss angegeben werden", + "forgot_password?": "Passwort vergessen?", + "general-stats": "Allgemeine Statistiken", + "general_promise_error": "😢 Ein unbekannter Fehler ist aufgetreten", + "go-to-login": "Zum Login", + "goback": "Zur Startseite", + "group": "Gruppe", + "groups": "Gruppen", + "hallo": "hallo", + "icon-image-credits": "Wir möchten uns außerdem für die verwendeten Icons und Bilder bedanken bei:", + "import-runners": "Läufer:innen importieren", + "import__target-organization": "Ziel Organisation", + "imprint": "Impressum ", + "imprint-loading": "Impressum lädt...", + "installed-version": "Installierte Version", + "invalid-mail-reset": "Das ist keine gültige E-Mail", + "last-name": "Nachname", + "last-name-is-required": "Nachname muss angegeben werden", + "lfk-is-os": "Das \"Lauf für Kaya!\" Frontend ist (wie alle anderen Projekte für den \"LfK!\" auch) ein OpenSource Projekt.", + "license": "Lizenz", + "licenses-are-being-loaded": "Lizenzen werden geladen...", + "loading-runners": "Läufer:innen werden geladen...", + "log_in": "Anmelden", + "log_in_to_your_account": "Bitte melde dich an", + "login_is_checked": "Login wird überprüft", + "logout": "Abmelden", + "mail-validation-in-progress": "E-Mail Verifizierung läuft... ", + "manage-admin-users": "Nutzer verwalten", + "middle-name": "Mittelname", + "minimum-lap-time-in-s": "Minimale Rundenzeit (in Sekunden)", + "name": "Name", + "new-password": "Neues Passwort", + "no-license-text-could-be-found": "Kein Lizenz-Text gefunden 😢", + "no-tracks-added-yet": "Es wurden noch keine Tracks erstellt.", + "organization": "Organisation", + "organizations": "Organisationen", + "orgs": "Orgs", + "oss_credit_description": "Wir verwenden eine Menge Open Source-Software bei diesen Projekten und möchten uns bei den folgenden Projekten und Mitwirkenden bedanken, die dazu beitragen, Open Source großartig zu machen!", + "password": "Passwort", + "password-is-required": "Passwort muss angegeben werden", + "password-reset-failed": "Passwort zurücksetzen ist fehlgeschlagen!", + "password-reset-in-progress": "Passwort wird zurückgesetzt...", + "password-reset-successful": "Passwort erfolgreich zurückgesetzt!", + "permissions": "Berechtigungen", + "phone": "Telefon", + "please-provide-a-password": "Bitte gebe ein Passwort an...", + "please-provide-the-required-csv-xlsx-file": "Bitte eine CSV oder XLSX Datei hochladen.", + "please-provide-the-required-information-to-add-a-new-runner": "Bitte die benötigten Informationen angeben.", + "please-provide-the-required-information-to-add-a-new-track": "Bitte die benötigten Informationen angeben.", + "please-request-a-new-reset-mail": "Bitte eine neue Passwortreset-Mail anfordern...", + "privacy": "Datenschutz", + "privacy-loading": "Datenschutzerklärung lädt...", + "profile-picture": "Profilbild", + "read-license": "Lizenz-Text lesen", + "register": "Registrieren", + "repo_link": "Link", + "request-a-new-reset-mail": "Neue Reset-Mail anfordern", + "reset-my-password": "Passwort zurücksetzen", + "reset-password": "Passwort zurücksetzen", + "runner-import": "Läufer Import", + "runner-updated": "Läufer:in aktualisiert!", + "runnerimport_verify_runners_org": "Bitte die Läufer:innen für den Import in die Organisation \"{org_name}\" bestätigen", + "runners": "Läufer", + "save-changes": "Änderungen speichern", + "send-a-mail-to-lfk-odit-services": "Sende eine Mail an lfk@odit.services", + "settings": "Einstellungen", + "signout": "Abmelden", + "stats-are-being-loaded": "Die Statistiken werden geladen...", + "successful-password-reset": "Passwort erfolgreich zurückgesetzt!", + "team": "Team", + "team-name": "Teamname", + "teams": "Teams", + "the-provided-phone-number-is-invalid-less-than-br-greater-than-please-enter-a-valid-international-number": "Die angegebene Telefonnummer ist nicht korrekt.
Bitte gebe eine Telefonnummer im internationalen Format an...", + "this-might-take-a-moment": "Das könnte einen kleinen Moment dauern", + "total-distance": "gelaufene Strecke", + "total-donations": "Spendensumme", + "total-scans": "gesamte Scans", + "track-added": "Track hinzugefügt", + "track-data-is-being-loaded": "Trackdaten werden geladen", + "track-is-being-added": "Track wird hinzugefügt...", + "track-length-in-m": "Tracklänge (in Metern)", + "track-name": "Trackname", + "tracks": "Tracks", + "updating-runner": "Läufer:in wird aktualisiert.", + "updating-user": "Benutzer:in wird aktualisiert...", + "user-updated": "Benutzer:in wurde aktualisiert", + "username": "Benutzername", + "users": "Benutzer", + "valid-email-is-required": "Es wird eine valide E-Mail Adresse benötigt", + "welcome_wavinghand": "Willkommen 👋", + "you-can-now-use-your-new-password-to-log-in-to-your-account": "Du kannst dich jetzt mit deinem neuen Passwort anmelden! 🎉", + "your_profile": "Dein Profil" +} \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 37246660..3eee95c6 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,32 +1,202 @@ { - "forgot_password?": "Forgot your password?", - "register": "Register", - "log_in": "Log in", - "password": "Password", - "log_in_to_your_account": "Log in to your account", - "welcome_wavinghand": "Welcome 👋", - "login_is_checked": "Login is being checked...", - "error_on_login": "Error on login", - "settings": "Settings", - "your_profile": "Your Profile", - "email_address_or_username": "Email / username", - "tracks": "Tracks", - "signout": "Sign out", - "hallo": "hallo", - "404message": "Sorry, the page you are looking for could not be found.", - "404title": "Error 404", - "goback": "Go Home", - "application_name": "Lauf für Kaya! - Admin", - "reset-my-password": "Reset my password", - "cannot-reset-your-password-directly": "Bummer. We unfortunately cannot reset your password directly. Please send us a mail and confirm your identity", - "send-a-mail-to-lfk-odit-services": "send a mail to lfk@odit.services", - "dont-have-your-email-connected": "Don't have your email connected?", - "dont-panic-were-resetting-it": "Don't panic, we're resetting it ✌", - "e-mail-adress": "E-Mail Adress", - "mail-validation-in-progress": "mail validation in progress...", - "invalid-mail-reset": "the provided email is invalid", - "runners": "runners", - "total-scans": "total scans", - "total-donations": "total donations", - "total-distance": "total distance" -} + "404message": "Sorry, the page you are looking for could not be found.", + "404title": "Error 404", + "about": "About", + "action": "Action", + "add-your-first-contact": "Add your first contact", + "add-your-first-track": "Add your first track.", + "address": "Address", + "address-is-required": "Address is required", + "apartment-suite-etc": "Apartment, suite, etc.", + "application_name": "Lauf für Kaya! - Admin", + "attention": "Attention!", + "author": "Author", + "bitte-bestaetige-diese-laeufer-fuer-den-import": "Please confirm these runners for import.", + "browse": "Browse", + "by": "by", + "cancel": "Cancel", + "cancel-delete": "Cancel Delete", + "cancel-keep-team": "Cancel, keep team", + "cannot-reset-your-password-directly": "Bummer. We unfortunately cannot reset your password directly. Please send us a mail and confirm your identity", + "changelog": "Changelog", + "city": "City", + "close": "Close", + "confirm-delete": "Confirm Delete", + "confirm-delete-team-and-associated-runners": "Confirm, delete team and associated runners.", + "confirm-deletion": "Confirm Deletion", + "contact": "Contact", + "contact-information": "Contact Information", + "contact-is-being-updated": "Contact is being updated...", + "contact-is-not-a-member-in-any-group": "Contact is not a member in any group", + "contacts": "Contacts", + "count_organizations": "# Organizations", + "count_teams": "# Teams", + "create": "Create", + "create-a-new-contact": "Create a new contact", + "create-a-new-runner": "Create a new Runner", + "create-a-new-track": "Create a new Track", + "create-organization": "Create Organization", + "create-user": "Create User", + "credits": "Credits", + "csv_import__class": "Class", + "csv_import__firstname": "Firstname", + "csv_import__lastname": "Lastname", + "csv_import__middlename": "Middlename", + "csv_import__team": "Team", + "dashboard-greeting": "hello there", + "dashboard-title": "Dashboard", + "datatable": { + "search": "🔍 Search...", + "sort_column_ascending": "Sort column ascending", + "sort_column_descending": "Sort column descending", + "previous": "Previous", + "next": "Next", + "page": "Page", + "showing": "Showing", + "records": "Records", + "of": "of", + "to": "to", + "loading": "Loading...", + "no_matching_records_found": "No matching records found", + "an_error_happened_while_fetching_the_data": "An error happened while fetching the data" + }, + "delete": "Delete", + "delete-contact": "Delete Contact", + "delete-organization": "Delete Organization", + "delete-runner": "Delete Runner", + "delete-team": "Delete Team", + "delete-user": "Delete User", + "dependency_name": "Name", + "distance": "Distance", + "distance-in-km": "Distance in km", + "dont-have-your-email-connected": "Don't have your email connected?", + "dont-panic-were-resetting-it": "Don't panic, we're resetting it ✌", + "drag-and-drop-your-files-or__legacy": "Drag & Drop your files or", + "e-mail-adress": "E-Mail Adress", + "edit": "Edit", + "edit-permissions": "edit permissions", + "email_address_or_username": "Email / username", + "error_on_login": "Error on login", + "faq": "FAQ", + "filepond__abort": "Abort", + "filepond__cancel": "Cancel", + "filepond__error-during-load": "Error during load", + "filepond__error-during-remove": "Error during remove", + "filepond__error-during-revert": "Error during revert", + "filepond__error-during-upload": "Error during upload", + "filepond__field-contains-invalid-files": "Field contains invalid files", + "filepond__loading": "Loading", + "filepond__remove": "Remove", + "filepond__retry": "Retry", + "filepond__size-not-available": "Size not available", + "filepond__tap-to-cancel": "tap to cancel", + "filepond__tap-to-retry": "tap to retry", + "filepond__tap-to-undo": "tap to undo", + "filepond__undo": "Undo", + "filepond__upload": "Upload", + "filepond__upload-cancelled": "Upload cancelled", + "filepond__upload-complete": "Upload complete", + "filepond__uploading": "Uploading", + "filepond__waiting-for-size": "Waiting for size", + "first-name": "First name", + "first-name-is-required": "First Name is required", + "forgot_password?": "Forgot your password?", + "general-stats": "General Stats", + "general_promise_error": "😢 Error", + "go-to-login": "Go To Login", + "goback": "Go Home", + "group": "Group", + "groups": "Groups", + "hallo": "hello", + "icon-image-credits": "We also want to thank these projects for illustrations and icons:", + "import-runners": "Import runners", + "import__target-organization": "Target Organization", + "imprint": "Imprint", + "imprint-loading": "Imprint loading...", + "installed-version": "Installed version", + "invalid-mail-reset": "the provided email is invalid", + "last-name": "Last name", + "last-name-is-required": "Last Name is required", + "lfk-is-os": "The \"Lauf für Kaya!\" Frontend is (like all other projects for the \"LfK!\" Also) an open source project.", + "license": "License", + "licenses-are-being-loaded": "Licenses are being loaded...", + "loading-contact-details": "Loading contact details...", + "loading-runners": "loading runners...", + "log_in": "Log in", + "log_in_to_your_account": "Log in to your account", + "login_is_checked": "Login is being checked...", + "logout": "Logout", + "mail-validation-in-progress": "mail validation in progress...", + "manage-admin-users": "manage admin users", + "middle-name": "Middle name", + "minimum-lap-time-in-s": "minimum lap time in s", + "name": "Name", + "new-password": "New password", + "no-license-text-could-be-found": "No license text could be found 😢", + "no-tracks-added-yet": "there are no tracks added yet.", + "organization": "Organization", + "organizations": "Organizations", + "orgs": "Orgs", + "oss_credit_description": "We use a lot of open source software on these projects, and would like to thank the following projects and contributors who help make open source great!", + "password": "Password", + "password-is-required": "Password is required", + "password-reset-failed": "Password reset failed!", + "password-reset-in-progress": "Password Reset in Progress...", + "password-reset-successful": "Password Reset successful!", + "permissions": "Permissions", + "phone": "Phone", + "please-provide-a-password": "Please provide a password...", + "please-provide-the-required-csv-xlsx-file": "Please provide the required csv/ xlsx file", + "please-provide-the-required-information-to-add-a-new-runner": "Please provide the required information to add a new runner.", + "please-provide-the-required-information-to-add-a-new-track": "Please provide the required information to add a new track.", + "please-request-a-new-reset-mail": "Please request a new reset mail...", + "privacy": "Privacy", + "privacy-loading": "Privacy loading...", + "profile-picture": "Profile Picture", + "read-license": "Read License", + "register": "Register", + "repo_link": "Link", + "request-a-new-reset-mail": "Request a new reset mail", + "reset-my-password": "Reset my password", + "reset-password": "Reset your password", + "runner-import": "Runner Import", + "runner-updated": "Runner updated!", + "runnerimport_verify_runners_org": "Please confirm these runners for import into the organization \"{org_name}\"", + "runners": "Runners", + "save-changes": "Save Changes", + "send-a-mail-to-lfk-odit-services": "send a mail to lfk@odit.services", + "settings": "Settings", + "signout": "Sign out", + "stats-are-being-loaded": "stats are being loaded...", + "successful-password-reset": "Successful password reset!", + "team": "Team", + "team-name": "Team name", + "teams": "Teams", + "teams-are-being-loaded": "Teams are being loaded...", + "the-provided-phone-number-is-invalid-less-than-br-greater-than-please-enter-a-valid-international-number": "the provided phone number is invalid.
please enter a valid international number...", + "there-are-no-contacts-added-yet": "There are no contacts added yet.", + "this-might-take-a-moment": "This might take a moment 👀", + "total-distance": "total distance", + "total-donations": "total donations", + "total-scans": "total scans", + "track-added": "Track added", + "track-data-is-being-loaded": "Track data is being loaded", + "track-is-being-added": "Track is being added...", + "track-length-in-m": "Track Length in m", + "track-name": "Track name", + "tracks": "Tracks", + "updated-contact": "Updated contact!", + "updating-runner": "Updating runner...", + "updating-user": "updating user...", + "user-updated": "User updated", + "username": "Username", + "users": "Users", + "valid-city-is-required": "Valid city is required", + "valid-email-is-required": "valid email is required", + "valid-international-phone-number-is-required": "valid international phone number is required...", + "valid-zipcode-postal-code-is-required": "Valid zipcode/ postal code is required", + "welcome_wavinghand": "Welcome 👋", + "you-can-now-use-your-new-password-to-log-in-to-your-account": "You can now use your new password to log in to your account! 🎉", + "your_profile": "Your Profile", + "zip-postal-code": "ZIP/ postal code" +} \ No newline at end of file diff --git a/src/store.js b/src/store.js index 63c1e6c6..8fefe738 100644 --- a/src/store.js +++ b/src/store.js @@ -1,33 +1,57 @@ import { writable } from 'svelte/store'; +import { OpenAPI, AuthService } from '@odit/lfk-client-js'; +import localForage from 'localforage'; +export let users = writable([]); +export let tracks = writable([]); const store = () => { const state = { + auth: undefined, access_token: undefined, - isLoggedIn: false + jwtinfo: undefined, + isLoggedIn: false, + refreshInterval: undefined }; const { subscribe, set, update } = writable(state); const methods = { init() { - console.log('*: playerStore -> init()'); update((state) => { state.isLoggedIn = false; return state; }); }, - - login(access_token) { + refreshAuth() { + AuthService.authControllerRefresh({ token: state.auth.refresh_token }).then((auth) => { + OpenAPI.TOKEN = auth.access_token; + const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1])); + state.jwtinfo = jwtinfo; + localForage.setItem('logindata', auth); + }); + }, + login(auth, jwtinfo) { update((state) => { - state.access_token = access_token; + state.auth = auth; + state.access_token = auth.access_token; + state.jwtinfo = jwtinfo; state.isLoggedIn = true; - console.log('login performed'); + // + state.refreshInterval = setInterval(() => { + this.refreshAuth(); + // 2min + }, 2 * 60000); + // return state; }); }, logout() { update((state) => { state.isLoggedIn = false; + // + clearInterval(state.refreshInterval); + state.refreshInterval = undefined; + // return state; }); } @@ -37,8 +61,8 @@ const store = () => { subscribe, set, update, + state, ...methods }; }; - export default store(); diff --git a/src/swmodule.js b/src/swmodule.js new file mode 100644 index 00000000..c91c19d5 --- /dev/null +++ b/src/swmodule.js @@ -0,0 +1,14 @@ +export const register = () => { + if ('serviceWorker' in navigator) { + window.addEventListener('load', () => { + navigator.serviceWorker.register('/sw.js').then( + (registration) => { + // console.log(`sw successful with scope: ${registration.scope}`); + }, + (err) => { + // console.log(`sw failed: ${err}`); + } + ); + }); + } +}; diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 00000000..495e28cc --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,14 @@ +module.exports = { + purge: { + content: [ './src/**/*.svelte' ] + }, + // darkMode: 'media', + variants: {}, + plugins: [], + theme: { + container: { + center: true, + padding: '1.5rem' + } + } +}; diff --git a/template-copy.js b/template-copy.js new file mode 100644 index 00000000..1f1ca3dc --- /dev/null +++ b/template-copy.js @@ -0,0 +1,19 @@ +const fs = require('fs'); +let content_svelteconfig = fs.readFileSync('./s-config.template.js', { encoding: 'utf8' }); +let content_html = fs.readFileSync('./index.template.html', { encoding: 'utf8' }); +if (process.env.NODE_ENV_ODIT == 'development_fast') { + content_html = content_html.replace( + '__TAILWIND_INSERT__', + '' + ); + content_svelteconfig = content_svelteconfig.replace('__insert__', '{postcss:{}}'); +} else { + content_html = content_html.replace('__TAILWIND_INSERT__', ''); + content_svelteconfig = content_svelteconfig.replace( + '__insert__', + "{postcss:{plugins:[require('tailwindcss'),require('autoprefixer')]}}" + ); +} +fs.writeFileSync('./public/index.html', content_html); +fs.writeFileSync('./svelte.config.js', content_svelteconfig); +console.info('dev setup script done'); diff --git a/versionbuilder.js b/versionbuilder.js new file mode 100644 index 00000000..339b1962 --- /dev/null +++ b/versionbuilder.js @@ -0,0 +1,5 @@ +const fs = require('fs'); +const package = JSON.parse(fs.readFileSync(`./package.json`, { encoding: 'utf-8' })); +const original = fs.readFileSync(`./index.template.html`, { encoding: 'utf-8' }); +let out = original.replace(/RELEASE_INFO-(\S)+-RELEASE_INFO/gi, 'RELEASE_INFO-' + package.version + '-RELEASE_INFO'); +fs.writeFileSync(`./index.template.html`, out); diff --git a/workbox-config.js b/workbox-config.js new file mode 100644 index 00000000..368c3575 --- /dev/null +++ b/workbox-config.js @@ -0,0 +1,9 @@ +module.exports = { + globDirectory: 'public', + globPatterns: [ '**/*.{js,ico,png,svg,html,webmanifest,txt,json}' ], + globIgnores: [ 'env.js', 'env.sample.js' ], + swDest: 'public/sw.js', + cleanupOutdatedCaches: true, + mode: 'production', + sourcemap: false +};