// This is just a sample showing 8 chat rooms (aka user subscription). We need to get it rid in a real word. REMARK: remove this comment and this method.
"@aaron.ogle @rafael.kellermann same problem over here. Although all the servers show up on the selection.",
LocalDateTime.of(2017,11,15,1,3),
0)
valdumpChat5=Chat(hetal,
"general",
"c",
"Has joined the channel.",
LocalDateTime.of(2017,11,13,1,3),
0)
valdumpChat6=Chat(matheus,
"androidnativeapp",
"c",
"Yes @sttyru, but you'll need to implement from the ground up following the docs at docs.rocket.chat where you can see the REST (HTTP) and Real-Time (WebSockets) calls.",
LocalDateTime.of(2017,11,14,1,3),
0)
valdumpChat7=Chat(bestrun,
"androidnativeapp-2",
"c",
"Just downloaded .zip and imported into Android Studio then build the project.",
LocalDateTime.of(2017,11,4,12,47),
0)
valdumpChat8=Chat(djc,
"iosnativeapp",
"c",
"Ok, got confused by the blog announcement that shows a screenshot with github oAuth ! Sorry !",
LocalDateTime.of(2017,11,4,12,43),
0)
// creates a list of chat sorted by lastMessageDateTime attribute.
* Shows the oauth view if the server settings allow the login via social accounts.
*
* REMARK: we must show at maximum *three* social accounts views ([enableLoginByFacebook], [enableLoginByGithub], [enableLoginByGoogle],
* [enableLoginByLinkedin], [enableLoginByMeteor], [enableLoginByTwitter] or [enableLoginByGitlab]) for the oauth view.
* If the possibility of login via social accounts exceeds 3 different ways we should set up the FAB ([setupFabListener]) to show the remaining view(s).
*
* @param value True to show the oauth view, false otherwise.
*/
funshowOauthView(value:Boolean)
/**
* Setups the FloatingActionButton to show more social accounts views (expanding the oauth view interface to show the remaining view(s)).
*/
funsetupFabListener()
/**
* Shows the login by Facebook view.
*/
funenableLoginByFacebook()
/**
* Shows the login by Github view.
*/
funenableLoginByGithub()
/**
* Shows the login by Google view.
*/
funenableLoginByGoogle()
/**
* Shows the login by Linkedin view.
*/
funenableLoginByLinkedin()
/**
* Shows the login by Meteor view.
*/
funenableLoginByMeteor()
/**
* Shows the login by Twitter view.
*/
funenableLoginByTwitter()
/**
* Shows the login by Gitlab view.
*/
funenableLoginByGitlab()
/**
* Shows the sign up view if the server settings allow the new users registration.
*
* @param value True to show the sign up view, false otherwise.
*/
funshowSignUpView(value:Boolean)
/**
* Alerts the user about a wrong inputted username or email.
*/
funalertWrongUsernameOrEmail()
/**
* Alerts the user about a wrong inputted password.
// In this case we need to setup the layout to hide and show the oauth interface when the soft keyboard is shown (means that the user touched the text_username_or_email and text_password EditText).
}
setupGlobalLayoutListener()
/*
// TODO: THIS IS A PRESENTER CONCERN - REMOVE THAT ! WE SHOULD GET THE SERVER SETTINGS!
<stringname="action_terms_of_service">Termos de Serviço</string>
<stringname="action_privacy_policy">Política de Privacidade</string>
<!-- Regular information messages -->
<!-- Regular information messages -->
<stringname="msg_no_internet_connection">Sem conexão à internet</string>
<stringname="msg_generic_error">Desculpe, ocorreu um erro, tente novamente</string>
<stringname="msg_username">nome de usuário</string>
<stringname="msg_username">nome de usuário</string>
<stringname="msg_username_or_email">nome de usuário ou email</string>
<stringname="msg_username_or_email">nome de usuário ou email</string>
<stringname="msg_password">senha</string>
<stringname="msg_password">senha</string>
<stringname="msg_name_and_surname">nome e sobrenome</string>
<stringname="msg_name_and_surname">nome e sobrenome</string>
<stringname="msg_email">email</string>
<stringname="msg_email">email</string>
<stringname="msg_or_continue_using_social_accounts">Ou continue através de contas sociais</string>
<stringname="msg_or_continue_using_social_accounts">Ou continue através de contas sociais</string>
<stringname="msg_new_to_rocket_chat">Novo no Rocket Chat? <fontcolor='#FF1976D2'>Inscreva-se</font></string>
<stringname="msg_new_to_rocket_chat">Novo no Rocket Chat? %1$s</string>
<stringname="msg_new_user_agreement">Ao proceder você concorda com nossos\n<fontcolor='#FF1976D2'>Termos de Serviço</font> e <fontcolor='#FF1976D2'>Política de Privacidade</font></string>
<stringname="msg_new_user_agreement">Ao proceder você concorda com nossos %1$s e %2$s</string>
<stringname="msg_no_internet_connection">No internet connection</string>
<stringname="msg_generic_error">Sorry, an error has occurred, please try again</string>
<stringname="msg_username">username</string>
<stringname="msg_username">username</string>
<stringname="msg_username_or_email">username or email</string>
<stringname="msg_username_or_email">username or email</string>
<stringname="msg_password">password</string>
<stringname="msg_password">password</string>
<stringname="msg_name_and_surname">name and surname</string>
<stringname="msg_name_and_surname">name and surname</string>
<stringname="msg_email">email</string>
<stringname="msg_email">email</string>
<stringname="msg_or_continue_using_social_accounts">Or continue using social accounts</string>
<stringname="msg_or_continue_using_social_accounts">Or continue using social accounts</string>
<stringname="msg_new_to_rocket_chat">New to Rocket Chat? <fontcolor='#FF1976D2'>Sign up</font></string>
<stringname="msg_new_to_rocket_chat">New to Rocket Chat? %1$s</string>
<stringname="msg_new_user_agreement">By proceeding you are agreeing to our\n<fontcolor='#FF1976D2'>Terms of Service</font> and <fontcolor='#FF1976D2'>Privacy Policy</font></string>
<stringname="msg_new_user_agreement">By proceeding you are agreeing to our\n%1$s and %2$s</string>