-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Engineering Test Mode #4133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Engineering Test Mode #4133
Conversation
|
@tobiasKaminsky @AndyScherzinger I created this PR to help a user with #3421 that was unable to share relevant diagnostics with us. Please review and comment. It's WIP as I don't want to invest more time into it before we make sure it's worth it. |
|
@ezaquarii Now things are gettign strange. The app is installed parallel to the main app. With the QA version, I can open the app without swipe code even if I set it up like this in the settings.I tried to quit the app by going into the task manager and there swiping out the app. Still the app opens directly without protection, content is shown in the task switcher and I can make screenshots. So unfortunately this branch is not working as intended as a debug tool.... |
|
@christianlupus You are right that this "QA" version is installed as a separate app. QA versions are intended for evaluation without overwriting your daily-driver app, especially that it might not work or cause data corruption. This way your data is safe and the experiment is done in a "sandbox". Regarding the locking mechanism - you have probably found another bug. We'll be investigating it when @tobiasKaminsky comes back. |
|
@tobiasKaminsky Let me know what you think about it - I don't want to invest more time into it if it's a bad idea. (-: |
If we put this for now only on dev/daily version, I am fine with it. Big question would be, which infos do we want to have collected… |
Well, when you browse the backlog of bugs, it is quite clear that we're lacking audit capabilities as there is no way of getting meaningful data from users currently. My intention was to create a dumping ground for such tools, as I needed to investigate preferences relevant to #3421 and there was no tool to do it. I'm sure the tech support would love to have it. Quite frankly, if you could reach them and ask them for feature requests, that would be great. I'm sure they are having tons of interesting stories to tell... |
8e20f00 to
ce69993
Compare
tobiasKaminsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see inline comments
c93d781 to
034cf50
Compare
Codecov Report
@@ Coverage Diff @@
## master #4133 +/- ##
============================================
- Coverage 14.33% 14.32% -0.01%
Complexity 1 1
============================================
Files 331 340 +9
Lines 31030 31156 +126
Branches 4405 4423 +18
============================================
+ Hits 4447 4462 +15
- Misses 25801 25909 +108
- Partials 782 785 +3
|
034cf50 to
4e75f6a
Compare
|
@tobiasKaminsky can you re-review. Imho all review commetns have been fixed, I just optimized one padding value for toolbar text alignment, so this is imho ready to be merged now 👍 Nice work @ezaquarii - as always 🎉 |
|
All things turned green, just waiting for @tobiasKaminsky's final approval :) |
Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
4f7a04f to
7d3d2c9
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/10088.apk |
Codacy281Lint
SpotBugs (new)
SpotBugs (master)
|
|
@tobiasKaminsky ping! |
| @@ -0,0 +1,39 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you rename this to etm_layout.xml?
Then we have this in sync to all other names.
| @@ -0,0 +1,32 @@ | |||
| <!-- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe etm_fragment_menu? So that etm is in front
| @@ -0,0 +1,33 @@ | |||
| <!-- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, etm in front?
|
Just litte naming ideas: have ETM in front of activity/fragment. As always thank very very much for your valuable contributions! |
|
@tobiasKaminsky I am with @ezaquarii's actual file names, se for example:
So files should start with the "type" So I think, this should be merged as-is. |
|
I was just looking at our current naming scheme, e.g: I am totally up for changing this. I just do not want that we have different naming schemes… |
absolutely, yes
I don't think Android is support sub-folders with the layout structure! |
|
@tobiasKaminsky opened #4278 for discussion of naming pattern(s) - I'd still vote to simply merge it (or rename and merge, but not further postpone the merge) |
|
As we will go with new naming scheme, we can merge this. |
129e9ab Merge pull request #4276 from nextcloud/uploader bc0b9e7 Engineering Test Mode (#4133) a6371ee check status on transfer update 0938d81 mHostUrlInput can be null if used with direct login (#4270) 53a4844 Merge pull request #4269 from nextcloud/daggerBump 4632dc6 [tx-robot] updated from transifex 2124364 daily dev 20190727

If you are wondering where ETM (Engineering Test Mode) term came from, it's automotive industry. If you have a car, you can probably play with it there too. :)
This module allows developers and dev users to access some internal application data.
The module is indended to be a dumping ground for various diagnostic and development tools.
Signed-off-by: Chris Narkiewicz hello@ezaquarii.com