123 Commits

Author SHA1 Message Date
77e8edbe16 Relocated ShowHub from articles.go to sessions.go because it has even less to do with articles than with sessions 2024-08-18 11:46:23 +02:00
8115c50974 Fixed a bug that let users get around verification. 2024-08-18 11:40:03 +02:00
61bfa85b13 Some cleaning up 2024-08-18 11:21:42 +02:00
cd27349d04 Created package "calls" and verification for frontend and calls 2024-08-18 11:20:06 +02:00
5b41892dff Renamed frontend/firebase.go to frontend/pdf.go 2024-08-17 21:00:00 +02:00
c7add76a12 Deleted ServePDFs() and added ServePDF() 2024-08-17 20:56:45 +02:00
f4ae2f9c04 Added rout for pdf list 2024-08-17 20:41:39 +02:00
64f85a34cb Added pdf directory to air config 2024-08-17 20:20:16 +02:00
0c87d91df1 Small error correction 2024-08-17 20:18:53 +02:00
472f00a107 Extracted verification logic for frontend into seperate function tokenIsVerified() and created ServePDFListe() 2024-08-17 20:15:35 +02:00
bebfe994ae First implementation of firebase auth 2024-08-17 18:21:56 +02:00
46bfd23b2a A bit of testing with firebase 2024-08-09 17:07:27 +02:00
0afbdde077 Change to remote htmx 2024-08-09 16:20:57 +02:00
ce43e45a6c Deleted hints of custom preview function 2024-08-08 21:26:59 +02:00
32f11f57b5 Implemented EasyMDE 2024-08-08 21:09:38 +02:00
46a0cec6df Implemented article preview 2024-07-17 23:25:57 +02:00
4e0bce37a2 Register f.ArticlePreviewHtmlData in init() 2024-07-13 14:17:40 +02:00
85e2f8b4ad Shorten lines by referencing frontend as f and backend as b 2024-07-13 14:09:11 +02:00
d0c1e525d2 Change structure of code tor frontend and backend one 2024-07-13 13:58:36 +02:00
21fd3403b2 Added ability to delete other users v0.2.7 2024-04-12 08:46:34 +02:00
0f0471b84c Read config file in addition to cli arguments 2024-04-12 07:17:13 +02:00
4b90ec9652 Let admins edit other user's profiles 2024-04-09 19:06:29 +02:00
783d59805b Fixed small bug v0.2.6 2024-04-07 19:33:51 +02:00
b5f0fe8985 Added title, link and description to cli args. 2024-04-07 19:29:35 +02:00
d9bf79d5f8 Add space between first and last name 2024-04-07 19:01:21 +02:00
f98ab149a2 Added headings to all templates 2024-04-07 18:57:03 +02:00
822ca2b8ab Use UUID as filename and strip alt off of extension 2024-04-07 18:43:09 +02:00
af65180893 Reflect new cli arg in .air.toml v0.2.5 2024-04-07 11:36:34 +02:00
5615210be5 Add cli arg for domain 2024-04-07 11:32:38 +02:00
b88fb1643c Fixed bug v0.2.4 2024-04-07 11:12:07 +02:00
92189a4a51 Pictures are now handeled correctly 2024-04-07 10:58:07 +02:00
8dc8f02504 Changed rss package to tagged version v0.2.3 2024-04-04 17:17:55 +02:00
e3ce1d7b55 Simply provide RSS feed when GET request is received 2024-04-04 17:13:42 +02:00
532bc6490a Added XML encoding 2024-04-04 17:09:29 +02:00
84fa828b38 Provide RSS feed as file when pressing the button or typing the URL 2024-04-03 21:05:12 +02:00
a3c53b1b20 Changed URL patterns to be more specific 2024-04-03 20:24:54 +02:00
ca70fa6d4d Applied changes also to rework-article.html 2024-04-03 19:52:16 +02:00
972b8cac19 Corrected vertical gap size for tags when wrapping onto the next line 2024-04-03 19:51:27 +02:00
d0605660f7 Made tags wrap onto the next line when overflowing parent container 2024-04-03 19:48:42 +02:00
5d2d841aba Changed tag length to 50 characters 2024-04-03 19:47:27 +02:00
d62c5a4078 Changed visual layout for to-be-published articles cpolis-v0.2.2 2024-04-03 18:12:28 +02:00
803c5bbdbd Slightly changed button color and changed body height to be min-100vh 2024-04-03 04:50:25 +02:00
c74bdeba72 Only show logout button in hub cpolis-v0.2.1 2024-04-02 21:35:34 +02:00
717f1c813b Add setup script for DB 2024-04-02 19:38:16 +02:00
52797760bb Also, handle first user differently under the hood 2024-04-02 19:37:53 +02:00
8711ba0629 Handle first user differently from the rest 2024-04-01 19:26:18 +02:00
ed51d28c65 Corrected back button class for unpublished articles 2024-04-01 15:58:36 +02:00
7e7de28b14 Streamlined selection of rejected and unpublished articles cpolis-v0.2.0 2024-04-01 15:42:51 +02:00
0139f7ab9a Use ID in path rather than an invisible input when publishing, rejecting or resubmitting an article 2024-04-01 15:30:24 +02:00
7fc115bcc3 Refined look of rejected and unpublished articles 2024-04-01 14:38:31 +02:00