Commit Graph

362 Commits

Author SHA1 Message Date
Mikołaj Paraniak
d8ffc6c567 contacts: cleanup 2024-10-14 13:41:49 +08:00
Mikołaj Paraniak
28688c84f7 contacts: update unit tests 2024-10-14 13:10:15 +08:00
Mikołaj Paraniak
c58ef16c21 contacts: type check fields without crashing in +sane-contact 2024-10-14 12:27:43 +08:00
Mikołaj Paraniak
306c439903 contacts: consistently use %look for cover and avatar fields 2024-10-14 11:20:06 +08:00
Mikołaj Paraniak
384939f105 contacts: test profile timestamp logic; fix saga type
The .saga field of $foreign used to be defined as a nullable type $@(~ saga). However, $saga itself can take on atomic values, breaking the semantics of $@. Hoon compiler does not catch this error at compile time, however validating the type (and any type containing it) is going to fail.
2024-10-11 11:55:48 +08:00
Mikolaj
059284f7f3
contacts: fix +sane-contact data URL check
Co-authored-by: Hunter Miller <svarty1@gmail.com>
2024-10-02 17:10:37 +08:00
Mikołaj Paraniak
412e084c47 contacts: fix docs 2024-09-25 14:50:13 +08:00
Mikołaj Paraniak
1edc4a96f9 contacts: adjust subscription retry timer to ~m30 2024-09-25 14:18:58 +08:00
Mikołaj Paraniak
853b707175 contacts: unify %page and %spot pokes into %page 2024-09-25 14:05:11 +08:00
Mikołaj Paraniak
5dd27e71f0 contacts: fix lib-negotiate 2024-09-25 12:36:10 +08:00
Mikołaj Paraniak
9a21040759 contacts: validate %nickname, %bio fields 2024-09-25 12:05:41 +08:00
Mikołaj Paraniak
5b7ed3469f contacts: refactoring 2024-09-24 12:17:48 +08:00
Mikołaj Paraniak
c99da6bc8b contacts: fix +sane-contact; refactoring 2024-09-24 10:17:26 +08:00
Mikołaj Paraniak
48b2548865 contacts: improve naming in ^pub 2024-09-23 17:49:58 +08:00
Mikołaj Paraniak
06f71eb11e contacts: perform runtime type check for $contact 2024-09-23 15:20:28 +08:00
Mikołaj Paraniak
6f820be428 contacts: rename conversion cores 2024-09-23 14:34:42 +08:00
Mikołaj Paraniak
75ba2b727b contacts: fix marks 2024-09-23 13:13:39 +08:00
Mikołaj Paraniak
730eb97a41 contacts: implement subscription retry 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
8e31959390 contacts: remove lib-subscriber
lib-subscriber expects that subscription wires contain
enough information to differentiate subscriptions, which
is not true for in %contacts: the /contact wire does not carry
peer information.
2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
a64ccadd61 import lib-subscriber 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
b2accdd7e5 contacts: refactoring 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
b843ceb7fc contacts: implement number field type %quot 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
1294dda6a2 contacts: refactor 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
5e7ea0ed39 contacts: fix contact sanity check placement 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
33bcbd9c15 contacts: improved contact editing; refactoring 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
840c14cedc contacts: contact page updates no longer broadcast v0 news 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
666b444247 contacts: test v1 marks 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
8b6ca48be8 contacts: fix agent unit tests 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
9403a49581 contacts: remove v0 /contact endpoints; fix +load in lib-negotiate 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
2b6d83840a contacts: state migration 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
838634f39f contacts: add lib-negotiate to /lib 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
c4efedc1d4 contacts: implement v1 json conversions 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
7229969871 contacts: implement /x/v1/all scry 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
03dc397c8e contacts: meet unknown peers upon %spot 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
172bd9b0a5 contacts: %drop now does not alter the contact book 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
fccb783c48 contacts: more tests 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
6c21ce9819 contacts: test agent 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
f8f328d7d6 contacts: move helper core to /lib 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
8e37e6adaf contacts: key book also by ship 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
0e8d423b8a contacts: subscription client v1 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
207b31ce7e contacts: unlink old page upon peer spot 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
24f5deb887 contacts: implement v1 scries 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
41855fee0f contacts: implement new +pub core 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
2309614868 contacts: move to state-1 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
5c5a936d55 contacts: improve surs 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
97ea7f08a3 contacts: minor improvement 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
fb20b2d3e4 %contacts: structures v1 2024-09-23 09:57:27 +08:00
Mikołaj Paraniak
d6f293775c contacts: draft new structures 2024-09-23 09:57:27 +08:00
Hunter Miller
773a637e2f reel: dont undescribe if we had an old token because we dont want to invalidate links we passed out 2024-09-20 11:45:29 -05:00
Hunter Miller
10be27dad6 reel: new endpoint for getting urls async 2024-09-17 12:26:55 -05:00