Commit Graph

13 Commits

Author SHA1 Message Date
Daan Sprenkels 0cfad96b68 Refactor database login into a separate module 2019-12-06 18:03:56 +01:00
Daan Sprenkels df86d5836a Implement file deletion 2019-11-22 18:41:54 +01:00
Daan Sprenkels 66eb0bf97a Add support for file uploads 2019-11-10 19:03:57 +01:00
Gerdriaan Mulder 1b3ba9443a Move several packages to root package 2019-11-09 15:50:12 +01:00
Daan Sprenkels e021e463ab Move rushlink command into cmd/ dir 2019-09-08 10:47:17 +02:00
Daan Sprenkels 8803281285 Put index in template 2019-09-06 00:17:50 +02:00
Daan Sprenkels 675245722f Revert "Format errors with HTML"
This reverts commit 80092dea5b.

After enabling both HTML and plain-text templating, I found that
this introduces a lot more complexity in the code than was desirable
for a project in this stage. The result looked fine, wrapping plain
text in <pre> tags. However, it was neccessary to keep duplicate
template files, for HTML and text. This was cumbersome, added a lot
of bloat, etc.

This feature is postponed to when there is more product.
2019-09-06 00:15:35 +02:00
Daan Sprenkels 80092dea5b Format errors with HTML 2019-09-05 23:07:54 +02:00
Daan Sprenkels 73814e0f5b Add reserved keys 2019-09-01 12:04:43 +02:00
Daan Sprenkels 0d7f7c7808 Add meta viewer and owner tokens 2019-09-01 01:41:01 +02:00
Daan Sprenkels 5a7394ffd3 Rename main bucket to "pastes" and add /nr 2019-08-31 00:02:01 +02:00
Daan Sprenkels 498c84541b Add a small prometheus exporter 2019-08-29 23:41:00 +02:00
Daan Sprenkels 3c4d0ca60e Implement retrieval of redirects 2019-08-29 00:51:40 +02:00