Commit Graph

333 Commits

Author SHA1 Message Date
Brad Fitzpatrick cdd7b97d32 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-01-04 16:37:49 -08:00
Brad Fitzpatrick 3e725e2a98 Change self-signed cert fingerprint to 80 bits of SHA-256.
More secondary preimage resistance. Also better docs and less vague and less promoted Android
UI.

Feedback from Adam Langley, but likely misinterpreted.

Change-Id: I3bf1029b6fc07c0b8dab2af44926aa87b0d4cbad
2014-01-04 16:37:33 -08:00
Brad Fitzpatrick 96e82b2af7 Merge "clients/osx: resolve basic fuse mount errors" 2014-01-05 00:00:53 +00:00
Dustin Sallings 92d1dd2930 BUILDING the osx client
Change-Id: Ibd62a1b4f83031f7e462c73e2574f2628636fadc
2014-01-04 15:57:11 -08:00
Dustin Sallings fbd8992e0e clients/osx: resolve basic fuse mount errors
When cammount unexpectedly exits too soon after starting, check a couple
basic things that are likely to be wrong on new installations and try to
resolve them.

1. Is FUSE installed?  Direct user to site otherwise.
2. Is there a client config?  Allow the user to have one created.

There's no configuration management here, just a behind-the-scenes
"camput init".

This also deals with a minor issue where the user couldn't break out of
a mount failure loop since most of that code has been replaced.

Fixes
        camlistore.org/issue/311
        camlistore.org/issue/312
        camlistore.org/issue/313

Change-Id: I5a4ea99bd7532f0e0c87a7075cc0d618f2033e5c
2014-01-03 22:08:22 -08:00
Brad Fitzpatrick de8d644cfb android: work around a TextView.setText efficiency to not stall the event loop
Change-Id: I77dd1da8f691d5b4844a6bb0f9b2392474354998
2014-01-03 18:06:53 -08:00
Brad Fitzpatrick d867233bec android: crap Eclipse decided to do
Change-Id: I989fc27ffa70176909bc9ab34a2326c59a481f90
2013-12-31 18:14:14 -08:00
Brad Fitzpatrick 2f768edb90 android: more work respecting power & wifi settings; add Eye-Fi directory
Change-Id: I1786395394c742b942e85b24090dbaad55bd1cf9
2013-12-31 14:51:59 -08:00
Brad Fitzpatrick 339c46c6c5 android: fix upload all and background auto upload
Change-Id: If1179d7d40472adc7ffcb5b84598e797a465f029
2013-12-31 09:16:35 -08:00
Nick O'Neill 3af7ffbed1 Configuration changes for building.
Change-Id: Ib593653bab27e4d17ae36d37c9b2d38b63738072
2013-12-30 11:45:05 -08:00
Nick O'Neill f676cc3374 Merge "Added an uploader progress view." 2013-12-29 03:01:24 +00:00
Nick O'Neill d8ae060daf Merge "OS X Time Travel UI" 2013-12-28 18:47:39 +00:00
Nick O'Neill 3b95f0ac25 Added an uploader progress view.
Based on notification stuff, so any other part of the app (or other people using the client) can get the same updates when the uploads start, move forward or end.

Also fixed some issues with url parsing, should be not so sensitive about trailing slashes now.

Change-Id: Ieafc3ecae03eeeba38beed55efad23703b11561c
2013-12-27 14:19:58 -08:00
Nick O'Neill 7e2ca3da96 Merge "Updates to ios client" 2013-12-24 03:52:33 +00:00
Nick O'Neill d00fbf331c Updates to ios client
Storing credentials in the app, style tweaks, trying to make xcode do whitespace right, and some organization

