Luke Miller
411f4bd0a9
removed test file
2021-04-26 00:23:45 -04:00
Luke Miller
a67dab55fe
removing dictator for master merge
2021-04-26 00:23:02 -04:00
Luke Miller
6d070133b7
cleaning up
2021-04-23 22:44:55 -04:00
Luke Miller
6d5d93b4b7
bug fixes
2021-04-23 22:41:40 -04:00
Luke Miller
23d4a54a8e
reverting metatable loading code
2021-04-23 22:26:04 -04:00
Luke Miller
6258855380
Merge branch 'master' into modules
2021-04-23 22:17:03 -04:00
Luke Miller
5940fe1af4
temporary fix for org functions failing
2021-04-22 17:28:09 -04:00
Luke Miller
4eb12d77c9
have a basic form of processes working! see demo.lua for an example
2021-04-21 22:35:30 -04:00
Luke Miller
44e40d96e6
added support for making requests to an org (first step of processes)
2021-04-21 16:17:41 -04:00
Luke Miller
90da4c70bb
standardizing org template
2021-04-19 10:11:22 -04:00
ntnsndr
c5c152d466
Merge branch 'save_orgs_fix' into 'master'
...
bug fixes: orgs load properly (metatable set), orgs can't have same name, orgs...
See merge request medlabboulder/modpol!17
2021-04-19 03:47:22 +00: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
Nathan Schneider
55c3ee9f46
Added basic modpol.interactions.message
2021-04-17 21:46:14 -06:00
Nathan Schneider
9f65e2bdd3
Changed modpol.orgs.list_all to return table not string
2021-04-17 09:50:18 -06:00
Luke Miller
cff1d393c0
bug fixes: orgs load properly (metatable set), orgs can't have same name, orgs now saved on modifying operations
2021-04-16 20:27:31 -04:00
Nathan Schneider
6bc5f4077e
Fixes to basic CLI dashboard
2021-04-15 23:50:13 -06:00
Nathan Schneider
10810eeaa7
Fixed modpol.dashboard call for listing orgs to new nomenclature
2021-04-15 23:33:40 -06:00
Luke Miller
ce56ec3fd6
fixed bug where getting org by name wouldn't work
2021-04-15 00:13:04 -04:00
Luke Miller
4abee2e603
got rid of old orgs.lua
2021-04-15 00:09:33 -04:00
Luke Miller
4ccdb443e2
fixed typo and added instance creation to modpol.lua
2021-04-12 17:00:48 -04:00
Luke Miller
bc3aba4ff0
changed modpol.orgs.list to modpol.orgs.array, added support for id or org name in get_org function
2021-04-12 16:55:24 -04:00
ntnsndr
08122f7a6a
Small fix to switch dashboard call to OO logic
2021-04-12 16:11:19 +00:00
Nathan Schneider
74ecba940a
Turned 'menu' command into 'dashboard'
2021-04-11 22:24:47 -06:00
ntnsndr
8feae2d57e
Merge branch 'typo-fix' into 'master'
...
fixed typo 'properites' -> 'properties'
See merge request medlabboulder/modpol!14
2021-04-11 04:11:19 +00:00
Luke Miller
4557e9c7d8
completed refactor
2021-04-10 21:09:29 -04:00
Luke Miller
63ba335b44
fixed typo 'properites' -> 'properties'
2021-04-10 16:35:14 -04:00
Luke Miller
0a16d85be2
added remove_org, get_org, and record functions to orgs
2021-04-05 22:39:20 -04:00
Luke Miller
66c4e63adb
starting refactor, simple functionality works atm
2021-04-03 23:01:31 -04:00
user
41274b2ff7
add warning to modpol.record
2021-03-25 18:16:49 -04:00
user
252c04c6c7
bugfix orgs
2021-03-25 17:37:43 -04:00
Luke Miller
4c912f0e1b
Merge branch 'master' of https://gitlab.com/medlabboulder/modpol
2021-03-21 23:00:24 -04:00
Luke Miller
f6e6b8acc1
fixed error where orgs without a ledger crash the server when the reset_orgs function is run
2021-03-21 23:00:03 -04:00
Nathan Schneider
ac6bae3f85
Added modpol.menu() functions modpol and modpol_minetest. Not sure if latter works.
2021-03-14 22:51:53 -06:00
ntnsndr
8faca7931a
Merge branch 'fix_storage_crash' into 'master'
...
fix modpol storage of old_ledgers
See merge request medlabboulder/modpol!10
2021-03-10 07:09:16 +00:00
MisterE123
aeb9ec5dc1
fix modpol storage of old_ledgers
2021-03-10 02:03:15 -05:00
ntnsndr
501ef4d354
Merge branch 'fix_storage_crash' into 'master'
...
fix modpol storage of old_ledgers
See merge request medlabboulder/modpol!9
2021-03-10 06:56:49 +00:00
MisterE123
dc87322dbb
fix modpol storage of old_ledgers
2021-03-10 01:52:42 -05:00
MisterE123
6ab11d4f2d
try a third time to fix crash
2021-03-10 01:40:04 -05:00
MisterE123
1f48e8ff1a
try again to fix crash
2021-03-10 01:29:20 -05:00
MisterE123
dae67b3efd
fix dump crash
2021-03-10 01:11:49 -05:00
MisterE123
419fc84822
change orgs to use id numbers as their table key and function input param
2021-03-08 14:06:15 -05:00
MisterE123
d646a4a8dd
rework orgs. Add various properties to orgs. Make all org functions return success boolean as well as error/success string message.
2021-03-01 19:11:20 -05:00
Nathan Schneider
4f53e801c4
Some unfinished, broken additions to processes
2021-02-20 22:48:17 -07:00
ntnsndr
6a6220b253
Added modpol.approved and modpol.add_policy functions
2021-02-11 21:59:17 +00:00
MisterE123
dc12ec50a9
Change file structures so that the interior modpol folder IS the portable modpol.
...
Added documentation of how to pre-define the modpath and the storage file.
2021-02-11 16:39:51 -05:00
MisterE123
f19796f82d
*Reorganized code so that further expansion is possible in a very organized manner.
...
*modpol.add_member() -- added a check if the member is already a member of that organized
*storage -- fixed bug by moving storageref to top of file
*added on_joinplayer to add players to instance
*moved minetest specific code in init.lua to modpol_minetest, organized in folders.
All overrides in one folder, all chatcommands in another, the on_joinplayer in modpol_minetest/orgs/instance.lua
2021-02-10 23:40:28 -05:00