]>
hydra-www.ietfng.org Git - acmetensortoys-ctfws-android/log
Nathaniel Wesley Filardo [Tue, 2 Jun 2020 19:20:34 +0000 (20:20 +0100)]
CheckedAsyncDownloader: add last-modified-time parameter
Nathaniel Wesley Filardo [Tue, 2 Jun 2020 19:18:43 +0000 (20:18 +0100)]
Messages: advance lastMessageTime on message reset
Nathaniel Wesley Filardo [Tue, 2 Jun 2020 19:15:20 +0000 (20:15 +0100)]
Small fixes
Nathaniel Wesley Filardo [Tue, 1 Mar 2022 18:49:32 +0000 (18:49 +0000)]
MainService MQTT: unsubscribe only if connected
Otherwise we might throw a NPE from inside Paho
Nathaniel Wesley Filardo [Tue, 2 Jun 2020 19:14:26 +0000 (20:14 +0100)]
Give in to androidx preferences
Nathaniel Wesley Filardo [Wed, 2 Oct 2019 01:53:29 +0000 (02:53 +0100)]
bump version
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 22:28:10 +0000 (23:28 +0100)]
De-Lint
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 21:38:00 +0000 (22:38 +0100)]
Revise notification text
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 21:32:11 +0000 (22:32 +0100)]
main display: update menu from UI thread.
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 21:13:34 +0000 (22:13 +0100)]
flag counts: BigInteger
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/21
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 20:56:53 +0000 (21:56 +0100)]
ctfws service: fire off discon event before hangup
If we don't do this, the displays will retain their last state until we
successfully connect, which is not what's desired.
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 20:56:40 +0000 (21:56 +0100)]
bump gradle version
Nathaniel Wesley Filardo [Sun, 6 Oct 2019 00:32:03 +0000 (01:32 +0100)]
Broker default to SSL now
I feel a little better about this because we're asking our devices to
download arbitrary data as the handbook, and I'd really prefer it not be
MITMable by default.
Nathaniel Wesley Filardo [Sat, 5 Oct 2019 21:51:56 +0000 (22:51 +0100)]
Notification: say "Awaiting jailbreak N of M..."
Rather than just "Jailbreak"
Nathaniel Wesley Filardo [Sat, 5 Oct 2019 16:57:39 +0000 (17:57 +0100)]
Add hierarchy to activity package
Nathaniel Wesley Filardo [Wed, 2 Oct 2019 01:56:08 +0000 (02:56 +0100)]
Tidy android manifest
Nathaniel Wesley Filardo [Wed, 2 Oct 2019 01:53:51 +0000 (02:53 +0100)]
main menu: try to show icons in overflow
Nathaniel Wesley Filardo [Wed, 2 Oct 2019 01:52:38 +0000 (02:52 +0100)]
Tweak main layout for very small devices
Nathaniel Wesley Filardo [Wed, 2 Oct 2019 00:34:58 +0000 (01:34 +0100)]
target sdk 29, move to androidx
Nathaniel Wesley Filardo [Wed, 2 Oct 2019 00:17:51 +0000 (01:17 +0100)]
Update paho dependency
This also sees paho move from EPL 1 to EPL 2, so update licenses.
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 14:24:29 +0000 (15:24 +0100)]
MainServiceNotification: last source is NONE, not FLAG
Prevent a "Flag caputred! 0 0" message
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 14:23:58 +0000 (15:23 +0100)]
AndroidManifest: paho service
It's very important and I'm sorry this has been left out for so long
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 14:20:01 +0000 (15:20 +0100)]
HandbookDownloader: make asynctask hold weak ref
Android code analysis notes that an AsyncTask internal class may be
holding a reference to an Activity preventing its collection. So, hold
a weak reference instead.
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 13:49:55 +0000 (14:49 +0100)]
Cleanups as directed by code analysis
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 13:48:21 +0000 (14:48 +0100)]
fixup refactor
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 13:34:24 +0000 (14:34 +0100)]
Stop trying to build the abandoned wear project
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 13:31:52 +0000 (14:31 +0100)]
Massive refactoring
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 13:26:54 +0000 (14:26 +0100)]
Refactor MainService to service directory
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 13:24:23 +0000 (14:24 +0100)]
Refactor: SettingsAcitivity to activity directory
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 12:54:36 +0000 (13:54 +0100)]
Refactor: DefaultableEditTextPreference to utils
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 12:53:28 +0000 (13:53 +0100)]
Refactor: download logic to utils
Nathaniel Wesley Filardo [Sat, 28 Sep 2019 12:51:18 +0000 (13:51 +0100)]
Refactor AndroidResourceUtils to utils directory
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 15:10:27 +0000 (16:10 +0100)]
Bump version again
Whoops
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 15:05:38 +0000 (16:05 +0100)]
Merge branch 'shield2019-take2' of https://github.com/timparenti/ctfws-timer-android
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 15:05:06 +0000 (16:05 +0100)]
Remove stale png files
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 14:20:59 +0000 (15:20 +0100)]
Bump version
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 14:19:34 +0000 (15:19 +0100)]
treewide: fix inspection-reported issues
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:58:54 +0000 (14:58 +0100)]
Main: better message timestamps
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/14
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:53:01 +0000 (14:53 +0100)]
Main: screen-wake option
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/11
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:52:08 +0000 (14:52 +0100)]
Main: better menu
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/13
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:41:10 +0000 (14:41 +0100)]
Handbook: overhaul
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/12
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/17
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:39:12 +0000 (14:39 +0100)]
About: overhaul
Fixes https://github.com/cmukgb/ctfws-timer-android/issues/15
See also https://github.com/cmukgb/ctfws-timer-android/issues/17
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:32:50 +0000 (14:32 +0100)]
DisplayLocal: ensure reset() if not configured
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:31:32 +0000 (14:31 +0100)]
Handbook: push completed DL through callback chain
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 12:57:19 +0000 (13:57 +0100)]
TinyChrono: add a "single chronometer" display
We're going to use this to address https://github.com/cmukgb/ctfws-timer-android/issues/17
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 13:56:41 +0000 (14:56 +0100)]
treewide: make messages a SortedSet, not a List
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 12:56:29 +0000 (13:56 +0100)]
build: add git description as resource string
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 12:55:17 +0000 (13:55 +0100)]
CheckedAsyncDownloader: use proper enum for result codes
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 12:48:57 +0000 (13:48 +0100)]
lib: drop support for messages without timestamps
All our tooling does the right thing, and this was always janky
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 12:48:34 +0000 (13:48 +0100)]
lib: catch up config serialization
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 12:48:06 +0000 (13:48 +0100)]
lib: add lastConfigMessage for debugging
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 14:20:02 +0000 (15:20 +0100)]
bump gradle version
Nathaniel Wesley Filardo [Sun, 22 Sep 2019 14:29:33 +0000 (15:29 +0100)]
Fixup merge of number formatting
Nathaniel Wesley Filardo [Mon, 4 Mar 2019 23:16:27 +0000 (23:16 +0000)]
Merge pull request #20 from timparenti/number-formatting
Reformat integer game scores as locale-formatted strings.
Tim Parenti [Mon, 4 Mar 2019 01:00:20 +0000 (20:00 -0500)]
Reformat integer game scores as locale-formatted strings.
Resolves #16.
Tim Parenti [Mon, 4 Mar 2019 00:05:49 +0000 (19:05 -0500)]
Update the other copy of the shield to the 2019 version.
Fixes #18.
Tim Parenti [Sun, 3 Mar 2019 21:45:43 +0000 (16:45 -0500)]
Update default broker URI.
Resolves #8.
Nathaniel Wesley Filardo [Sat, 2 Mar 2019 02:59:18 +0000 (02:59 +0000)]
Brown paper bag version bump
Nathaniel Wesley Filardo [Sat, 2 Mar 2019 02:26:51 +0000 (02:26 +0000)]
Bump version
Nathaniel Wesley Filardo [Sat, 2 Mar 2019 02:25:24 +0000 (02:25 +0000)]
Handbook improvements.
Add policy permitting cleartext connection to cmukgb.org and its
subdomains.
Rate-limit resubscriptions to handbook stamp topic, to prevent
busy-looping around errors such as seen prior to the existence of the
above.
Nathaniel Wesley Filardo [Sat, 2 Mar 2019 01:55:33 +0000 (01:55 +0000)]
Better display of game index 0
Nathaniel Wesley Filardo [Sat, 2 Mar 2019 01:53:25 +0000 (01:53 +0000)]
Register the notification channel
Oops. Forgot half of the dance, apparently.
Nathaniel Wesley Filardo [Fri, 1 Mar 2019 20:44:13 +0000 (20:44 +0000)]
Belatedly add LICENSE
This should have gone in a long time ago. Up until recently, the only
admission of AGPLv3 was on the about page, which was hardly prominent.
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 01:34:45 +0000 (01:34 +0000)]
Bump version
Nathaniel Wesley Filardo [Fri, 1 Mar 2019 12:18:30 +0000 (12:18 +0000)]
Update license text to inclue AGPLv3
Tim Parenti [Wed, 27 Feb 2019 03:13:11 +0000 (22:13 -0500)]
Update shield to 2019 version.
Nathaniel Wesley Filardo [Fri, 1 Mar 2019 12:07:48 +0000 (12:07 +0000)]
Add README
Nathaniel Wesley Filardo [Fri, 1 Mar 2019 12:07:35 +0000 (12:07 +0000)]
Add length limit for handbook HTML
Tim Parenti [Wed, 27 Feb 2019 02:58:56 +0000 (21:58 -0500)]
Update project and rules URLs.
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:58:24 +0000 (00:58 +0000)]
Update some comments and whitespace
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:59:11 +0000 (00:59 +0000)]
Update gradle
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 01:00:02 +0000 (01:00 +0000)]
MainService: minor changes to reporting and client handling
Don't set the state on timesync events.
Null out the client handle slightly earlier.
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:55:04 +0000 (00:55 +0000)]
Dramatic overhaul of Handbook
Now includes the ability to grab new versiosn as directed by MQTT!
While here, ship the latest and greatest by default, tho'.
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:58:51 +0000 (00:58 +0000)]
Timesync using new topic
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 01:18:40 +0000 (01:18 +0000)]
Try harder to tear down old mqtt connections
Nathaniel Wesley Filardo [Tue, 19 Feb 2019 00:57:59 +0000 (00:57 +0000)]
Slightly richer Logging
Nathaniel Wesley Filardo [Sat, 17 Nov 2018 01:04:44 +0000 (01:04 +0000)]
Notification icon: hammer and sickle, vector
Try to placate newer Androids by changing the icon to match the
guidelines from
https://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar
Since the shield looked odd, anyway, move to a proper hammer and sickle,
as obtained from Wikimedia and incorporated under public domain. See
https://commons.wikimedia.org/wiki/File:Hammer_and_sickle.svg .
See https://github.com/cmukgb/ctfws-timer-android/issues/6
Nathaniel Wesley Filardo [Tue, 30 Oct 2018 22:39:30 +0000 (22:39 +0000)]
Bump version
Nathaniel Wesley Filardo [Tue, 30 Oct 2018 22:38:51 +0000 (22:38 +0000)]
Small changes to semigenerated files
Nathaniel Wesley Filardo [Tue, 30 Oct 2018 22:37:48 +0000 (22:37 +0000)]
Add handbook activity
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 17:05:51 +0000 (18:05 +0100)]
Bump version (1.1)
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:52:58 +0000 (14:52 +0000)]
Add support for message reset messages
And tweak the handling of the message queue in notifications
Add TODO for main display
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:12:48 +0000 (14:12 +0000)]
Add support for timesync messages
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:12:05 +0000 (14:12 +0000)]
Refactor out a string resource manipulation util
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 17:05:17 +0000 (18:05 +0100)]
Switch reconnect icon to something at least netish
"Search" was not really useful; "download" at least has the right idea.
Nathaniel Wesley Filardo [Sun, 28 Oct 2018 14:13:12 +0000 (14:13 +0000)]
Improve debug logging
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:56:27 +0000 (17:56 +0100)]
Improve flag message display
No longer k=v pairs, let's actually get some color and labels
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:54:45 +0000 (17:54 +0100)]
Set notification source for end of game
The vibration pattern was erroneously inherited from whatever had come
before.
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:13:23 +0000 (17:13 +0100)]
Ensure we have flag counts more often
In particular, we will want to display this even if we didn't get a Now
message, say, if we've relauched the app after the game ended.
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 16:12:58 +0000 (17:12 +0100)]
Make connection status display slightly less obtrusive
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 15:51:26 +0000 (16:51 +0100)]
Add display of sides information
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 15:24:13 +0000 (16:24 +0100)]
Switch to enum for rationales
Stop using strings from lib/; fetch them from the string table like
we're supposed to.
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 13:23:37 +0000 (14:23 +0100)]
Flags messages are timestamped, too, now
Don't bother with backwards compat for this; it just won't parse and
that's probably good enough.
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:54:58 +0000 (04:54 +0100)]
Back off on pings a bit
Ironically, this seems to improve our connection longevity.
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:53:58 +0000 (04:53 +0100)]
Treewide: tidy many warnings
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:48:12 +0000 (04:48 +0100)]
Robustify message display
Adjust the behavior of the GameStateManager; it's not quite what it
should be, but it's less bad than what was there before. Notably, Msg
objects now have the right .equals() behavior, not just .compareTo()
Improve CtFwSDisplayLocal and stay subscribed to game state changes
while not visible so we stay informed of messages. Do not, however,
stay subscribed to service state messages, as there is no point.
We might lose messages all the same, but hopefully fewer and hopefully
without duplicates spamming everyone all the time.
While here, more correctly (I think?) use the Android lifecycle events.
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:55:31 +0000 (04:55 +0100)]
Add support for notification channels
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:46:10 +0000 (04:46 +0100)]
Bump Android tools versions, disable wear apk
Nathaniel Wesley Filardo [Sat, 27 Oct 2018 03:41:27 +0000 (04:41 +0100)]
Landscape layout
Nathaniel Wesley Filardo [Sat, 11 Nov 2017 06:39:17 +0000 (01:39 -0500)]
Improve encapsulation of game state
And deduplication of messages, I hope.