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
Showing
with 193 additions and 99 deletions
Loading
Loading
@@ -26,7 +26,7 @@ fun String.formatAsHtml(imageGetter: Html.ImageGetter? = null, tagHandler: Html.
}
 
fun String.resolveUrl(account: Account): String {
if (startsWith("/")){
if (startsWith("/")) {
return account.serverUrl + this.replaceFirst("/", "")
}
return this
Loading
Loading
Loading
Loading
@@ -8,7 +8,7 @@ import com.vdurmont.emoji.EmojiParser
import org.commonmark.parser.Parser
import org.commonmark.renderer.html.HtmlRenderer
 
fun TextView.setMarkdownText(text:String, project: Project? = null) {
fun TextView.setMarkdownText(text: String, project: Project? = null) {
 
val parser = Parser.builder().build()
val document = parser.parse(text)
Loading
Loading
Loading
Loading
@@ -2,6 +2,7 @@ package com.commit451.gitlab.extension
 
import com.commit451.gitlab.model.api.User
 
val User.feedUrl: String get() {
return webUrl + ".atom"
}
\ No newline at end of file
val User.feedUrl: String
get() {
return webUrl + ".atom"
}
\ No newline at end of file
Loading
Loading
@@ -41,19 +41,32 @@ class BuildDescriptionFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.text_name) lateinit var textName: TextView
@BindView(R.id.text_pipeline) lateinit var textPipeline: TextView
@BindView(R.id.text_stage) lateinit var textStage: TextView
@BindView(R.id.text_status) lateinit var textStatus: TextView
@BindView(R.id.text_duration) lateinit var textDuration: TextView
@BindView(R.id.text_created) lateinit var textCreated: TextView
@BindView(R.id.text_finished) lateinit var textFinished: TextView
@BindView(R.id.text_runner) lateinit var textRunner: TextView
@BindView(R.id.text_ref) lateinit var textRef: TextView
@BindView(R.id.text_author) lateinit var textAuthor: TextView
@BindView(R.id.text_message) lateinit var textMessage: TextView
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.text_name)
lateinit var textName: TextView
@BindView(R.id.text_pipeline)
lateinit var textPipeline: TextView
@BindView(R.id.text_stage)
lateinit var textStage: TextView
@BindView(R.id.text_status)
lateinit var textStatus: TextView
@BindView(R.id.text_duration)
lateinit var textDuration: TextView
@BindView(R.id.text_created)
lateinit var textCreated: TextView
@BindView(R.id.text_finished)
lateinit var textFinished: TextView
@BindView(R.id.text_runner)
lateinit var textRunner: TextView
@BindView(R.id.text_ref)
lateinit var textRef: TextView
@BindView(R.id.text_author)
lateinit var textAuthor: TextView
@BindView(R.id.text_message)
lateinit var textMessage: TextView
 
lateinit var project: Project
lateinit var build: Build
Loading
Loading
@@ -151,6 +164,7 @@ class BuildDescriptionFragment : ButterKnifeFragment() {
val runnerNum = String.format(getString(R.string.runner_number), runner.id.toString())
textRunner.text = runnerNum
}
fun bindPipeline(pipeline: Pipeline) {
val pipelineNum = String.format(getString(R.string.build_pipeline), pipeline.id.toString())
textPipeline.text = pipelineNum
Loading
Loading
Loading
Loading
@@ -40,9 +40,12 @@ class BuildLogFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.log) lateinit var textLog: TextView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.log)
lateinit var textLog: TextView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
 
lateinit var project: Project
lateinit var build: Build
Loading
Loading
Loading
Loading
@@ -42,11 +42,16 @@ class BuildsFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listBuilds: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.issue_spinner) lateinit var spinnerIssue: Spinner
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listBuilds: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
@BindView(R.id.issue_spinner)
lateinit var spinnerIssue: Spinner
 
lateinit var adapterBuilds: BuildAdapter
lateinit var layoutManagerBuilds: LinearLayoutManager
Loading
Loading
Loading
Loading
@@ -32,9 +32,12 @@ class CommitsFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listCommits: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listCommits: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
 
lateinit var layoutManagerCommits: LinearLayoutManager
lateinit var adapterCommits: CommitAdapter
Loading
Loading
Loading
Loading
@@ -42,9 +42,12 @@ class FeedFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listEntries: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listEntries: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
 
lateinit var adapterFeed: FeedAdapter
 
