Commit Graph

4431 Commits

Author SHA1 Message Date
Brad Fitzpatrick b3ebdae88c Merge "pkg/sorted/postgres: Renamed "postgresql" -> "postgres" in init()" 2014-04-06 21:26:19 +00:00
Brad Fitzpatrick fb59dac0ea Merge branch 'devauth' 2014-04-06 14:17:04 -07:00
Brad Fitzpatrick bf2764cdfe index: rename the reindex method to indexBlob, to be less confusing.
Also, upon server --reindex, check that no out-of-order blobs are
pending.  From a quick reading, they shouldn't be, but I'm curious to
see.  Will do a full reindex of my data later.

Change-Id: Idebf93cc264e55512afcfb99e47320dd0ae745d1
2014-04-06 14:03:38 -07:00
Steven L. Speek 3e50f83b1c pkg/sorted/postgres: Renamed "postgresql" -> "postgres" in init()
Change-Id: I8f1ba7c970b57c62741e534c23958918714cee0b
Fixes: Issue 418
2014-04-06 21:47:53 +02:00
Brad Fitzpatrick bf2d1123b8 ui: add a custom BlobItemDemoContent renderer type, for demos
BlobItemDemoContent is a demo node type, useful for giving talks and showing
how a custom renderer can be invoked just by making a permanode, setting
its "camliNodeType" attribute to "camlistore.org:demo", and then changing its
background color with the "color" property or text with the "title" property.

Change-Id: Ib592471b785fde5750754bde3aa71eb8e2c10f3b
2014-04-06 11:49:59 -07:00
Steven L. Speek d9cd746fc1 search: stronger lexer; parse errors contain a position
lexer and parser run concurrently
parser functions simplified

Change-Id: Ie6e47d975b254218509072886e87c120860e7a17
2014-04-06 19:30:47 +02:00
Brad Fitzpatrick bfaf77e766 auth: don't use untagged struct literals for structs with type fields of the same type
Change-Id: I677b0e6bbdabc6aa9ff3d9f874fee18257ecf234
2014-04-05 20:19:32 -07:00
Aaron Boodman 6e33d64078 Merge "Don't rebuild file embeds if they haven't changed." 2014-04-06 02:43:05 +00:00
Aaron Boodman 257c471ff2 Don't rebuild file embeds if they haven't changed.
Change-Id: Ia3de5b5dc00341254b76b7adf88bf6038319690e
2014-04-05 19:40:06 -07:00
Brad Fitzpatrick bf708b005d closure: ignore emacs temp files in gendeps
Change-Id: I634d46f2f55673eb81dcc8532bdc2ba4fc294c5f
2014-04-05 19:13:58 -07:00
Aaron Boodman 12196cd638 Custom rendering for QuickTime movie files.
Change-Id: I9f527d40a4572c3584dc081e47d45ca65db76163
2014-04-05 17:21:08 -07:00
Aaron Boodman e59f24b453 Merge "Add FontAwesome. This will be used for icons in the UI." 2014-04-06 00:20:33 +00:00
Aaron Boodman 2c675b3a87 Add FontAwesome. This will be used for icons in the UI.
Change-Id: I92fecd44f12cce83f4daee88bce062d9123a48a7
2014-04-05 17:19:29 -07:00
mpl 9c7bb3e793 Merge "pkg/serverinit: fix published type, add parser test" 2014-04-05 13:09:53 +00:00
mpl 0cc8f6122d Merge "pkg/index: cleanup, refactor sub pkgs" 2014-04-05 12:45:22 +00:00
mpl 291320d451 pkg/index: cleanup, refactor sub pkgs
http://camlistore.org/issue/263

Change-Id: I319bb097f0ce30b2bd5271b5c3bbff92b8dcc318
2014-04-05 01:22:05 +02:00
mpl 58e8a7f78b pkg/serverinit: fix published type, add parser test
Because when the UI handler constructor parses the publish config, it
wants a jsonconfig List, not a []string.

