26 Commits

Author SHA1 Message Date
Nathan Schneider
1f33232394 First shot at a generic approve() function for modules, testing on change_policy 2022-08-05 16:10:56 -06:00
Nathan Schneider
2028f1ee85 Refactored policy structure
Previously, all modules in an org were fully copied into that
org. Now, the only copy of the modules is at modpol.modules, and orgs
have a policy table at [org].policies, which overrides the config
table in any given module.
2022-02-09 22:14:26 -07:00
Nathan Schneider
8086b18879 Removed org.policies table; policies are now handled in the org.modules[module].config table. 2022-02-06 13:45:31 -07:00
Nathan Schneider
b92272afa2 Added basic policy backend for modules. Also added confirmation in CLI to call a module. At that confirmation, the relevant policies are shown. Still need to create a module for changing policies and to add more configuration options to existing policies. 2022-02-05 23:49:23 -07:00
Nathan Schneider
509d2781f7 Created no-consent add_child_org module and a bugfix 2022-01-27 13:32:12 -07:00
SkylarHew
79b548f9a0 Added LDoc comments for new files, ready to merge pt. 2 2022-01-23 18:21:23 -07:00
SkylarHew
7cb200ab04 Resolved merge conflicts with master 2022-01-23 16:01:44 -07:00
SkylarHew
5085d87f68 Added Ldoc comments for interactions and orgs.process.lua 2022-01-10 17:27:27 -07:00
SkylarHew
4052fa4b55 Ldoc comments for orgs.base and edited comments for template_module 2022-01-09 22:15:54 -07:00
Luke Miller
a835799e11 added delete process tree function, updated remove process module 2022-01-06 20:17:38 -05:00
81fcd9e3c1 Merge branch 'module-changes' into 'master'
added parent/children ids to processes, modified delete process to be...

See merge request medlabboulder/modpol!32
2022-01-05 23:15:38 +00:00
Luke Miller
5788ce199a added parent/children ids to processes, modified delete process to be recursive, modules now have access to self:call_module 2022-01-05 18:10:38 -05:00
544edddb21 Small bugfixes on testing 2022-01-05 22:40:41 +00:00
Luke Miller
5a2e6277e5 added a module version of call_module which automatically handles parent ids in the backend 2021-12-29 21:10:00 -05:00
Nathan Schneider
6558b7a026 Created remove_process module---mostly works, but there are still some issues with processes and pending actions not being removed properly 2021-12-28 16:51:12 -07:00
Nathan Schneider
286d131839 Got first token modules working, and a bunch of bugfixes throughout 2021-12-26 23:03:57 -07:00
Nathan Schneider
c017b80063 Added recording of main process events to persistent storage 2021-12-25 18:01:37 -07:00
Nathan Schneider
44c3e41b81 Created defer_consent module 2021-12-22 22:22:17 -07:00
Nathan Schneider
9a2c72c6a1 Bugfixes after test with Skylar! 2021-12-21 18:12:59 -07:00
Nathan Schneider
cfef9b29b0 Bugfixes on CLI interactions 2021-12-20 21:28:54 -07:00
Nathan Schneider
046fad7f57 Added refresh button to Minetest dashboards 2021-12-20 18:55:08 -07:00
Nathan Schneider
2365eb83d0 Added change_modules mod and lots of bugfixes. Now merging to master. 2021-12-19 23:23:23 -07:00
Nathan Schneider
e994061f38 A bunch of module bugfixes 2021-12-18 20:41:49 -07:00
Nathan Schneider
af6e639e27 Added minetest modules and am stuck on interactions and module flow 2021-12-18 17:53:49 -07:00
Nathan Schneider
a03528d8fe A bunch of cleaning up of unused files 2021-12-18 14:57:11 -07:00
Nathan Schneider
c2852b1bce Renamed modpol/modpol directory to modpol_core for clarity and consistency 2021-12-18 14:50:41 -07:00