Commit Graph

248 Commits

Author SHA1 Message Date
fang
74fff24b0f
gen: prevent re-creating existing moons in |moon
Apparently the operation triggered by this generator may cause the rift
for the specified moon to be inaccurate if |moon-breach was run
previously.

Here, detect if the moon has been created before, and recommend the
other generators if that is the case.
2024-04-04 16:34:53 +02:00
midden-fabler
6cb7702267 gen: |cp add recursive copy 2024-03-14 14:48:33 -04:00
Pyry Kovanen
6b94db25be
Revert "Revert "kiln: OTA merge approval (UIP 114)"" 2023-09-21 13:55:55 +03:00
Pyry Kovanen
bca8e46895
Revert "kiln: OTA merge approval (UIP 114)" 2023-09-21 13:39:23 +03:00
Tinnus Napbus
b59525a203 kiln: OTA merge control
- let users disable automatic OTA merging for a sync or globally
- a sync can be set to manual, automatic or global default
- unapproved non-auto updates must be approved by the user
2023-09-15 22:20:42 +12:00
Tinnus Napbus
c8ab40c87a Merge branch 'next/kelvin/411' into desk-publisher-switcher 2023-08-31 01:44:40 +12:00
Tinnus Napbus
4440eaced6 kiln: make publisher change requests require approval 2023-08-07 21:24:52 +12:00
Tinnus Napbus
c4b612dac5 gen/hood: add +change-publisher generator 2023-07-28 23:43:17 +12:00
yosoyubik
20cb84d037 Merge branch 'next/kelvin/412' into yu/enable-close-flows 2023-06-28 15:51:37 +02:00
midden-fabler
0fd592a25d hood: remove deprecated generators 2023-06-17 01:26:10 -04:00
yosoyubik
d54b3645cb gen: restore sorting flows by nonce
This was removed when the logic for re-subscriptions was taken from %ames
into the generator. Sorting allows us to keep the current (last) subscription
as the last in the list, and in this case we check if it received an ack for
a naxplanation—see https://github.com/urbit/urbit/issues/6065#issuecomment-1322011137—
in which case it's safe to be corked.
2023-06-12 16:04:46 +02:00
yosoyubik
9851771564 ames: account for / in pre-nonce %watches 2023-06-07 19:25:35 +02:00
yosoyubik
68db0b4e03 ames: move +on-kroc logic to |close-flows
+on-kroc was cluttered with ad-hoc logic to indentify stale flows from
failed resubscriptions that were not properly %corked. Here we move
that logic to a generator that, if not in dry mode, will call %ames with a
(list  [ship bone]) to %cork them.

Another option would be to move the logic in the generator to a state
update in ames, which will trigger possibly thousands of %ames messages
to be sent, on every ship that runs the state migration—these flows are
not causing a problem that neds to be addressed, and only take extra
space.

If we decide that this needs to be run by everyone, one solution could be
to set up a timer (maybe taking advantage of the fact that ships don't get
the OTA a the same time) that will eventually poke %hood with a
%helm-ames-kroc task.
2023-06-07 15:55:50 +02:00
Sigilante
0762b90daa
Update story-remove.hoon 2023-05-04 16:25:39 -05:00
Sigilante
03da1cb4f9
Update story-write.hoon 2023-05-04 16:22:44 -05:00
Sigilante
6389776fc1
Update story-init.hoon 2023-05-04 16:17:50 -05:00
~wicrum-wicrun
9b636eb188
Merge pull request #6399 from urbit/next/kelvin/413
413k
2023-04-25 17:46:31 +02:00
Ted Blackman
84cd948f30 Merge branch 'next/kelvin/413' into i/5788/remote-scry 2023-04-22 14:33:20 -04:00
silnem2
dbc40b3959 gen: rewrite |suspend to use %kiln-suspend-many mark 2023-04-21 09:02:39 -06:00
Joe Bryan
c864f95598 ames: drop %pine 2023-04-18 10:25:45 -04:00
silnem2
36fb1303d3 gen: update |suspend to take a list of desks 2023-04-13 08:39:28 -06:00
Alex Shelkovnykov
ac1a0ffdee Change JSON parser arms to match |base16:html 2023-04-11 14:59:15 -06:00
yosoyubik
538b0e920e Merge branch 'develop' into i/5788/remote-scry 2023-04-07 19:24:08 +02:00
yosoyubik
d406344081 lull, ames: add %wham to cancel all scry requests
(we might want to add permissioning to restrict who can send %whams)
2023-04-01 09:20:49 +02:00
yosoyubik
55dffb59e7 ames: add all=? flag to fine %yawn task
if all=& in |yawn, it will delete all listeners ducts,
without notifying them about it, which seems bad,
so we migh adress that separatedly.

