Closed XHPJ closed 3 years ago
Note: I have also a little screen recording prepared in case you want to see this for easier evaluation, I can sent it to you via Slack.
Note: I have also a little screen recording prepared in case you want to see this for easier evaluation, I can sent it to you via Slack.
I would love to see this, thank you!
Would you mind running a git rebase -i
to consolidate these commits?
Hello,
This PR adds the following functionalities to vandal:
REMOTE_HOSTS
the vandal_UI project will add these hosts to vandal and then one is able to connect to different hosts, rather than the default/own server.The first to features also work for remote hosts.
Headers
The headers will be used when firing a request to the server and the fields are stored using localStorage and ls-secure for encryption.
CRUD
This is mostly affecting the
query.ts
. Still the payload (update/create) is passed from All.vue to the query object.Remote Hosts
Vandal would expect an ENV called REMOTE_HOST which contains a JSON array with the following objects:
Right now vandal_ui looks inside
index.html
and replaced the string__REMOTE_HOSTS__
with the value of the ENV or an{}
when no value is set.Side note: I will create a PR for vandal_ui with the same branch name, that uses this version of vandal.