Commit Graph

23 Commits

Author SHA1 Message Date
vin
6abb8ede02 do not return an error when init_aplus_toolid is successful 2023-11-20 13:09:35 -05:00
vin
138121330e use golang flag instead of external getopt library 2023-11-20 10:27:50 -05:00
vin
23226c46a1 use the Canvas API to get A+ tool ID and URL
Was previously hardcoded.
2023-11-20 10:08:58 -05:00
vin
b966951c47 switch order of course name and id when listing 2023-11-15 13:30:45 -05:00
vin
ba523ee94e add short flags for rest of the flags and print usage when no flags are present 2023-11-15 13:20:19 -05:00
Juan Roig
d425358bd0 Switch to getopt library from flag library for flag parsing. 2023-11-15 03:58:38 -05:00
Juan Roig
e28dc92307 Add flags, update README 2023-11-14 22:42:25 -05:00
Juan Roig
329f8dfe02 Reorganization 2023-11-14 18:04:29 -05:00
vin
7b613b030d add rudimentary messy function for submitting aplus code
It is very messy, but later using golang's HTML parser should help make it more
readable.
2023-11-14 12:05:20 -05:00
Juan Roig
aa16b741d5 Add list courses functions, remove unnecessary functions, update README. 2023-11-14 04:23:18 -05:00
Juan Roig
dc7d8df66b Update LICENSE with author names, further reorganization. 2023-11-13 13:02:21 -05:00
Juan Roig
a8b1886d86 further simplify launch_aplus function and get_aplus function 2023-11-13 02:56:01 -05:00
Juan Roig
e46ca43d4c Move aplus requests to new launch_aplus function 2023-11-13 02:08:03 -05:00
Juan Roig
78fd5e4e1f add cookie jar to allow cross site origin requests to carry cookies 2023-11-12 15:05:16 -05:00
vin
aa816a646e fix "LTI signature verification failed" message
Some of the form values being sent in the POST request had HTML
entities that needed to be unescaped.
2023-11-08 10:24:50 -05:00
Juan Roig
89c2e2b38e reorganize functions to aplus-related and canvas-related. 2023-11-07 00:21:48 -05:00
Juan Roig
4af67b0363 Moved functional code to funcs.go 2023-11-04 01:55:30 -04:00
Juan Roig
410a8c7f18 add postform request 2023-10-31 02:30:30 -04:00
Juan Roig
c411ee3447 Form parsing done correctly 2023-10-31 02:06:01 -04:00
Juan Roig
cc3ab10c6a isolate form HTML 2023-10-30 17:58:38 -04:00
Juan Roig
19957a5adc switch to using http client instead of invoking static methods 2023-10-30 01:00:50 -04:00
Juan Roig
41a98cfe60 first commit 2023-10-27 19:02:38 -04:00
vink
3da2c17e49 Initial commit 2023-10-27 20:16:42 +00:00