qwerty287 dec9c1e224 Improve md rendering (#1008)
* the first commits close https://codeberg.org/gitnex/GitNex/issues/925
	* instead of using `TextView`s, it now uses `RecyclerView`s as they are supported by `Markwon` too and especially tables look better
    * see https://noties.io/Markwon/docs/v4/recycler/ and https://noties.io/Markwon/docs/v4/recycler-table/
    * I replaced the `TextView`s on issue descriptions, comments, file viewer and the README viewer with a `RecyclerView`
* the second parts close https://codeberg.org/gitnex/GitNex/issues/993
	* images are now displayed if content is rendered using a `RecyclerView`
    * it seems that there is an issue with the `PicassoImagesPlugin` with `TextView`s, with `RecyclerView`s it's working
* the third parts render issue/PR links like #1 as links, that closes https://codeberg.org/gitnex/GitNex/issues/72
	* therefore, I added an URL prefix to the deep links named `gitnex` so that it is possible to open links from any instance by using `gitnex` instead of `http`/`https`
    * Full links are rendered as #index too
    * code is mostly from the sample app (https://github.com/noties/Markwon/blob/master/app-sample/src/main/java/io/noties/markwon/app/samples/GithubUserIssueInlineParsingSample.java#L60-L110)
* I undid https://codeberg.org/gitnex/GitNex/pulls/995 because it wouldn't work if you have code block (starting/ending with ```) with newlines in it, I found another solution (see [the issue on gh](https://github.com/noties/Markwon/issues/168#issuecomment-622943057) and ef9bdbfb90)
* in the next commits (dd99f435ee...2021a71951), I fixed and improved various things
	* commit links are only rendered as short SHA
    * supports relative attachment links (addresses #993)
    * don't render email addresses as user mentions

However, one thing isn't working right now:
* the `LinkifyPlugin` is not working with `RecyclerView`s right now
* I would like to change the way how the links are rendered and to open the activities directly instead of opening the deeplinkactivity

close https://codeberg.org/gitnex/GitNex/issues/925 close https://codeberg.org/gitnex/GitNex/issues/993 close https://codeberg.org/gitnex/GitNex/issues/72

Co-authored-by: qwerty287 <ndev@web.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1008
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
2021-12-15 23:39:04 +01:00
2021-10-24 14:55:48 +02:00
2021-12-15 23:39:04 +01:00
2020-11-02 16:01:59 +01:00
2021-11-01 09:11:10 +01:00
2021-05-01 20:30:44 +02:00
2020-07-22 21:32:42 +02:00
2021-11-01 08:00:52 +01:00
2020-06-04 17:37:51 +02:00
2021-05-01 20:30:44 +02:00
2020-07-09 17:42:13 +02:00
2021-11-01 09:15:55 +01:00
2019-06-04 02:25:05 +05:00

License: GPL v3 Pipeline status Release Crowdin Join the Discord chat at https://discord.gg/FbSS4rf

Become a Patreon

GitNex - Android client for Gitea

GitNex is a free/paid, open-source Android client for Git repository management tool Gitea. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go.

GitNex is licensed under GPLv3 License. See the LICENSE file for the full license text. No trackers are used and source code is available here for anyone to audit.

Downloads

Get it on F-Droid Get it on Google Play Download builds and releases

Note about Gitea version

Please make sure that you are on latest stable release or later for better app experience.

Check the versions compatibility page which lists all the supported versions with compatibility ratio.

Build from source

Option 1 - Download the source code, open it in Android Studio and build it there.

Option 2 - Open terminal(Linux) and cd to the project dir. Run ./gradlew assembleFree.

Features

  • Multiple accounts support
  • File and directory browser
  • File viewer
  • Create files
  • Explore repositories
  • Pull requests
  • Files diff for PRs
  • Notifications
  • Drafts
  • Repositories / issues / org list
  • MANY MORE

Contributing

CONTRIBUTING

Translation

Help us translate GitNex to your native language.

We use Crowdin for translation. If your language is not listed, please request here to add it to the project.

Link: https://crowdin.com/project/GitNex

Screenshots:

001.png 002.png 003.png 004.png
005.png 006.png 007.png 008.png

Website

Wiki

Troubleshoot Guide

Faq

Release Blog

Thanks

Thanks to all the open source libraries, contributors and donators.

Open source libraries

Icon sets

Follow me on Fediverse - mastodon.social/@mmarif

All trademarks and logos are the properties of their respective owners.

Description
No description provided
Readme 36 MiB
Languages
Java 99.9%