Brad Fitzpatrick
9b35026497
camput: rename tinkerTransport to statsTransport
2012-11-07 21:00:22 -06:00
Brad Fitzpatrick
3057358cfc
Index the dimensions of images.
2012-11-07 23:54:00 +01:00
Brad Fitzpatrick
a41269e78e
Reindex all dev-server blobs into memindex on restart.
...
Required some sync work (full syncs on start, blocking full syncs on
start, and also adding a dev-only hack to force a depedency from
search -> sync, to control the handler initialization order, otherwise
publish handlers would race with the sync handler and they'd create
new "blog" and "pics" permanodes and we'd end up with duplicates).
2012-11-07 22:40:17 +01:00
Brad Fitzpatrick
71d7cf9e88
Implement storage generations, init and discovery
2012-11-07 21:14:56 +01:00
Brad Fitzpatrick
a6d3151645
gofmt handlers
2012-11-07 20:54:55 +01:00
Brad Fitzpatrick
b887087606
Do a TODO: s/errorIsNoEnt/os.IsNotExist/g
2012-11-07 20:02:34 +01:00
Brad Fitzpatrick
bccf8ed575
Move discovery up from the UI handler to the Root handler.
2012-11-07 18:57:43 +01:00
Brad Fitzpatrick
5c4d0f71f5
gofmt
2012-11-07 18:49:14 +01:00
Brad Fitzpatrick
df5eee936d
Make discory work with an Accept header on the root
2012-11-07 18:04:40 +01:00
Brad Fitzpatrick
316d3cff31
camlistored: style fix
2012-11-07 17:52:09 +01:00
Brad Fitzpatrick
39d8df7bb2
serverconfig: docs and unexport GenLowLevelConfig
2012-11-07 17:51:42 +01:00
Brad Fitzpatrick
256fb531b1
presubmit: say PASS at the end
2012-11-07 17:49:22 +01:00
Brad Fitzpatrick
fad4960033
regenerate embedded files with new genfileembed
2012-11-05 18:43:47 +01:00
Brad Fitzpatrick
824dbf768f
genfileembed: work around a Go 1.0 vs Go 1.1 bug in fmt %q, doing it ourselves.
...
folder.png and node.png had problems generating on Go 1.1's %q and compiling with Go 1.0.3
2012-11-05 18:43:20 +01:00
Brad Fitzpatrick
e582f155ed
Thumbnails for permanodes with members (folder) and camliContent to file images
2012-11-05 18:01:03 +01:00
Brad Fitzpatrick
5033e26980
Add folder icon from Tango.
2012-11-05 17:37:18 +01:00
Brad Fitzpatrick
6f82d343ef
search: push thumbnail logic into its own function
2012-11-05 17:23:42 +01:00
Brad Fitzpatrick
9b7faaca07
Push server-side thumbnails down into DescribeRequest. Use node.png.
2012-11-05 16:32:56 +01:00
Brad Fitzpatrick
776cf7ce75
Add a permanode icon (from Tango); rebuild embed files.
2012-11-05 16:32:30 +01:00
Brad Fitzpatrick
03b8cd143f
Start of server-side icon support for recent permanodes list.
2012-11-05 15:48:13 +01:00
Brad Fitzpatrick
832b774025
search: add EdgesTo handler and tests
2012-11-05 15:09:34 +01:00
Brad Fitzpatrick
f696007a14
index: implement EdgesTo
...
For finding back references in the graph.
2012-11-05 10:29:42 +01:00
Brad Fitzpatrick
0c3e700006
Merge branch 'master' of github.com:bradfitz/camlistore
2012-11-05 10:25:05 +01:00
Brad Fitzpatrick
8c9fba0d71
Merge branch 'rotate' of github.com:bradfitz/camlistore into rotate
2012-11-04 16:34:06 +01:00
Brad Fitzpatrick
a2e01c513b
Start of images package and EXIF test files.
...
Change-Id: Ie623ddc7f6df5cbde890a7c0a47affe91780534b
2012-11-04 16:16:02 +01:00
mpl
32a591a687
Merge "rotate thumbnails"
2012-11-04 14:57:57 +00:00
Brad Fitzpatrick
e783ad1717
Add another search handler test, for recent permanodes.
...
Change-Id: Iaf40cd94aba7b96c16fa1b04c2bfcebdfeea870e
2012-11-04 15:26:13 +01:00
mpl
70368abb7d
rotate thumbnails
...
Change-Id: I87dd3008facc5e9c8007fc8ebcba13e98f4a2175
2012-11-04 14:36:31 +01:00
Brad Fitzpatrick
305b4557b9
Improve search handler tests.
...
Change-Id: I5639447cc95f06d0773e7f15cb601d51c7dd5031
2012-11-04 13:59:19 +01:00
Brad Fitzpatrick
546e2fc14d
Send Content-Length on JSON responses
...
Change-Id: I7e8034b0aea8031011607527f237e24d63b88502
2012-11-04 13:50:35 +01:00
Brad Fitzpatrick
ab98ebfa23
some FakeIndex docs
...
Change-Id: I508e5326c07c8cc7bd39068a2d7e342d0b27884c
2012-11-04 12:38:33 +01:00
Brad Fitzpatrick
933375019d
Remove *testing.T from IndexDeps constructor; use Fataler interface
...
Change-Id: I1cfcc2fa8059dca3f4e082c1dae896974d3d0e02
2012-11-04 12:27:45 +01:00
Brad Fitzpatrick
17a3faf2df
index: export NewMemoryIndex
...
Change-Id: Iaa6d3268ce0f6c531e37c97799deeb31c11eabdb
2012-11-04 12:18:11 +01:00
Brad Fitzpatrick
0ccf9ba3f1
some TODOs
...
Change-Id: Ifcc2612ea323347ba78d5cb493ebe9fabd3a10aa
2012-11-03 22:27:27 +01:00
Brad Fitzpatrick
73266993ff
sigserver: cleanup
...
Change-Id: I47e840eb30f88289b9567250997ab954b1ccfa83
2012-11-03 21:00:02 +01:00
mpl
295cbade1b
Add postgres support
...
Also added the -short option for make presubmit
because postgres test is too slow.
Change-Id: I6be21c4d4cd67671eb44ab65333fc32c1e261bbd
2012-11-03 19:59:22 +01:00
Brad Fitzpatrick
4b0d2841ee
Add search.EdgesTo method to search interface. No implementation yet.
...
Change-Id: Ie3a9eb91e218e172b195d55cb9c17cb6c8f819ce
2012-11-03 16:08:37 +01:00
Brad Fitzpatrick
69e155af64
Replace panics with t.Fatal
...
Change-Id: I7a514f4a67dbf44eff2448a423082c528e9ee365
2012-11-03 14:54:53 +01:00
Brad Fitzpatrick
d2e2652eea
gofmt
...
Change-Id: Ib9aca9d648317f1f17fce0e5e7dba5315a95c274
2012-11-03 14:54:45 +01:00
Brad Fitzpatrick
13f85afe8c
Merge "Modification to allow windows build and deployement"
2012-11-03 13:25:43 +00:00
Brad Fitzpatrick
1466c77198
Add 'edgeback' key to index, for going backwards.
...
Change-Id: I43057a6fb96c3e8d9364002288d5c7b9ad2fd034
2012-11-03 14:25:48 +01:00
Brad Fitzpatrick
7cde834f2a
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2012-11-03 14:18:26 +01:00
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
Maxime Lavigne
5a7510c384
Modification to allow windows build and deployement
...
Webserver were initialized with "tcp" and ":3179" by default and
listenURL assumed that it would be treated as IPv6 and replaced [::]
by localhost. Host that were listening on IPv4 0.0.0.0 didn't get
the modification.
Receive in localdisk were using link that failed on windows plateforms.
Camlistored didn't use Json Marshaling which caused problem with the
way Windows stores its paths.
Change-Id: I9f62f7d46399c3514707383efcb2752dbaf1f420
2012-10-30 23:17:58 -04:00
mpl
32fdada399
ui: use custom setTextContent to set text with any browser
...
innerText is not W3C compliant, and does not work on
firefox.
textContent is recommended by W3C, but it does not
work with IE.
setContentText is a generic function that should work
with all browsers.
related issue: http://code.google.com/p/camlistore/issues/detail?id=45
Change-Id: Ie77a96b34b37ffa4af475756158871c7cf271a51
2012-10-29 16:40:36 +01:00
mpl
c61feaa0bd
wizard: placeholder for gallery field
...
The gallery field of the wizard is awkward and undocumented.
This placeholder at least gives a hint to devs (and maybe users)
on what is expected in that field.
Change-Id: Ie707dbecaf87ec98e267fcf6b987cd3b6a1d13e0
2012-10-29 11:10:42 +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