Eric House
f0e9ede61f
add manual message-send to fcm_loop for testing
2020-12-14 08:57:11 -08:00
Eric House
774a05f8dc
in log script, print sender as well as addressee
2020-09-19 22:52:21 -07:00
Eric House
02287b8909
tweak to display more info
...
Script still needs a ton of work to be useful
2020-08-27 11:39:43 -07:00
Eric House
2d00a3e30f
systemd file to run the fcm loop
2020-08-23 20:08:15 -07:00
Eric House
dc7064a168
fix bug resulting in invitation droppage
...
Recent changes in how nli address sets were stored led to rejecting
incoming invitations when BT had been removed (e.g. on emulator) because
I didn't notice the removal when validating.
2020-08-22 12:36:31 -07:00
Eric House
f6d7eed84d
add mqtt as a new transport
...
This is meant to replace the relay eventually, but for now it's a new
option, like BT or SMS, to be chosen. Protocol is handled in common/
code for the first time, meaning that linux and android interact without
the need to keep two platforms in sync. Linux uses lib-mosquitto, and
Android uses eclipse's Paho client (the generic java version, not the
one that uses four-year-old Service patterns and so crashes for SDK >=
26.)
2020-05-20 13:58:53 -07:00
katianderic
c7c1946793
use deviceID to invite via relay; make 3- and 4-device games work
2020-02-16 19:12:22 -08:00
Eric House
9373dce0df
fix fcm_msg.py test script (force to take devid) Works!
2019-11-27 11:47:46 -08:00
Eric House
6f3be5933f
test script taken from eehouse.org (it works)
2019-07-07 13:00:06 -07:00
Eric House
1ce243904e
bring in changes from eehouse.org
...
This is what's been running for months, so committing it.
2019-07-07 13:00:06 -07:00
Eric House
475206a373
don't assume send will succeed
...
(Pulling in change that's been on eehouse.org for a while)
2019-07-07 13:00:06 -07:00
Eric House
9bde550455
apply ordering and limit correctly
2019-03-17 11:38:00 -07:00
Eric House
ce2ec03d3e
relay tracks variantCode int, not string
2019-03-07 18:12:26 -08:00
Eric House
23fe3a1dd6
make script executable
2019-02-02 15:50:17 -08:00
Eric House
4a335522d2
fix so success detected from new API
2019-02-01 20:51:07 -08:00
Your Name
cd777f3b9c
pull and display new field
2019-02-02 00:20:35 +00:00
Eric House
c0783fba16
don't save duplicate devIDs
...
There's likely a bug in Android now where I'm registering over and
over though the fcm id hasn't been changed. That's wrong, but it's
also wrong (and filling up the db) to register a duplicate as if it
were new. So stop that.
2019-02-01 12:13:05 -08:00
Eric House
b4096de8ca
rewrite of gcm_loop.py to use FCM
...
Works on my test VM. Untested on production.
2019-01-25 09:21:37 -08:00
Eric House
530e0181e5
list open sockets
2017-12-09 13:30:08 -08:00
Eric House
243eb213bb
make reply messages a param within result
...
Makes it easier to debug by adding stuff on the relay end
2017-12-06 18:57:48 -08:00
Eric House
b77ea0aaad
copied from relay_via_http branch
...
(was at: ./xwords4/android/scripts/relay.py) This is the web API clients
can use to talk to the relay.
2017-11-12 20:29:15 -08:00
Eric House
f072c68bf9
bring in changes from relay_via_http branch
...
It's time to make them live so client development can use a live relay,
and all the old tests pass, so why not.
2017-11-12 20:25:29 -08:00
Eric House
bba16c481e
improve game query script to filter on connnames and clarify filter param
2016-06-12 18:30:19 -07:00
Relay User
d605686fd6
add teaser to gcm message (matches android client change)
2015-07-11 07:04:24 -07:00
Eric House
24de5cc486
change order, showing newest first
2015-02-23 18:24:01 -08:00
Eric House
5f34fe3317
first cut at script to fetch messages for a game
2014-03-12 19:45:07 -07:00
Eric House
cd31cd432a
tweak column display
2014-02-24 08:00:43 -08:00
Eric House
b840f7d708
add filter for rooms
2014-02-24 08:00:21 -08:00
Eric House
7290a41913
tweak; add limit
2013-10-01 00:01:39 -07:00
Eric House
9f38ded122
new script
2013-09-27 05:46:06 -07:00
Eric House
31fa2ea442
turn on feature where sent messages are marked rather than deleted.
...
Make default 'epoch' rather than NULL so constraint will work to
prevent duplicates, and fix insertion SQL to not violate constraint.
2013-09-25 06:38:10 -07:00
Eric House
f59a7db85d
update to work with either udp or tcp-sourced stored messages
2013-09-23 07:18:00 -07:00
Eric House
e12069b45d
fix to work with devids and devtypes being arrays
2013-09-19 06:38:37 -07:00
Eric House
9650000fce
add filter option -- sometimes want to see devices not in a current game.
2013-09-18 07:03:25 -07:00
Eric House
b67ea7293d
add mtimes, remove mtime, for devices to track each time the devid
...
changes. Eventually; now it's updated too often.
2013-09-15 12:46:40 -07:00
Eric House
b0e2975994
show specific columns from devices table rather than *
2013-09-15 10:16:11 -07:00
Eric House
2cad611ec4
get postgres port from config; send connname only if present
2013-09-11 07:42:14 -07:00
Eric House
4207df8078
apply limit to all; list messages without connname too
2013-08-28 07:29:24 -07:00
Eric House
787367071d
show only those devids in the visible games
2013-08-08 19:55:04 -07:00
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