Context: bfbf660cd1

Change-Id: If4e6553072d95077a5dc73c28ac527a31074d441
2014-04-04 23:28:34 +02:00
Brad Fitzpatrick 348aff7d44 Merge "query.go: fix to skip over files returning IsNotExist errors on queries for width, height." 2014-04-04 16:55:26 +00:00
Brad Fitzpatrick bf76a73fb7 C+A: add Joshua Gay (Individual CLA)
Change-Id: I4e4ab54605449f79e2f619be305c82ee1a62d626
2014-04-04 09:53:41 -07:00
Joshua Gay 30e3d4e7af query.go: fix to skip over files returning IsNotExist errors on queries for width, height.
I am a first time committer and I am using the fix to issue number 402 as a bug to learn to learn how to commit to this process. I am not sure if this is the correct way to fix this bug -- the submitter of the bug believes it is -- so please review my code with scrutiny. Thank you.

Change-Id: I6c56b7866d530e1b1c66c563f201e6d1e13d3fa9
2014-04-03 20:43:19 -04:00
Brad Fitzpatrick 58ef72df0f Merge "client: replace CAMLI_CLIENT_IDENTITY with CAMLI_KEYID" 2014-04-03 20:30:19 +00:00
Brad Fitzpatrick 6c1c77c92f Merge "make.go: Fix windows build." 2014-04-03 05:22:50 +00:00
Brad Fitzpatrick bffd43b706 C+A: add Daniel Coonce (Individual CLA)
Change-Id: Ice88b6189d88a8ef21416d98ad2d557aad451c89
2014-04-02 22:21:48 -07:00
Brad Fitzpatrick bf2f09cab3 index: reschedule indexing a claim blob if public key blob isn't yet available
Change-Id: Ie0174bf830eb4790080b2b5e7cdc4ea0af25406f
2014-04-02 13:39:36 -07:00
Brad Fitzpatrick bfb13b62b9 dummy importer: only register if in dev mode
Change-Id: I5db990f1c3822e755d7968ddd71939930525e2e9
2014-04-01 15:11:05 -07:00
Brad Fitzpatrick 1948a8c7e7 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-04-01 11:47:21 -07:00
Brad Fitzpatrick bff0eefefb importer: update the dummy importer with lots of docs
Change-Id: I6e7edc778e4bd14ce724ce445dc59ff8d0e0796d
2014-04-01 11:47:03 -07:00
mpl 929411281d Merge "camput init: do not call DefaultSecretRingFile in init()" 2014-04-01 13:11:25 +00:00
Aaron Boodman 768f8afe95 Introduce custom renderings per-data type in the search results.
Currently there are two renderers: image and generic (for the
file/folder icons). But it should be easy to add new types now.

Change-Id: Ib1b348cad614e4e8ff6e61fb6e41538678916588
2014-03-31 22:35:12 -07:00
Brad Fitzpatrick bf2a7b60a3 Importer overhaul. Only Foursquare is currently working.
The rest are currently stubbed out and will need updating
to the new APIs.

Change-Id: I9d70302b3ac1026192413bf9dcd3c8f1eb420349
2014-03-31 10:56:30 -07:00
mpl e34c4bc828 client: replace CAMLI_CLIENT_IDENTITY with CAMLI_KEYID
And remove all mentions of CAMLI_CLIENT_IDENTITY because there isn't any
need for the both of them.

http://camlistore.org/issue/412

Change-Id: I0d6b8cff0f23738231de98171a23550d82f05fe9
2014-03-31 18:56:11 +02:00
Brad Fitzpatrick bf4426e35e types: add EmptyBody
Change-Id: Ic0cc6cae6debb20fbc15bd95692e8565171eae49
2014-03-31 09:36:08 -07:00
Brad Fitzpatrick bfb076ab95 context: add Context.SetHTTPClient
Change-Id: I10729215cacb5d6faf2ffaedc12c9d7449a1d6a3
2014-03-31 09:34:45 -07:00
mpl 2b091db606 camput init: do not call DefaultSecretRingFile in init()
Because we fail in tests when calling methods that rely on default
paths. (See buildinfo.TestingLinked)