Loading
Loading
Loading
Loading
@@ -43,11 +43,16 @@ class FilesFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: View
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var list: RecyclerView
@BindView(R.id.breadcrumb) lateinit var listBreadcrumbs: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.root)
lateinit var root: View
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var list: RecyclerView
@BindView(R.id.breadcrumb)
lateinit var listBreadcrumbs: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
 
lateinit var adapterFiles: FileAdapter
lateinit var adapterBreadcrumb: BreadcrumbAdapter
Loading
Loading
Loading
Loading
@@ -49,11 +49,16 @@ class GroupMembersFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: View
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var list: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.add_user_button) lateinit var buttonAddUser: View
@BindView(R.id.root)
lateinit var root: View
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var list: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
@BindView(R.id.add_user_button)
lateinit var buttonAddUser: View
 
lateinit var adapterGroupMembers: GroupMembersAdapter
lateinit var layoutManagerGroupMembers: DynamicGridLayoutManager
Loading
Loading
Loading
Loading
@@ -44,13 +44,20 @@ class IssueDetailsFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.text_description) lateinit var textDescription: TextView
@BindView(R.id.author_image) lateinit var imageAuthor: ImageView
@BindView(R.id.author) lateinit var textAuthor: TextView
@BindView(R.id.milestone_root) lateinit var rootMilestone: ViewGroup
@BindView(R.id.milestone_text) lateinit var textMilestone: TextView
@BindView(R.id.list_labels) lateinit var listLabels: AdapterFlowLayout
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.text_description)
lateinit var textDescription: TextView
@BindView(R.id.author_image)
lateinit var imageAuthor: ImageView
@BindView(R.id.author)
lateinit var textAuthor: TextView
@BindView(R.id.milestone_root)
lateinit var rootMilestone: ViewGroup
@BindView(R.id.milestone_text)
lateinit var textMilestone: TextView
@BindView(R.id.list_labels)
lateinit var listLabels: AdapterFlowLayout
 
lateinit var adapterLabels: IssueLabelsAdapter
 
Loading
Loading
Loading
Loading
@@ -56,11 +56,16 @@ class IssueDiscussionFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listNotes: RecyclerView
@BindView(R.id.send_message_view) lateinit var sendMessageView: SendMessageView
@BindView(R.id.progress) lateinit var progress: View
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listNotes: RecyclerView
@BindView(R.id.send_message_view)
lateinit var sendMessageView: SendMessageView
@BindView(R.id.progress)
lateinit var progress: View
 
lateinit var adapter: NotesAdapter
lateinit var layoutManagerNotes: LinearLayoutManager
Loading
Loading
Loading
Loading
@@ -44,11 +44,16 @@ class IssuesFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listIssues: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.issue_spinner) lateinit var spinnerIssue: Spinner
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listIssues: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
@BindView(R.id.issue_spinner)
lateinit var spinnerIssue: Spinner
 
lateinit var adapterIssue: IssueAdapter
lateinit var layoutManagerIssues: LinearLayoutManager
Loading
Loading
Loading
Loading
@@ -45,9 +45,12 @@ class MergeRequestCommitsFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listCommits: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listCommits: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
 
lateinit var layoutManagerCommits: LinearLayoutManager
lateinit var adapterCommits: CommitAdapter
Loading
Loading
Loading
Loading
@@ -44,13 +44,20 @@ class MergeRequestDetailsFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.text_description) lateinit var textDescription: TextView
@BindView(R.id.author_image) lateinit var imageAuthor: ImageView
@BindView(R.id.author) lateinit var textAuthor: TextView
@BindView(R.id.milestone_root) lateinit var rootMilestone: ViewGroup
@BindView(R.id.milestone_text) lateinit var textMilestone: TextView
@BindView(R.id.list_labels) lateinit var listLabels: AdapterFlowLayout
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.text_description)
lateinit var textDescription: TextView
@BindView(R.id.author_image)
lateinit var imageAuthor: ImageView
@BindView(R.id.author)
lateinit var textAuthor: TextView
@BindView(R.id.milestone_root)
lateinit var rootMilestone: ViewGroup
@BindView(R.id.milestone_text)
lateinit var textMilestone: TextView
@BindView(R.id.list_labels)
lateinit var listLabels: AdapterFlowLayout
 
lateinit var adapterLabels: IssueLabelsAdapter
 