Also, it might be cleaner to have a separate task instead of
a flag, to have two paths for "remove me" and "remove all",
this way there won't be an option for a listener to remove all
others, and that will have to be handled explicitly.
2023-03-31 15:45:51 +02:00
Alessio
38ace43ca0 arvo: change |new-desk to be minimal by default 2023-03-29 14:20:23 -03:00
yosoyubik
8cc9433f57 ames: use sys.kelvin as default in |keen 2023-03-28 13:43:15 +02:00
Alessio
00b7ace08d arvo: add more files to |new-desk generator 2023-03-27 23:58:19 -03:00
yosoyubik
dd0f35c8ad Merge branch 'm/contdist-and-behn' into i/5788/remote-scry 2023-03-21 18:01:17 +01:00
yosoyubik
003613d1d5 Merge branch 'develop' into yu/ames-snub-whitelist 2023-03-17 14:05:38 +01:00
Josh Lehman
dbe6f7fd20
Merge branch 'develop' into i/6264/ames-snub-whitelist 2023-03-16 08:30:57 -07:00
yosoyubik
02f01cf14c Merge branch 'develop' into i/6103/ames-refactor 2023-03-16 09:27:22 +01:00
dachus
0286ca7b5b dome:clay => domo, moved to lull, full scry enabled 2023-03-15 08:35:59 -04:00
yosoyubik
2724523a26 Merge branch 'develop' into i/6103/ames-refactor 2023-03-12 09:46:44 +01:00
Josh Lehman
3177067d96
Merge branch 'develop' into i/6264/ames-snub-whitelist 2023-03-03 09:54:35 -08:00
Josh Lehman
8ddc15a001
Revert "hood: recursive |tomb" 2023-03-03 08:52:17 -08:00
Marcus
3b91a3f0be ames: snubbed scry and whitelist 2023-03-02 18:21:36 -03:00
Ted Blackman
ccc35277a1
Merge pull request #6056 from urbit/jm/tomb-recurse
hood: recursive `|tomb`
2023-03-01 17:29:13 -05:00
Ted Blackman
c4d3d446fb |tomb: indentation 2023-03-01 16:05:29 -06:00
ryjm
f218327986 tomb: remove |rm prompt
if you're trying to tombstone at the head of the desk, you probably
don't know what you're doing. so we abort.

we keep the option to `|rm` any matching hashes in other desks since
this is something the tombstoner might not know exists in advance and is
actively blocking them from completing the desired tombstone operation.
2023-02-27 12:25:29 -05:00
yosoyubik
5e64bdd833 ames: add |ames-cong 2023-02-23 13:45:59 +01:00
fang
1cc647938d
drum: make |knob work again
This should no longer go into dill, but instead be controlled by drum
directly, since that's where system output gets rendered now (in the
common/default case).
2023-02-21 17:29:16 +01:00
yosoyubik
21158d6d54 ames: style fixes and comments 2023-02-14 06:06:41 +01:00
ryjm
47ab7efb27 formatting 2023-02-11 14:38:06 -05:00
ryjm
2849d3a64d tomb: better prompting, docs 2023-02-11 14:20:32 -05:00
ryjm
5ea54394d0 tomb: make more recursive, offer rm
wasn't properly descending into directories next to files with the same
name.

now offers to remove files that can't be tombstoned. can choose to
remove the file at the head of the current desk or from the files on
other desks sharing the same hash.
2023-02-09 23:48:30 -05:00
ryjm
d5e304b2e2 Merge remote-tracking branch 'origin/develop' into jm/tomb-recurse 2023-02-09 11:35:17 -05:00
Ted Blackman
011b19d0e2
minor cleanup
indentation; also removed a superfluous |- just after a |^
2023-02-08 13:02:11 -05:00
Amadeo Bellotti
b360fed0a5 Applied @ryjm's indent patch 2023-02-08 10:03:42 -05:00
yosoyubik
ee76b97f49 ames: fix |close-flow generator 2023-02-06 16:38:59 +01:00