Commit Graph

79 Commits

Author SHA1 Message Date
Fang
17d7cd4f77 Change clay %w requests to produce both the number and date cases. 2018-05-02 23:37:03 +02:00
Fang
f090916f34 Adapt state. 2018-04-30 22:31:57 +02:00
Fang
7e39bd8a8b Remove special logic for the "next aeon to check is 0" case.
It shouldn't be able to occur anymore, so we're fine with being loud if it does.
2018-04-30 22:31:14 +02:00
Fang
0c1ed91dc6 Stored %next requests now point to the next revision they want to check for changes. 2018-04-30 22:28:57 +02:00
Fang
9f94497e87 When looking for changes at revision zero, look for file creation.
This fixes the symptom described in #681, but not the problem.
2018-04-30 16:23:05 +02:00
Joseph Bryan
a35bb28e69 replaces all uses of %# with %~ 2018-04-04 13:25:54 -07:00
Joseph Bryan
d6e1e3bc27 replaces all tall cnsg hoons with %# 2018-04-04 14:07:05 -04:00
Fang
e875efd771
Merge pull request #637 from Fang-/breach-cleanup
Pre-breach cleanup
2018-02-22 18:44:33 +01:00
Joe Bryan
f7329c5872 escapes "{" in tape print (++dash:us) (#636)
modifies ++dash:us to take a list of additional characters to escape
2018-02-22 16:03:13 +01:00
Fang
0d647de570 Clean up ++load of vanes. 2018-02-22 15:19:17 +01:00
Fang
7c747731ca For %crow tasks: Skim instead of murn. No longer include desks with no rules. 2018-02-13 20:04:47 +01:00
Fang
3b2543dfe8 Fixed and simplified logic in ++allowed-by. 2018-02-13 19:47:17 +01:00
Fang
a6c6714c5d Fixed incorrect recursion logic for finding permissions. 2018-02-13 19:45:24 +01:00
Fang
61505ff785 Clay task for retrieving the rules that apply to a group. 2018-02-12 17:57:59 +01:00
Fang
9f66086936 Permission list structure. 2018-02-12 17:57:04 +01:00
Fang
ab0dc23065 Return an error when trying to add rules that contain undefined permission groups. 2018-02-12 16:27:14 +01:00
Fang
8c532942b4 Deleting a permissions group now deletes it from all rules. 2018-02-12 16:02:32 +01:00
Fang
9f05d2f662 Add faces to clay ++task. 2018-02-09 14:48:08 +01:00
Fang
315823250f Add req alias for incoming requests. 2018-02-09 13:33:15 +01:00
Fang
e541a55575 Cleanup and stylistic changes. 2018-02-09 13:25:46 +01:00
Fang
f60bb7efc1 Actually do permission checks in ++lobes-at-path, for %many requests. 2018-02-09 13:00:12 +01:00
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
a6a6081b0b Update state structures and related code. 2018-01-25 16:15:01 +01:00
Fang
39f11b7ccd Updates interface to include support for write permissions. 2018-01-24 16:33:41 +01:00
Fang
36d40e00de Merge commit 'af4fe5d88597a877135931aeedcc9d460262cf45' into clay-permissions 2018-01-24 14:29:54 +01: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
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
Fang
e3cbbd31a2 Consolidates the logic for %next and %mult.
Not thoroughly tested yet.
2018-01-19 01:54:41 +01: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