We now have bugreporting that can be used for ZPUI and ZeroPhone debugging. However, there are things we could wish from it, of course. - [ ] Add usage examples in "Howto" for app developers - [ ] Add proper date&time timestamp generation for the filename - [ ] Add bugreporting (with prompt) to the Avrdude app (when flashing fails) - [ ] Allow reading the default FTP location from a config file available somewhere globally (currently, hardcoded in `/libs/bugreport/bugreport.py`. - This would allow for custom servers - [ ] Add opt-in automatic log sending on exceptions - [ ] Allow sending the logs that were stored when network connection wasn't available (can workaround with "Custom file" option, for now) - [ ] `BugReport`: add `send_from_stored` method - [x] `BugReport`: rename `save_in` to `store_in` - [x] `BugReport`: add `send_or_store` method that would allow apps to avoid duplicating the `try: send; except: save` code - [ ] Add a function to notify about privacy policy changes (showing a diff to the user)
We now have bugreporting that can be used for ZPUI and ZeroPhone debugging. However, there are things we could wish from it, of course.
/libs/bugreport/bugreport.py.BugReport: addsend_from_storedmethodBugReport: renamesave_intostore_inBugReport: addsend_or_storemethod that would allow apps to avoid duplicating thetry: send; except: savecode