Commit Graph

152 Commits

Author SHA1 Message Date
Joe Bryan
8b1e66c6a1 Merge branch 'next/kelvin/411' into next/hoon/138 2023-10-04 21:58:48 -04:00
Marcus
71ccdbe4ab json: remove deprecated JSON parser calls 2023-07-24 15:18:11 +03:00
Alex Shelkovnykov
9509254a2d hoon: remove rut:by, duplicate of urn:by 2023-06-17 13:37:26 -04:00
Hunter Miller
5f67d79411 landscape: use correct args and syntax 2023-05-01 14:26:38 -05:00
Hunter Miller
565869f86d landscape: compat w/ 413 2023-05-01 09:59:19 -05:00
Alex Shelkovnykov
ac1a0ffdee Change JSON parser arms to match |base16:html 2023-04-11 14:59:15 -06:00
~midsum-salrux
9cf887d1f1 Working migration 2023-02-10 15:19:08 -05:00
~midsum-salrux
71204db957 Merge branch 'master' into ns/migrate-my-channels 2023-02-08 21:29:13 -05:00
~midsum-salrux
ede8a515ba Early draft of migration 2023-02-08 21:29:09 -05:00
fang
4d260147d4
chat-cli: put it to rest
Old groups software, no longer supported. Don't want this to be
re-linked and confuse people just trying to use their dojo.
2023-01-20 20:56:50 +01:00
fang
5a284197bf
Merge branch 'next/dill' into m/drum-sessions 2023-01-05 22:23:20 +01:00
Hunter Miller
2506fb85f8
Merge pull request #6157 from urbit/lf/rebuild-wait-2
group-store: allow rebuilding .wait state
2023-01-04 13:10:00 -06:00
Hunter Miller
9316aebec7 group-store: only run rebuild once 2023-01-04 12:40:18 -06:00
Hunter Miller
563aed6b7f group-store: automatically run rebuild on load 2023-01-04 11:17:44 -06:00
Hunter Miller
936835cd0c groups-store: fixing wire check for leaves 2023-01-03 18:50:05 -06:00
Hunter Miller
264678a908 group-store: correct target 2023-01-03 18:17:02 -06:00
Hunter Miller
4e3698f327 group-store: instead of only watching missing, restart any migration subscriptions that might be bad 2023-01-03 17:47:26 -06:00
tomholford
0f5433c014 Merge branch 'master' into next/groups 2023-01-03 14:16:28 -08:00
fang
a15111a35c
Merge branch 'next/arvo' into m/drum-sessions 2023-01-03 17:19:32 +01:00
Zach Alberico
0153d11972
Merge branch 'master' into lf/rebuild-wait-2 2022-12-15 17:36:44 -08:00
Liam Fitzgerald
4df4a16881 group-store: add %rebuild poke 2022-12-14 13:29:17 -06:00
Liam Fitzgerald
48978bd940 group-store: allow rebuilding 2022-12-14 12:46:36 -06:00
Philip Monk
e1419d1787 contact-store: no-op if adding old contact
%contact-store is responsible for sending updates about contacts, eg
profile color.  When it hears an update, it fans that out to its
subsribers, unless that update is stale.  If you reguarly fan out stale
updates, then they reverberate across the network indefinitely -- we
call this "echoing".

To cut off this echoing, all edits have a timestamp, and we consider any
updates from before this timestamp to be stale.  Additions are separate
from edits, and for them we instead do a value comparison on the contact
-- if it didn't change, we consider the update stale.

The problem with this scheme is that if an addition and edit happen one
after the other in quick succession, you might have the following
sequence:

- add comes in with timestamp T1
- edit comes in with timestamp T2 after T1
- we hear an echo of the add, and that errantly applies because it
  passes our "did the contact actually change" check
- we hear an echo of the edit, which applies because T2 is after T1
- GOTO 3

