110 Commits

Author SHA1 Message Date
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
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
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
Luke Miller
6d070133b7 cleaning up 2021-04-23 22:44:55 -04:00
Luke Miller
6d5d93b4b7 bug fixes 2021-04-23 22:41:40 -04:00
Luke Miller
23d4a54a8e reverting metatable loading code 2021-04-23 22:26:04 -04:00
Luke Miller
6258855380 Merge branch 'master' into modules 2021-04-23 22:17:03 -04:00
2ad343e4e9 Merge branch 'metatable-fix' into 'master'
temporary fix for org functions failing

See merge request medlabboulder/modpol!18
2021-04-22 21:31:15 +00:00
Luke Miller
5940fe1af4 temporary fix for org functions failing 2021-04-22 17:28:09 -04:00
Nathan Schneider
87bd3ecc89 Adding org_dashboard (but not yet tested) 2021-04-21 22:43:48 -06: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
486d310f52 Began creating complex interactions in Minetest with _context 2021-04-17 23:37:56 -06:00
Nathan Schneider
55c3ee9f46 Added basic modpol.interactions.message 2021-04-17 21:46:14 -06:00
Nathan Schneider
9f65e2bdd3 Changed modpol.orgs.list_all to return table not string 2021-04-17 09:50:18 -06:00
Nathan Schneider
a6cd6ebcfe Began dashboard formspec in Minetest 2021-04-17 09:40:23 -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
Nathan Schneider
10810eeaa7 Fixed modpol.dashboard call for listing orgs to new nomenclature 2021-04-15 23:33:40 -06:00
defa4fac50 Merge branch 'renaming' into 'master'
Renaming

See merge request medlabboulder/modpol!16
2021-04-15 04:35:38 +00:00
Luke Miller
70b1c4d7d2 bug fix 2021-04-15 00:30:55 -04:00
Luke Miller
8e190baa75 updated chat command to support new oo standard 2021-04-15 00:21:56 -04: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
08122f7a6a Small fix to switch dashboard call to OO logic 2021-04-12 16:11:19 +00:00
Nathan Schneider
74ecba940a Turned 'menu' command into 'dashboard' 2021-04-11 22:24:47 -06: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
694e779658 Merge branch 'oo-pattern' into 'master'
Oo pattern

See merge request medlabboulder/modpol!15
2021-04-11 04:10:45 +00:00
Luke Miller
4557e9c7d8 completed refactor 2021-04-10 21:09:29 -04:00
Luke Miller
63ba335b44 fixed typo 'properites' -> 'properties' 2021-04-10 16:35:14 -04:00
Luke Miller
0a16d85be2 added remove_org, get_org, and record functions to orgs 2021-04-05 22:39:20 -04:00