Change-Id: I36c7c0f479dcd95c26c4dd53bacb8e5c6e66bc9f
2013-12-24 03:51:56 +00:00
Dustin Sallings 75c98fd7a8 OS X Time Travel UI
Change-Id: Iceb8bdba9aa8dabb9f86caffe88b0ccdfa3f4deb
2013-12-22 00:33:21 -08:00
Dustin Sallings 186dbe568d Manage FUSE mount
Change-Id: Ic56a46dfd1ab0f451e7d84c4eebd6e4d8aa24b21
2013-12-21 22:53:54 -08:00
Dustin Sallings bc8b94f50c New OS X Launcher
Change-Id: I259b822fd3754a38cb0ba06c885f5a8f23797a4f
2013-12-21 22:52:00 -08:00
Nick O'Neill 5aa6fbff61 Added some progress towards search.
Change-Id: I755f6c05a011461ba78441d5e1cfb8d8dfeb19e1
2013-12-11 11:57:49 -08:00
Nick O'Neill 4e54a3515b Upload by way of significant location change service.
Change-Id: I1793da66ce642bd896f1a41e464cb6e97356c7e1
2013-12-11 11:57:49 -08:00
Nick O'Neill d0c0d09f65 Added progress on ios uploader.
Change-Id: I21e6f00ce2dec1dd430dc5af3a3818a45c96a628
2013-12-04 22:05:18 -08:00
Brad Fitzpatrick 85473f6849 Merge "More work on OS X launcher." 2013-09-07 00:58:43 +00:00
Nick O'Neill cb40c185f6 More work on OS X launcher.
Change-Id: Id88e5f1c26b536b4a296f25b08bb4375ea014dc5
2013-09-06 17:55:51 -07:00
Brad Fitzpatrick dabe4355af Change how the Android camput.arm asset is built to use make.go
Change-Id: I00a6e22ef088a173f78ffca83c984d915670180c
2013-09-03 19:48:32 -07:00
Nick O'Neill 885094adc0 Working on launch.
Change-Id: Id4d0b61565127c60478cbf6d3da1e4f899f9987c
2013-08-30 12:13:04 -07:00
Brad Fitzpatrick 7074b46299 osx: add a Makefile and gitignore
Change-Id: I9873c54bbf7cdc4ae90b78b0bd55330b72063233
2013-07-11 08:39:00 +10:00
Nick O'Neill f36a690934 Removed the workspace for now.
Change-Id: I307cd3e1c4ce63c583ff5e6584226b244d657fef
2013-07-10 10:56:31 -07:00
Nick O'Neill 712fda7b97 Added workspace files for building.
Change-Id: Icc1af8328122f0b8fbb096edd2354efd38954462
2013-07-09 08:47:51 -07:00
Nick O'Neill 79c2a563e4 Added an icon, restricted app to the menu.
Change-Id: Ie681183676d3482fc30d08907e9a26d9b4fbff97
2013-07-08 18:32:21 -07:00
Nick O'Neill c0d251524e First commit for camlistart menu item.
Change-Id: I7b64e5ef11af1277e52bf2034f4157ad890c2da4
2013-07-08 18:32:10 -07:00
mpl ac431439f3 Allow HTTPS with a self-signed certificate.
A new client configuration parameter, "trustedCerts" (list of strings)
is introduced. A certificate fingerprint is defined as the 10 digits
prefix of the sha1 of the whole certificate (in ASN1. DER form).
trustedCerts should contain the list of fingerprints of the
certificates we trust. If not empty, the server's certificate
is checked against that list, instead of using the full x509 validation
on it.

-added a dial function and tls configuration, which check if we're using
SSL, and if we're in "trustedCerts" mode.
pkg/client/client.go
pkg/client/config.go

-moved android specific hacks from camput to the client layer, so that
the dial and tls config could reuse/access them. Also allows future
reuse for other commands, such as camget.
pkg/client/android.go

-adapted camput to the above changes:
cmd/camput/android.go
cmd/camput/camput.go
cmd/camput/files.go

-server prints a hint when it generates the self-signed:
pkg/misc/misc.go
server/camlistored/camlistored.go

-camliactivity:
clients/android/res/xml/preferences.xml
clients/android/src/org/camlistore/Preferences.java
clients/android/src/org/camlistore/SettingsActivity.java
clients/android/src/org/camlistore/UploadService.java
clients/android/src/org/camlistore/UploadThread.java

http://camlistore.org/issue/131

Change-Id: I6be20161549a69aafc8eb7b9e96e9351dc1c5b09
2013-04-23 17:10:37 +02:00
mpl c67b53465a camliactivity: catch invalid server format
Fixes https://code.google.com/p/camlistore/issues/detail?id=120

