Skip to content

Latest commit

 

History

History
58 lines (56 loc) · 2.82 KB

TODO.md

File metadata and controls

58 lines (56 loc) · 2.82 KB

Changes since version 0.1:

  • new commands
    • add_module
    • list_modules
  • when creating a new page or module, refuse when page already exist
  • when adding an item to a module, refuse when it already present
  • added --force
  • added --create
  • added --publish
  • can now also files to a module
  • some code reorganisation and refactoring

TO DO

published = 'false'
if args.publish:
    published = 'true'
  • catch this error that occurs when the Canvas room is locked for modifications:
File "/Users/alexajo/github/canvasCourseCli/canvasCourseCli", line 74, in main
  AllCommands()
File "/Users/alexajo/github/canvasCourseCli/canvasCourseCli", line 70, in __init__
  cmd(sys.argv[2:])
File "/Users/alexajo/github/canvasCourseCli/add_file.py", line 49, in main
  result = folder.upload(args.file_to_send)
File "/Users/alexajo/anaconda3/envs/doconce_develop/lib/python3.9/site-packages/canvasapi/folder.py", line 136, in upload
  ...
canvasapi.exceptions.Unauthorized: [{'message': 'brukeren er ikke autorisert til å utføre den handlingen'}]

Things I will not develop