Commit Graph

1720 Commits

Author SHA1 Message Date
mpl 202c45a04a camput file:
This change introduces 2 features, illustrated by those examples:
1) camput file -filenodes *.jpg
This was not previously possible because -filenodes option only worked
with directories.
2) camput file -filenodes -tag 'nice pics' /media/foo/DCIM/
This was not previously possible because the -tag option could only be
used with the -permanode option.

Change-Id: I80ed95fdc819d359cacfe97ba3b7849b96e406f4
2012-10-22 19:25:56 +02:00
Brad Fitzpatrick 6be58c9ce0 camput: start of proper tests
Change-Id: Icc9257154fecaaf2018971ab94e0dc54086d3719
2012-10-21 14:14:51 -07:00
Brad Fitzpatrick ef8e746cb5 merge
Change-Id: I06ab89274e35bad61944e208e366cd7436381e63
2012-10-21 13:59:13 -07:00
Brad Fitzpatrick e9b5bca10e camput: start of making it more testable
Change-Id: Ie65afeaa14ea483231674433cda5a90669ca0bc7
2012-10-21 13:58:06 -07:00
Brad Fitzpatrick 0645035db7 Make serverconfig tests pass again.
Change-Id: I83077f7573a81b643639c78de1a72169e82b09e9
2012-10-20 12:33:39 -07:00
Brad Fitzpatrick d0faee5726 Compile with Go tip.
Change-Id: I518c357613049e80939ccab9c30b6aaf03ebe140
2012-10-20 12:27:50 -07:00
mpl 83ce85b59f old TODOs
Change-Id: Ifa8877f594e65e081536b97f536106301f5c9836
2012-10-19 23:37:14 +02:00
Brad Fitzpatrick 507ea419a9 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-10-19 13:39:24 -07:00
Brad Fitzpatrick 3c80cc17f8 Move old broken dev-* scripts away.
Change-Id: Ide5dfe2dffc5d1af8f1c88be0a897c97932eb14c
2012-10-19 13:38:55 -07:00
Brad Fitzpatrick 9ee913f875 third_party: fix imports
Change-Id: I4cd0167dcfbfe2bda3eedc80b7bd534a30216908
2012-10-19 13:33:44 -07:00
Brad Fitzpatrick 44b0592135 Merge "jsonconfig: remove TODO and revert bogus change; float always works apparently." 2012-10-19 20:30:34 +00:00
Brad Fitzpatrick 6b8fc9b23a webserver: use runsit listener instead of net.Listen
Change-Id: I635d1ac5dcd89905a2fadf4b71d3bffec88389ad
2012-10-19 13:24:18 -07:00
Brad Fitzpatrick 04d600f974 Update third_party runsit from tip.
Change-Id: Ic376f582abd741307caa68834ff8cba0f75a56cb
2012-10-19 13:24:06 -07:00
Brad Fitzpatrick 9ae9707971 Update ziutek/mymysql to ccdd9e594f2
Change-Id: I1ab983f31cd10752104c24f1a613b38818a43396
2012-10-19 13:06:12 -07:00
Brad Fitzpatrick 8c6f36b5d3 Remove unused third_party dep
Change-Id: I5c0ae35f743ca95c44b19135da5c6dd1bbd72a02
2012-10-19 13:03:07 -07:00
Brad Fitzpatrick 7fba04d71a Compile with Go tip again.
See https://groups.google.com/forum/?fromgroups=#!topic/golang-dev/yULJVYAbIzg

Change-Id: I11e8dd99a9ec4a065f03b888b616c13e5ce0e92c
2012-10-19 12:51:10 -07:00
mpl 41e8215abe jsonconfig: remove TODO and revert bogus change; float always works apparently.
Change-Id: Ia80edbfd122063895ffb76d361c33b2cd70a725c
2012-10-19 19:26:15 +02:00
mpl 159c2a5216 camput: moved/added examples, added -help as a global flag to display usage
Change-Id: I3de13057c555d68752101043f671d7694a311021
2012-10-19 17:57:17 +02:00
mpl 5a92ae8236 Merge "pre-commit git hook: -gofmt -trailing space check" 2012-10-18 09:57:41 +00:00
mpl 94cb8cf05a Be consistent between high and low level configs for https
Change-Id: Ie7e1d9c554e09a34416a2ae3ac9e10f1a2f8fce0
2012-10-18 11:58:30 +02:00
Brad Fitzpatrick c1730d6151 Merge "cammount: check that input is a directory blobref" 2012-10-18 05:47:30 +00:00
mpl 2d4f37176c cammount: check that input is a directory blobref
Change-Id: I9b33f2ae31ef902e01ddaa0504e1c960bb4e3640
2012-10-18 00:33:37 +02:00
mpl 4a184c84d5 pre-commit git hook:
-gofmt
-trailing space check

Change-Id: Icd63483b1873b21cd5ff6f00fff4b191095942ad
2012-10-16 18:18:46 +02:00
mpl 6ac49843ab fix IPv4 assumption
Change-Id: I334e6ccb5b26a083b55750271262a3469f63e78e
2012-10-16 00:20:57 +02:00
mpl 0b15eb0cc8 handlers in wizard: swap arguments to match http handlers style
Change-Id: I78e9b218392979017682c375ce8a4b636ed3a832
2012-10-15 17:29:12 +02:00
Brad Fitzpatrick 42fb5290fd Merge "If baseURL was not user defined, this change makes sure it is dynamically defined from incoming requests. The listen flag has moved from pkg/webserver to server/camlistored and is not using runsit anymore. httputil.ServerError now only outputs the full error if we're in internal/debug mode. http://code.google.com/p/camlistore/issues/detail?id=53" 2012-10-15 14:33:43 +00:00
mpl 844551d0b2 If baseURL was not user defined, this change makes sure it is
dynamically defined from incoming requests.
The listen flag has moved from pkg/webserver to server/camlistored
and is not using runsit anymore.
httputil.ServerError now only outputs the full error if we're
in internal/debug mode.
http://code.google.com/p/camlistore/issues/detail?id=53

