Implement drafts, introduce Room persistence library for db (#139)

Fix no draft message

translation updates

format improvements

typo update

some renaming refactors

Use better naming convention

remove duplicate source

arrange draft titles

enhance click listener area

Launch drafts from reply screen and clean up

Add message draft saved

update repositories tasks

Update user accounts repository with thread, remove async tasks

remove async task in drafts

update layout, change async to thread in drafts

Merge branch 'master' into pull_139

# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/mian/gitnex/activities/LoginActivity.java

Merge branch 'master' into pull_139

# Conflicts:
#	app/src/main/java/org/mian/gitnex/activities/ReplyToIssueActivity.java

Merge branch 'pull_139' of codeberg.org:gitnex/GitNex into pull_139

# Conflicts:
#	app/src/main/java/org/mian/gitnex/adapters/MyReposListAdapter.java

Merge branch 'master' into pull_139

# Conflicts:
#	app/src/main/java/org/mian/gitnex/activities/LoginActivity.java
#	app/src/main/java/org/mian/gitnex/activities/ReplyToIssueActivity.java
#	app/src/main/java/org/mian/gitnex/adapters/MyReposListAdapter.java

Merge branch 'master' into pull_139

Merge branch 'master' into pull_139

Merge branch 'master' into pull_139 and fix conflicts

# Conflicts:
#	app/build.gradle
#	app/src/main/java/org/mian/gitnex/activities/LoginActivity.java
#	app/src/main/java/org/mian/gitnex/activities/MainActivity.java
#	app/src/main/java/org/mian/gitnex/activities/ReplyToIssueActivity.java
#	app/src/main/java/org/mian/gitnex/adapters/MyReposListAdapter.java
#	app/src/main/java/org/mian/gitnex/helpers/StaticGlobalVariables.java
#	app/src/main/res/values/strings.xml

Code Format

Merge branch 'master' into 15-comments-draft

Merge branch 'master' into 15-comments-draft

Merge branch 'master' into 15-comments-draft

# Conflicts:
#	app/src/main/java/org/mian/gitnex/activities/MainActivity.java
#	app/src/main/res/values/strings.xml

Go to draft, save on type and other fixes

delete all drafts, added messages where needed

delete draft

Force logout

Merge branch 'master' into 15-comments-draft

Merge branch 'master' into 15-comments-draft

# Conflicts:
#	app/src/main/java/org/mian/gitnex/activities/MainActivity.java
#	app/src/main/java/org/mian/gitnex/helpers/StaticGlobalVariables.java

check if account data is null, we need to log the user out for the 1st time.

Merge branch 'master' into 15-comments-draft

fix repo owner, name sequence

Add comments for test, show drafts list

Add repos to db

Add account to db and other refactors to the code

Merge branch 'master' into 15-comments-draft

Merge branch 'master' into 15-comments-draft

Merge branch 'master' into 15-comments-draft

Merge branch 'master' into 15-comments-draft

# Conflicts:
#	app/build.gradle
#	app/src/main/AndroidManifest.xml

Merge branch 'master' into 15-comments-draft

merge

more queries, added dao repositories, layout update

Added queries in dao

some refactor. added models, dao, entities (accounts, repositories, drafts)

WIP on implementing drafts, introduced Room persistence library for db.

Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/139
Reviewed-by: opyale <opyale@noreply.codeberg.org>
This commit is contained in:
M M Arif
2020-07-04 22:51:55 +02:00
parent f135508745
commit cdfc2cfb9e
37 changed files with 2280 additions and 465 deletions

View File

@ -1,19 +1,19 @@
1.1.0-rc1
- New: Redesign the whole app experience in terms of fonts, colors, ux adjustments and ui fixes
- New: New font
- New: Issues counter badge. Can be enabled/disabled from settings
- New: Redesigned settings screen
- New: Create a team in Organization
- New: List organization members
- New: List organization teams
- New: List team members in organization by tapping on the team name
- New: Repository list for the organization. Tap on organization.
- New: Show the repositories list starred by the logged in user
- Enhancement: Login api calls for http status code 500
- Enhancement: Font sizes, color schemes
- Enhancement: Labels, user avatars, menus
- Enhancement: Added names to collaborators grid in repository view instead of tap
- Enhancement: Refactored and redesigned About screen
- Enhancement: Reply to issue button is now at the nav header
- Fixed: Collaborators avatar layout grid
- New: Redesign the whole app experience in terms of fonts, colors, ux adjustments and ui fixes
- New: New font
- New: Issues counter badge. Can be enabled/disabled from settings
- New: Redesigned settings screen
- New: Create a team in Organization
- New: List organization members
- New: List organization teams
- New: List team members in organization by tapping on the team name
- New: Repository list for the organization. Tap on organization.
- New: Show the repositories list starred by the logged in user
- Enhancement: Login api calls for http status code 500
- Enhancement: Font sizes, color schemes
- Enhancement: Labels, user avatars, menus
- Enhancement: Added names to collaborators grid in repository view instead of tap
- Enhancement: Refactored and redesigned About screen
- Enhancement: Reply to issue button is now at the nav header
- Fixed: Collaborators avatar layout grid
- Fixed: Malformed json in logins

View File

@ -10,4 +10,4 @@
- Improvement: New languages support
For more, check the release notes.
https://codeberg.org/gitnex/GitNex/releases
https://codeberg.org/gitnex/GitNex/releases

View File

@ -13,4 +13,4 @@ Improvement: Refactor credits and sponsors screens
Bugfix: Multiple token creation from upstream API (logout and login is required)
For more, check the release notes.
https://codeberg.org/gitnex/GitNex/releases
https://codeberg.org/gitnex/GitNex/releases

View File

@ -1,48 +1,48 @@
GitNex is a free, 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.
# Features
- File and directory browser
- File viewer
- Create files
- Login via Token
- Merge pull request
- Offline mode(cache)
- Explore repositories
- Diff view of PR files for public repositories
- My repositories
- Repositories list
- Organizations list
- Create new repository
- Create new organization
- Search/filter repositories and organizations
- Profile view
- Repository stars, watchers, issues count
- Issues list
- Issue comments
- Comment on issues
- Search issues in issues list
- Create new issue with multiple assignee, labels and add milestone, due date to it
- Create label
- Edit / delete labels
- Repository information
- Milestones list
- Create new milestone
- Branches list
- Releases with source download
- Collaborators view for repository
- Markdown support
- Emoji support
- Settings : Pretty and Normal time format, language change
, issue badge
- Option to access local non-https installs
- Basic HTTP authentication support. Use USERNAME@YOUR-DOMAIN.COM in URL field
- 2FA OTP support. Check the Troubleshoot wiki page for usage
- Create a new user - Admin privilege required
- Closed issues list
- Edit issues
More features - https://codeberg.org/gitnex/GitNex/wiki/Features
Source code: https://codeberg.org/gitnex/GitNex
Developer: https://mastodon.social/@mmarif
GitNex is a free, 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.
# Features
- File and directory browser
- File viewer
- Create files
- Login via Token
- Merge pull request
- Offline mode(cache)
- Explore repositories
- Diff view of PR files for public repositories
- My repositories
- Repositories list
- Organizations list
- Create new repository
- Create new organization
- Search/filter repositories and organizations
- Profile view
- Repository stars, watchers, issues count
- Issues list
- Issue comments
- Comment on issues
- Search issues in issues list
- Create new issue with multiple assignee, labels and add milestone, due date to it
- Create label
- Edit / delete labels
- Repository information
- Milestones list
- Create new milestone
- Branches list
- Releases with source download
- Collaborators view for repository
- Markdown support
- Emoji support
- Settings : Pretty and Normal time format, language change
, issue badge
- Option to access local non-https installs
- Basic HTTP authentication support. Use USERNAME@YOUR-DOMAIN.COM in URL field
- 2FA OTP support. Check the Troubleshoot wiki page for usage
- Create a new user - Admin privilege required
- Closed issues list
- Edit issues
More features - https://codeberg.org/gitnex/GitNex/wiki/Features
Source code: https://codeberg.org/gitnex/GitNex
Developer: https://mastodon.social/@mmarif