Commit Graph

3 Commits

Author SHA1 Message Date
Jarek Kowalski
f605f52624 Upgraded bootstrap to v5 and react-bootstrap accordingly (#1192)
* htmlui: upgraded bootstrap to v5.0.2 and react-bootstrap to v5

* htmlui: fixed test warnings

* app: removed unused dependencies on bootstrap and react-bootstrap

* more style fixes
2021-07-10 22:09:23 -07:00
Jarek Kowalski
3b87902433 Kopia UI improvements for repository management (#592)
* cli: added --tls-print-server-cert flag

This prints complete server certificate that is base64 and PEM-encoded.

It is needed for Electron to securely connect to the server outside of
the browser, since there's no way to trust certificate by fingerprint.

* server: added repo/exists API

* server: added ClientOptions to create and connect API

* server: exposed current-user API

* server: API to change description of a repository

* htmlui: refactored connect/create flow

This cleaned up the code a lot and made UX more obvious.

* kopia-ui: simplified repository management UX

Removed repository configuration window which was confusing due to
the notion of 'server'.

Now KopiaUI will automatically launch 'kopia server --ui' for each
config found in the kopia config directory and shut it down every
time repository is disconnected.

See https://youtu.be/P4Ll_LR4UVM for a quick demo.

Fixes #583
2020-09-07 08:00:19 -07:00
Jarek Kowalski
a7a3cd3282 htmlui: new UI flow for connecting to and creating repository 2020-02-16 22:43:36 -08:00