Commit Graph

36 Commits (main)

Author SHA1 Message Date
Vineet Kumar 0e1a5cf3a3 exit if the CANVAS environment variables are not set 2024-01-17 16:51:00 -05:00
Vineet Kumar b80be2b0b8 update readme to the current status of the project 2024-01-16 15:31:04 -05:00
Vineet Kumar 232987212d add mirror section in readme 2024-01-16 15:07:23 -05:00
Vineet Kumar 4e240349fd handle roles not supported canvas error 2024-01-16 14:56:55 -05:00
Vineet Kumar 40e2818fc8 add timetable function 2024-01-16 14:50:19 -05:00
Vineet Kumar 7ffc45ad7b add cpu profiling support 2024-01-12 19:15:35 -05:00
Vineet Kumar baada4b6ee fix merge conflict dropping commit 2024-01-12 17:28:49 -05:00
Vineet Kumar 9284b56577 send attendance code to all current courses when course not specified 2024-01-12 17:24:09 -05:00
Vineet Kumar 4d67584017 add .gitignore 2024-01-12 17:24:09 -05:00
Vineet Kumar 89a34a2557 start working on submitting course without user-provided course code 2024-01-11 22:55:43 -05:00
Juan Roig 2190825521 change list all courses function to list only courses that are active 2024-01-11 11:34:19 -05:00
Vineet Kumar 240e48ffba add verbose flag 2023-11-21 11:07:28 -05:00
Vineet Kumar 1eb535510b update usage message 2023-11-20 15:50:22 -05:00
Vineet Kumar 27e39b5126 do not return an error when init_aplus_toolid is successful 2023-11-20 13:09:35 -05:00
Vineet Kumar 702cceb242 use golang flag instead of external getopt library 2023-11-20 10:27:50 -05:00
Vineet Kumar 52d1b05532 use the Canvas API to get A+ tool ID and URL
Was previously hardcoded.
2023-11-20 10:08:58 -05:00
Vineet Kumar 037c753e2d switch order of course name and id when listing 2023-11-15 13:30:45 -05:00
Vineet Kumar 4a8b26d132 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 da76764b4e Switch to getopt library from flag library for flag parsing. 2023-11-15 03:58:38 -05:00
Juan Roig ecb8874c3a Add flags, update README 2023-11-14 22:42:25 -05:00
Juan Roig c3e138d1d6 Reorganization 2023-11-14 18:04:29 -05:00
Vineet Kumar fff0e83e2d 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 df8cf43adb Add list courses functions, remove unnecessary functions, update README. 2023-11-14 04:23:18 -05:00
Juan Roig b7a744dd0a Update LICENSE with author names, further reorganization. 2023-11-13 13:02:21 -05:00
Juan Roig a9771fabfe further simplify launch_aplus function and get_aplus function 2023-11-13 02:56:01 -05:00
Juan Roig ff633d342c Move aplus requests to new launch_aplus function 2023-11-13 02:08:03 -05:00
Juan Roig 1f55f49e33 add cookie jar to allow cross site origin requests to carry cookies 2023-11-12 15:05:16 -05:00
Vineet Kumar 7f32673851 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