registrar

Files related to my duties as Registrar of Agora Nomic
git clone git://juanmeleiro.mat.br/registrar
Log | Files | Refs | README

commit 15dd084a9ea006c19d5cfe1b26bcf779b43c5688
parent 206d4e8a9f90c71402f5bd5a055b2b1e0187934c
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date:   Mon, 22 Apr 2024 16:27:17 -0300

Activate cuddlybanana and Goren Barak

Diffstat:
Mlib/activity.lua | 2--
Mlog.json | 10++++++++++
Mplayers.json | 12++++++------
3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/lib/activity.lua b/lib/activity.lua @@ -6,7 +6,6 @@ local _M = {} function _M.activate(args, players, log) die(not players[args.name], string.format("No player %s", args.name)) local h = table.query(players[args.name].history, function (h) return h.reason == "s" end) - pprint.pprint(h) die(h.active, "Player is already active.") h.active = true h.latest = os.date("%Y-%m-%d", args.when) @@ -27,7 +26,6 @@ function _M.deactivate(args, players, log) die(not h.active, "Player is already inactive.") h.active = false h.latest = os.date("%Y-%m-%d", args.when) - pprint.pprint(h) table.insert(log, { what = "deactivation", who = args.name, diff --git a/log.json b/log.json @@ -429,5 +429,15 @@ "whence": "mqyhlkahu@gmail.com", "where": "CALD2J_d=RpfvGHG=Su8Bxq+WducN7GJ2=+4EoGjZGP2Th6++NA@mail.gmail.com", "who": "mqyhlkahu" + }, + { + "what": "activation", + "when": 1713212192, + "who": "cuddlybanana" + }, + { + "what": "activation", + "when": 1713373008, + "who": "Goren Barak" } ] diff --git a/players.json b/players.json @@ -1488,9 +1488,9 @@ "Goren Barak": { "history": [ { - "active": false, + "active": true, "contact": "gorenbk@riseup.net", - "latest": "2024-02-12", + "latest": "2024-04-17", "name": "Goren Barak", "reason": "s", "registration": "2023-11-18" @@ -4828,9 +4828,9 @@ "cuddlybanana": { "history": [ { - "active": false, + "active": true, "contact": "rose.strong42@gmail.com", - "latest": "2024-02-12", + "latest": "2024-04-15", "name": "cuddlybanana", "reason": "s", "registration": "2021-03-16" @@ -5231,9 +5231,9 @@ "contact": "mqyhlkahu@gmail.com", "latest": "2024-04-22", "name": "mqyhlkahu", + "observations": "aka kotnen; aka truffle", "reason": "s", - "registration": "2024-04-22", - "observations": "aka kotnen; aka truffle" + "registration": "2024-04-22" } ] },