Commit Graph
100 Commits
Author SHA1 Message Date
Nathan Schneider 46dc48ffcc Fixed processes display in core except modules/display_processes.lua 2022-08-13 21:59:09 -06:00
Nathan Schneider 45347e2ac7 Merge branch 'master' of https://gitlab.com/medlabboulder/modpol 2022-08-13 17:02:58 -06:00
Nathan Schneider 1ff94b65fb Fixes on defer and remove_process 2022-08-13 17:02:30 -06:00
Nathan Schneider 4337e5511b Made approval on remove_process configurable 2022-08-13 16:34:03 -06:00
Nathan Schneider 0532b084b7 Small correction on README 2022-08-11 10:49:03 -06:00
Nathan Schneider 22a2048d5a Major improvements on policy configuration
- Bugfixes on change_policy
- Replaced _consent modules with configurable modules
2022-08-09 17:00:24 -06:00
Nathan Schneider 78ea89559f Simplier way of doing generic calls with call_module 2022-08-05 16:41:13 -06:00
Nathan Schneider 0ec287fa57 Reverting 2022-08-05 16:34:24 -06:00
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 99c75861b0 small bugfix on display_processes 2022-05-25 12:30:59 -06:00
Nathan Schneider 26df04445d Small fix on CLI interactions on pending actions. 2022-05-25 12:19:34 -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 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
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
Nathan Schneider 65bb1aa532 Added failsafes to interactions against 'deleted' processes 2022-01-06 09:58:15 -07: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
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
Nathan Schneider 1e81b830c4 Fix on the mod.conf before submission to ContentDB 2021-12-21 15:38:57 -07:00
Nathan Schneider cfef9b29b0 Bugfixes on CLI interactions 2021-12-20 21:28:54 -07:00
Nathan Schneider fe2d5fdb2a Added message_org module 2021-12-20 20:34:11 -07:00
Nathan Schneider 75f3a80d31 Changed name back to Modpol from Modular Politics 2021-12-20 20:14:43 -07:00
Nathan Schneider 645cc6f690 Changed Minetest module listing to remove slugs, retain only names 2021-12-20 20:06:17 -07:00
Nathan Schneider b9317490fb Added section on gameplay usage in README 2021-12-20 19:58:57 -07:00
Nathan Schneider 85e9916e27 Added pending actions list to main dashboard 2021-12-20 19:45:30 -07:00
Nathan Schneider 18d63485c2 Fixed interaction glitch on privs_to_org 2021-12-20 19:05:03 -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 1d6d0f21e2 Added more conceptual background to README 2021-12-19 17:20:30 -07:00
Nathan Schneider a59ad22370 Updated documentation 2021-12-19 16:42:34 -07:00
Nathan Schneider 53d2a25f42 Adding and fixing basic modules for renaming, removing, and adding orgs 2021-12-19 16:00:26 -07:00
Nathan Schneider d4599e9bbe Removing the testing buttons from formspecs now that modules do all that work 2021-12-18 21:01:33 -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 51d5e404e9 Tweak to description.txt 2021-12-18 15:48:55 -07:00
Nathan Schneider ac0c78795b Drafted priv_to_org as first MT module, but it doesn't work yet b/c interaction issues 2021-12-18 15:46:14 -07:00
Nathan Schneider 3e3f737915 A little more cleaning up 2021-12-18 15:06:26 -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
Nathan Schneider bd95fcf811 Moved login.lua to root and updated README 2021-12-18 14:02:14 -07:00
Nathan Schneider 721eb26777 Got modules basically working in CLI and Minetest, still having issues with Minetest interactions in module:initiate() 2021-12-18 13:35:18 -07:00
Nathan Schneider 4411c01ebb Corrected copyright statement on LICENSE 2021-12-18 09:13:42 -07:00
Nathan Schneider 9e492bb1f8 Added remove_org_consent module, a few other tweaks to modules 2021-12-16 23:33:02 -07:00
Nathan Schneider b9d2b73611 Correction: files added 2021-12-16 16:55:49 -07:00
Nathan Schneider 9be019a839 First draft of modules-as-actions Minetest interactions fix. Still not listing modules; may not be loading correctly. 2021-12-16 16:55:08 -07:00
Nathan Schneider 73515beaea Cleaned up modpol_minetest directory structure 2021-12-16 15:23:35 -07:00
Nathan Schneider ccc8c40cd7 Removed old DOCS folder and moved GOVERNANCE to root; added provision to it on university ownership. 2021-12-16 15:18:10 -07:00
Nathan Schneider ddf4c72fc8 Merge branch 'modules-as-actions' of https://gitlab.com/medlabboulder/modpol into modules-as-actions 2021-12-16 15:10:29 -07:00
Nathan Schneider 28e2710efc CLI interactions updated for modules-as-actions 2021-12-16 15:07:26 -07:00
Nathan Schneider 0d384da48c A little more file-moving, still much work to do and totally broken on action-module refactor 2021-09-28 09:12:38 -06:00
Nathan Schneider dc13e543d5 Moved some files around 2021-09-27 15:36:19 -06:00
Nathan Schneider a1a6203bab More very messy work on drafting module structure 2021-09-27 15:35:12 -06:00
Nathan Schneider e96b8641dc Non-functioning start on module stratey #1 2021-09-05 17:55:18 -06:00
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
Nathan Schneider 97d540715a Fixed bug preventing second formspecs from showing in sequences of interactions 2021-08-03 22:14:01 -06:00
Nathan Schneider 4016aa77cc Success using nested functions for requests on CLI 2021-08-03 16:51:12 -06:00
Nathan Schneider 82226f71b1 Added working test of nested poll function on CLI 2021-08-03 15:48:11 -06:00
Nathan Schneider 4e10d74bff Further implementation of nested functions in interactions, including in consent module 2021-07-31 17:11:26 -06:00
Nathan Schneider 74263b252b Shifting minetest interactions to nested functions 2021-07-31 00:00:35 -06:00
Nathan Schneider 3885f9af78 Testing cascading functions in interactions 2021-07-30 16:28:55 -06:00
Nathan Schneider b9bbf0380f experimenting with passing functions through interactions 2021-07-30 14:46:22 -06:00
Nathan Schneider ebc2f4758e Not yet successful attempt to convert add_child in Minetest interactions to a request 2021-07-05 17:48:14 -06:00
Nathan Schneider 85f8ec14f8 Removed old processes.lua file from modpol/api.lua 2021-05-17 22:27:19 -06: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
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
Nathan Schneider 257c7e47db Updated README to reflect current conditions 2021-04-27 22:28:29 -06:00
Nathan Schneider c541888cbd Linked org_dashboard to dashboard, added basic join/leave buttons 2021-04-23 23:21:02 -06:00
Nathan Schneider 87bd3ecc89 Adding org_dashboard (but not yet tested) 2021-04-21 22:43:48 -06:00
Nathan Schneider 6073732e6c Set up dropdowns in dashboard 2021-04-18 17:27:35 -06:00