Commit Graph

300 Commits

Author SHA1 Message Date
Nathan Schneider 9d759530e6 Fixes on process logic 2022-08-23 16:55:57 -06:00
Nathan Schneider 838a017f14 Various bugfixes on defer and processes 2022-08-17 17:24:53 -06:00
Nathan Schneider df20cc835b Small bugfixes 2022-08-17 15:39:11 -06:00
Nathan Schneider 0c13e6b084 Revert on CLI interactions pending process list 2022-08-17 15:09:12 -06:00
ntnsndr d24262d494 small documentation fixes 2022-08-17 19:57:52 +00:00
ntnsndr 23cf6abacd Merge branch 'bug-fixes' into 'master'
fixed process counter and a other small bugs

See merge request medlabboulder/modpol!37
2022-08-16 15:33:09 +00:00
Luke Miller daa6d95bd6 merged changes, using standardized lazy table length function instead of for loop in interactions module 2022-08-16 11:12:07 -04:00
Luke Miller 52334f409e fixed process count, added lazy table length function, removed orgs now decrement org counter, orgs loaded message should now be accurate 2022-08-16 11:10:40 -04:00
ntnsndr 56adaba7d6 Simplified README, reference to modpol.net 2022-08-16 04:49:40 +00:00
ntnsndr 06e7bb9d2d Replaced image on README 2022-08-16 02:40:20 +00:00
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
ntnsndr a26d2714d9 Merge branch 'remove-mkdir' into 'master'
Factored out Unix dependent os call

See merge request medlabboulder/modpol!36
2022-08-12 03:38:02 +00:00
Luke Miller 8d3428653c Merge branch 'master' of https://gitlab.com/medlabboulder/modpol 2022-08-11 14:57:42 -04:00
Luke Miller 6977614a7d Merge branch 'master' of https://gitlab.com/medlabboulder/modpol 2022-08-11 14:50:39 -04:00
Luke Miller 919194c995 added a placeholder file to keep data directory in git, removed now unnecessary unix mkdir call 2022-08-11 14:50:10 -04:00
Nathan Schneider 0532b084b7 Small correction on README 2022-08-11 10:49:03 -06:00
ntnsndr 9b27ac145c Merge branch 'generic_approval' into 'master'
Major improvements on policy configuration

See merge request medlabboulder/modpol!35
2022-08-09 23:04:54 +00: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
ntnsndr 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
ntnsndr 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
ntnsndr bdf4d86593 Removing a possibly unnecessary table copy on remove_process 2022-01-05 23:28:15 +00:00
ntnsndr 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