2019-12-06 02:42:38 +03:00
|
|
|
/- *rw-security
|
2019-06-05 00:29:53 +03:00
|
|
|
|%
|
|
|
|
::
|
2019-12-06 02:42:38 +03:00
|
|
|
+$ group-info
|
2020-02-06 22:07:11 +03:00
|
|
|
$: group-path=path
|
|
|
|
invitees=(set ship)
|
|
|
|
use-preexisting=?
|
|
|
|
make-managed=?
|
2019-12-06 02:42:38 +03:00
|
|
|
==
|
|
|
|
::
|
2019-12-09 20:10:03 +03:00
|
|
|
+$ action
|
2019-12-14 01:27:37 +03:00
|
|
|
$% [%new-book book=@tas title=@t about=@t coms=? group=group-info]
|
2019-12-06 02:42:38 +03:00
|
|
|
[%new-note who=@p book=@tas note=@tas title=@t body=@t]
|
|
|
|
[%new-comment who=@p book=@tas note=@tas body=@t]
|
|
|
|
::
|
2019-12-14 01:27:37 +03:00
|
|
|
[%edit-book book=@tas title=@t about=@t coms=? group=(unit group-info)]
|
|
|
|
[%edit-note who=@p book=@tas note=@tas title=@t body=@t]
|
|
|
|
[%edit-comment who=@p book=@tas note=@tas comment=@tas body=@t]
|
2019-12-06 02:42:38 +03:00
|
|
|
::
|
|
|
|
[%del-book book=@tas]
|
|
|
|
[%del-note who=@p book=@tas note=@tas]
|
|
|
|
[%del-comment who=@p book=@tas note=@tas comment=@tas]
|
|
|
|
::
|
|
|
|
[%subscribe who=@p book=@tas]
|
|
|
|
[%unsubscribe who=@p book=@tas]
|
2020-01-09 02:13:42 +03:00
|
|
|
::
|
|
|
|
[%read who=@p book=@tas note=@tas]
|
2020-04-22 00:28:25 +03:00
|
|
|
::
|
|
|
|
[%groupify book=@tas target=(unit path) inclusive=?]
|
2019-12-06 02:42:38 +03:00
|
|
|
==
|
|
|
|
::
|
2020-04-09 19:38:07 +03:00
|
|
|
+$ comment comment-3
|
|
|
|
::
|
|
|
|
+$ comment-2
|
2019-12-09 20:10:03 +03:00
|
|
|
$: author=@p
|
2019-06-05 00:29:53 +03:00
|
|
|
date-created=@da
|
2019-12-09 20:10:03 +03:00
|
|
|
content=@t
|
2019-06-05 00:29:53 +03:00
|
|
|
==
|
|
|
|
::
|
2020-04-09 19:38:07 +03:00
|
|
|
+$ comment-3
|
|
|
|
$: author=@p
|
|
|
|
date-created=@da
|
|
|
|
content=@t
|
|
|
|
pending=?
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ note note-3
|
|
|
|
::
|
|
|
|
+$ note-2
|
|
|
|
$: author=@p
|
|
|
|
title=@t
|
|
|
|
filename=@tas
|
|
|
|
date-created=@da
|
|
|
|
last-edit=@da
|
|
|
|
read=?
|
|
|
|
file=@t
|
|
|
|
snippet=@t
|
|
|
|
comments=(map @da comment-2)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ note-3
|
2019-12-09 20:10:03 +03:00
|
|
|
$: author=@p
|
2019-06-05 00:29:53 +03:00
|
|
|
title=@t
|
|
|
|
filename=@tas
|
|
|
|
date-created=@da
|
2019-12-09 20:10:03 +03:00
|
|
|
last-edit=@da
|
2019-12-19 01:45:37 +03:00
|
|
|
read=?
|
2019-12-09 20:10:03 +03:00
|
|
|
file=@t
|
2020-02-01 02:00:06 +03:00
|
|
|
snippet=@t
|
2019-12-09 20:10:03 +03:00
|
|
|
comments=(map @da comment)
|
2020-04-09 19:38:07 +03:00
|
|
|
pending=?
|
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ notebook notebook-3
|
|
|
|
::
|
|
|
|
+$ notebook-2
|
|
|
|
$: title=@t
|
|
|
|
description=@t
|
|
|
|
comments=?
|
|
|
|
writers=path
|
|
|
|
subscribers=path
|
|
|
|
date-created=@da
|
|
|
|
notes=(map @tas note-2)
|
|
|
|
order=(list @tas)
|
|
|
|
unread=(set @tas)
|
2019-06-05 00:29:53 +03:00
|
|
|
==
|
|
|
|
::
|
2020-04-09 19:38:07 +03:00
|
|
|
+$ notebook-3
|
2019-12-09 20:10:03 +03:00
|
|
|
$: title=@t
|
2019-12-14 01:27:37 +03:00
|
|
|
description=@t
|
|
|
|
comments=?
|
|
|
|
writers=path
|
|
|
|
subscribers=path
|
2019-06-05 00:29:53 +03:00
|
|
|
date-created=@da
|
2019-12-09 20:10:03 +03:00
|
|
|
notes=(map @tas note)
|
|
|
|
order=(list @tas)
|
2019-12-19 01:45:37 +03:00
|
|
|
unread=(set @tas)
|
2019-12-14 01:27:37 +03:00
|
|
|
==
|
|
|
|
::
|
|
|
|
+$ notebook-info
|
|
|
|
$: title=@t
|
|
|
|
description=@t
|
|
|
|
comments=?
|
|
|
|
writers=path
|
2019-12-09 20:10:03 +03:00
|
|
|
subscribers=path
|
2019-06-05 00:29:53 +03:00
|
|
|
==
|
|
|
|
::
|
2020-01-22 23:47:00 +03:00
|
|
|
+$ old-info
|
|
|
|
$: owner=@p
|
|
|
|
title=@t
|
|
|
|
filename=@tas
|
|
|
|
comments=?(%open %closed %none)
|
|
|
|
allow-edit=?(%post %comment %all %none)
|
|
|
|
date-created=@da
|
|
|
|
last-modified=@da
|
|
|
|
==
|
|
|
|
+$ old-comment
|
|
|
|
$: $: creator=@p
|
|
|
|
collection=@tas
|
|
|
|
post=@tas
|
|
|
|
date-created=@da
|
|
|
|
last-modified=@da
|
|
|
|
==
|
|
|
|
content=@t
|
|
|
|
==
|
|
|
|
::
|
2019-12-09 20:10:03 +03:00
|
|
|
+$ notebook-delta
|
2019-12-14 01:27:37 +03:00
|
|
|
$% [%add-book host=@p book=@tas data=notebook]
|
|
|
|
[%add-note host=@p book=@tas note=@tas data=note]
|
|
|
|
[%add-comment host=@p book=@tas note=@tas comment-date=@da data=comment]
|
|
|
|
::
|
|
|
|
[%edit-book host=@p book=@tas data=notebook]
|
|
|
|
[%edit-note host=@p book=@tas note=@tas data=note]
|
|
|
|
[%edit-comment host=@p book=@tas note=@tas comment-date=@da data=comment]
|
|
|
|
::
|
|
|
|
[%del-book host=@p book=@tas]
|
|
|
|
[%del-note host=@p book=@tas note=@tas]
|
|
|
|
[%del-comment host=@p book=@tas note=@tas comment=@da]
|
2019-06-21 23:24:33 +03:00
|
|
|
==
|
|
|
|
::
|
2019-12-14 01:27:37 +03:00
|
|
|
+$ primary-delta
|
|
|
|
$% notebook-delta
|
2020-01-09 02:13:42 +03:00
|
|
|
[%read who=@p book=@tas note=@tas]
|
2019-12-14 01:27:37 +03:00
|
|
|
==
|
2019-06-05 00:29:53 +03:00
|
|
|
--
|