From 531b2be04e6a128d7e831a671aa5a20068c421c1 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sat, 20 Feb 2021 15:18:39 +0100 Subject: [PATCH 1/4] Prepare release 2.0.0 --- CHANGELOG.md | 199 ++++++++++++++++++++++++++--------------------- RELEASING.md | 19 +++++ app/build.gradle | 4 +- 3 files changed, 131 insertions(+), 91 deletions(-) create mode 100644 RELEASING.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 1259af3..3b4e212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,123 +1,144 @@ -RELEASE NOTES -============= +# CHANGELOG -2017-01-XX / 1.8.3 ---- +Possible tags: - - Change links from SpaceAPI.net to SpaceDirectory.org - - Display all webcams +- [info] An information not directly related to code changes +- [feature] A new feature or an improvement +- [bug] A bugfix +- [change] A change that's neither a feature nor a bugfix +- [i18n] Internationalization / translation -2016-07-02 / 1.8.2 ---- +## v2.0.0 (2021-02-20) - - Fix camera and stream url being displayed - - Fix twitter link to the new url format +- [info] App was re-released by the SpaceAPI project under a new package name ([#1][i1]) +- [info] GitHub is now at https://github.com/spaceapi-community/my-hackerspace/ +- [info] The app now requires at least Android 5 (API 21) ([#75][i75]) +- [feature] Support for SpaceAPI v14 ([#85][i85]) +- [feature] New app launcher icon ([#3][i3]) +- [feature] More modern icons in app UI ([#74][i74]) +- [bug] Don't save empty data in application state ([#64][i64]) +- [change] Update all domains to spaceapi.io ([#65][i65], [#71][i71]) +- [change] Switch to Java 8 ([#73][i73]) +- [change] Remove MemorizingTrustManager ([#65][i65]) +- [change] Upgrade dependencies ([#69][i69]) +- [change] Switch to CircleCI ([#69][i69]) +- [change] Add support for annotations ([#77][i77]) +- [i18n] Improved translations -2016-05-06 / 1.8.1 ---- +[i1]: https://github.com/spaceapi-community/my-hackerspace/pull/1 +[i3]: https://github.com/spaceapi-community/my-hackerspace/pull/3 +[i64]: https://github.com/fixme-lausanne/MyHackerspace/pull/64 +[i65]: https://github.com/fixme-lausanne/MyHackerspace/pull/65 +[i69]: https://github.com/fixme-lausanne/MyHackerspace/pull/69 +[i71]: https://github.com/fixme-lausanne/MyHackerspace/pull/71 +[i73]: https://github.com/fixme-lausanne/MyHackerspace/pull/73 +[i74]: https://github.com/fixme-lausanne/MyHackerspace/pull/74 +[i75]: https://github.com/fixme-lausanne/MyHackerspace/pull/75 +[i77]: https://github.com/fixme-lausanne/MyHackerspace/pull/77 +[i85]: https://github.com/fixme-lausanne/MyHackerspace/pull/85 - - Uses custom API directory end point (https://spaceapi.fixme.ch/directory.json) - - Allow editing of the API directory end point and the current hackerspace API - - Add Danish translation (thanks Mikkel) +## v1.8.3 (2017-01-XX) -2016-04-14 / 1.8 ---- +- Change links from SpaceAPI.net to SpaceDirectory.org +- Display all webcams - - Supports invalid SSL certificates - - Allow widget to be resized - - Add Dutch translation - - Fix http to https redirection - - General fixes +## v1.8.2 (2016-07-02) -2014-08-26 / 1.7.4.1 -------- +- Fix camera and stream url being displayed +- Fix twitter link to the new url format - - Fix crash when there's no error message +## v1.8.1 (2016-05-06) -2014-08-07 / 1.7.4 ---- +- Uses custom API directory end point (https://spaceapi.fixme.ch/directory.json) +- Allow editing of the API directory end point and the current hackerspace API +- Add Danish translation (thanks Mikkel) - - German translation (thanks to Lokke and Phervieux) - - Better hs list with alphabetical index - - Better errors messages - - Caching for http requests (images, hs directory) - - Add status message to the widget (thanks Fpletz) - - Fix bugs: widget updates, ignore ext fields, click from widget +## v1.8 (2016-04-14) -2013-10-25 / 1.7.3 ------ +- Supports invalid SSL certificates +- Allow widget to be resized +- Add Dutch translation +- Fix http to https redirection +- General fixes - - Fix regression with widget custom open/close logo - - Fix order of hackerspaces with different cases +## v1.7.4.1 (2014-08-26) -2013-09-09 / 1.7.2 ------ +- Fix crash when there's no error message - - Better layout for sensors - - Support more fields for sensors (machines, names, properties) +## v1.7.4 (2014-08-07) -2013-09-06 / 1.7.1 ------ +- German translation (thanks to Lokke and Phervieux) +- Better hs list with alphabetical index +- Better errors messages +- Caching for http requests (images, hs directory) +- Add status message to the widget (thanks Fpletz) +- Fix bugs: widget updates, ignore ext fields, click from widget - - Faster http requests (Use DefaultHttpClient instead of HttpURLConnection) +## v1.7.3 (2013-10-25) -2013-09-05 / 1.7 ------ +- Fix regression with widget custom open/close logo +- Fix order of hackerspaces with different cases - - Full support of SpaceAPI 0.13, drops mixed api definition: hackerspaces must comply to the level they declare! - - Widget transparency preference added (by default transparency is deactivated) +## v1.7.2 (2013-09-09) -2013-06-04 / 1.6.1 ------ +- Better layout for sensors +- Support more fields for sensors (machines, names, properties) - - French translation - - Fix the widget's image not updating - - Change to the new spaceapi url +## v1.7.1 (2013-09-06) -2013-01-02 / 1.6 ---- +- Faster http requests (Use DefaultHttpClient instead of HttpURLConnection) - - Better layout in general - - Use Holo light theme for Android >=3 - - Refresh the current hackerspace - - Default to 15mn for the Widget - - Settings button to change the widget interval - - Fix lat/lon link - - Fix crash when maps/email app not found +## v1.7 (2013-09-05) -2012-10-29 / 1.5.1 ------ +- Full support of SpaceAPI 0.13, drops mixed api definition: hackerspaces must comply to the level they declare! +- Widget transparency preference added (by default transparency is deactivated) - - Bug fixes - - Add a spinner when loading image - - Faster download +## v1.6.1 (2013-06-04) -2012-05-19 / 1.5 ---- +- French translation +- Fix the widget's image not updating +- Change to the new spaceapi url - - Only download image if there is a change of state (better battery live and reduce network usage) +## v1.6 (2013-01-02) -2012-05-15 / 1.4 ---- +- Better layout in general +- Use Holo light theme for Android >=3 +- Refresh the current hackerspace +- Default to 15mn for the Widget +- Settings button to change the widget interval +- Fix lat/lon link +- Fix crash when maps/email app not found - - Add Cam and Stream links if present - - Link for adresses opening GMaps - - Sort Hackerspaces by name - - Accept untrusted SSL certificates - - Better error reporting - - BUGFIX: Theme shoud be correct on all devices/versions - - BUGFIX: Should work after reboot correctly +## v1.5.1 (2012-10-29) -2012-05-08 / 1.3 ---- +- Bug fixes +- Add a spinner when loading image +- Faster download - - White theme by default (may break on samsung devices) - - Check if network is enabled - - Handle rotation correctly +## v1.5 (2012-05-19) -2012-05-06 / 1.2 -2012-05-04 / 1.1 -2012-04-29 / 1.0 ---- +- Only download image if there is a change of state (better battery live and reduce network usage) - - Initial release +## v1.4 (2012-05-15) + +- Add Cam and Stream links if present +- Link for adresses opening GMaps +- Sort Hackerspaces by name +- Accept untrusted SSL certificates +- Better error reporting +- BUGFIX: Theme shoud be correct on all devices/versions +- BUGFIX: Should work after reboot correctly + +## v1.3 (2012-05-08) + +- White theme by default (may break on samsung devices) +- Check if network is enabled +- Handle rotation correctly + +## v1.2 (2012-05-06) + +## v1.1 (2012-05-04) + +## v1.0 (2012-04-29) + +- Initial release diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..5da0211 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,19 @@ +# Releasing + +Set variables: + + $ export VERSION=X.Y.Z + $ export GPG_KEY=EA456E8BAF0109429583EED83578F667F2F3A5FA # Danilo + +Update version numbers: + + $ vim app/build.gradle + +Update changelog: + + $ vim CHANGELOG.md + +Commit & tag: + + $ git commit -S${GPG_KEY} -m "Release v${VERSION}" + $ git tag -s -u ${GPG_KEY} v${VERSION} -m "Version ${VERSION}" diff --git a/app/build.gradle b/app/build.gradle index 5947cf4..bab4c2f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "io.spaceapi.myhackerspace" minSdkVersion 21 targetSdkVersion 29 - versionCode 20 - versionName "1.8.1" + versionCode 100 + versionName "2.0.0" } buildTypes { From 789b0935ea18b50d342f4614be7e0838aa2d523f Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sat, 20 Feb 2021 15:21:38 +0100 Subject: [PATCH 2/4] Add app icon to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a784d12..e05e78f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +
+ + +

