Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Commit451/LabCoat
  • Iktwo/GitLabAndroid
  • jonduran3000/GitLabAndroid
  • steffandroid/GitLabAndroid
  • xiaoyanit/GitLabAndroid
  • scottolcott/GitLabAndroid
  • james.mu/GitLabAndroid
  • pushkarpandey27/GitLabAndroid
  • atomfrede/GitLabAndroid
  • burrito82/GitLabAndroid
  • txlong_onz/GitLabAndroid
  • ricardo.longa/GitLabAndroid
  • rubenroy/GitLabAndroid
  • remy_android/GitLabAndroid
  • mzestars/GitLabAndroid
  • theobisproject/LabCoat
  • tarek360/GitLabAndroid
  • TR4Android/LabCoat
  • lvsmart/LabCoat
  • buddybuild/LabCoat
  • tkuah/LabCoat
  • jay3126/LabCoat
  • rmad17/LabCoat
  • galvatron/LabCoat
  • lijianjian13/LabCoat
  • Cody2333/LabCoat
  • ajtfreitas/LabCoat
  • nestor.lobo/LabCoat
  • Microgamer/LabCoat
  • irvinwang/LabCoat
  • avallete/LabCoat
  • digicazter/LabCoat
  • lovexiaov/LabCoat
  • dineshkarpe/LabCoat
  • bak1an/LabCoat
  • loomis/LabCoat
  • sank20/LabCoat
  • Jawnnyfoo/LabCoat
  • scottyab/LabCoat
  • aleksandar-stefanovic/LabCoat
  • tfontana/LabCoat
  • fuzzmz/LabCoat
  • dipaksavaliya/LabCoat
  • adi.bk/LabCoat
  • andreea.voicu/LabCoat
  • H1ghT0p/LabCoat
  • indritqoku/LabCoat
  • armpogart/LabCoat
  • eyedol/LabCoat
  • khairulnizan/LabCoat
  • vadm.perspectiva/LabCoat
  • yiyoss1986/LabCoat
  • BRoy98/LabCoat
  • satyarth.23/LabCoat
  • victorpe76/LabCoat
  • canhnht/LabCoat
  • jinhu/LabCoat
  • weathery/LabCoat
  • gitlabproject_s/LabCoat
  • tfKamran/LabCoat
  • voxadam/LabCoat
  • nprail/LabCoat
  • terrakok/LabCoat
  • jungletian/LabCoat
  • goldins/LabCoat
  • insanum/LabCoat
  • lzrs/LabCoat
  • shankarg/LabCoat
  • rm3l/LabCoat
  • alamo_dev/LabCoat
  • insomniaqc/LabCoat
  • mrasif/LabCoat
  • Babasile/LabCoat
  • eeyoo/LabCoat
  • ditkin/LabCoat
  • unbubot/LabCoat
  • bschuhm/LabCoat
  • fanticker/LabCoat
  • colorwebdesigner/LabCoat
  • milouse/LabCoat
80 results
Show changes
Loading
@@ -93,7 +93,7 @@
Loading
@@ -93,7 +93,7 @@
<string name="url_gitlab">https://gitlab.com/</string> <string name="url_gitlab">https://gitlab.com/</string>
<string name="user_hint">Username or Email</string> <string name="user_hint">Username or Email</string>
<string name="password_hint">Password</string> <string name="password_hint">Password</string>
<string name="token_hint">Private or personal access token</string> <string name="token_hint">Personal Access token</string>
<string name="login_activity">Login</string> <string name="login_activity">Login</string>
<string name="login_progress_dialog">Logging in. Please wait</string> <string name="login_progress_dialog">Logging in. Please wait</string>
<string name="advanced_login">Advanced Login</string> <string name="advanced_login">Advanced Login</string>
Loading
@@ -107,8 +107,9 @@
Loading
@@ -107,8 +107,9 @@
<string name="not_a_valid_private_token">Not a valid private token</string> <string name="not_a_valid_private_token">Not a valid private token</string>
<string name="realm_message">A username and password are being requested by the server.\nThe server says: \"%1$s\"</string> <string name="realm_message">A username and password are being requested by the server.\nThe server says: \"%1$s\"</string>
<string name="already_logged_in">This account is already logged in</string> <string name="already_logged_in">This account is already logged in</string>
<string name="open_login_page">Web Login To Fetch Private Token</string> <string name="access_token_info_title">Personal Access Token</string>
<string name="open_login_page_for_personal_access_token">Web Login To Fetch Personal Access Token</string> <string name="access_token_info_message">In order to log in to GitLab, you need to create a personal access token for the app to use. This is more secure than inputting your username and password, since those values could be tracked or used maliciously. You can create a personal access token under your profile preferences. Please select "api" as the scope of this token. You can leave "expires at" blank to never have the token expire.</string>
<string name="create_personal_access_token">Create Personal Access Token</string>
   
