Mikolaj
781d87a848
Merge pull request #297 from tloncorp/mp/contacts-activity
...
contacts: implement activity
2024-11-21 22:02:18 +08:00
Mikołaj Paraniak
0889599961
contacts: refactor activity
2024-11-20 22:36:50 +08:00
Mikolaj
174e24dca1
Merge pull request #294 from tloncorp/mp/contacts-migration-fix
...
contacts: fix incorrect profile timestamp after migration
2024-11-11 22:16:26 +08:00
Mikołaj Paraniak
ded2e68a79
contacts: implement activity
2024-11-11 20:21:18 +08:00
Mikołaj Paraniak
d83e090d4e
contacts: handle null value in $action %edit
2024-10-30 23:19:02 +08:00
Mikołaj Paraniak
6f478565c3
contacts: fix incorrect profile timestamp after migration
...
During %0 to %1 migration, empty profiles have been wrongly
migrated with bunted timestamp, causing the subscribers
to crash on resubscription due to a failing assert. We
fix this by introducing several changes:
- bump the state number to %2
- initalize the profile with correct now.bowl timestamp in +on-init
- deploy migration to fix affected profiles
- re-enable the assertion prohibiting subscriptions
to a future-dated profile
Additionally, the +subs:pub arm is amended to never generate
an empty path list for a fact.
2024-10-29 18:04:12 +08:00
Mikołaj Paraniak
430d56d7d1
contacts: fix $response-0 JSON
2024-10-29 18:03:18 +08:00
Mikołaj Paraniak
984ed9e952
contacts: fix %response-0 JSON conversion
2024-10-25 22:58:19 +08:00
Mikołaj Paraniak
505ceb8afd
contacts: fix %contact-action-1 JSON conversion
2024-10-25 21:33:35 +08:00
Hunter Miller
f2d80643bf
Merge pull request #292 from tloncorp/hm/fix-contacts-breach-handling
...
contacts: remove unnecessary future check since we guard in fact intake
2024-10-24 16:50:48 -05:00
Hunter Miller
3bfa1f0684
contacts: only give pr
...
ofile if sub is older
2024-10-24 16:47:24 -05:00
Hunter Miller
420b1cd7c3
contacts: remove unnecessary future check since we guard in fact intake
2024-10-24 16:30:03 -05:00
Mikołaj Paraniak
5a50b89356
contacts: fix missing /epic wire in +agent
...
During initial migration lib-negotiate will attempt to re-establish
existing subscriptions. If a ship had subscribed on an epic wire,
this would lead to a crash.
2024-10-19 01:16:45 +08:00
Mikołaj Paraniak
ed68b08188
contacts: minor fixes
2024-10-15 11:17:05 +08:00
Mikołaj Paraniak
a6aca9825a
contacts: improve +sane-contact sanity checks
2024-10-14 13:42:46 +08:00
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
Mikolaj
9a59e2ab9b
Merge pull request #283 from tloncorp/mp/contacts
...
New %contacts agent. Implement contact book functionality with support for user-defined fields.
2024-10-11 12:00:20 +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