Commit Graph

1740 Commits

Author SHA1 Message Date
Brad Fitzpatrick 9b6cb04c6e pkg/index: remove pre-Go 1 trimRFC3339Subseconds
Confirmed it's no longer needed.

Change-Id: I83fdbec205476cd749c668e04b26a304c543e7b6
2012-11-02 13:36:33 +01:00
Brad Fitzpatrick 22495f8bfd schema: adjust rollsum splitting algorithm, make it the default
We might tweak the parameters yet, and I want to add a bunch more
tests, but this is a major relief for me.  I've been reluctant to
put too much data into my personal Camlistore instance until I
figured out how I wanted the file chunks to split.

This also simplifies (deletes) a fair bit of code.

Change-Id: I35c38cc5d39a8a43e3f62445434f8d7fd5de5d17
2012-10-29 02:03:05 +01:00
Brad Fitzpatrick 044194b746 schema: document PopulateParts, add a missing error check
Change-Id: Ic9d65fe3e56c4233f481254c6f730a8b382fb4ba
2012-10-29 00:10:31 +01:00
Brad Fitzpatrick 0ddc9dcadb camget: add a graphviz output mode with -graph
Change-Id: I472a1e7fda0f1a15bdcba1a7be8e0d586741bf08
2012-10-28 19:32:25 +01:00
Brad Fitzpatrick 8ea91bae9c Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-10-28 19:31:19 +01:00
Brad Fitzpatrick 3098e54163 Merge "Conform to W3C File API" 2012-10-28 12:56:07 +00:00
Brad Fitzpatrick 15ad53c545 rollsum: revert change. I was using the API wrong.
Change-Id: I5973ae82188f67493f15aa1359867c220a2b28eb
2012-10-28 13:40:29 +01:00
Brad Fitzpatrick d2b8dc2327 rollsum: decrease split frequency by 4x
Change-Id: Ibf945004abff61134fbcd07f47734ea3f0944ba0
2012-10-28 13:08:39 +01:00
Brad Fitzpatrick 82329b5882 rollsum: log stats after benchmark run
Change-Id: I2c8983d13ea80efb383ebf77316e6ad0a5da9f57
2012-10-28 13:07:42 +01:00
Brad Fitzpatrick 137528b7d6 Merge "camput: final error printing" 2012-10-28 11:08:10 +00:00
Brad Fitzpatrick 52290aac3f Merge "pre-commit hook: warn about broken third party imports" 2012-10-28 11:07:17 +00:00
Brad Fitzpatrick a364983788 Merge "mongo: added user:pass style authentication" 2012-10-28 11:05:19 +00:00
Brad Fitzpatrick e74163baa0 Add a HACKING file.
This is the conventional file for contribution instructions.

Change-Id: I537da625c376fb22832a55b0c92f4cd5d374803f
2012-10-28 04:03:52 -07:00
mpl 231c3d7405 wizard: bugfix, TLS is now https
this should have been done along with
the other changes in 94cb8cf05a

Change-Id: I376e6616c3aeaa9d5accb65b64a43d101de25d3b
2012-10-25 18:39:55 +02:00
mpl 8138cf8fd6 mongo: added user:pass style authentication
The mongo indexer didn't have any authentication
scheme, so this change adds the user:pass@host
authentication.
The mongo indexer tests now use the root:root
credentials.

Change-Id: I7867f46e3b5f0a4a1a50f86f26d76c0bfd69e9ac
2012-10-25 00:35:19 +02:00
mpl 909c91a9ea search ui: deleted old/useless TODO
Change-Id: I0f6bbd88d98f9357d4a90e35dd4dc58a5281498e
2012-10-24 17:45:47 +02:00
mpl 3e9aef409c search handler: documented the "attr" values when searching for a permanode
Change-Id: I607d1fe016078912faac9864630552cd2b496aa2
2012-10-24 17:26:46 +02:00
mpl f91f1f88c4 camput: final error printing
Change-Id: Icc51560545b20315a0383d7bda80170c5612e1f2
2012-10-24 16:02:37 +02:00
mpl c2b746a086 pre-commit hook: warn about broken third party imports
Change-Id: Ib1315af2833a757093b36127b62d64abbd055963
2012-10-24 13:09:06 +02:00
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