crash.software
Projects
Pull Requests
Issues
Builds
got-your-back
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
got-your-back
Files
🤬
Sign In
56bd383b
ROOT
/
gyb.py
Search
History
2226 lines
|
ISO-8859-1
|
89 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
extra_args
allLabelIds
allLabels
reserved_labels
system_labels
argparse
importlib
sys
os
os.path
time
calendar
random
struct
platform
datetime
socket
sqlite3
ssl
email
hashlib
pkg_resources
re
string
islice
chain
base64
json
etree
urlencode
configparser
webbrowser
httplib2
debuglevel
google.oauth2.service_account
google_auth_oauthlib.flow
google_auth_httplib2
Request
AuthorizedHttp
google.oauth2.id_token
googleapiclient
googleapiclient.discovery
googleapiclient.errors
fmbox
labellang
getGYBVersion
(divider="\n")
USER_AGENT
_request_with_user_agent
(request_method)
wrapped_request_method
(self,*args,**kwargs)
SetupOptionParser
(argv)
getProgPath
()
getValidOauth2TxtCredentials
(force_refresh=False)
getOauth2TxtStorageCredentials
()
creds
getOAuthClientIDAndSecret
()
requestOAuthAccess
()
writeCredentials
(creds)
_decodeIdToken
(credentials=None)
_getValueFromOAuth
(field,credentials=None)
readFile
(filename,mode='r',continueOnError=False,displayError=True,encoding=None)
doGYBCheckForUpdates
(forceCheck=False,debug=False)
_LatestVersionNotAvailable
()
getAPIVer
(api)
getAPIScope
(api)
buildGAPIObject
(api)
config
buildGAPIServiceObject
(api,soft_errors=False)
config
service
callGAPI
(service,function,soft_errors=False,throw_reasons=[],retry_reasons=[],**kwargs)
callGAPIpages
(service,function,items='items',nextPageToken='nextPageToken',page_message=None,message_attribute=None,**kwargs)
VALIDEMAIL_PATTERN
getValidateLoginHint
(login_hint)
percentage
(part,whole)
shorten_url
(long_url)
ShortURLFlow
(google_auth_oauthlib.flow.InstalledAppFlow)
authorization_url
(self,**kwargs)
MESSAGE_CONSOLE_AUTHORIZATION_PROMPT
MESSAGE_CONSOLE_AUTHORIZATION_CODE
MESSAGE_LOCAL_SERVER_AUTHORIZATION_PROMPT
MESSAGE_LOCAL_SERVER_SUCCESS
_run_oauth_flow
(client_id,client_secret,scopes,access_type,login_hint=None)
getCRMService
(login_hint)
GYB_PROJECT_APIS
enableProjectAPIs
(project_name,checkEnabled,httpc)
writeFile
(filename,data,mode='wb',continueOnError=False,displayError=True)
_createClientSecretsOauth2service
(projectId)
_checkClientAndSecret
(client_id,client_secret)
PROJECTID_PATTERN
PROJECTID_FORMAT_REQUIRED
_getLoginHintProjects
()
systemErrorExit
(code=1,error_text='Unknown Error')
_getProjects
(crm,pfilter)
doDelProjects
()
doCreateProject
()
API_SCOPE_MAPPING
MESSAGE_INSTRUCTIONS_OAUTH2SERVICE_JSON
getSvcAcctCredentials
(scopes,act_as)
getSvcAccountClientId
()
doCheckServiceAccount
()
message_is_backed_up
(message_num,sqlcur,sqlconn,backup_folder)
get_db_settings
(sqlcur)
check_db_settings
(db_settings,action,user_email_address)
convertDB
(sqlconn,uidvalidity,oldversion)
getMessageIDs
(sqlconn,backup_folder)
rebuildUIDTable
(sqlconn)
suffixes
humansize
(myobject)
doesTokenMatchEmail
()
rewrite_line
(mystring)
initializeDB
(sqlconn,email)
labelIdsToLabels
(labelIds)
createLabel
(label_name)
labelsToLabelIds
(labels)
refresh_message
(request_id,response,exception)
restored_message
(request_id,response,exception)
purged_message
(request_id,response,exception)
backup_message
(request_id,response,exception)
_createHttpObj
(cache=None,timeout=None)
bytes_to_larger
(myval)
getSizeOfMessages
(messages,gmail)
_estimate_message
(request_id,response,exception)
main
(argv)
options
All occurrences
Please wait...
Page is in error, reload to recover