193 Commits

Author SHA1 Message Date
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
9d81d57a54 Merge branch 'request_interactions' into 'master'
Request interactions

See merge request medlabboulder/modpol!22
2021-05-25 22:27:23 +00:00
Nathan Schneider
85f8ec14f8 Removed old processes.lua file from modpol/api.lua 2021-05-17 22:27:19 -06:00
377bf31d41 Added credit to The Bentway 2021-05-13 18:05:41 +00:00
Nathan Schneider
c1475e9035 Removed processes from main dashboards; processes are now org-based 2021-05-13 00:46:37 -06:00
Nathan Schneider
fe26d5322d Removed old modpol/processes/ directory; processes now in modpol/orgs 2021-05-13 00:41:31 -06:00
Nathan Schneider
2432633d55 Added org_dashboard to CLI interactions 2021-05-11 16:30:55 -06:00
Nathan Schneider
48b5b3070b Added list_processes and began adding process logic to Join button in interactions 2021-05-10 23:24:52 -06:00
Nathan Schneider
592226fe5a Fixed table error on processes load 2021-05-10 22:56:12 -06:00
aa6bb06d5c Merge branch 'policy_table' into 'master'
Policy table

See merge request medlabboulder/modpol!21
2021-05-09 22:07:32 +00: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
fb0bb4f049 starting to bring consent module online 2021-05-06 00:36:30 -04:00
Luke Miller
e22b143a6a failsafe for empty orgs.array 2021-05-05 23:56:19 -04:00
Luke Miller
68d8da7290 drafting consent module 2021-05-02 23:34:05 -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
51b30d57e5 Merge branch 'dashboards' into 'master'
Dashboards

See merge request medlabboulder/modpol!20
2021-04-29 05:16:21 +00:00
Nathan Schneider
d7d8e6907d Preparing to merge basic interactions 2021-04-28 23:13:36 -06:00
Nathan Schneider
37aadb90c5 Added user argument to org:add_org in minetest interactions, anticipating change on master 2021-04-28 22:27:21 -06:00
Nathan Schneider
a923f5f249 Fixes on creating and listing child orgs in formspec dashboards 2021-04-27 22:54:15 -06:00
Luke Miller
3348dcfe19 added duplicate user error in add_member 2021-04-28 00:45:39 -04:00
Nathan Schneider
257c7e47db Updated README to reflect current conditions 2021-04-27 22:28:29 -06: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
919e7524d2 starting to add some test cases 2021-04-27 01:00:49 -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
06dd824f35 Merge branch 'modules' into 'master'
Modules

See merge request medlabboulder/modpol!19
2021-04-26 04:35:24 +00:00
Luke Miller
411f4bd0a9 removed test file 2021-04-26 00:23:45 -04:00
Luke Miller
a67dab55fe removing dictator for master merge 2021-04-26 00:23:02 -04:00
Nathan Schneider
c541888cbd Linked org_dashboard to dashboard, added basic join/leave buttons 2021-04-23 23:21:02 -06:00