243 Commits

Author SHA1 Message Date
81c046c1b0 Add summary checks back 2024-10-30 02:22:19 +01:00
1e9fdd2ab9 Update version number 2024-10-30 02:13:40 +01:00
1fbc0ddcf6 Make banner link and summary optional 2024-10-30 02:12:53 +01:00
0dd2101a08 Cleanup 2024-10-29 17:00:51 +01:00
e95871ee70 Fix bug that allowed empty banner images 2024-10-29 16:43:42 +01:00
083718711d Use empty alt tag for banner image 2024-10-29 16:37:41 +01:00
20a12c6299 Implement banner images in a more standard way 2024-10-29 16:36:40 +01:00
be829e662b Change version number 2024-10-28 18:28:22 +01:00
0036b42d82 Update htmx version 2024-10-28 18:27:24 +01:00
59deb69e2f Lift size constraints from image and pdf uploads 2024-10-28 17:59:53 +01:00
3aef27585a Rename AtomFeed to AtomFile everywhere else 2024-10-28 17:57:51 +01:00
3aa8796537 Rename AtomFeed to AtomFile in config 2024-10-27 15:50:45 +01:00
4b75fc61cd Update version number 2024-10-27 15:29:42 +01:00
c439e048c1 Update dependencies 2024-10-27 15:28:07 +01:00
f86f2ba146 Get rid of RSS completely 2024-10-27 15:27:57 +01:00
07e1983fcc Add call to serve atom feed 2024-10-27 15:12:30 +01:00
878f57af08 Split up max value for img height and with into values for img and banner 2024-10-27 15:05:11 +01:00
d86b9027bf Correct lengths for username and names 2024-10-27 14:53:37 +01:00
31484dd44a Add encrypted email to user info 2024-10-27 14:43:38 +01:00
3b4e1e01d2 Make version part of config 2024-10-27 13:58:19 +01:00
03425fc2c6 Make action-btn and btn clicky 2024-10-27 13:58:03 +01:00
0b9bae3bf8 Get rid of rss 2024-10-27 13:29:58 +01:00
8ed0676e51 Encrypt sensitive user data with aes256 2024-10-27 13:29:46 +01:00
d7cbb34814 Prepare sql for encrypted user info, email address and profile pic 2024-10-27 07:34:44 +01:00
23f0c6f4a4 Make banner_link and content_link NOT NULL 2024-10-27 07:29:51 +01:00
cb322c57f9 Delete unnecessary enc_url, enc_length and enc_type from sql 2024-10-27 07:25:53 +01:00
123071ab1b Change license to AGPL 2024-10-27 07:21:53 +01:00
343022273c Allow uploading a banner image 2024-10-27 07:21:36 +01:00
19b390cbbb Switch to atom feed 2024-10-27 07:20:23 +01:00
2751a8c972 Start adding article banner image 2024-10-20 16:10:25 +02:00
750184b8ef Correct http code for uploaded file 2024-10-04 16:46:29 +02:00
f28c204c52 Only use fmt.Sprint() when necessary 2024-10-04 16:37:19 +02:00
70d403d7d7 Create WriteFile() so backend handles files 2024-10-04 16:36:53 +02:00
863581f590 Show error messages in UI if something goes wrong 2024-10-04 16:06:33 +02:00
aec829ad85 Fixed a bug that returned the wrong filename for an uploaded image 2024-10-04 12:10:12 +02:00
298ea458ca Fixed login bug 2024-10-04 11:51:24 +02:00
533053aef0 Fixed a bug that prevented {{.Action}} from being acessible in editor.html 2024-10-04 11:50:51 +02:00
c00645432b Correctly handle errors from getSession 2024-10-04 10:35:32 +02:00
91d53a0f2a Get rid of unnecessary dependencies 2024-10-04 10:22:57 +02:00
b3f31f398d Check for errors when executing templates 2024-10-04 10:21:56 +02:00
cf4d4f151a No session existing is not an error; fixed 2024-10-04 10:12:35 +02:00
202d04f323 Directly create the files []string in the correct size for HomePage 2024-10-04 10:11:43 +02:00
b2a701c87a Automatically resize images and save them as webp 2024-10-03 14:10:45 +02:00
1368593c75 Move file handling to backend/files.go 2024-09-28 13:55:25 +02:00
e4bef7006c Abstract sessions.Session with b.session 2024-09-28 13:44:25 +02:00
afa1b65563 Moved getSession to frontend/sessions.go 2024-09-28 13:22:53 +02:00
a9bef63174 Change version number 2024-09-28 13:15:00 +02:00
4d944ef65a Delete unused SaveArticle() 2024-09-28 13:12:46 +02:00
4bd255a7c4 Strictly require title for issue 2024-09-28 12:34:41 +02:00
2743899b65 Changed version number and disclaimer 2024-09-28 12:19:18 +02:00