mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 14:43:34 +00:00
Calendar Data Transfer support
This commit is contained in:
@ -1958,8 +1958,6 @@ def user_from_userid(userid):
|
|||||||
buildUserIdToNameMap()
|
buildUserIdToNameMap()
|
||||||
return GM_Globals[GM_MAP_USER_ID_TO_NAME].get(userid, u'')
|
return GM_Globals[GM_MAP_USER_ID_TO_NAME].get(userid, u'')
|
||||||
|
|
||||||
SERVICE_NAME_TO_ID_MAP = {u'Drive and Docs': u'55656082996', u'Google+': u'553547912911',}
|
|
||||||
|
|
||||||
def appID2app(dt, appID):
|
def appID2app(dt, appID):
|
||||||
for serviceName, serviceID in SERVICE_NAME_TO_ID_MAP.items():
|
for serviceName, serviceID in SERVICE_NAME_TO_ID_MAP.items():
|
||||||
if appID == serviceID:
|
if appID == serviceID:
|
||||||
|
@ -138,11 +138,18 @@ ADDRESS_FIELDS_ARGUMENT_MAP = {
|
|||||||
u'country': u'countryCode', u'countrycode': u'countryCode',
|
u'country': u'countryCode', u'countrycode': u'countryCode',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SERVICE_NAME_TO_ID_MAP = {
|
||||||
|
u'Drive and Docs': u'55656082996',
|
||||||
|
u'Google+': u'553547912911',
|
||||||
|
u'Calendar': u'435070579839'
|
||||||
|
}
|
||||||
|
|
||||||
SERVICE_NAME_CHOICES_MAP = {
|
SERVICE_NAME_CHOICES_MAP = {
|
||||||
u'drive': u'Drive and Docs',
|
u'drive': u'Drive and Docs',
|
||||||
u'drive and docs': u'Drive and Docs',
|
u'drive and docs': u'Drive and Docs',
|
||||||
u'googledrive': u'Drive and Docs',
|
u'googledrive': u'Drive and Docs',
|
||||||
u'gdrive': u'Drive and Docs',
|
u'gdrive': u'Drive and Docs',
|
||||||
|
u'calendar': u'Calendar',
|
||||||
}
|
}
|
||||||
|
|
||||||
PRINTJOB_ASCENDINGORDER_MAP = {
|
PRINTJOB_ASCENDINGORDER_MAP = {
|
||||||
|
Reference in New Issue
Block a user