ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class Sharepoint.Sharepoint(system, config)

This class is the parent for all instances using a Sharepoint server to implement <no title>.

Parameters:

  • system: the <no title> connect to the target host for this user

  • config: the <no title> defining this user

advance_to_username_field()

Not every web app will want to click directly on something to enter the username for login, though most will. Provide that as a default implementation, but this hook will let special sites do just this piece as needed.

confirm_login()

Give a hook for subclasses to confirm the login happened and app is ready to go.

delete_selected()

Assuming an entry is currently selected, delete it.

Parameters:

  • local_path: the local path at which the file should be stored

download_selected(local_path)

Assuming an entry is currently selected, download it.

Parameters:

  • local_path: the local path at which the file should be stored

load(path)

The <no title> implementation of load won’t work for our web-based approach, so we override that here.

Parameters:

  • path: the string path to the file to upload

select_random()

Select a random file currently available