Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
Luke Miller
1be8e8b23d basic interaction dashboard, interact callback function in consent module 2021-07-05 17:32:17 -04:00
Luke Miller
761a058b6a refactored to simpler pending action system 2021-06-17 21:27:09 -04: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
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
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
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
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
Luke Miller
ac8bb432e0 fixing lazy deletion check 2021-05-09 17:43:24 -04:00
Luke Miller
23f6455a89 removed strange message 2021-05-08 12:24:57 -04:00
Luke Miller
3b35817d5b make_request now automatically launches a process 2021-05-08 12:18:13 -04:00
Luke Miller
797d0bebb8 significant progress! a working process from beginning to end can be seen in test/org_req_test.lua 2021-05-06 14:13:02 -04:00
Luke Miller
a7ba7605d3 proccesses are working now! 2021-05-06 01:05:57 -04:00
Luke Miller
358aacba0a small fixes in requests system, working towards process support 2021-05-02 23:18:03 -04:00
Luke Miller
10f6adc544 split up orgs file 2021-05-02 22:38:27 -04:00
Luke Miller
c975f114b3 added more success/error messages 2021-05-02 10:40:10 -04:00
Luke Miller
3348dcfe19 added duplicate user error in add_member 2021-04-28 00:45:39 -04:00
Luke Miller
58458efd8e added more information to error messages 2021-04-27 14:04:25 -04:00
Luke Miller
f09b6845c2 fixed bug where orgs.reset() would break the orgs.array list 2021-04-27 13:41:51 -04:00
Luke Miller
0186384711 make_request now checks policy table, however set_policy function currently not working 2021-04-27 00:48:31 -04:00
Luke Miller
83b158eb3c fixed early end statement in make_request 2021-04-26 16:46:43 -04:00
Luke Miller
37c7f337a7 added lazy deletion for requests, bug fix for processes 2021-04-26 16:35:42 -04:00
Luke Miller
201fb98229 beginning to reimplement policy code 2021-04-26 01:06:44 -04:00
Luke Miller
6d5d93b4b7 bug fixes 2021-04-23 22:41:40 -04:00
Luke Miller
6258855380 Merge branch 'master' into modules 2021-04-23 22:17:03 -04:00
Luke Miller
4eb12d77c9 have a basic form of processes working! see demo.lua for an example 2021-04-21 22:35:30 -04:00
Luke Miller
44e40d96e6 added support for making requests to an org (first step of processes) 2021-04-21 16:17:41 -04:00
Luke Miller
90da4c70bb standardizing org template 2021-04-19 10:11:22 -04:00
c5c152d466 Merge branch 'save_orgs_fix' into 'master'
bug fixes: orgs load properly (metatable set), orgs can't have same name, orgs...

See merge request medlabboulder/modpol!17
2021-04-19 03:47:22 +00:00
Nathan Schneider
6073732e6c Set up dropdowns in dashboard 2021-04-18 17:27:35 -06:00
Nathan Schneider
9f65e2bdd3 Changed modpol.orgs.list_all to return table not string 2021-04-17 09:50:18 -06:00
Luke Miller
cff1d393c0 bug fixes: orgs load properly (metatable set), orgs can't have same name, orgs now saved on modifying operations 2021-04-16 20:27:31 -04:00
Nathan Schneider
6bc5f4077e Fixes to basic CLI dashboard 2021-04-15 23:50:13 -06:00
Luke Miller
ce56ec3fd6 fixed bug where getting org by name wouldn't work 2021-04-15 00:13:04 -04:00
Luke Miller
4abee2e603 got rid of old orgs.lua 2021-04-15 00:09:33 -04:00
Luke Miller
4ccdb443e2 fixed typo and added instance creation to modpol.lua 2021-04-12 17:00:48 -04:00
Luke Miller
bc3aba4ff0 changed modpol.orgs.list to modpol.orgs.array, added support for id or org name in get_org function 2021-04-12 16:55:24 -04:00
8feae2d57e Merge branch 'typo-fix' into 'master'
fixed typo 'properites' -> 'properties'

See merge request medlabboulder/modpol!14
2021-04-11 04:11:19 +00:00
Luke Miller
4557e9c7d8 completed refactor 2021-04-10 21:09:29 -04:00