Commit Graph

5554 Commits

Author SHA1 Message Date
mpl 8ea07d33d2 devcam server: preset CAMLI_LEVELDB_ENABLED to false
Change-Id: Id35fc6f965186b4d2f1a2d427d2e5506a98cce1f
2015-08-21 18:35:30 +02:00
mpl be3ea3fe01 images/resize: add YCbCr 4:1:1 and 4:1:0 samples
Also fixed a typo and left TODOs.

Related: issue #635

Change-Id: I6797094c3eaeb26a2d9397c1174c2548fad7d312
2015-08-21 18:17:01 +02:00
Mathieu Lonjaret 9a42ac9b91 Merge "make.go: do not make a genfileembed.exe when cross-compiling" 2015-08-19 16:24:04 +00:00
mpl 4d5cfb81c7 deploy, docker: go 1.5 tweaks for GCE launcher
Change-Id: Id1bae51742cb3efbb580181dc3c2ae6814fcab65
2015-08-18 15:01:04 +02:00
Brad Fitzpatrick 6f58fc2426 Fix build, move more stuff from third_party to vendor. 2015-08-18 10:19:49 +02:00
Brad Fitzpatrick ff3e52d9d0 camlistored, osutil/gce: log to Cloud Logging when on GCE 2015-08-18 10:03:47 +02:00
Brad Fitzpatrick 2a4dbc9f08 pkg/env: start of env-specific log destinations 2015-08-17 18:06:35 +02:00
Brad Fitzpatrick 8c25e46524 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2015-08-16 18:45:02 +02:00
Brad Fitzpatrick a626983a75 Merge "devcam: fix self-building wrt new vendoring" 2015-08-16 16:43:29 +00:00
Brad Fitzpatrick 4486071e26 website: logging to Google Cloud Logging 2015-08-16 18:39:10 +02:00
mpl 4f0e6079bf devcam: fix self-building wrt new vendoring
Change-Id: I26c8a49bb2fe7e03dea08a653ae6533e7ef05d17
2015-08-16 15:50:33 +02:00
Brad Fitzpatrick e5dd09807c website: refactor logging in prep for Google Cloud Logging support 2015-08-16 14:30:09 +02:00
Brad Fitzpatrick b0c9fcc71f Start of a Google Cloud Logging package.
Will implement here and then upstream.
2015-08-15 22:49:27 +02:00
Brad Fitzpatrick 06f7accf31 Require Go 1.5 (due out soon), start move from third_party to vendor.
See https://golang.org/s/go15vendor

This commit moves the google.golang.org/cloud/... packages. The rest
of third_party will move later.

This commit is a dependency for some cloud logging work which we'll
develop in Camlistore's tree.
2015-08-15 22:45:11 +02:00
mpl eec23f4a21 serverinit: use user-defined kv type everywhere, otherwise leveldb.
In a few places, cznic/kv use was hardcoded, instead of picking the user
set kv type, if any. This change makes sure we use the user-defined one,
if set, syndtr/leveldb otherwise.

Relatedly, the low-level config generated for diskpacked now uses that
same principle for its internal index. Also, if a diskpacked is
configured without an index, it now defaults to syndtr/leveldb.

Please note that this patch DOES NOT change the default kv type in the
automatically generated high-level config.

Related: #632

Change-Id: I55dbd385230878e92776e6b83d34c36fd1fa9382
2015-08-05 16:54:29 +02:00
mpl 9a24acca6c devcam fixv,hook: docs, bugfix, cleanup.
Change-Id: Ie5f9f9ea62c13221d6b9c9913ef953ab39fb7914
2015-08-03 19:45:10 +02:00
Tamás Gulácsi c9027c2c7f pkg/strutil: think in runes in Has{Pre,Suf}fixFold
Remove assumption that both strings have the same byte length.
Add the Kelvin sign to the tests.

BenchmarkHasSuffixFoldToLower-4  3000000  482 ns/op  2 allocs/op
BenchmarkHasSuffixFold-4        10000000  130 ns/op  0 allocs/op

The same holds for HasPrefixFold:

BenchmarkHasPrefixFoldToLower-4  2000000  599 ns/op  2 allocs/op
BenchmarkHasPrefixFold-4        10000000  139 ns/op  0 allocs/op

Change-Id: I613f86b59285ccf177d3e3be597202551a0aa64c
2015-08-01 10:40:14 +02:00
Mathieu Lonjaret a1c21d3cc1 Merge "devcam: git hooks in go, 3rd party imports too" 2015-08-01 00:21:57 +00:00
mpl 6fa15a228e devcam: git hooks in go, 3rd party imports too
devcam hook: install git hooks and/or run them

devcam fixv: fix import paths in vendored files

More/better docs later.

Addresses #590
Addresses #591

Change-Id: I162717bc2e8a8190a6fe81086b3e14fcdf8ab92a
2015-08-01 02:16:10 +02:00
Mathieu Lonjaret 14eb933b2f Merge "website: convert docs pages to markdown" 2015-07-29 00:27:04 +00:00
Mathieu Lonjaret 50c37bcc96 Merge "pkg/video/thumbnail: for making a still thumbnail from a video" 2015-07-28 17:25:31 +00:00
Mathieu Lonjaret f80d27d934 Merge "cmd/camtool reindex-diskpacked: don't panic on high-level conf" 2015-07-27 16:46:04 +00:00
Will Norris f49f395efc website: convert docs pages to markdown
This includes all of the top-level files in the docs folder except for
status and terms, which are going to be a little trickier to convert.

This includes no editorial changes.  There are a few minor stylistic
changes (like the auth value table in server-config converted into a
list).  Text has also been mostly wrapped at 80 columns, which accounts
for a lot of the changes as well.

Change-Id: I3782158f05d2b3c72e6cb44bff92c46ccc231a96
2015-07-26 17:00:25 -07:00
Mathieu Lonjaret 4687fa70aa Merge "devcam server: add syndtr/goleveldb indexer. make it the default." 2015-07-26 15:55:13 +00:00
mpl afb47c7cd9 devcam server: add syndtr/goleveldb indexer. make it the default.
Change-Id: Ice835d7505404ad9eeaf040d465409bb0e4c420d
2015-07-26 17:53:36 +02:00
mpl 20659d45f0 make.go: do not make a genfileembed.exe when cross-compiling
Change-Id: I7c58756a6906c146b7bdff479dcb1b5ab9bd6e32
2015-07-24 17:01:23 +02:00
Mathieu Lonjaret 085905c938 Merge "website: update to 0.9 release notes" 2015-07-24 13:27:12 +00:00
mpl 7981c57990 website: update to 0.9 release notes
Probably needs some more trimming and reorganizing, but I think it's now
pretty much up to date in terms of contents.

Change-Id: I3d04dc2d01098ae7b19f13627d6a6b47256c75f6
2015-07-24 02:05:55 +02:00
Will Norris b7ca3ff09d website: use blackfriday to render markdown files
convert a simple file (/docs/todo) to markdown as initial proof of
concept.  All other existing files which contain HTML but no markdown
should be passed through blackfriday unmolested.

Change-Id: I6ec79f3bb0998fcb54712b748f94b5ae5bbed1c0
2015-07-23 16:23:11 -07:00
Will Norris 6c231339dc add blackfriday and deps to third_party
russross/blackfriday (BSD license, version 8cec3a8) parses and converts
markdown to HMTL.

shurcooL/sanitized_anchor_name (MIT license, version 11a20b7) generates
anchor names for HTML headings.

