Compare commits
6 Commits
main
...
release-2.
Author | SHA1 | Date | |
---|---|---|---|
|
5999b8ed4a | ||
|
2cba285076 | ||
|
24a552f0a9 | ||
|
d9a7fa4e44 | ||
|
9950d4ea65 | ||
|
98054b89cc |
@ -6,8 +6,8 @@ android {
|
||||
applicationId "org.mian.gitnex"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 28
|
||||
versionCode 70
|
||||
versionName "2.2.0"
|
||||
versionCode 72
|
||||
versionName "2.2.2"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
buildTypes {
|
||||
|
@ -89,6 +89,7 @@ public class MyRepositoriesFragment extends Fragment {
|
||||
final String instanceUrl = tinyDb.getString("instanceUrl");
|
||||
final String loginUid = tinyDb.getString("loginUid");
|
||||
final String instanceToken = "token " + tinyDb.getString(loginUid + "-token");
|
||||
final String userLogin = tinyDb.getString("userLogin");
|
||||
|
||||
final SwipeRefreshLayout swipeRefresh = v.findViewById(R.id.pullToRefresh);
|
||||
|
||||
@ -140,13 +141,13 @@ public class MyRepositoriesFragment extends Fragment {
|
||||
@Override
|
||||
public void run() {
|
||||
swipeRefresh.setRefreshing(false);
|
||||
MyRepositoriesViewModel.loadMyReposList(instanceUrl, Authorization.returnAuthentication(getContext(), loginUid, instanceToken), loginUid);
|
||||
MyRepositoriesViewModel.loadMyReposList(instanceUrl, Authorization.returnAuthentication(getContext(), loginUid, instanceToken), userLogin);
|
||||
}
|
||||
}, 50);
|
||||
}
|
||||
});
|
||||
|
||||
fetchDataAsync(instanceUrl, Authorization.returnAuthentication(getContext(), loginUid, instanceToken), loginUid);
|
||||
fetchDataAsync(instanceUrl, Authorization.returnAuthentication(getContext(), loginUid, instanceToken), userLogin);
|
||||
|
||||
}
|
||||
else {
|
||||
@ -164,16 +165,17 @@ public class MyRepositoriesFragment extends Fragment {
|
||||
final String instanceUrl = tinyDb.getString("instanceUrl");
|
||||
final String loginUid = tinyDb.getString("loginUid");
|
||||
final String instanceToken = "token " + tinyDb.getString(loginUid + "-token");
|
||||
final String userLogin = tinyDb.getString("userLogin");
|
||||
|
||||
MyRepositoriesViewModel.loadMyReposList(instanceUrl, Authorization.returnAuthentication(getContext(), loginUid, instanceToken), loginUid);
|
||||
MyRepositoriesViewModel.loadMyReposList(instanceUrl, Authorization.returnAuthentication(getContext(), loginUid, instanceToken), userLogin);
|
||||
|
||||
}
|
||||
|
||||
private void fetchDataAsync(String instanceUrl, String instanceToken, String username) {
|
||||
private void fetchDataAsync(String instanceUrl, String instanceToken, String userLogin) {
|
||||
|
||||
MyRepositoriesViewModel myRepoModel = new ViewModelProvider(this).get(MyRepositoriesViewModel.class);
|
||||
|
||||
myRepoModel.getCurrentUserRepositories(instanceUrl, instanceToken, username).observe(this, new Observer<List<UserRepositories>>() {
|
||||
myRepoModel.getCurrentUserRepositories(instanceUrl, instanceToken, userLogin).observe(this, new Observer<List<UserRepositories>>() {
|
||||
@Override
|
||||
public void onChanged(@Nullable List<UserRepositories> myReposListMain) {
|
||||
adapter = new MyReposListAdapter(getContext(), myReposListMain);
|
||||
|
16
fastlane/metadata/android/en-US/changelogs/71.txt
Normal file
16
fastlane/metadata/android/en-US/changelogs/71.txt
Normal file
@ -0,0 +1,16 @@
|
||||
2.2.1
|
||||
- Bug fix: Crash on empty repository
|
||||
|
||||
2.2.0
|
||||
- New: Explore repositories
|
||||
- New: Files and directory browser (Require Gitea 1.9)
|
||||
- New: Basic file viewer
|
||||
- New: Filter files/directories
|
||||
- New: Star/unstar a repository
|
||||
- New: Watch/unwatch a repository
|
||||
- Improvement: Added Corwdin for translation
|
||||
- Improvement: Bottomsheet scroll and line dividers
|
||||
- Improvement: New languages support
|
||||
|
||||
For more, check the release notes.
|
||||
https://gitea.com/gitnex/GitNex/releases
|
19
fastlane/metadata/android/en-US/changelogs/72.txt
Normal file
19
fastlane/metadata/android/en-US/changelogs/72.txt
Normal file
@ -0,0 +1,19 @@
|
||||
2.2.2
|
||||
- Bug fix: My repositories when login via email
|
||||
|
||||
2.2.1
|
||||
- Bug fix: Crash on empty repository
|
||||
|
||||
2.2.0
|
||||
- New: Explore repositories
|
||||
- New: Files and directory browser (Require Gitea 1.9)
|
||||
- New: Basic file viewer
|
||||
- New: Filter files/directories
|
||||
- New: Star/unstar a repository
|
||||
- New: Watch/unwatch a repository
|
||||
- Improvement: Added Corwdin for translation
|
||||
- Improvement: Bottomsheet scroll and line dividers
|
||||
- Improvement: New languages support
|
||||
|
||||
For more, check the release notes.
|
||||
https://gitea.com/gitnex/GitNex/releases
|
@ -2,8 +2,9 @@ GitNex is a free, open-source Android client for Git repository management tool
|
||||
|
||||
# Features
|
||||
|
||||
- File/Directory browser
|
||||
- File viewer
|
||||
- Create files
|
||||
- File browser
|
||||
- Explore repositories
|
||||
- My repositories
|
||||
- Repositories list
|
||||
@ -28,7 +29,8 @@ GitNex is a free, open-source Android client for Git repository management tool
|
||||
- Collaborators view for repository
|
||||
- Markdown support
|
||||
- Emoji support
|
||||
- Settings : Pretty and Normal time format, language change
, issue badge
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user