279 Commits

Author SHA1 Message Date
Luke Miller
0725e66261 legacy module loading now works properly 2022-06-08 16:57:25 -04:00
Luke Miller
3824399f33 added back up module store for non lfs support 2022-06-08 16:52:46 -04:00
Nathan Schneider
1f88981112 Added missing end statements on unix-storage.lua. Still getting an lfs module error on CLI. 2022-06-08 10:31:20 -04:00
lukvmil
fcf0725534 refactored storage system to use the overloadable unix-storage which does not rely on ocutil 2022-06-07 15:23:57 -04:00
lukvmil
3d8e4fb947 added automatic module loading system, use ignore.txt to exclude specific modules 2022-03-12 01:01:04 -05: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
f950b5b94c More basic functionality for policy change
Created change_policy module (though it still does not have an
approval flow; improved display_policies and display_processes modules.
2022-02-06 22:04:07 -07:00
Nathan Schneider
9d4ad377e6 Created display_policies module to show existing module.config data across an org 2022-02-06 14:05:12 -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
fc8cd20e7f Updated screenshot for README 2022-01-28 14:29:29 -07:00
Nathan Schneider
509d2781f7 Created no-consent add_child_org module and a bugfix 2022-01-27 13:32:12 -07:00
cdb8e44099 Merge branch 'DocComments' into 'master'
Doc comments

See merge request medlabboulder/modpol!34
2022-01-24 03:38:12 +00:00
SkylarHew
79b548f9a0 Added LDoc comments for new files, ready to merge pt. 2 2022-01-23 18:21:23 -07:00
SkylarHew
e72911c67c Added LDoc comments for new files, ready to merge 2022-01-23 18:19:24 -07:00
SkylarHew
7cb200ab04 Resolved merge conflicts with master 2022-01-23 16:01:44 -07:00
Nathan Schneider
55d1c2c446 Updated documentation section of README 2022-01-22 11:34:25 -07:00
Nathan Schneider
807ef6a150 Slight tweaks to ldoc docs 2022-01-22 11:28:38 -07:00
SkylarHew
c8e911640e Edited README to include section on Documentation 2022-01-20 11:42:19 -07:00
SkylarHew
da7b996a8b Added ldoc comments for all lua modules and generated docs in documentation index.html 2022-01-20 11:04: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
ba65b471b3 Merge branch 'process-delete' into 'master'
Process delete

See merge request medlabboulder/modpol!33
2022-01-07 21:24:58 +00:00
Luke Miller
0f479da5ff calling self:call_module instead of self.org:call_module, this should fix process deletion issues 2022-01-07 15:05:45 -05:00
Luke Miller
a835799e11 added delete process tree function, updated remove process module 2022-01-06 20:17:38 -05:00
Nathan Schneider
65bb1aa532 Added failsafes to interactions against 'deleted' processes 2022-01-06 09:58:15 -07:00
bdf4d86593 Removing a possibly unnecessary table copy on remove_process 2022-01-05 23:28:15 +00: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
Nathan Schneider
2989bd34bd Completed checkbox_query and rewrite of change_modules module with checkboxes 2022-01-02 23:13:56 -07:00
Nathan Schneider
28a05c584c Minetest checkbox_query now working; checkbox-based change_modules module still needs debugging 2022-01-01 23:54:57 -07:00
Nathan Schneider
c8d527dba8 Have basic checkbox_query working in CLI core interactions, not yet attempted in Minetest 2021-12-31 00:50:32 -07:00
Nathan Schneider
62d4c0518f Edits to README for readability 2021-12-30 11:38:43 -07:00
Nathan Schneider
1a6f27f2f6 More bugfixes on displays and interactions, mainly fixing damage done two commits ago 2021-12-29 22:25:28 -07:00
Nathan Schneider
6c9353d389 Last commit also changed titles on Minetest dashboards to much more flexible [hypertext] 2021-12-29 22:10:57 -07:00
Nathan Schneider
7ef0626357 Added modpol.interactions.display and display_processes module, as well as a bunch of bugfixes 2021-12-29 22:07:53 -07: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
1b0335c069 Bugfix on copy_table and added refresh command to CLI 2021-12-28 14:39:34 -07:00
Nathan Schneider
18a29d674c Added user_dashboard and message_user to modpol_minetest 2021-12-27 23:13:10 -07:00
Nathan Schneider
de8ad25b2f Added user_dashboard and message_user in modpol_core, still have to add to modpol_minetest 2021-12-27 22:34:22 -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
0c59767ef7 Filled out tokenomics functions; still not tested 2021-12-26 00:01:59 -07:00
Nathan Schneider
12a49ab66d Added record() function to tokenomics module functions 2021-12-25 18:14:38 -07:00
Nathan Schneider
c017b80063 Added recording of main process events to persistent storage 2021-12-25 18:01:37 -07:00
Nathan Schneider
6d81bd7bd8 Started working on tokenomics module (but not yet activated) 2021-12-23 22:25:51 -07:00
Nathan Schneider
44c3e41b81 Created defer_consent module 2021-12-22 22:22:17 -07:00
Nathan Schneider
fa50a59938 Added randomizer utility module 2021-12-22 16:28:28 -07:00
Nathan Schneider
9a2c72c6a1 Bugfixes after test with Skylar! 2021-12-21 18:12:59 -07:00