+
+ # My Hackerspace [![Build status](https://circleci.com/gh/spaceapi-community/my-hackerspace.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/spaceapi-community/my-hackerspace) From 9f8ccf71c8bde39e0335bf99bc7861129128fdb2 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sat, 20 Feb 2021 15:25:45 +0100 Subject: [PATCH 3/4] Clean up README --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e05e78f..52c4e52 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ [![Build status](https://circleci.com/gh/spaceapi-community/my-hackerspace.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/spaceapi-community/my-hackerspace) -This is an Android app with the following featuress: +This is an Android app with the following features: -- Status of hackerspaces using the [SpaceAPI](https://spaceapi.io/) +- Show the opening status of hacker- and makerspaces using the [SpaceAPI](https://spaceapi.io/) - Show information about the space (contact, location, sensors, ...) - Status widget, multiple widgets supported @@ -79,8 +79,3 @@ For testing purposes you can run a local directory using this technique: `./serv.py` * Go in the app preferences and set the SpaceAPI directory URL to the following: `https://10.0.2.3:8443/directory.json` - -## TODO - -- Auto recognize field types in the API (array, obj, string, etc) -- Integrate woozzu library as 3rd party From 28caf84fe54cacaba7d1e105cffeee2cae80772e Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sat, 20 Feb 2021 15:26:28 +0100 Subject: [PATCH 4/4] Update Google Play URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52c4e52..b4fbac1 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ now mainly being developed by members of [Coredump]. [SpaceAPI community repositories]: https://github.com/spaceapi-community/ [Coredump]: https://www.coredump.ch/ -Get it on Google Play +Get it on Google Play Get it on F-Droid ## How to Compile