Each time we apply the stale update, we fan that out to our subscribers,
and if any two hosts subscribe to each other, this will loop.  This may
even loop unconditionally because the ship that made the profile changes
seems like it might not recognize that those changes didn't come from
itself, so it sends them to all the groups it's in.  If so, that's an
important issue to fix.

Fixes tloncorp/landscape-issues#1442
2022-12-12 13:03:41 -07:00
Hunter Miller
cec4e11448
Merge pull request #6141 from urbit/hm/change-ota-source
migration: set official ota source
2022-12-09 12:22:50 -06:00
Hunter Miller
ff0231e761 migration: set official ota source 2022-12-09 12:22:04 -06:00
Hunter Miller
38919352c8 migration: adding crash fix 2022-12-09 11:07:51 -06:00
Liam Fitzgerald
4584067e7d Merge branch 'lf/gladio-2' 2022-12-09 15:23:18 +10:00
Liam Fitzgerald
cf2c73a0e1 group-store: make %migrate idempotent 2022-12-09 12:39:47 +10:00
Liam Fitzgerald
eedc50f9e4 group-store: add /wait endpoints 2022-12-09 12:22:22 +10:00
Liam Fitzgerald
1a1dec6268 group-store: handle alpha correctly 2022-12-09 09:34:56 +10:00
Hunter Miller
8ac999593a migration: update source 2022-12-08 10:55:03 -06:00
Hunter Miller
e4560339ec migration: fixing state versions 2022-12-08 07:53:00 -06:00
Liam Fitzgerald
d9a895c214 Merge remote-tracking branch 'origin/master' into lf/migration-prep 2022-12-07 08:32:05 +10:00
Liam Fitzgerald
e600ded69c migration: install %talk 2022-12-07 08:30:04 +10:00
Liam Fitzgerald
6841f726a7 metadata-pull-hook: disabling remove on nack 2022-12-05 13:09:30 +10:00
Liam Fitzgerald
e4827915d8 group-pull-hook: disabling remove on nack 2022-12-05 13:08:51 +10:00
Liam Fitzgerald
a4c597d281 graph-pull-hook: do not archive on nack 2022-12-05 11:07:40 +10:00
Hunter Miller
c3d4c538aa Revert "migration: correcting take-migrate ship"
This reverts commit ec23cc5318.
2022-11-30 20:13:42 -06:00
Hunter Miller
92c6ffa283 Revert "migration: fixing bad @tas"
This reverts commit 81419a8a03.
2022-11-30 20:13:23 -06:00
Hunter Miller
cae675f4d4 Revert "migration: correctly parsing ship"
This reverts commit 173b641df4.
2022-11-30 20:12:23 -06:00
Hunter Miller
feb305b59e Revert "migration: undoing ship/src.bowl change, adding logging to imports"
This reverts commit de1cdcefbb.
2022-11-30 20:12:17 -06:00
Hunter Miller
de1cdcefbb migration: undoing ship/src.bowl change, adding logging to imports 2022-11-30 16:46:47 -06:00
Hunter Miller
173b641df4 migration: correctly parsing ship 2022-11-30 15:31:56 -06:00
Hunter Miller
81419a8a03 migration: fixing bad @tas 2022-11-30 15:26:25 -06:00
Hunter Miller
ec23cc5318 migration: correcting take-migrate ship 2022-11-30 15:20:11 -06:00
Liam Fitzgerald
0a555981cc landscape: optionally disable memory mitigations in OTA 2022-11-29 13:25:15 +10:00
Liam Fitzgerald
37339bed31 group-store: cleanup sign handling 2022-11-29 13:17:28 +10:00
Liam Fitzgerald
06a2fe5b69 landscape: crash the event if migration fails 2022-11-29 13:12:10 +10:00
Liam Fitzgerald
ce1332565e graph-store: drop signatures 2022-11-25 18:14:53 +10:00
Liam Fitzgerald
8f6366d1c9 landscape: remove testing cruft 2022-11-25 12:32:13 +10:00