Luke Miller
|
a835799e11
|
added delete process tree function, updated remove process module
|
2022-01-06 20:17:38 -05: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 |
|
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 |
|
Luke Miller
|
48123b3496
|
added consent module, nesting mdoules now functional!
|
2021-12-16 16:52:06 -05:00 |
|
Luke Miller
|
6e02e254aa
|
added module template, added support for module parameters and default values through the config table
|
2021-12-16 14:03:42 -05:00 |
|
Luke Miller
|
826f9600b5
|
cleaned up module template!
|
2021-12-16 13:32:30 -05:00 |
|
Luke Miller
|
fa7a0f82f6
|
functional test of call_module and new pending action/interact version
|
2021-12-06 16:45:52 -05:00 |
|
Luke Miller
|
08151ad9d9
|
notes from meeting
|
2021-11-29 18:29:39 -05:00 |
|
Luke Miller
|
1d45dc38b0
|
first pass of new process system
|
2021-11-29 17:53:32 -05:00 |
|
Luke Miller
|
f381845d21
|
added some notes to the modules, some not currently functional. rewriting process.lua to work with new modules, support pending actions
|
2021-11-29 14:36:18 -05:00 |
|
Luke Miller
|
db43df6ce2
|
adding class version of join org module
|
2021-11-22 16:49:03 -05:00 |
|
Luke Miller
|
0ca04294b7
|
working version of join_org module demonstrated in tests/new_module_test.lua
|
2021-11-22 16:24:44 -05:00 |
|
Luke Miller
|
8bc5c5ba4e
|
mintest notes
|
2021-10-11 15:26:15 -04:00 |
|
Luke Miller
|
2386c0e929
|
first draft of consent system
|
2021-10-11 09:58:56 -04:00 |
|
Luke Miller
|
a28c313982
|
updated process and policy table
|
2021-10-04 17:50:24 -04:00 |
|
Luke Miller
|
7163480581
|
prototyping for new consent system
|
2021-09-28 19:01:59 -04:00 |
|
Luke Miller
|
512ed2ecd4
|
added wrapper function for process:interact to control access
|
2021-08-20 01:18:02 -04:00 |
|
Luke Miller
|
76db1ea87f
|
adding to org dashboard, added check to make sure user is actually able to interact with process, set votes needed at process creation to prevent a stalemate if a user joins after
|
2021-08-16 16:25:42 -04:00 |
|
Luke Miller
|
a6963ed84f
|
upgraded dashboard to be more streamlined for CLI
|
2021-08-14 17:04:03 -04:00 |
|
Luke Miller
|
beeaa626a9
|
updated list_users functions to reflect new instance naming standard
|
2021-08-14 16:43:38 -04: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
|
3dd5ff615d
|
merged
|
2021-07-19 11:06:00 -04:00 |
|
Luke Miller
|
87f4b6a2fe
|
added ledger records and data saving for all valid org actions, updated storage code to not text dump
|
2021-07-19 10:59:13 -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 |
|
Luke Miller
|
1be8e8b23d
|
basic interaction dashboard, interact callback function in consent module
|
2021-07-05 17:32:17 -04:00 |
|
Luke Miller
|
7318b8d664
|
working on upgrading CLI
|
2021-07-04 23:54:54 -04:00 |
|
Luke Miller
|
761a058b6a
|
refactored to simpler pending action system
|
2021-06-17 21:27:09 -04:00 |
|
Luke Miller
|
12623ee4a2
|
documentation
|
2021-06-14 17:32:59 -04:00 |
|
Luke Miller
|
6de2be011f
|
added a function to wipe all pending actions for dead processes, consent module now does this on close
|
2021-06-14 17:21:13 -04:00 |
|
Luke Miller
|
295cd983b8
|
added remove pending action function, now called in consent module when pending action is completed
|
2021-06-13 15:06:47 -04:00 |
|
Luke Miller
|
2e6c8a5ee3
|
added process id to log message
|
2021-06-13 14:26:54 -04:00 |
|
Luke Miller
|
f616136597
|
moving how pending actions work around, after some testing and discussion. reordered how new processes are created so that they have access to their own ids
|
2021-06-13 14:22:07 -04:00 |
|
Luke Miller
|
1890534195
|
added an actions table to processes, which lists the actions required of each user
|
2021-06-08 23:09:54 -04:00 |
|
Luke Miller
|
37f1b48466
|
fixed issue with loading processes from memory
|
2021-06-08 23:09:13 -04:00 |
|
Luke Miller
|
20f2854969
|
made user index local
|
2021-06-06 17:52:41 -04:00 |
|
Luke Miller
|
eeb734bab2
|
added delete function for processes, and autodeletes on completion
|
2021-06-06 16:37:56 -04:00 |
|
Luke Miller
|
0f41e15845
|
simplified request params check
|
2021-06-06 16:01:02 -04:00 |
|
Luke Miller
|
56ab80d08e
|
moved type var into process table, this means that when loaded from memory, processes will properly reconnect to their classes
|
2021-06-06 15:43:24 -04:00 |
|
Luke Miller
|
96705e826f
|
updates modpol instance during reset, add_org request no longer has user param, but uses request.user as the first user in the org
|
2021-06-05 18:33:18 -04:00 |
|
Luke Miller
|
382b4c8dc9
|
updated org test
|
2021-06-05 18:22:32 -04:00 |
|
Luke Miller
|
c44defa864
|
reset function now regenerates the instance
|
2021-06-05 17:47:28 -04:00 |
|
Luke Miller
|
28e31eebc9
|
orgs are now initialized with a founding member
|
2021-06-04 00:16:10 -04:00 |
|
Luke Miller
|
ac8bb432e0
|
fixing lazy deletion check
|
2021-05-09 17:43:24 -04:00 |
|
Luke Miller
|
23f6455a89
|
removed strange message
|
2021-05-08 12:24:57 -04:00 |
|
Luke Miller
|
3b35817d5b
|
make_request now automatically launches a process
|
2021-05-08 12:18:13 -04:00 |
|
Luke Miller
|
797d0bebb8
|
significant progress! a working process from beginning to end can be seen in test/org_req_test.lua
|
2021-05-06 14:13:02 -04:00 |
|
Luke Miller
|
a7ba7605d3
|
proccesses are working now!
|
2021-05-06 01:05:57 -04:00 |
|
Luke Miller
|
fb0bb4f049
|
starting to bring consent module online
|
2021-05-06 00:36:30 -04:00 |
|
Luke Miller
|
e22b143a6a
|
failsafe for empty orgs.array
|
2021-05-05 23:56:19 -04:00 |
|
Luke Miller
|
68d8da7290
|
drafting consent module
|
2021-05-02 23:34:05 -04:00 |
|
Luke Miller
|
358aacba0a
|
small fixes in requests system, working towards process support
|
2021-05-02 23:18:03 -04:00 |
|
Luke Miller
|
10f6adc544
|
split up orgs file
|
2021-05-02 22:38:27 -04:00 |
|
Luke Miller
|
c975f114b3
|
added more success/error messages
|
2021-05-02 10:40:10 -04:00 |
|
Luke Miller
|
3348dcfe19
|
added duplicate user error in add_member
|
2021-04-28 00:45:39 -04:00 |
|
Luke Miller
|
58458efd8e
|
added more information to error messages
|
2021-04-27 14:04:25 -04:00 |
|
Luke Miller
|
f09b6845c2
|
fixed bug where orgs.reset() would break the orgs.array list
|
2021-04-27 13:41:51 -04:00 |
|
Luke Miller
|
919e7524d2
|
starting to add some test cases
|
2021-04-27 01:00:49 -04:00 |
|
Luke Miller
|
0186384711
|
make_request now checks policy table, however set_policy function currently not working
|
2021-04-27 00:48:31 -04:00 |
|
Luke Miller
|
83b158eb3c
|
fixed early end statement in make_request
|
2021-04-26 16:46:43 -04:00 |
|
Luke Miller
|
37c7f337a7
|
added lazy deletion for requests, bug fix for processes
|
2021-04-26 16:35:42 -04:00 |
|
Luke Miller
|
201fb98229
|
beginning to reimplement policy code
|
2021-04-26 01:06:44 -04:00 |
|
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 |
|
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 |
|
Luke Miller
|
70b1c4d7d2
|
bug fix
|
2021-04-15 00:30:55 -04:00 |
|
Luke Miller
|
8e190baa75
|
updated chat command to support new oo standard
|
2021-04-15 00:21:56 -04: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 |
|
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
|
9a0680b07e
|
Merge branch 'master' of https://gitlab.com/medlabboulder/modpol into oo-pattern
|
2021-04-03 23:01:59 -04:00 |
|
Luke Miller
|
66c4e63adb
|
starting refactor, simple functionality works atm
|
2021-04-03 23:01:31 -04:00 |
|
Luke Miller
|
cd8770eb98
|
updated chat commands to be structured the same without duplicates/respellings
|
2021-03-28 16:26:14 -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 |
|