[Pull] Add Explore function #71

Closed
opened 2020-06-03 14:47:31 +00:00 by 6543 · 25 comments
Member

should resolve https://gitea.com/mmarif/GitNex/issues/66

this is a draft and i just test how hard this is to implement ...


Original Pull att :https://gitea.com/gitnex/GitNex/pulls/71

Merged with: 2ba8a80b9f

should resolve https://gitea.com/mmarif/GitNex/issues/66 this is a draft and i just test how hard this is to implement ... --- Original Pull att :https://gitea.com/gitnex/GitNex/pulls/71 Merged with: 2ba8a80b9f7860ad1631e1b61926ec59c48ee29b
6543 added this to the 2.2.0 milestone 2020-06-03 14:47:31 +00:00
6543 added the
🎉 Feature
label 2020-06-03 14:47:31 +00:00
6543 closed this issue 2020-06-03 14:47:31 +00:00
6543 self-assigned this 2020-06-03 14:48:12 +00:00
mmarif was assigned by 6543 2020-06-03 14:48:12 +00:00
Author
Member

@mmarif you dont have to wirte me entire diffs anymore as for https://gitea.com/mmarif/GitNex/pulls/32 you can directly wrie to my forg i give you wrie permission ... | we will see what we do with this ;)

@mmarif you dont have to wirte me entire diffs anymore as for https://gitea.com/mmarif/GitNex/pulls/32 you can directly wrie to my [forg](https://gitea.com/6543/GitNex/src/branch/repoSearch) i give you wrie permission ... | we will see what we do with this ;)
Author
Member

Created By: @succfemboi

pic doesn't show up

Created By: @succfemboi pic doesn't show up
Author
Member

@succfemboi upload of gitea.com now works again ... it seams the are working on something related to this

@succfemboi upload of gitea.com now works again ... it seams the are working on something related to this
Author
Member

Created By: @succfemboi

It still doesn't show up on latest gitnex

Created By: @succfemboi It still doesn't show up on latest gitnex
Author
Member
* GitNex does NOT support attachments jet (https://gitea.com/mmarif/GitNex/issues/56) * and it doesnt show pictures in markdown (https://gitea.com/mmarif/GitNex/issues/72)
Owner

@succfemboi there is no attachment API yet. When it's available will be implemented.

@6543 current markdown lib does support images, but with strict markdown format. If format is different it will not render them.

@succfemboi there is no attachment API yet. When it's available will be implemented. @6543 current markdown lib does support images, but with strict markdown format. If format is different it will not render them.
Author
Member

so work on this ...

so work on this ...
Author
Member

repos/search?q={query}&topic=false&includeDesc=true&private=false

  • {query} = search string
  • topic=false = must match topic
  • includeDesc=true = look also in repo descripton
  • private=false = is public
repos/search?q={query}&topic=false&includeDesc=true&private=false * {query} = search string * topic=false = must match topic * includeDesc=true = look also in repo descripton * private=false = is public
Author
Member

is this the right way to define an API point? @mmarif

89c65abdcf

is this the right way to define an API point? @mmarif https://gitea.com/6543/GitNex/commit/89c65abdcf0df05c74a916993910df21b156628c
Owner

You can pass the parameters directly to the API, like

@GET("repos/search") // get all repos who match query string
    Call<List<UserRepositories>> queryRepos(@Header("Authorization") String token, @Query("q") String searchKeyword);
You can pass the parameters directly to the API, like ``` @GET("repos/search") // get all repos who match query string Call<List<UserRepositories>> queryRepos(@Header("Authorization") String token, @Query("q") String searchKeyword); ```
Owner
This can help https://gitea.com/mmarif/GitNex/src/branch/master/app/src/main/java/org/mian/gitnex/interfaces/ApiInterface.java#L153
Author
Member

only available in 1.10.x:

  • includeDesc
  • topic

so will add later if it goes to v2.2.0

only available in 1.10.x: * includeDesc * topic so will add later if it goes to v2.2.0
Author
Member

@mmarif I have a question: where can i find the java component of drawer_menu.xml ?

@mmarif I have a question: where can i find the java component of drawer_menu.xml ?
Owner

I will work with you on this. Added it to nav java.

I will work with you on this. Added it to nav java.
Author
Member

Wow thanks!

Wow thanks!
Author
Member

will work on it this avternoon if i had time - researched and tested translation tools & webhooks co.

will work on it this ~~avternoon~~ if i had time - researched and tested translation tools & webhooks co.
Author
Member

@mmarif rebased + commits combined to cleanup logs and so on

@mmarif rebased + commits combined to cleanup logs and so on
Owner

@6543 this is ready for testing. :)

@6543 this is ready for testing. :)
Author
Member

Nice you ar quite fast ...
wait I'll test it

Nice you ar quite fast ... wait I'll test it
Author
Member

-> Works NICE

Merge and new PR to open the Repos or work in this PR to open the Repos?

-> Works NICE Merge and new PR to open the Repos or work in this PR to open the Repos?
Owner

Merge and new PR to open the Repos or work in this PR to open the Repos?

I am going to enable that in this PR. Will be quick.

> Merge and new PR to open the Repos or work in this PR to open the Repos? I am going to enable that in this PR. Will be quick.
Owner

This PR is done from my side. @6543 you can check and approve.

This PR is done from my side. @6543 you can check and approve.
Author
Member

-> would say is ready for merge 🚀

-> would say is ready for merge :rocket:
Owner

Haha, it is your PR suppose I approve. I guess I need some sleep. :)

Haha, it is your PR suppose I approve. I guess I need some sleep. :)
Author
Member

o right ... overlook the smal things ... is quite common

o right ... overlook the smal things ... is quite common
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitnex/GitNex#71
No description provided.