Commit graph

36 commits

Author SHA1 Message Date
Yvan
7b14efbf1d learn to type, Yvan 2025-03-10 17:01:22 +00:00
Yvan
489451711f popping a readment into the java project 2025-03-10 16:56:25 +00:00
Yvan
89cb3bd335 Trying to lock down activity POST handling content types as per a combo of the specification and also Mastodon behaviour. Reinstanting correct error codes as exceptions. Also some drive-by tidying and weeding & sorting imports. 2025-02-06 19:21:32 +00:00
Yvan
a88f154714 handler for POST requests to user inboxes 2025-02-05 19:18:37 +00:00
Yvan
be59844d57 added front-end side of post submission and columns for replies and followers 2025-02-05 15:55:29 +00:00
Yvan
0de5a95bab fix URL notation 2025-02-04 21:39:05 +00:00
Yvan
cbe0de6b0a readme refresh 2025-02-04 21:37:21 +00:00
Yvan
1608d75ec9 Threw in some very basic Bootstrap as I was sick of looking at ugly browser defaults. 2025-02-04 20:51:56 +00:00
Yvan
516f90bf1f improvements to generating URIs and some template tweaks, minor tidying 2025-02-04 19:42:09 +00:00
Yvan
1682cbe81f show the bot public key pem on the bot view page 2025-02-04 02:43:03 +00:00
Yvan
44efa084cc tweaking the templates a bit for formatting and nav 2025-02-04 02:36:40 +00:00
Yvan
35a37a5157 forgot to includethe published date in the JSON 2025-02-04 02:35:48 +00:00
Yvan
e4def78878 Right, we're returning valid JSON again and are once again searchable from real Fedi servers! I'm not at all happy with either approach to generating the JSON here. Need some balance between the built in automation/jackson stuff and the custom/generated things we need to do...) 2025-02-04 01:45:41 +00:00
Yvan
2d026711c1 Now generating RSA keys. 2025-02-04 00:03:08 +00:00
Yvan
b218591ea7 working out how to handle exception based errors in a 'nice' way 2025-01-30 12:45:49 +00:00
Yvan
8ccd5390fa working out how to handle exception based errors in a 'nice' way 2025-01-29 19:44:33 +00:00
Yvan
bd919cf306 fleshing out the project readme a bit 2025-01-29 12:02:00 +00:00
Yvan
bcaa6508f1 add links to the bot list, and better name the template, and add a bot details viewing page 2025-01-29 11:45:21 +00:00
Yvan
d64a9c75e8 fix initialisation of Bot members, 'published' was not copied up 2025-01-29 03:46:23 +00:00
Yvan
95fed42020 The whole Bot model/repo setup has been redesigned to follow the more complete/correct DAO-like pattern. Mostly everything still works, just not handling the not found exception rising from the Optional I think. 2025-01-29 03:11:06 +00:00
Yvan
4f73698e2f Wasn't happy with that JSON templating so got rid of it rather than try and fix how it broke the HTML templating. There will be better ways to generate the required JSON. 2025-01-27 13:44:30 +00:00
Yvan
5f9f024904 Now generating templated JSON actor and webfinger responses, which work against a Mastodon user search... the borrowed Thymeleaf config stuff to enable JSON templating has broken the HTML templating though. Sigh. 2025-01-27 04:03:27 +00:00
Yvan
614b3a48dd Moving derived data accessors out of the @Entity... have created a Bot @Service... and implemented the calls there but I'm unconvinced by this as not sure how we can then use that in the Controller/Model side of the code now. What I want to do is access a Bot's "id" which is derived from its username so needs code to build it. I'm starting to wonder if I should just store some of the derived data in the database but that feels clunky (could be more performant though, hmm..) 2025-01-27 00:48:38 +00:00
Yvan
1518f7597d Tidying up some mess and redundancy, adding request logging. 2025-01-25 19:50:35 +00:00
Yvan
bb5d51b3c7 switch from pringln to using logging functions, enable file logging, turn on fancy colour as the auto-detect doesn't seem to work in my terminal (but the colour does) - wonder if I can fix the auto-detected rather than force the colour? 2025-01-25 11:37:46 +00:00
Yvan
06cb88f738 we are now writing and reading bot info to postgres! That was a slog... in the meantime we've changed from JSP to ThymeLeaf, which seems to be much nicer to work with 2025-01-25 02:57:50 +00:00
Yvan
76af0c01d2 popping in basic template page stubs 2025-01-24 14:56:20 +00:00
Yvan
e1bb1b8206 oops, forgot the initial index template! 2025-01-24 14:16:55 +00:00
Yvan
c787ce032a naming improvements and tidying 2025-01-24 13:52:44 +00:00
Yvan
961c878cbf now we can serve json or html dependent on the req accept header 2025-01-24 11:06:37 +00:00
Yvan
8cdbc11d92 moving comment out of JSON string 2025-01-24 00:50:45 +00:00
Yvan
d2760742b6 Initial working skeleton/prototype that merely returns a hard-coded actor 2025-01-24 00:46:56 +00:00
Yvan
cf6e536aca works to the point of serving a hard-coded user via HTTPS (needs cert set up) 2025-01-24 00:38:26 +00:00
Yvan
260c2f660b just a quick dumb keygen script 2025-01-23 17:53:30 +00:00
Yvan
516652c11c initial check-in for project to implement a minimal ActivityPub bot in Java/Spring 2025-01-23 17:27:34 +00:00
YvanSeth
54508a2890
Initial commit 2025-01-22 12:33:39 +00:00