Loading
Loading
Loading
Loading
@@ -56,11 +56,16 @@ class MergeRequestDiscussionFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listNotes: RecyclerView
@BindView(R.id.send_message_view) lateinit var sendMessageView: SendMessageView
@BindView(R.id.progress) lateinit var progress: View
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listNotes: RecyclerView
@BindView(R.id.send_message_view)
lateinit var sendMessageView: SendMessageView
@BindView(R.id.progress)
lateinit var progress: View
 
lateinit var adapterNotes: NotesAdapter
lateinit var layoutManagerNotes: LinearLayoutManager
Loading
Loading
@@ -124,7 +129,7 @@ class MergeRequestDiscussionFragment : ButterKnifeFragment() {
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
when (requestCode) {
REQUEST_ATTACH -> {
REQUEST_ATTACH -> {
if (resultCode == RESULT_OK) {
val response = data!!.getParcelerParcelableExtra<FileUploadResponse>(AttachActivity.KEY_FILE_UPLOAD_RESPONSE)!!
progress.visibility = View.GONE
Loading
Loading
Loading
Loading
@@ -38,10 +38,14 @@ class MergeRequestsFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listMergeRequests: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.state_spinner) lateinit var spinnerState: Spinner
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listMergeRequests: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
@BindView(R.id.state_spinner)
lateinit var spinnerState: Spinner
 
lateinit var adapterMergeRequests: MergeRequestAdapter
lateinit var layoutManagerMergeRequests: LinearLayoutManager
Loading
Loading
Loading
Loading
@@ -41,11 +41,16 @@ class MilestonesFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list) lateinit var listMilestones: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.state_spinner) lateinit var spinnerStates: Spinner
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.list)
lateinit var listMilestones: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
@BindView(R.id.state_spinner)
lateinit var spinnerStates: Spinner
 
lateinit var adapterMilestones: MilestoneAdapter
lateinit var layoutManagerMilestones: LinearLayoutManager
Loading
Loading
Loading
Loading
@@ -43,9 +43,12 @@ class PickTagFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.list) lateinit var listProjects: RecyclerView
@BindView(R.id.message_text) lateinit var textMessage: TextView
@BindView(R.id.progress) lateinit var progress: View
@BindView(R.id.list)
lateinit var listProjects: RecyclerView
@BindView(R.id.message_text)
lateinit var textMessage: TextView
@BindView(R.id.progress)
lateinit var progress: View
 
lateinit var adapterTags: TagAdapter
 
Loading
Loading
Loading
Loading
@@ -42,17 +42,28 @@ class PipelineDescriptionFragment : ButterKnifeFragment() {
}
}
 
@BindView(R.id.root) lateinit var root: ViewGroup
@BindView(R.id.swipe_layout) lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.text_number) lateinit var textName: TextView
@BindView(R.id.text_status) lateinit var textStatus: TextView
@BindView(R.id.text_duration) lateinit var textDuration: TextView
@BindView(R.id.text_created) lateinit var textCreated: TextView
@BindView(R.id.text_finished) lateinit var textFinished: TextView
@BindView(R.id.text_ref) lateinit var textRef: TextView
@BindView(R.id.text_sha) lateinit var textSha: TextView
@BindView(R.id.text_author) lateinit var textAuthor: TextView
@BindView(R.id.text_message) lateinit var textMessage: TextView
@BindView(R.id.root)
lateinit var root: ViewGroup
@BindView(R.id.swipe_layout)
lateinit var swipeRefreshLayout: SwipeRefreshLayout
@BindView(R.id.text_number)
lateinit var textName: TextView
@BindView(R.id.text_status)
lateinit var textStatus: TextView
@BindView(R.id.text_duration)
lateinit var textDuration: TextView
@BindView(R.id.text_created)
lateinit var textCreated: TextView
@BindView(R.id.text_finished)
lateinit var textFinished: TextView
@BindView(R.id.text_ref)
lateinit var textRef: TextView
@BindView(R.id.text_sha)
lateinit var textSha: TextView
@BindView(R.id.text_author)
lateinit var textAuthor: TextView
@BindView(R.id.text_message)
lateinit var textMessage: TextView
 
lateinit var project: Project
lateinit var pipeline: Pipeline
Loading
Loading
@@ -133,7 +144,7 @@ class PipelineDescriptionFragment : ButterKnifeFragment() {
textDuration.text = duration
 
val ref = String.format(getString(R.string.pipeline_ref), pipeline.ref)
textRef.text = ref
textRef.text = ref
 
val sha = String.format(getString(R.string.pipeline_sha), pipeline.sha)
textSha.text = sha
Loading
Loading