Eric House
7e62be0662
remove unused variable and incorrect --help param
2020-05-20 20:49:54 -07:00
Eric House
aea47e0184
fix to use new param
2020-05-02 19:10:04 -07:00
Eric House
c4b4c9a0c8
handle 'len' param for dict info if provided
2020-05-02 18:38:42 -07:00
Eric House
29ed46e12b
fix so upgrade of release builds works
2020-04-11 19:23:20 -07:00
Eric House
3c1a748272
fix dictionary sum checking server-side
2020-03-18 22:28:58 -07:00
Eric House
bf37ab0fc1
use https now to fix broken updating
2019-10-22 13:39:14 +02:00
Eric House
6267eb9c4f
use NBSProxy if available
...
Lots of work dealing with banned permissions (SEND_SMS and
RECEIVE_SMS). First, if they're banned and NBSProxy is installed, just
use it as if the permissions had been granted. When it's not there,
explain at various points where users will otherwise be confused: when
they try to invite using data sms, or when they open a game that already
uses it.)
2019-03-06 12:39:08 -08:00
Eric House
3cf8d7571b
fix md5sum calc for non-utf8 wordlists
...
And use apache logging
2019-01-05 18:46:58 -08:00
Eric House
3ffef37d77
don't require myKey.py
2017-10-18 21:19:09 -07:00
Eric House
0a774625a1
cleanup
2017-10-10 20:17:36 -07:00
Eric House
d3b9a98518
fix to serve the oldest release newer than current
...
Removing hard-coded list of release .apks in favor of picking them from
the file system based on version code reported by aapt.
2017-09-27 20:39:58 -07:00
Eric House
f7d4d6b637
sort by versionCode, then by file age
...
revert a bit, dropping use of git revision and repo to provide an
order. Instead use aapt (which is an ubuntu package now) to pull the
version code and appID from .apk files, order by versionCode, and
secondarily by file mod time.
2017-08-16 07:29:17 -07:00
Eric House
19c7543eb3
make finding most recent apk based on git revision
...
Auto-update was based on my manually setting what the newest is. Better
to use the git revision stored in the .apk, or failing that (later) in
the file name, to determine "age". This is all based on forcing a linear
order on git commits, but at least at the granularity of releases that
should be ok.
2017-08-14 22:40:07 -07:00
Eric House
5d81b3375b
add support for fetching devIDs for connnames, required to allow
...
inviting based on existing relay games.
2015-10-15 06:32:11 -07:00
Eric House
7cc58de6e5
Merge branch 'android_branch' of ssh://git.code.sf.net/p/xwords/git into android_branch
...
Conflicts:
xwords4/android/scripts/info.py
2015-07-27 07:14:54 -07:00
Eric House
e31c7ae4f5
update to not notify of debug build updates when version matches what's installed
2015-07-27 07:12:44 -07:00
Eric House
fe91c9e04e
update to serve newest debug as well as release builds, and to know about variants
2015-07-25 21:56:48 -07:00
Eric House
5e10febe0e
actually serve debug build
2015-06-09 06:39:57 -07:00
Eric House
aeae648afc
look for new dbg key and drop message if it's set. Later we can keep a
...
separate set of binaries.
2015-06-07 13:42:19 -07:00
Eric House
51e6892c32
add option to list a single language code's wordlists
2015-03-27 21:54:56 -07:00
Eric House
d5984a34b7
include language code in available dicts json
2015-03-25 06:51:13 -07:00
Eric House
39f8ec4734
expand pattern to match newer .apks
2014-10-16 20:47:43 -07:00
Eric House
f14c3216a5
commit changes that have been running for a while
2014-10-13 19:10:56 -07:00
Eric House
d1f3648390
better shelf clearing
2014-06-24 08:16:01 -07:00
Eric House
2c7128ad30
pull note out of dict header
2014-06-18 20:18:09 -07:00
Eric House
b3852ba603
cast to int so doesn't get turned into a string on the java side
2014-06-18 06:46:45 -07:00
Eric House
3e107a82e2
include word count and file size
2014-06-18 05:18:22 -07:00
Eric House
45ebb8d3b9
put dict list info in shelf for faster response
2014-06-07 17:57:43 -07:00
Eric House
d54bbb3beb
don't barf when something not found in git history -- just return nothing, as it's the dev case
2014-06-07 17:50:35 -07:00
Eric House
d55dd7e206
change format of downloadable dict info. Late checkin: Android code's
...
been counting on this for several days.
2014-06-03 07:43:47 -07:00
Eric House
092c0f54c8
include md5sums of dicts in json
2014-05-28 20:45:55 -07:00
Eric House
5d0a6babae
add function to list all wordlists by lang in a json -- toward not
...
using webview for download function.
2014-05-28 07:14:45 -07:00
Eric House
937e1fa9a9
don't upgrade app and translations at the same time (since new app may
...
behave differently once installed)
2014-05-28 06:43:37 -07:00
Eric House
43f90cb3b0
use -1 as array index
2014-05-02 22:03:02 -07:00
Eric House
ad65b93ef2
changes necessary to actually return a translation based on revision
...
hash of R.java passed by client, or none if it already has it. Rough,
but works.
2014-05-02 22:00:25 -07:00
Eric House
7ea037d56a
work with arrays of locales
2014-04-29 06:33:14 -07:00
Eric House
1e5a474692
remove unneeded param
2014-04-24 06:21:10 -07:00
Eric House
e25a0e7dbc
changes for translation downloading
2014-04-23 07:39:36 -07:00
Eric House
af0522b0f4
always serve the newest .apk for debug builds wanting to upgrade
2014-03-26 18:44:14 -07:00
Eric House
9993ef1e4c
add function to return all apks sorted by creation time
2014-03-26 08:22:17 -07:00
Eric House
407a82322c
modify to server the latest beta for non-debug users
2013-05-02 06:58:36 -07:00
Eric House
9cfc6be82c
fix for when wordlist not found
2013-05-02 06:52:12 -07:00
Eric House
571300c0f8
work with two checksums per wordlist, the old that's on the whole
...
file, and the new that's on the wordlist data only.
2012-09-15 09:34:27 -07:00
Eric House
786e05b1f9
update to install beta 51
2012-08-23 06:51:32 -07:00
Eric House
02fa53cbc7
bring in recent tweak
2012-08-21 08:02:36 -07:00
Eric House
6b23bebd0a
use constants
2012-08-20 21:36:14 -07:00
Eric House
4d51cc8d3a
check for presence of apache mode (which is unavable when running from
...
cmdline)
2012-08-20 07:07:57 -07:00
Eric House
fca1621ad0
use json to do app and all dict queries in one transaction
2012-08-18 07:42:42 -07:00
Eric House
07c6d57233
pass git version and installer name (usually empty) as part of update
...
for more granularity
2012-08-16 21:49:52 -07:00
Eric House
e749aedd34
return url inside a json rather than just a url for more flexibility
...
and so python's error messages don't trigger Notifications that then
fail.
2012-08-15 18:55:54 -07:00