juliendev / bugdroid Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
I have added such features in https://github.com/albfan/BoogDroid but would be great to add here on official android app.
Is that possible? I can send a PR.
I have two Bugzilla accounts on b.m.o. I'm employed by Mozilla as a sysadmin, and I also run the Bugzilla project itself, so I use one for work-related stuff and the other for Bugzilla-related stuff. It'd be useful to be able to switch between them at will.
I'm volunteering to implement this (already made a fork in github), filing the issue here to get it on the record. I'll post a pull request when it's ready.
When launching on ASUS TF101, Android 4.0.3, I get this error:
E/AndroidRuntime( 1762): FATAL EXCEPTION: main
E/AndroidRuntime( 1762): java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.julienvermet.bugdroid/fr.julienvermet.bugdroid.menu.MenuActivity}: java.lang.NullPointerException
E/AndroidRuntime( 1762): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
E/AndroidRuntime( 1762): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
E/AndroidRuntime( 1762): at android.app.ActivityThread.access$600(ActivityThread.java:123)
E/AndroidRuntime( 1762): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
E/AndroidRuntime( 1762): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1762): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1762): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 1762): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1762): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1762): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 1762): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 1762): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1762): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1762): at fr.julienvermet.bugdroid.menu.MenuActivity.portrait(MenuActivity.java:127)
E/AndroidRuntime( 1762): at fr.julienvermet.bugdroid.menu.MenuActivity.onCreate(MenuActivity.java:61)
E/AndroidRuntime( 1762): at android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime( 1762): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime( 1762): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
E/AndroidRuntime( 1762): ... 11 more
W/ActivityManager( 170): Force finishing activity fr.julienvermet.bugdroid/.menu.MenuActivity
Most Bugzillas out there don't have a BzAPI server set up. The app should attempt to use the built-in JSON API in Bugzilla for as many things as possible, and only fall back on BzAPI for things that the built-in API can't handle yet. This would allow much of it to work without needing BzAPI, and thus work with a lot more Bugzilla sites.
When you add a new account in the account setup, there is no feedback to tell you if you got your password correct or not.
I screwed mine up the first time and wound up getting my account locked out because it didn't tell me I screwed up and then proceeded to make 6 attempts to log in to generate the dashboard (it only takes 5 failures to get locked out). None of those attempts caused any kind of error visible to the user (only in the logcat output), and the dashboard simply failed to populate.
Could you add your app into F-Droid?
They all get the following traceback in logcat:
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1304
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176)
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:81)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
at com.google.gson.Gson.fromJson(Gson.java:795)
at com.google.gson.Gson.fromJson(Gson.java:761)
at com.google.gson.Gson.fromJson(Gson.java:710)
at com.google.gson.Gson.fromJson(Gson.java:682)
at fr.julienvermet.bugdroid.service.BugsIntentService.onHandleIntent(BugsIntentService.java:48)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:157)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1304
at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:306)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
... 14 more
Is bugzilla logo avaliable to use in other apps? What is his license?
Implementation gotcha:
Problems:
A couple ideas for how to deal with this:
The second option would be easier on the user, except it would require that they enable non-market apps in order to use it.
It would be useful to attach an image, e.g. a screenshot from the phone, to a bug report.
Looks like a great start!
I find that the on-screen keyboard in the "Words" field on the search dialog shows an enter/carriage return button which adds a newline; probably better if that can be swapped out for a submit/go button to trigger search. I'll poke at source later if you don't beat me to it. :)
when connecting https://api-dev.bugzilla.mozilla.org/1.3/ with my bugzilla account , the app is display "Error while retrieving bugs".
please explain connect to bugzilla server and add help docs in this app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.