dietrich
82211fa2a5
Publishing ( #11 )
...
* Adding serde derive feature
* add versions to pathed dependencies
2021-08-12 21:10:30 +02:00
dietrich
253dcd68b4
Adding release CI
2021-08-12 15:48:02 +02:00
dietrich
3a21efc525
correct musl
2021-08-12 15:48:02 +02:00
dietrich
34694a895d
add musl-gcc to CI
2021-08-12 15:48:02 +02:00
dietrich
26a7fbf3c4
make cargo make latest
2021-08-12 15:48:02 +02:00
dietrich
0fb809a553
add musl target
2021-08-12 15:48:02 +02:00
dietrich
5941662069
renaming of shared in app
2021-08-12 15:48:02 +02:00
dietrich
de3c69fc89
Update gh CI
2021-08-12 15:48:02 +02:00
dietrich
0ed8ab73ce
Finish rename
2021-08-12 15:48:02 +02:00
dietrich
59494ded32
Release 0.4.1-alpha.0
...
pslink-app@0.4.1-alpha.0
pslink-shared@0.4.1-alpha.0
Generated by cargo-workspaces
2021-08-12 15:48:02 +02:00
dietrich
9853a1396b
Renaming packages with pslink- prefix^
2021-08-12 15:48:02 +02:00
dietrich
e953506e6a
Updated README
2021-08-12 15:48:02 +02:00
dietrich
9f5e5e01c4
Make the trashicon unselectable
2021-08-12 15:48:02 +02:00
dietrich
b11177a943
Adding paged loading of links.
2021-08-12 15:48:02 +02:00
dietrich
2b276a5130
Add redirect to the new interface
2021-08-12 15:48:02 +02:00
dietrich
b9a02b1740
Update the testsuite...
...
now tests:
* creating .env
* migrating
* creating admin
* login
* listing links
* creating links
* filtering links
2021-08-12 15:48:02 +02:00
dietrich
cb6ee80e43
Add list of features to the Readme
2021-08-12 15:48:02 +02:00
dietrich
dd7507225f
partially reintrodueced integration tests
2021-08-12 15:48:02 +02:00
dietrich
e1775a864d
Create LICENSE
2021-08-12 15:48:02 +02:00
dietrich
a0903b91e0
Add musl target to Makefile.toml
...
bump version
2021-08-12 15:48:02 +02:00
dietrich
9db2737f7f
update readme
2021-08-12 15:48:02 +02:00
dietrich
9d80f20e8a
bump versions
2021-08-12 15:48:02 +02:00
dietrich
0c60954776
fix the locales path and add the static/wasm directory
2021-08-12 15:48:02 +02:00
dietrich
a3b5ef87f9
Adding a readme to all crates/subdirectory of this workspace
2021-08-12 15:48:02 +02:00
dietrich
b08c1a3fc2
moving the webserver out of the library
2021-08-12 15:48:02 +02:00
dietrich
9bb6001adf
updating dependencies
2021-08-12 15:48:02 +02:00
dietrich
0bdd6c2d74
Update html title
2021-08-12 15:48:02 +02:00
dietrich
ffe31504ee
Fix Urls in command line
2021-08-12 15:48:02 +02:00
dietrich
6c6f66cdf8
Adding semicolons according to lint
...
https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
2021-08-12 15:48:02 +02:00
dietrich
fe1556b099
Embed wasm file, login on enter
2021-08-12 15:48:02 +02:00
dietrich
51276d3831
Fix clippy warnings and Readme
2021-08-12 15:48:02 +02:00
dietrich
7cb20cf8b1
update layout of qr-download
2021-08-12 15:48:02 +02:00
dietrich
bf6bac847b
documentation updates
2021-08-12 15:48:02 +02:00
dietrich
48a376f3bd
documetation updates
2021-08-12 15:48:02 +02:00
dietrich
f3b1a0d7e8
documentation updates to the binaries
2021-08-12 15:48:02 +02:00
dietrich
f7f10c5577
Document and simplify
2021-08-12 15:48:02 +02:00
dietrich
38800bb33c
dependency cleanup, documentation
2021-08-12 15:48:02 +02:00
dietrich
36da54e587
Remove explicit refresh buttons
2021-08-12 15:48:02 +02:00
dietrich
6da01fca39
make eventpropagation more intuitive (also shorter)
2021-08-12 15:48:02 +02:00
dietrich
f361a13c91
make privileges more defining for UI
2021-08-12 15:48:02 +02:00
dietrich
eee0a8dba2
WIP: make the interface aware of the admin role
2021-08-12 15:48:02 +02:00
dietrich
61afbecda9
Make Role an enum
2021-08-12 15:48:02 +02:00
dietrich
67439c1c49
Use collect instead of from iter
2021-08-12 15:48:02 +02:00
dietrich
0a23b786b0
Add language switching, fix logout
2021-08-12 15:48:02 +02:00
dietrich
fa924a8e8c
Remove templates
2021-08-12 15:48:02 +02:00
dietrich
06c2fd18bd
remove tera dependency and html rendering code.
2021-08-12 15:48:02 +02:00
dietrich
dd113c3548
reduce timeout before rendering qr
2021-08-12 15:48:02 +02:00
dietrich
6dfef53243
delayed qr-code rendering
2021-08-12 15:48:02 +02:00
dietrich
81cb5ab304
fix warnings
2021-08-12 15:48:02 +02:00
dietrich
f83a48ac3f
all in
2021-08-12 15:48:02 +02:00
dietrich
5da1d3fb16
remove unnessessary RefCell
2021-08-12 15:48:02 +02:00
dietrich
93472c061e
WIP: adding qrcodes
2021-08-12 15:48:02 +02:00
dietrich
91543e2d74
update sqlx_prepare
2021-08-12 15:48:02 +02:00
dietrich
5886272585
Add download qrcode to table
2021-08-12 15:48:02 +02:00
dietrich
6b0daecd31
Add wasm live rendering of the Qr-Code only svg
2021-08-12 15:48:02 +02:00
dietrich
a5cfdeff54
make link codes unaware of upper and lower case
2021-08-12 15:48:02 +02:00
dietrich
50da81889e
Formatting...
2021-08-12 15:48:02 +02:00
dietrich
26142084f6
Prepare loading state
2021-08-12 15:48:02 +02:00
dietrich
1aba33fb91
Login for the wasm interface
2021-08-12 15:48:02 +02:00
dietrich
e5d8e6c62f
restructuring move translations to toplevel
2021-08-12 15:48:02 +02:00
dietrich
5e03b4385f
move doc directory to workspace
2021-08-12 15:48:02 +02:00
dietrich
bfa0bcd0bb
restructure and document list_users
2021-08-12 15:48:02 +02:00
dietrich
aeac704e89
add offline feature to sqlx
2021-08-12 15:48:02 +02:00
dietrich
b84c7ab62a
Documentation updates
2021-08-12 15:48:02 +02:00
dietrich
5c6fd4b5ae
document navigation
2021-08-12 15:48:02 +02:00
dietrich
78d147344f
Add hint to readme
2021-08-12 15:48:02 +02:00
dietrich
ec47e02f9c
move README to toplevel
2021-08-12 15:48:02 +02:00
dietrich
a2781003c6
update documentation on i18n
2021-08-12 15:48:02 +02:00
dietrich
9d42b010c1
fix delete message
2021-08-12 15:48:02 +02:00
dietrich
9005a446fe
update documentation
2021-08-12 15:48:02 +02:00
dietrich
b782d97920
Make secret more logsafe, implement add and edit for links
2021-08-12 15:48:02 +02:00
dietrich
d503d49917
update user functionality and cleanup
2021-08-12 15:48:02 +02:00
dietrich
6837495eba
initial create user
2021-08-12 15:48:02 +02:00
dietrich
b9866a8c19
initial user edit dialog
2021-08-12 15:48:02 +02:00
dietrich
8ea7b6a08d
Restructure view funtions
2021-08-12 15:48:02 +02:00
dietrich
fc9b18141f
Working user and link list, (big)restructure
...
This is now a workspace consisting of:
* the pslink app (a wasm frontend for the admin interface)
* the pslink binary
* shared - modules for communication between the two above.
2021-08-12 15:48:02 +02:00
dietrich
1611cfb9a2
Merge pull request #8 from enaut/tracing
...
Add tracing (eg. jaeger) and tests
2021-04-18 17:20:29 +02:00
dietrich
680d28ed58
Merge branch 'master' into tracing
2021-04-18 16:40:55 +02:00
dietrich
b33088057d
Add basic github actions
2021-04-18 16:18:23 +02:00
dietrich
84625939de
Add more testcases
2021-04-18 16:11:43 +02:00
dietrich
04170079d6
Add integration test for runserver
2021-04-18 11:38:07 +02:00
dietrich
7690d301f1
Properly handle absense of a prefered language
2021-04-18 11:37:02 +02:00
dietrich
322c867e94
Fix: real secret instead of censored in .env
2021-04-18 10:29:09 +02:00
dietrich
ce315c429c
Add integration tests, do not show secret in logs
...
The code is restructured so that the library contains the actix-web
code and the binary only does commandline parsing and running of
the lib.
2021-04-18 09:41:17 +02:00
dietrich
6fd36936a3
Enable jaeger + opentracing logging
2021-04-12 16:32:59 +02:00
dietrich
ac172670be
simplifying apply_migrations
2021-04-12 16:30:18 +02:00
dietrich
a3b757abad
initial port to tracing
2021-04-11 13:14:11 +02:00
dietrich
ea75e1e3ee
Show some errors to the user
2021-04-10 18:37:59 +02:00
dietrich
5950fa7370
Better logging and error handling
2021-04-10 12:30:05 +02:00
dietrich
76b1f53120
Use the anyhow crate for Errors in the cli
2021-04-02 17:41:27 +02:00
dietrich
583e9908bf
move the error to thiserror
2021-04-01 15:40:19 +02:00
dietrich
34b957332e
Sepparate library part and binary part
...
closes #5
2021-04-01 14:58:40 +02:00
dietrich
0ed010b78f
fix errormessage
2021-04-01 10:02:12 +02:00
dietrich
a6598ba5db
clicks are deleted when connected links are
...
fixes #7
2021-04-01 10:00:16 +02:00
dietrich
2fba9080d6
Revert "format migration"
...
as migrations store a hash it is not possible to change the
migrationfiles afterwards.
This reverts commit fdcc89ec1f .
2021-04-01 10:00:16 +02:00
dietrich
053992e30c
Merge pull request #6 from enaut/WIP--translations
...
Make the page translatable
2021-03-31 16:50:13 +02:00
dietrich
fdcc89ec1f
format migration
2021-03-31 16:40:25 +02:00
dietrich
dd759923f0
Add a language selector for logged in users.
2021-03-30 21:45:46 +02:00
dietrich
0b9afb1fa3
translate login and not_found to browser language
2021-03-30 20:23:27 +02:00
dietrich
c6c56a5ea2
translate view_link, view_profile
2021-03-30 18:05:03 +02:00