Eric House
d50c808f96
Merge branch 'android_branch' into gtk_multigame
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java
xwords4/common/comms.c
xwords4/linux/cursesmain.c
xwords4/linux/cursesmain.h
xwords4/linux/gtkmain.c
xwords4/linux/gtkmain.h
xwords4/linux/linuxmain.c
xwords4/linux/main.h
xwords4/linux/scripts/discon_ok2.sh
xwords4/relay/xwrelay.cpp
(Note: The curses app crashes on exit with mempool assertions, but that's a problem before the merge.)
2013-07-09 07:18:00 -07:00
Eric House
f87ffe7a96
display new column
2013-07-05 21:28:27 -07:00
Eric House
0447b9f5e5
column name changed
2013-06-27 06:58:17 -07:00
Eric House
e6488ff8c1
save space by shortening column names
2013-06-07 20:54:57 -07:00
Eric House
bf767577e3
msg64 will not always be set! Don't delete in that case.
2013-06-07 20:54:16 -07:00
Eric House
31c443e4b1
Merge branch 'android_branch' into gtk_multigame
...
Conflicts:
xwords4/android/XWords4/src/org/eehouse/android/xw4/GCMIntentService.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java
2013-05-22 07:01:08 -07:00
Eric House
78b3a91925
format: send array of message bodies rather than just one
2013-05-22 06:40:02 -07:00
Eric House
11709b21bd
remove redundant parameters
2013-05-22 05:51:33 -07:00
Eric House
7d81083d7d
send using old message format to old clients, new to new
2013-05-22 05:39:20 -07:00
Eric House
9b5607d829
send message along with GCM notification that ... there's a message.
...
Should eventually allow GCM-aware clients to skip connecting on
launch, and for now to make them a tiny bit snappier.
2013-05-21 19:35:34 -07:00
Eric House
5e0fd89c9e
update with all relay/ changes from gtk_multigame. This is what the
...
live relay's running anyway.
2013-02-04 06:08:39 -08:00
Eric House
2cfa56c2d8
update to not require incomplete gcm module
2013-01-29 18:34:33 -08:00
Eric House
302ac9d55c
script to list who's attached to the db
2013-01-27 08:30:02 -08:00
Eric House
29acab1ef2
tweak display
2013-01-21 19:44:08 -08:00
Eric House
21570ec9b4
Merge remote-tracking branch 'origin/android_branch' into gtk_multigame
2013-01-20 19:27:25 -08:00
Eric House
3313c776ab
fix unregister sql error
2013-01-19 22:37:12 -08:00
Eric House
7fec736947
add udp socket and protocol for use over it so that a device can
...
manage a single connection to the relay for all of its games. Works
so far to the extent that the game's playable with all boards on the
same device (with checkins about to come) as long as all boards are
open. (Client doesn't handle opening closed games yet.)
2013-01-15 18:41:17 -08:00
Eric House
f827bebf80
ignore .pyc file
2013-01-02 21:13:36 -08:00
Eric House
d34ac1f86d
rewrite to work without gcm library (whose lack of support for some
...
documented params makes it impossible to try using them)
2013-01-02 21:08:10 -08:00
Eric House
e920fbcaff
unregister (flag in db) devids google says are unregistered
2012-12-01 11:55:16 -08:00
Eric House
618d8530f2
some changes accumulated as script was running
2012-12-01 10:27:02 -08:00
Eric House
4dddd2da42
some changes accumulated as script was running
2012-12-01 10:26:00 -08:00
Eric House
e16245d19e
include new column
2012-12-01 09:33:38 -08:00
Eric House
c4f5b4522e
minor printing tweaks
2012-11-13 07:17:56 -08:00
Eric House
6a85661095
lots of improvements: make useful for testing with non-android clients; shelve backoff data, etc.
2012-11-10 19:31:22 -08:00
Eric House
2df4199a77
test script for messaging devices
2012-11-08 06:13:01 -08:00
Eric House
83754d626e
add backoff for resending for messages still not removed from msgs table
2012-11-07 08:05:45 -08:00
Eric House
45d0b2dbc8
various improvements, including printing a period on every loop when
...
there's no work to do. All that remains is backoff.
2012-11-07 07:31:52 -08:00
Eric House
8516dca1cb
what I really meant to check in
2012-11-07 06:23:20 -08:00
Eric House
9b48523ff3
fix to work with new DB scheme and to send json client now expects
2012-11-07 06:17:33 -08:00
Eric House
2c339ed7a5
fix to work with new devid/table scheme
2012-11-06 07:25:38 -08:00
Eric House
59937b8514
modify how devids are handled on the relay and the protocol through
...
which they're communicated to the device. Device is expected to have
a platform-specific notion of ID which the relay stores in a new
devices table and indexes with a 32-bit number which is returned to
the device -- which is encouraged but not required to use it in lieu
of the longer ID in future communications. Modify linux client and
test script to use the relay-supplied id. Some of this is commented
out for now.
2012-11-03 10:58:01 -07:00
Eric House
3d6a170921
python script to check relay and invoke GCM to notify recipients
2012-10-31 07:20:40 -07:00
Eric House
3469975d2a
add, still disabled by compile-time flags, code to transmit device ID
...
(e.g. ID Android devices get via GCM) to relay and to associate it
there with messages that need to be delivered.
2012-10-30 07:01:47 -07:00
Eric House
72b4b02c20
improve messages display
2012-09-11 20:44:07 -07:00
Eric House
a0b564c7e8
show related messages as well
2012-09-11 19:07:16 -07:00
Eric House
240d308d07
move nperdevice and ntotal side-by-side
2012-05-28 11:08:43 -07:00
Eric House
49b04257d3
tweak date format
2012-03-01 18:16:04 -08:00
Eric House
840385b3ad
print dates in shorter format so columns don't wrap as frequently
2012-02-27 18:28:04 -08:00
Eric House
bf5b6ada77
include public-room column
2012-02-07 18:59:17 -08:00
Eric House
edaef7f0a4
add new column
2012-01-26 23:02:56 -08:00
Eric House
866aeb2387
change relay connect message format to include client version (meaning
...
of which is TBD). When a new-version client connects, store the value
it's passed. At first this will let me track how quickly people
upgrade. Later I can use it to let different clients have different
formats to their messages e.g. to proxy.
2012-01-26 05:43:54 -08:00
Eric House
960dfc7825
draw alternating game lines in alternating colors
2012-01-16 12:13:35 -08:00
Eric House
546ec8a3f4
get non-printing column out of cols array to be treated separately.
2012-01-13 07:54:11 -08:00
Eric House
ca49078730
improve to print each game as multiple rows, one per device.
2012-01-12 19:17:38 -08:00
Eric House
8c52836f9d
php file to display state of relay's DB. This is the first and rough cut.
2012-01-12 06:30:30 -08:00
Eric House
6cc3770cd1
script to trace history of one game in db by polling db and listing
...
changes
2011-12-07 18:37:28 -08:00
Eric House
7015ae500b
exit after showing usage
2011-12-06 18:50:04 -08:00
Eric House
e5a943eecb
tweak output
2011-11-28 18:15:09 -08:00
Andy2
999d4c11e7
simple script for watching what messages the relay has pending for a
...
game.
2011-07-04 12:51:27 -07:00