Commit Graph

47 Enmetoj

Author SHA1 Message Date
Jaidyn Ann 5f1903b741 Add comprehensive testing package
… actually, this should’ve been committed a few
commits back. I guess I forgot to add the file!
Well, no need to edit git history just for that.
2024-06-23 12:58:01 -05:00
Jaidyn Ann 39b941e013 Rename project to activity-servist
Slightly less wrong, feels slightly less redundant!
2024-06-23 12:49:58 -05:00
Jaidyn Ann 4c9de6677e Fix testing of nested objects 2024-06-23 12:18:41 -05:00
Jaidyn Ann 3f3370c194 Add base class AS-OBJECT in the hierarchy
This way, LINK (which as per ActivityVocabulary
spec doesn’t inherent OBJECT) can still be
generalized.
2024-06-23 12:17:40 -05:00
Jaidyn Ann 2501e3e0de Fix handling of keys w multiple-words-like-this. 2024-06-23 12:16:56 -05:00
Jaidyn Ann 373f8a1194 Improve Makefile “test”, add general TEST package 2024-06-22 17:44:08 -05:00
Jaidyn Ann bf404c7605 Add core object tests to ACTIVITY-VOCABULARY
… also add RUN function to both test packages.
2024-06-22 15:07:58 -05:00
Jaidyn Ann fdbda3672f Fix JSON serialization issue with double-commas
… I forgot to add an output to YASON:ENCODE!
2024-06-22 13:33:05 -05:00
Jaidyn Ann 8e58c7b1a4 Remove unused function, ALIST-REMOVE-KEYS 2024-06-22 00:33:28 -05:00
Jaidyn Ann ddc3add769 Fix serializing @context & type in nested objects 2024-06-21 18:15:47 -05:00
Jaidyn Ann 299a529151 Formatting tweaks, no functional change 2024-06-19 22:13:49 -05:00
Jaidyn Ann 75e3a964a8 Begin parsing of ActivityPub JSON objects
It is naïve and error-prone, but it works somewhat well!
What remains, primarily, is error-handling.
2024-06-19 22:13:33 -05:00
Jaidyn Ann 780951faaa Merge @contexts of nested JSON-LD objects 2024-06-19 19:07:22 -05:00
Jaidyn Ann a12e02c51b Re-organization, no functional change 2024-06-16 22:52:11 -05:00
Jaidyn Ann b6582e2537 Encode AV object’s “type” into JSON objects 2024-06-16 22:51:09 -05:00
Jaidyn Ann df994f3240 JSON tweaks: Objects-in-objects, ignore nil slots 2024-06-16 22:25:59 -05:00
Jaidyn Ann c205dff8ea Actually define a YASON encoder for every class
… I’m not even sure what I committed earlier.
2024-06-16 21:10:36 -05:00
Jaidyn Ann f694f44f3b Export all ActivityVocabulary slot accessors 2024-06-16 20:58:19 -05:00
Jaidyn Ann c2a97ba600 Use slot for JSON @context; default slots to nil 2024-06-16 20:56:45 -05:00
Jaidyn Ann 41c09bd7e7 Define a base-bones YASON encoder for every type
Using macros and MOP… talk about overkill! But I
was too lazy to do it otherwise. =w=
2024-06-16 20:52:30 -05:00
Jaidyn Ann 963c03db89 Export classes from activity-vocabulary package 2024-06-12 22:36:13 -05:00
Jaidyn Ann 8cf27ed4d4 Add classes for ActivityVocab extended link types 2024-06-12 22:30:01 -05:00
Jaidyn Ann b46f81caf3 Add ActivityVocab extended object types’ classes 2024-06-12 22:29:27 -05:00
Jaidyn Ann e1aec19a43 Add classes for ActivityVocab extended Actor types 2024-06-12 22:21:48 -05:00
Jaidyn Ann a604d74b5b Classes for ActivityVocab’s extended Activities 2024-06-12 22:20:05 -05:00
Jaidyn Ann 984b3d5b2a Begin work on ActivityVocabulary classes 2024-06-12 16:06:45 -05:00
Jaidyn Ann 4339dca96e Rename OpenSSL signature more generically 2024-06-12 16:06:01 -05:00
Jaidyn Ann 4287ff4cd3 Add first unit test; also fix sha256sum 2024-06-10 22:16:54 -05:00
Jaidyn Ann ee06e1e80d Tweak system definitions 2024-06-10 19:28:18 -05:00
Jaidyn Ann 94ff3fa326 Formatting tweaks (No functional change) 2024-06-10 19:28:05 -05:00
Jaidyn Ann 566b5e696c Split HTTP-signature functions into own package
Modularization!
2024-06-10 18:10:19 -05:00
Jaidyn Ann 6852d63a43 Fix system definition, move hard-coded key paths 2024-06-08 16:12:37 -05:00
Jaidyn Ann a62cf06f1b Fix HTTP-signatures vis-a-vis Pleroma 2024-06-08 16:12:02 -05:00
Jaidyn Ann 7adda41c71 Functional HTTP signatures
… using extenal binary of OpenSSL. Not ideal, but
it works for now!
2024-06-06 23:53:43 -05:00
Jaidyn Ann b66c166aff Move *.lisp to src/ 2024-06-06 21:39:27 -05:00
Jaidyn Ann dc2d58677f Fix Content-type used
application/activity+json over
application/ld+json, which Pleroma doesn’t seem to
like.
2024-03-24 10:58:09 -05:00
Jaidyn Ann 05fd026c84 Begin authorization; tweak webfinger & user-profs
Tweaks webfinger output & user-profile data to be
more along the lines of Mastodon et. al.

Also contains the beginnings of
signature-generation required for actually sending
messages.
2023-12-19 23:37:33 -06:00
Jaidyn Ann f48d5ed8c2 Basic support for .well-known/host-meta 2023-11-03 15:42:58 -05:00
Jaidyn Ann bad902ac50 RSA key-generation using openssl (yay… =w=') 2023-09-14 22:34:21 -05:00
Jaidyn Ann 504e155f5d Begin (provisional!!) RSA key management 2023-09-14 18:45:03 -05:00
Jaidyn Ann b5a1b1f645 Add license (AGPLv3) 2023-09-01 23:40:58 -05:00
Jaidyn Ann f2366f7858 Reformatting & system definition; no func. change 2023-09-01 22:20:13 -05:00
Jaidyn Ann 906d2b0624 Use Webtentacle for webfinger requests 2023-08-31 17:59:15 -05:00
Jaidyn Ann b5961be00c Tweak server startup 2023-05-27 23:31:05 -05:00
Jaidyn Ann cd2862cb93 Webfinger response; “config” support 2023-05-25 22:51:38 -05:00
Jaidyn Ann d27eed97e8 Clean up path parsing; URI params to alist 2023-05-25 15:59:10 -05:00
Jaidyn Ann 20ea5d46ee Init 2023-05-25 08:59:17 -05:00