230 Commits

Author SHA1 Message Date
Luke Miller
7163480581 prototyping for new consent system 2021-09-28 19:01:59 -04:00
Nathan Schneider
0d384da48c A little more file-moving, still much work to do and totally broken on action-module refactor 2021-09-28 09:12:38 -06:00
Nathan Schneider
dc13e543d5 Moved some files around 2021-09-27 15:36:19 -06:00
Nathan Schneider
a1a6203bab More very messy work on drafting module structure 2021-09-27 15:35:12 -06:00
Nathan Schneider
e96b8641dc Non-functioning start on module stratey #1 2021-09-05 17:55:18 -06:00
48058a05b3 Merge branch 'interface' into 'master'
Upgraded CLI Interface

See merge request medlabboulder/modpol!30
2021-08-29 20:45:19 +00:00
Luke Miller
512ed2ecd4 added wrapper function for process:interact to control access 2021-08-20 01:18:02 -04:00
Luke Miller
76db1ea87f adding to org dashboard, added check to make sure user is actually able to interact with process, set votes needed at process creation to prevent a stalemate if a user joins after 2021-08-16 16:25:42 -04:00
af93683ca4 Update modpol_minetest/overrides/interactions/interactions.lua 2021-08-15 21:52:46 +00:00
Luke Miller
a6963ed84f upgraded dashboard to be more streamlined for CLI 2021-08-14 17:04:03 -04:00
Luke Miller
beeaa626a9 updated list_users functions to reflect new instance naming standard 2021-08-14 16:43:38 -04:00
Nathan Schneider
011d30a1b4 Added some confirmation messages to request flow, still need more 2021-08-05 09:12:40 -06:00
Nathan Schneider
c26f11cd99 bugfixes to get delete and add_org requests to work. Working! 2021-08-04 22:47:02 -06:00
fa4283dce6 Merge branch 'interaction-nested-functions' into 'master'
Moved code over to nested function approach, working

See merge request medlabboulder/modpol!27
2021-08-04 23:02:32 +00:00
Nathan Schneider
30e25aee3d Progress on bugfixes and Minetest interfaces, but processes are still not completing 2021-08-04 16:58:06 -06:00
Nathan Schneider
3775f77c2e Getting the testing formspecs working with requests and nested functions, bugfixes like crazy 2021-08-03 23:37:31 -06:00
Nathan Schneider
97d540715a Fixed bug preventing second formspecs from showing in sequences of interactions 2021-08-03 22:14:01 -06:00
Nathan Schneider
4016aa77cc Success using nested functions for requests on CLI 2021-08-03 16:51:12 -06:00
Nathan Schneider
82226f71b1 Added working test of nested poll function on CLI 2021-08-03 15:48:11 -06:00
Nathan Schneider
4e10d74bff Further implementation of nested functions in interactions, including in consent module 2021-07-31 17:11:26 -06:00
Nathan Schneider
74263b252b Shifting minetest interactions to nested functions 2021-07-31 00:00:35 -06:00
Nathan Schneider
3885f9af78 Testing cascading functions in interactions 2021-07-30 16:28:55 -06:00
Nathan Schneider
b9bbf0380f experimenting with passing functions through interactions 2021-07-30 14:46:22 -06:00
Luke Miller
1707a417e3 finally fixed the add_org request loop bug in the formspec!! 2021-07-28 18:50:22 -04:00
Luke Miller
3dd5ff615d merged 2021-07-19 11:06:00 -04:00
Luke Miller
87f4b6a2fe added ledger records and data saving for all valid org actions, updated storage code to not text dump 2021-07-19 10:59:13 -04:00
Luke Miller
223fde221a added open default policies for orgs, and fixed error with passing raw player data into request 2021-07-12 18:11:36 -04:00
Nathan Schneider
ebc2f4758e Not yet successful attempt to convert add_child in Minetest interactions to a request 2021-07-05 17:48:14 -06:00
Luke Miller
1be8e8b23d basic interaction dashboard, interact callback function in consent module 2021-07-05 17:32:17 -04:00
Luke Miller
7318b8d664 working on upgrading CLI 2021-07-04 23:54:54 -04:00
4e0cc858e9 Merge branch 'actions' into 'master'
refactored to simpler pending action system

See merge request medlabboulder/modpol!26
2021-06-18 05:06:26 +00:00
Luke Miller
761a058b6a refactored to simpler pending action system 2021-06-17 21:27:09 -04:00
0539b82d9a Merge branch 'actions' into 'master'
adding pending actions control flow

See merge request medlabboulder/modpol!25
2021-06-14 22:12:05 +00:00
Luke Miller
12623ee4a2 documentation 2021-06-14 17:32:59 -04:00
Luke Miller
6de2be011f added a function to wipe all pending actions for dead processes, consent module now does this on close 2021-06-14 17:21:13 -04:00
Luke Miller
295cd983b8 added remove pending action function, now called in consent module when pending action is completed 2021-06-13 15:06:47 -04:00
Luke Miller
2e6c8a5ee3 added process id to log message 2021-06-13 14:26:54 -04:00
Luke Miller
f616136597 moving how pending actions work around, after some testing and discussion. reordered how new processes are created so that they have access to their own ids 2021-06-13 14:22:07 -04:00
Luke Miller
1890534195 added an actions table to processes, which lists the actions required of each user 2021-06-08 23:09:54 -04:00
Luke Miller
37f1b48466 fixed issue with loading processes from memory 2021-06-08 23:09:13 -04:00
206d4af9e2 Merge branch 'process-updates' into 'master'
bug fixes for org processes

See merge request medlabboulder/modpol!24
2021-06-08 02:53:51 +00:00
Luke Miller
20f2854969 made user index local 2021-06-06 17:52:41 -04:00
Luke Miller
eeb734bab2 added delete function for processes, and autodeletes on completion 2021-06-06 16:37:56 -04:00
Luke Miller
0f41e15845 simplified request params check 2021-06-06 16:01:02 -04:00
Luke Miller
56ab80d08e moved type var into process table, this means that when loaded from memory, processes will properly reconnect to their classes 2021-06-06 15:43:24 -04:00
f837e99077 Merge branch 'join-created-orgs' into 'master'
created orgs start with a member

See merge request medlabboulder/modpol!23
2021-06-06 04:03:25 +00:00
Luke Miller
96705e826f updates modpol instance during reset, add_org request no longer has user param, but uses request.user as the first user in the org 2021-06-05 18:33:18 -04:00
Luke Miller
382b4c8dc9 updated org test 2021-06-05 18:22:32 -04:00
Luke Miller
c44defa864 reset function now regenerates the instance 2021-06-05 17:47:28 -04:00
Luke Miller
28e31eebc9 orgs are now initialized with a founding member 2021-06-04 00:16:10 -04:00