225 Commits

Author SHA1 Message Date
Vincent Breitmoser
15e1e79b86 Use JSON API for /vks/v1/upload 2019-06-04 16:12:33 +02:00
Vincent Breitmoser
70cb8319d6 use layout for internal errors 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
ee92301fb9 add "maintenance mode" 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
8e2ccea22e mention keys only contain verified addresses in /publish 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
58f217a92c mention that we don't sign keys in /about 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
a5c9719e65 small publish template updates 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
fb4eacfa56 rewrite publication workflow 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
fb10bd21d0 move upload file structure 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
b8a1a13e7b ditch fontawesome for plain svgs 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
ab9763a59b fix remnant /vks/manage link 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
66e17a296d link to key lookup on manage page 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
34bce1ee22 fix paths handling in hagrid (for nginx, too) 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
120480cdc5 more copy 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
385efb37b3 restructure files 2019-05-14 16:27:12 +00:00
Vincent Breitmoser
2cba968e62 template updates for /manage and others 2019-04-26 15:21:52 +02:00
Vincent Breitmoser
6b787be92f more minimal "found" template 2019-04-26 15:21:52 +02:00
Vincent Breitmoser
b88b4696b8 slight layout updates to /publish 2019-04-26 15:21:52 +02:00
Vincent Breitmoser
c0db159a3c small css fixes 2019-04-26 15:21:51 +02:00
Vincent Breitmoser
6a08ff1089 move /vks/manage to /manage 2019-04-26 15:21:51 +02:00
Vincent Breitmoser
2b1722c540 (barely) working /manage endpoint 2019-04-26 15:21:50 +02:00
Vincent Breitmoser
37bbfb339e drop /delete endpoint 2019-04-26 15:21:49 +02:00
Vincent Breitmoser
50c6b4cf38 more texting 2019-04-25 19:48:11 +02:00
Vincent Breitmoser
84b69ffad9 move about pages under /about 2019-04-25 19:48:10 +02:00
Vincent Breitmoser
a1c5b9dc5d add about page 2019-04-25 19:48:10 +02:00
Justus Winter
ffe9072a56 Improve the layout template. 2019-04-12 15:00:08 +02:00
Justus Winter
c0e2a732fd Use a base URI instead of a domain.
- Previously, Hagrid assumed https.  Using a base URI allows us to
    specify both protocol and port.  This helps with testing.

  - Fixes #79.
2019-03-13 10:35:00 +01:00
Justus Winter
1f2471ba61 Hand URIs to email templates, not tokens.
- The mail templates should not be concerned with the url schema.

  - Fixes #78.
2019-03-12 16:52:46 +01:00
Justus Winter
de91be2b31 Machine-usable key submission.
- Fixes #50.
2019-03-12 16:24:26 +01:00
Justus Winter
a2d38fceb5 Clarify HKP protocol. 2019-03-12 16:24:26 +01:00
Justus Winter
cd05858e1b Improve error handling.
- Return semantic status messages.
2019-03-12 16:24:26 +01:00
Justus Winter
7e16849521 Typo. 2019-03-12 16:12:59 +01:00
Justus Winter
9e6742dac5 Delete unused templates. 2019-03-12 16:12:59 +01:00
Justus Winter
00296ee6f7 Rename functions, templates, paths to publish key bindings.
- This change consistently names things related to key publishing.

  - It also moves it out of the /vks/v1 prefix.  Iff we decide to
    make (parts of) it machine-usable, we can (partially) move it back
    in.
2019-03-12 16:12:59 +01:00
Justus Winter
5f684b7d26 Rename functions, templates, paths to delete key bindings.
- This change consistently names things related to key binding
    deletion.

  - It also moves it out of the /vks/v1 prefix.  Iff we decide to
    make (parts of) it machine-usable, we can (partially) move it back
    in.
2019-03-12 16:12:58 +01:00
Justus Winter
9c6449d542 Rename. 2019-03-12 14:28:22 +01:00
Justus Winter
f3aa4e45a4 Improve mail templates, and publish template.
- Fixes #74.
2019-03-11 17:06:57 +01:00
Justus Winter
cd750c3d78 Handle uploads of multiple keys.
- This is required for HKP.

  - I think allowing multiple keys in one upload is a good way to
    handle #75 too.  For old keys that are uploaded by accident, we
    get and publish the revocations, without bothering the user with
    verification mails.

  - One concern that is not addressed is uploading multiple keys with
    the same user id.  But, we do not handle this by design.

  - Fixes #75.
2019-03-11 12:07:26 +01:00
Justus Winter
acfa6d1ce4 Serve /apidoc, improve README.
- Fixes #63.
2019-03-07 11:19:42 +01:00
Justus Winter
c6f3c53d46 Make the attribution box stick to the bottom of the screen. 2019-03-07 11:19:42 +01:00
Justus Winter
a979631657 Make the 'code' style less intrusive.
- This way, code blocks can be used in text.
2019-03-07 11:19:42 +01:00
Justus Winter
c98d4b7a5c Fix layout of /about. 2019-03-06 16:04:04 +01:00
Justus Winter
3f19ade620 Link to Hagrid's source, and the revision. 2019-03-06 14:10:44 +01:00
Justus Winter
5d29050557 Include '--keyserver-options import-drop-uids' in snippets.
- This makes it possible to use hagrid with new versions of GnuPG.

  - Related bug report: https://dev.gnupg.org/T4393

  - Fixes #71.
2019-03-06 13:25:21 +01:00
Justus Winter
c008a9cc84 Revise card layout.
- Instead of capping the width of the card, use a spacer within the
    card to make it expand like before.

  - However, now that the card's width is no longer capped, elements
    within can enlarge the card.
2019-03-06 12:30:56 +01:00
Justus Winter
204233b663 Improve error handling. 2019-03-05 13:37:20 +01:00
Justus Winter
e735758e50 Version our VKS API.
- Fixes #64.
2019-03-04 15:23:53 +01:00
Justus Winter
7cd3280bf6 Use /vks/ as prefix for our API.
- Fixes #59.
2019-02-28 16:57:03 +01:00
Justus Winter
6681fd583e Fix /vks/manage.
- Fixes #60.
2019-02-26 17:35:57 +01:00
Justus Winter
f43ca7f512 Move error message to layout.html.hbs. 2019-02-26 17:33:21 +01:00
Justus Winter
3c18b7b15e Make sure the attribution does not cover the search bar. 2019-02-26 13:15:21 +01:00