7e514041bb
Do not use TinyDB as a cache or a way to send data between activities.
### How is this working
Instead of saving everything into the TinyDB, I created three `Context`s (a `RepositoryContext`, an `IssueContext` and an `AccountContext`). All are used to store things like API or database values/models and additional data, e.g. the `RepositoryContext` also contains information about the current filter state of a repository (issues, pull requests, releases/tags and milestones). These are sent using `Intent`s and `Bundle`s between activities and fragments. Changing a field (e.g. filter state) in any fragment changes it also for the whole repository (or at least it should do so).
Due to the size of the changes (after
|
||
---|---|---|
.gitea | ||
.idea/codeStyles | ||
app | ||
assets | ||
fastlane/metadata/android/en-US | ||
gradle/wrapper | ||
scripts | ||
.drone.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
build.gradle | ||
crowdin.example.yml | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
settings.gradle |
README.md
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
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
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:
Links
Thanks
Thanks to all the open source libraries, contributors and donators.
Open source libraries
- square/retrofit
- google/gson
- square/okhttp
- square/picasso
- wasabeef/picasso-transformations
- cats-oss/android-gpuimage
- noties/Markwon
- noties/Prism4j
- ocpsoft/prettytime
- amulyakhare/TextDrawable
- vdurmont/emoji-java
- Pes8/android-material-color-picker-dialog
- HamidrezaAmz/BreadcrumbsView
- Baseflow/PhotoView
- apache/commons
- ge0rg/MemorizingTrustManager
- mikaelhg/urlbuilder
- ACRA/acra
- chrisvest/stormpot
Icon sets
Follow me on Fediverse - mastodon.social/@mmarif
All trademarks and logos are the properties of their respective owners.