Fix version API auth check #391

Closed
mmarif wants to merge 5 commits from 389-version-api-auth into master
Owner

Closes #389

Closes #389
mmarif added this to the 2.5.0 milestone 2020-04-12 16:24:50 +00:00
mmarif added the
Bug
label 2020-04-12 16:24:50 +00:00
mmarif self-assigned this 2020-04-12 16:24:50 +00:00
mmarif added the
WIP
label 2020-04-12 16:25:01 +00:00
Author
Owner

Just initial work, have to go now. Will finish it later.

Just initial work, have to go now. Will finish it later.
mmarif added
LGTM-need
and removed
WIP
labels 2020-04-12 18:10:51 +00:00
6543 reviewed 2020-04-12 19:07:30 +00:00
Dismissed
@ -447,6 +449,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
}
else if (responseVersion.code() == 403) {

instead of using a flag we could use loginToken_ or basic auth if we get a 403

instead of using a flag we could use `loginToken_` or **basic auth** if we get a 403
Author
Owner

instead of using a flag we could use loginToken_ or basic auth if we get a 403

Don't quite understand this part. Do you mean call the API inside 403?

> instead of using a flag we could use loginToken_ or basic auth if we get a 403 Don't quite understand this part. Do you mean call the API inside 403?
6543 approved these changes 2020-04-12 19:07:55 +00:00
Dismissed
6543 left a comment
Member

should I try to fix this?

should I try to fix this?
6543 requested changes 2020-04-12 19:08:08 +00:00
Dismissed
6543 left a comment
Member

wrong button

wrong button
Author
Owner

should I try to fix this?

Fix??

> should I try to fix this? Fix??
Member

sory *Impruve it

sory *Impruve it
Author
Owner

If you mean adding new API call in 403, I would suggest not to do that as we already have so many calls in the Login screen. Avoiding more is good for fast logins.

Also we have get version in main activity, so that can be used.

But if you have other improvements beside this please push and I will check.

If you mean adding new API call in 403, I would suggest not to do that as we already have so many calls in the Login screen. Avoiding more is good for fast logins. Also we have get version in main activity, so that can be used. But if you have other improvements beside this please push and I will check.
6543 self-assigned this 2020-04-12 20:20:05 +00:00
6543 started working 2020-04-12 21:43:49 +00:00
6543 stopped working 2020-04-12 22:14:38 +00:00
30min 49s
Member

I go the other way around ... so I created a new pull to dont destroy this one

@mmarif have a look at #399 and what you think of

I go the other way around ... so I created a new pull to dont destroy this one @mmarif have a look at #399 and what you think of
mmarif closed this pull request 2020-04-13 08:02:40 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No Assignees
2 Participants
Total Time Spent: 30 minutes 49 seconds
6543
30 minutes 49 seconds
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#391
No description provided.