Change-Id: I4d3a99dd2ea83a8351a993353e5e7c29d3cb17a7
2014-03-31 18:01:04 +02:00
mpl cc1bd94c22 Merge "camput init: ring/key related fixes" 2014-03-31 13:50:29 +00:00
Brad Fitzpatrick 9f4e8fdef8 Merge "blobserver: more docs on MyPrefix" 2014-03-30 22:45:29 +00:00
Brad Fitzpatrick b63d56ac9d blobserver: more docs on MyPrefix
Change-Id: Icf7fa540c7eb7400719e6baf74f3be746615a4f5
2014-03-30 14:51:54 -07:00
mpl cdc4ed5ae2 camput init: ring/key related fixes
1) Removed exec call to gpg, because it automatically looks in .gnupg/,
which we don't use anymore as a default.
2) Now taking into account global --secret-keyring flag.
This flag is now in osutil.
3) New or modified funcs in osutil
4) Made sure --gpgkey works too.
5) Cleaned up error messages and hints.

Context: http://camlistore.org/issue/364
         http://camlistore.org/issue/368

Change-Id: I2e51032ed0597da656db100d72f5588b37308e1a
2014-03-28 19:55:18 +01:00
mpl b0c4f85ee0 sorted/postgres: test with docker
Also, NewKeyValue now automatically creates the required tables.

http://camlistore.org/issue/263

Change-Id: I02dd7660ee08c2eaeec17131622d6f581fdd6c55
2014-03-28 19:34:09 +01:00
Daniel Coonce 0852c22aa9 make.go: Fix windows build.
Running genfileembed on Windows requires .exe extension.

Change-Id: I34440db9c2f719c87149c16ef40a71433bf256fe
2014-03-28 12:34:11 -05:00
Brad Fitzpatrick 4b2acfe155 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-03-27 19:42:49 -07:00
Brad Fitzpatrick bf00b4d41c context: add method to get an HTTPClient.
For importer work.

Change-Id: Ibfb74461157c7f81cdb04f05f9fb955f95990ebf
2014-03-27 19:41:56 -07:00
Brad Fitzpatrick 768cb6e0c2 Merge "sorted,dockertest: added MySQL (dockerified) test" 2014-03-27 00:34:30 +00:00
Aaron Boodman 912063c498 Merge "Factor out the image-specific parts of the detail page into a separate class." 2014-03-26 04:47:39 +00:00
Aaron Boodman e839eaebde Factor out the image-specific parts of the detail page into a separate class.
This will allow custom renderings of other types of content in the detail view.

Change-Id: I3a8ca6c67e890a51f6b4effe3316beef2cd970cd
2014-03-25 21:47:10 -07:00
mpl 08f9c821f5 sorted,dockertest: added MySQL (dockerified) test
Two important related changes:

1) sorted/mysql now takes into account the host given in the config
2) the required tables are now automatically created by NewKeyValue

http://camlistore.org/issue/263

Change-Id: I0043f36edb0630d6484148508d3a1e08c8e88a94
2014-03-26 00:39:38 +01:00
mpl 5a5affb2d3 release notes: verifydb for kv
Change-Id: I00eba7d5fe5aa3331d45a3e08b39d58f5ceddc0a
2014-03-25 17:28:33 +01:00
Brad Fitzpatrick 6a610384b0 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-03-23 17:14:18 -07:00
Brad Fitzpatrick bf5740afb2 Add BaseURL method to handler Loader.
Change-Id: Ibc61cd19798aa1b0858cbe40b10544953db67b36
2014-03-23 17:13:40 -07:00
Brad Fitzpatrick d66e320477 Merge "Added missing check for http.StatusOK in Stat. Also made checks for http.StatusOK / 200 uniform" 2014-03-23 23:14:41 +00:00