Commit Graph

399 Commits

Author SHA1 Message Date
Fang
ee1fb2b4ab We no longer need to set local copies of remote desks to readable explicitly. 2018-02-09 12:59:42 +01:00
Fang
d7fdb4545e Ensure %kids desk is publicly readable.
Set permissions for that during boot and clay update.
2018-02-09 00:37:17 +01:00
Fang
f835ac4c57 Fix permission checks for %y and %z requests. 2018-02-09 00:35:42 +01:00
Fang
aa2843fedb Maintain old %warp interface. Use %werp for %west read requests.
This also makes live-updating to this new clay easier.
2018-02-08 17:11:32 +01:00
Fang
97eb2a91ae State adapter. 2018-02-08 14:39:53 +01:00
Fang
91fe74d7d6 Add requester ship to clay's %warp task to aid in permission checks for %wests. 2018-02-08 00:42:40 +01:00
Fang
f0ee403285 Misc small cleanup. 2018-02-07 22:28:33 +01:00
Fang
f296c9bbae Ensure local copies of foreign desks are always fully accessible. 2018-02-07 22:14:59 +01:00
Fang
c890dad271 Support %p requests. 2018-02-07 21:11:25 +01:00
Fang
3f7e76cca5 Implement requests for reading and writing permission groups. 2018-02-07 21:07:42 +01:00
Fang
8b0b82eb72 Implemented permission checks for read requests. 2018-02-07 21:04:07 +01:00
Fang
6a67b11915 Request sources are now properly bound to the requests, rather than only passed into the desk core initially. 2018-02-07 17:56:50 +01:00
Fang
1b231e82f8 Implement %perm clay request for setting permissions of a node. 2018-02-07 17:56:22 +01:00
Fang
3244cd2802 No longer deduce request source from duct, but pull from socks in %warp and %west as intended. 2018-02-06 21:57:38 +01:00
Fang
68809ff6e8 Proposal for accessing request source. 2018-01-26 16:24:25 +01:00
Fang
72d9a6abd4 Add new clay cards to gall. 2018-01-25 17:22:29 +01:00
Fang
a6a6081b0b Update state structures and related code. 2018-01-25 16:15:01 +01:00
Fang
c1dda042a8 Finalizing interface. 2018-01-25 00:09:46 +01:00
Fang
39f11b7ccd Updates interface to include support for write permissions. 2018-01-24 16:33:41 +01:00
Fang
a4f552cb8f Update clay permissions interface to always supply the source of a node's rule. 2018-01-24 14:30:58 +01:00
Fang
36d40e00de Merge commit 'af4fe5d88597a877135931aeedcc9d460262cf45' into clay-permissions 2018-01-24 14:29:54 +01:00
Ted Blackman
af4fe5d885
Merge pull request #597 from Fang-/clay-multisub
Clay %mult multiple cares
2018-01-23 14:48:31 -08:00
Fang
2e364287d7 Clay permissions interface proposal. 2018-01-23 22:52:31 +01:00
Fang
8a1da39aac Remove ++gift copy from internal clay structures. 2018-01-23 17:38:13 +01:00
Fang
7a0e2f216b Change %mult interface to allow different/multiple cares per path. 2018-01-23 17:35:12 +01:00
cgyarvin
c0e7a71633
Merge pull request #534 from mrdomino/master
New key for ~tyr
2018-01-22 16:22:48 -08:00
Ted Blackman
a8354821b0
Merge pull request #575 from Fang-/clay-multisub
Clay multi-%next: %mult (and fix for %next)
2018-01-22 11:16:13 -08:00
Fang
d9409e8dff Clean up ++cach. 2018-01-22 16:01:00 +01:00
Fang
635d235cd7 Made %mult requests produce only a case and set of paths.
It now works the way %next should.
2018-01-22 15:54:37 +01:00
Anton Dyudin
ebc95233a8
Update hoon.hoon
Fix #95 per request to just patch it on master
2018-01-19 13:42:50 -08:00
Fang
e3cbbd31a2 Consolidates the logic for %next and %mult.
Not thoroughly tested yet.
2018-01-19 01:54:41 +01:00
Ted Blackman
eda36249c2
Merge pull request #521 from Fang-/jael-burn
Reverted accidentally renamed jael tag.
2018-01-18 12:19:13 -08:00
cgyarvin
015972a51e
Merge pull request #538 from Fang-/gall-nocrash
Prevent gall from breaking things over bone 0
2018-01-18 11:30:52 -08:00
Fang
7044ee543b Fix erroneous indentation. 2018-01-18 19:07:57 +01:00
Fang
5bb364636d Fix an oopsie that was part of a change "lightly refactor ++wake %next" that accidentally made it into 4671526a. 2018-01-18 01:54:24 +01:00
Fang
e2b056eff9 Rewrite ++dedupe to roll instead of skim, and fix issue where it wasn't accounting for different cases correctly.
ie, it wasn't making sure that the found case was *actually* before the new request's case.
2018-01-18 01:25:58 +01:00
Fang
4671526a3e Make use of alias types more consistent. 2018-01-18 01:23:31 +01:00
Fang
70ad73e8ba Modified %mult to support past revisions, but with only a single case for all files. 2018-01-17 23:55:54 +01:00
Fang
5840c496c7 Fixed the ++start-request for next to properly take non-existing files into account when checking through older versions. 2018-01-17 16:49:16 +01:00
Fang
0d1b98852e Comments and cleanup based on feedback. 2018-01-17 16:43:20 +01:00
Fang
d4b0b408cf Fix %next to not cancel the subscription if the watched file doesn't yet exist.
Instead, register file creation as a change.
2018-01-15 23:45:33 +01:00
Fang
307b86bb3b Clay state adapter. 2018-01-15 20:24:11 +01:00
Fang
b2669ed2ed Add a %mult rave to the clay interface. Add a %wris gift to support its output.
%mult acts like %next, except it watches multiple paths. If any of them change, it sends all changes to the watched files in a %wris.
2018-01-15 20:23:37 +01:00
Anton Dyudin
3f9223094a add state adapter for %many refactoring 2018-01-10 17:59:15 -08:00
Fang
62b5310695 Consider passing bone 0 in cards invalid. 2018-01-08 23:05:10 +01:00
Steven Dee
942956c8c0 New key for ~tyr
Also put on an n in compliance with current Steven Dee naming
conventions (and various government IDs.)
2018-01-05 09:17:21 -05:00
Ted Blackman
845696a3a6 Fix Clay %next revision
adapted from commit 852997ac16a751c69775489c61ae8e5b650c9a50
2018-01-03 16:37:44 -08:00
Ted Blackman
6169a6311a adapt changes to ++rove
from commit 180751aa8223cdd66648ccc4e685fde784328585
2018-01-03 16:29:59 -08:00
Anton Dyudin
b2030e47f3 Fix gall scry
cf. aaa9267, fixes #512
2017-12-21 15:57:35 -08:00
Fang
6a0385eeeb Reverted accidentally renamed jael tag. 2017-12-21 22:44:17 +01:00