summaryrefslogtreecommitdiff
path: root/app/models/node_action.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/node_action.rb')
-rw-r--r--app/models/node_action.rb30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/models/node_action.rb b/app/models/node_action.rb
index 82a3ef44..0167762b 100644
--- a/app/models/node_action.rb
+++ b/app/models/node_action.rb
@@ -107,6 +107,36 @@ class NodeAction < ApplicationRecord
107 # participant differ: 107 # participant differ:
108 # "target_login" -- flat string, the affected account's login 108 # "target_login" -- flat string, the affected account's login
109 # 109 #
110 # "event_create" / "event_update" / "event_destroy" (calendar
111 # entries; participants: the Event and, when it has one, its Node,
112 # which also fills the node column. Deliberately not gated --
113 # events reach chapter pages and widgets, never the feeds, and
114 # protection here follows emission, not position).
115 #
116 # Events carry no revisions, so the log is their only history:
117 # every entry holds a full snapshot of the state it produced, and
118 # walking an event's entries reconstructs it. Times are ISO 8601
119 # and the rrule is raw, never humanised -- entries are read in both
120 # locales and event_schedule_text resolves that at render time.
121 # "event_title" -- flat string; the title, else the node's
122 # unique_name, else "#<id>"
123 # "start_time", "end_time" -- ISO 8601, when set
124 # "allday" -- boolean
125 # "rrule" -- raw RRULE, when set
126 # "location", "url" -- flat strings, when set
127 # "event_tags" -- array of names, sorted, always. Named apart
128 # from the node verbs' "tags", which is a pair,
129 # so one renderer cannot mistake the other.
130 # "path" -- the node's unique_name, when it has a node
131 #
132 # On "event_update" only, and only when something changed -- an
133 # update that changes nothing records no entry at all:
134 # "changes" -- {field => pair}, node_id resolved to paths
135 # under "node_path", tag_list under "tags",
136 # times as ISO 8601
137 # "description_changed" -- boolean; prose, flagged not quoted,
138 # as abstract_changed and body_changed are
139 #
110 # Reserved: "demote" (via "trash" | "depublish") for an explicit 140 # Reserved: "demote" (via "trash" | "depublish") for an explicit
111 # depublish workflow, if ever built. 141 # depublish workflow, if ever built.
112 # 142 #