Change-Id: I602946b80c5a084242f80992b79503052853a4a4
2013-02-25 19:05:41 +01:00
mpl 3f81be742c android: config changes to build with ant
Change-Id: I6c7030bcc6a2f3bb882af706a8cab2a126faef8c
2013-02-23 00:05:01 +01:00
Brad Fitzpatrick 8128b51bb7 android: add Version menu option
Change-Id: I64aeacf18421edd51517c92ec8782b4bb62ca1b1
2013-02-03 10:39:20 -08:00
Brad Fitzpatrick e398532b4a buildinfo: include dirty + flag in version
Change-Id: Idc4763de41fdfa055fed5c06a36db9e9539f60bc
2013-02-03 10:14:21 -08:00
Brad Fitzpatrick ed40fc89f7 Clean up the clients dir a bit
Change-Id: I1fb8e188044e8a552aa02acedb92c1c9b1d75330
2013-02-02 09:02:43 -08:00
Brad Fitzpatrick e8ef81c626 android/camput: more stats
Change-Id: I668b8ee0b7c32d33075e421445af2973be1f576a
2013-01-30 17:22:53 -08:00
Brad Fitzpatrick 957c06d46c android: keep armgo build environment separate
Change-Id: Ie55fdd43813beb5f81ba9f8a41be8012932b1cc1
2013-01-30 17:22:45 -08:00
Brad Fitzpatrick 0825772d49 android: show camput's new advertised stats in UI
Change-Id: I864c539ef9bc81096e271115e90288350209ae66
2013-01-30 16:56:22 -08:00
Brad Fitzpatrick 625c618ac6 android: more graceful camput shutdown (close stdin)
Change-Id: Idd0c572a8426549fb2a1b467ab126986cde9edb5
2013-01-30 10:55:53 -08:00
Brad Fitzpatrick 6cd6acfeda android: slightly better progress bar accuracy
Change-Id: I44da03108419d3aa3d46e074fe8417920f2aaa3e
2013-01-29 17:04:48 -08:00
Brad Fitzpatrick 966beef095 android: formatting rule tweaks
Change-Id: Ic8d74c9838212e55e626f18dda4664626bf2c30c
2013-01-29 16:38:33 -08:00
Brad Fitzpatrick 14f038c667 android: working but kinda-sucky progress bars. need camput to broadcast better stats.
Change-Id: I28e6a16eba835116d8e8e205fe71073e0357b9c7
2013-01-28 21:52:23 -08:00
Brad Fitzpatrick 502026bd89 android: UploadThread re-work. use pipe-to-camput-stdin model, and be more Go-like.
Change-Id: I0f598dae28e47036bf713bfde488a7af0884e932
2013-01-28 19:06:37 -08:00
Brad Fitzpatrick 3a29a9bd82 android: cleanup
Change-Id: I1db3c20c68b8c2c69d76d8f1286e3be15091fb20
2013-01-27 20:28:06 -08:00
Brad Fitzpatrick 05fe9477bf android: pref cleanip + add Dev IP setting, to quickly switch between prod and dev server
Change-Id: Ief66dd2faf2cd366ef808a3d65f07be7b3333ef3
2013-01-27 20:26:02 -08:00
Brad Fitzpatrick 851a0c70b8 android: add Eclipse code formatting policy
Change-Id: I93b0367a66519f7858ebfda424406d41c9ef37fa
2013-01-27 20:24:51 -08:00
Brad Fitzpatrick f5a588527b android: untested: more upload / status work
Change-Id: I15dbf861b0bd8684a4e61a09f910315b874db1ed
2013-01-27 17:12:08 -08:00
Brad Fitzpatrick 8e9f7d332d android: more blob -> file UI changes
Change-Id: Ie3d81d837462bd41c572f42b0447c8428415da0d
2013-01-27 15:31:41 -08:00
Brad Fitzpatrick dc49611c53 android: clean-up and start of protocol from camput to android host
Change-Id: Icda33c1d54bdcd0a57f6ac62c09fd3e9cf9cd6f7
2013-01-27 15:27:17 -08:00