<!-- Error messages --> <!-- Error messages -->
<string name="connection_error">Connection failed</string> <string name="connection_error">Connection failed</string>
Loading
@@ -525,5 +526,6 @@
Loading
@@ -525,5 +526,6 @@
<string name="no_tags">No tags</string> <string name="no_tags">No tags</string>
<string name="fetching_some_details">Fetching some details</string> <string name="fetching_some_details">Fetching some details</string>
   
<string name="title_activity_fullscreen_image">FullscreenImageActivity</string> <string name="welcome">Welcome to LabCoat</string>
<string name="welcome_message">We support GitLab.com, as well as any GitLab server running GitLab version 9.0 or later</string>
</resources> </resources>
\ No newline at end of file
Loading
@@ -14,7 +14,7 @@
Loading
@@ -14,7 +14,7 @@
<item name="alertDialogTheme">@style/AppDialogTheme</item> <item name="alertDialogTheme">@style/AppDialogTheme</item>
</style> </style>
   
<style name="Activity" parent="AppTheme"/> <style name="Activity" parent="AppTheme" />
   
<style name="Activity.Login"> <style name="Activity.Login">
<item name="android:windowBackground">?attr/colorPrimary</item> <item name="android:windowBackground">?attr/colorPrimary</item>
Loading
@@ -72,4 +72,10 @@
Loading
@@ -72,4 +72,10 @@
<item name="android:foreground">?attr/selectableItemBackground</item> <item name="android:foreground">?attr/selectableItemBackground</item>
</style> </style>
   
<style name="Text" />
<style name="Text.MonoRegular">
<item name="android:fontFamily">@font/roboto_mono_regular</item>
</style>
</resources> </resources>
\ No newline at end of file
Loading
@@ -3,12 +3,9 @@ package com.commit451.gitlab
Loading
@@ -3,12 +3,9 @@ package com.commit451.gitlab
import com.commit451.gitlab.api.GitLabFactory import com.commit451.gitlab.api.GitLabFactory
import com.commit451.gitlab.api.GitLabService import com.commit451.gitlab.api.GitLabService
import com.commit451.gitlab.api.OkHttpClientFactory import com.commit451.gitlab.api.OkHttpClientFactory
import com.commit451.gitlab.api.request.SessionRequest
import com.commit451.gitlab.model.Account import com.commit451.gitlab.model.Account
import okhttp3.logging.HttpLoggingInterceptor import okhttp3.logging.HttpLoggingInterceptor
import org.junit.Assert import org.junit.Assert
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertTrue
import retrofit2.Response import retrofit2.Response
   
/** /**
Loading
@@ -27,16 +24,8 @@ object TestUtil {
Loading
@@ -27,16 +24,8 @@ object TestUtil {
gitlabClientBuilder.addInterceptor(HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY)) gitlabClientBuilder.addInterceptor(HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY))
} }
val gitLab = GitLabFactory.create(account, gitlabClientBuilder.build()) val gitLab = GitLabFactory.create(account, gitlabClientBuilder.build())
val request = SessionRequest()
request.login = "TestAllTheThings"
request.password = "testing123"
val loginResponse = gitLab
.login(request)
.blockingGet()
assertTrue(loginResponse.isSuccessful)
assertNotNull(loginResponse.body()!!.privateToken)
//attach the newly retrieved private token //attach the newly retrieved private token
account.privateToken = loginResponse.body()!!.privateToken account.privateToken = "UjssYTJLWy7CFs7G8sS_"
return gitLab return gitLab
} }
   
Loading
Loading
Loading
@@ -8,7 +8,7 @@ buildscript {
Loading
@@ -8,7 +8,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0' classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
classpath 'com.github.Commit451:updatewrapper:1.1.2' classpath 'com.github.Commit451:updatewrapper:1.1.2'
Loading
Loading