Change-Id: I55a1c6d43a549d9ee2022742a83aa142dc19e02a
2012-10-15 16:26:50 +02:00
mpl 88f2929802 Merge "camput: client becomes StatReceiver. also added ReaderSize function to guess before reading the size of a source." 2012-10-11 09:50:29 +00:00
mpl a534e02c2d camput: client becomes StatReceiver.
also added ReaderSize function to
guess before reading the size of
a source.

Change-Id: I659e174821696b3c58759b132b82710a49583018
2012-10-11 11:51:12 +02:00
mpl 2a434d7276 a couple js bugs in ui home
(showed as errors in ff but not in chromium)

Change-Id: I5df05f72401ad2e8c05160ba2dc2254c8e837f11
2012-10-10 16:04:42 +02:00
mpl 6baedb3dc7 delete permanode: defined the keyDeleted index key,
and added check in index searches to exclude deleted
permanodes from the results

Change-Id: I7097e4a5dc893a212c91dff987ad7e505793fda9
2012-10-09 01:29:59 +02:00
Brad Fitzpatrick e557066f1d schema: more cleanup, making FileReader a ReaderAt.
testing TODOs and further cleanup TODOs remain.

Change-Id: I997153c66805cfe3220d3d735322be14b68b75dc
2012-08-23 20:09:31 -07:00
Brad Fitzpatrick faf3c90d6f schema: more docs and some FileReader work
Change-Id: Id9e754e3b6358a651a826a4cdeb00efb330e3c3a
2012-08-23 18:44:03 -07:00
Brad Fitzpatrick 01195665dc Merge "fix broken symlinks" 2012-08-22 16:10:30 +00:00
mpl b355a29150 just one missing map[string]interface{} -> Map conversion
Change-Id: I616ef7260dac9187ea5157f8d47c1b05815ad723
2012-08-22 15:09:42 +02:00
Brad Fitzpatrick 1a51f44196 schema: fix test
Change-Id: Iaacc42167e40233dcb9f5f03bfcfcfe86655a2b1
2012-08-22 04:38:51 +10:00
Brad Fitzpatrick 228c0ca56f schema: change PopulateSymlinkMap to be Map.SetSymlinkTarget
Change-Id: I072ce65331048b54c90c32e951f5034060c1764c
2012-08-22 04:38:25 +10:00
Brad Fitzpatrick a8629ec5dd schema: unexport NewBytes
Change-Id: Ia6ec7c9aec33319bf277b93a189b4fa43d0540b9
2012-08-22 04:33:06 +10:00
Brad Fitzpatrick 439db110ec schema: more cleanup; ditch the Claimer type
Change-Id: I2a52564c1a99c96a2cd8bc84a791784f0a4e4b2e
2012-08-22 04:31:48 +10:00
Brad Fitzpatrick b67d753364 schema: docs and cleanup
Change-Id: Ib720b7f711d71bdeaaf33374f376f14b30a5a97c
2012-08-22 04:14:47 +10:00
Brad Fitzpatrick 11eac8721e Convert more code to use schema.Map instead of map[string]interface{}
Change-Id: I285fd1b0e730ebd32069688a71cb992c43770ade
2012-08-22 03:47:38 +10:00
Brad Fitzpatrick 3cd7f75f89 schema: introduce type Map
Change-Id: I8209930d8505a4cb74b8ea29b5b57f2cd6bd14d2
2012-08-22 03:36:36 +10:00
Brad Fitzpatrick 0a0b012eba camput,schema: cleanup, docs
Change-Id: Ifa94cb1e9e086f85222692508ab12616f4cc3211
2012-08-22 03:31:44 +10:00
Brad Fitzpatrick dc684dfa6a camput: updated comments, TODO
Change-Id: I8df73d4c1c44c71424bcfaf7d3cb124c1738c791
2012-08-22 02:39:36 +10:00
mpl 2c27a6686c fix broken symlinks
Change-Id: I4b275d3c796fd034db9d71605848ab327f752542
2012-08-21 14:41:51 +02:00
Brad Fitzpatrick 8fec29c974 camput: make file permanodes consistent between runs (fix claim times)
Change-Id: Idd2bbda2372802772703eaeaf6fe2e74f9bcdd83
2012-08-21 20:43:38 +10:00
Brad Fitzpatrick b815a2b758 camput: add -filenodes option for per-file content-based planned permanodes
Change-Id: Ic03b990654d860e03b4cc710de92f7d40c392df8
2012-08-21 16:11:10 +10:00
Brad Fitzpatrick bf2604a836 more TODO
Change-Id: I3eac6b72744c76ddbdd4009f006991f292d8f55a
2012-08-21 16:09:32 +10:00
Brad Fitzpatrick 8d01f4e323 add nit to TODO
Change-Id: I507326c162da803ce4ee1949a81428c076d961be
2012-08-21 16:08:09 +10:00
Andrew Gerrand aa5392f510 import image/gif to handle gif files
Change-Id: If9742b89562909bd70d2c9b8ceddd394975c7db0
2012-08-05 11:01:12 +10:00