Daan Sprenkels
a45705540c
Replace Paste.Content field by P.URL and FU.PasteID
2021-07-23 17:25:45 +02:00
Daan Sprenkels
1ecb11c65f
db: Do not warn during paste key generation
2020-12-17 14:49:52 +01:00
Daan Sprenkels
0048004252
Use sql database instead of bolt
2020-10-25 17:33:51 +01:00
Daan Sprenkels
f36fa30eff
Rename current db to boltdb
2020-10-23 16:14:57 +02:00
Daan Sprenkels
77e89251e7
db: Change db file mode to 660
...
Fixes #58
2020-05-30 17:07:35 +02:00
Daan Sprenkels
e476797da0
db: Prevent infinite recursion when closing
2020-04-22 18:25:27 +02:00
Daan Sprenkels
62e82d831e
db: Migrate FileUpload.ContentTypes to auto-detect
2019-12-10 11:59:02 +01:00
Daan Sprenkels
0cfad96b68
Refactor database login into a separate module
2019-12-06 18:03:56 +01:00
Daan Sprenkels
b7a4b1fee8
Move packages out of dirs
...
Fixes #2
2019-09-15 18:21:02 +02:00
Daan Sprenkels
544c093c35
Use a more standardized project layout
...
In #2 , mrngm made the point that we should move to a more
standardized project structure. This commit does exactly that.
The new project structure is based on the repository listed at
<https://github.com/golang-standards/project-layout >.
Fixes #2 .
2019-09-10 17:52:45 +02:00