Commit Graph

58 Commits

Author SHA1 Message Date
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 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
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
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 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 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 9a2c72c6a1 Bugfixes after test with Skylar! 2021-12-21 18:12:59 -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 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 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 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 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 b9d2b73611 Correction: files added 2021-12-16 16:55:49 -07:00
Nathan Schneider 73515beaea Cleaned up modpol_minetest directory structure 2021-12-16 15:23:35 -07:00
ntnsndr af93683ca4 Update modpol_minetest/overrides/interactions/interactions.lua 2021-08-15 21:52:46 +00: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 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
Luke Miller 1707a417e3 finally fixed the add_org request loop bug in the formspec!! 2021-07-28 18:50:22 -04:00
Luke Miller 223fde221a added open default policies for orgs, and fixed error with passing raw player data into request 2021-07-12 18:11:36 -04: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 c1475e9035 Removed processes from main dashboards; processes are now org-based 2021-05-13 00:46:37 -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 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 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
Nathan Schneider 486d310f52 Began creating complex interactions in Minetest with _context 2021-04-17 23:37:56 -06:00