* move mobile notifications to a separate backend, remove critical notification * remove outdated mobile app code * MOBILE_APP_PUSH_NOTIFICATIONS_ENABLED -> FEATURE_MOBILE_APP_INTEGRATION_ENABLED * create error log if no devices are set up * move mobile auth related code to the mobile_app Django app * move mobile auth related code to the mobile_app Django app * move mobile auth related code to the mobile_app Django app * fix typing * add GCMDevice todos * add user connection capabilities * add user connect/disconnect to the messaging backend * move APNS endpoint to mobile_app Django app * restore critical notifications * support hackathon app * tweak migrations so mobile app auth tokens are preserved * reuse notify_by IDs * use mobile app template to render push notification * add GCM/FCM (Android) support * fix unlink user * logger.error -> logger.info
10 lines
274 B
Python
10 lines
274 B
Python
AUTH_TOKEN_CHARACTER_LENGTH = 64
|
|
AUTH_SHORT_TOKEN_CHARACTER_LENGTH = 6
|
|
TOKEN_KEY_LENGTH = 8
|
|
DIGEST_LENGTH = 128
|
|
MAX_PUBLIC_API_TOKENS_PER_USER = 5
|
|
|
|
SLACK_AUTH_TOKEN_NAME = "slack_login_token"
|
|
|
|
SCHEDULE_EXPORT_TOKEN_NAME = "token"
|
|
SCHEDULE_EXPORT_TOKEN_CHARACTER_LENGTH = 32
|