Change-Id: I475ec76a1a252354071abfbe2d9c97b234144b3e
2015-07-23 14:57:04 -07:00
Tamás Gulácsi 533433f163 cmd/camtool reindex-diskpacked: don't panic on high-level conf
If no metaIndex is specified, just go on, but don't panic.
Also try to clear the logic a little bit (don't overwrite indexConf).

Change-Id: I43e61ac3d5cd239cc113cb034ff3dd61eaaa14fd
2015-07-23 07:16:14 +02:00
mpl e12d2aa765 misc/docker/dock.go: bump default rev
Some new features (build binaries tarballs) added in commit
988fc8a43c depend on some files that were
added to the camli repo in that very commit.
So for these new features to work, the Camlistore source used must be >=
to that revision, hence that bump.

Change-Id: Ibb68c0f1a1c85277becc02ad73b902d77b5bc465
2015-07-21 16:57:39 +02:00
mpl 5ffc23ebd1 Merge "misc/docker/dock.go: names and doc tweaks" 2015-07-21 14:47:11 +00:00
mpl a7cf3d3911 pkg/images: TODO for tiff and cr2 test
Change-Id: I4cbabca9a14c943220b878bd077bff04c7e267b2
2015-07-21 16:39:36 +02:00
Mathieu Lonjaret a6896a6c36 Merge "images: make cr2 and tiff decoding work together." 2015-07-21 14:35:59 +00:00
Will Norris d1f6e62321 remove CLA text regarding electronic signatures
Both individual and corporate CLAs support electronic signatures now, so
it's probably not worth specifically calling that out on either.

Change-Id: I3bc531351d28c97b3a68c37eb46fc1f8b5e749ab
2015-07-20 16:48:22 -07:00
mpl bd77d00bce Merge "pkg/serverinit: fix test related to 9ea7fff91712e989a8997f0c7d4a9d5f2247a916" 2015-07-20 15:13:33 +00:00
mpl cad29fe837 pkg/serverinit: fix test related to 9ea7fff917
Change-Id: Ibac3ee15bfb75a68004058d425e2de356aee238f
2015-07-20 17:11:47 +02:00
mpl a78e6cf076 pkg/search: fix test related to 1576fdad6d
Change-Id: I226a5db5919836416609bf1ac7fd61cb66fbaa11
2015-07-20 17:08:44 +02:00
mpl c78b881af2 Merge "search: remove all thumbnail business" 2015-07-20 14:43:24 +00:00
mpl d01f0c52aa Merge "pkg/index: bugfix; get mediatags by wholeRef when no corpus" 2015-07-20 14:04:55 +00:00
mpl f0f5bdff59 Merge "pkg/serverinit: auth wrap importer handler" 2015-07-20 14:04:19 +00:00
mpl d68657f75a misc/docker/dock.go: names and doc tweaks
Change-Id: I0e5de36d0001e5d13dda4ec166af0bb207f4694a
2015-07-18 00:06:31 +02:00
mpl 2c57aff2c1 misc/docker/dock.go: fix typo, wrong program was called
Change-Id: I627b25c604f6ae82bbb49d635664e811ba962af8
2015-07-17 22:42:11 +02:00
mpl eb20a498f7 Merge "misc/docker: build tarball of binaries for releases" 2015-07-17 19:52:45 +00:00
mpl 1576fdad6d search: remove all thumbnail business
Fixes Issue #321

Change-Id: I4818580b52c335e204f58b176450459ebc26189c
2015-07-16 16:19:16 +02:00
Mathieu Lonjaret 4b9ced5a01 Merge "pkg/importer/flickr: fix photosSearchItem unmarshal" 2015-07-16 13:05:14 +00:00
Tamás Gulácsi eedf44ef20 pkg/importer/flickr: fix photosSearchItem unmarshal
As Adrian Tritschler reported, Flickr returns Lat/Long
with inconsistent quoting: 0 / "-32.2".

Also ints ("total", for example) can come in quoted ("6236") and
unquoted (6236) form, too.

This commit utilizes an int and a float32 with specialized Unmarshaler.

Change-Id: Ic559059272ba457860bf56a8671d5abd430eb404
2015-07-08 06:41:11 +02:00
Mathieu Lonjaret 5d2da84959 Merge "ui: fixes broken links on DirectoryDetail / FiletreePage" 2015-07-07 14:11:48 +00:00
Bill Thiede 472d59600d images: make cr2 and tiff decoding work together.
https://camlistore.org/r/4936 broke cr2 decoding.  If the tiff library
registers with the standard library's image package before the cr2 library
does, the tiff library will fail to decode cr2 images properly.

Fixes error message:

  tiff: unsupported feature: compression value 6

Seen when generating thumbnails for CR2 files.

Change-Id: I6e5f77fbbf2b5b6615ece46525e33e0bfab9b0cd
2015-07-06 20:46:53 -07:00