Commit Graph

515 Commits

Author SHA1 Message Date
Brad Fitzpatrick 78ccdc24e9 rebuild embeds
Change-Id: I4e23ec211a5f14938eba250abcdc36e031f8f8a7
2013-02-07 19:34:10 -08:00
Brad Fitzpatrick 6cc5f33da1 search: handler response type cleanup (Issue 99).
Notably, don't mix 'meta' bag keys with rest of response. Makes it easier for both Go and Closure types to not mix keys from one type with another type.

Change-Id: I65e51f2a6c236c5111b5a9b88830e1220d6b29d4
2013-02-07 09:33:00 -08:00
mpl 306213b32b Merge "Make newui ready to dev on with closure compiler, plus misc cleanup." 2013-02-07 15:24:08 +00:00
mpl ee29f1f8e7 Make newui ready to dev on with closure compiler, plus misc cleanup.
Added env var in dev-server and rules in Makefile to build
all.js with the closure compiler from the js files in newui.

Misc related changes:
-fixed a few closure annotations and added a few as well.
-added missing options to dev-server usage.
-renamed CAM_HTTP_DEBUG into CAMLI_HTTP_DEBUG for consistency.

Change-Id: Ica2c12358150aec24147628201e6f7a5852f9383
2013-02-07 15:25:10 +01:00
Brad Fitzpatrick ddcec4e92c Add --version flags to tools.
Change-Id: I1c86c3de09fb59bc20539f7d1efbd4d4710bf494
2013-02-02 10:59:39 -08:00
Brad Fitzpatrick 2bc2ba019a Rearrange the server directory a bit, and update some READMEs
Change-Id: If0cb7b07d3b7a4c7e2c714807858d3b79d06b188
2013-02-02 08:56:57 -08:00
Brad Fitzpatrick 215e4ffaa5 sigdebug: update disco global variable to be Camli.config. re-run make embeds
Change-Id: If03e8d2fbd709d90810bedac8506058a4026dc04
2013-01-31 15:52:24 -08:00
mpl 53c009cd42 Merge "newui: wip on making new ui work with closure compiler" 2013-01-26 21:36:04 +00:00
mpl d429186441 newui: wip on making new ui work with closure compiler
Still does not work with ADVANCED_OPTIMIZATIONS. The
code to load the generated all.js is commented out in
index.html.

Change-Id: I6a2ec7b3b6226214e85cbf76b2a8f2ab4d9160cc
2013-01-26 22:38:33 +01:00
Brad Fitzpatrick 26f8b015d8 camli.js: add jsdoc with @expose to Camli.onConfiguration
Change-Id: I174f2688fe72fd951e668c2686831915664baa71
2013-01-26 11:15:14 -08:00
Brett Slatkin d5cd809164 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-01-20 16:18:25 -08:00
Brett Slatkin 447355ca7d newui: Create set from selection working; cleaning up various JSdocs 2013-01-20 16:18:22 -08:00
Brad Fitzpatrick 96d1784501 Clean merge junk
Change-Id: Iff8fb872c2bddb178d019d103c6f56c28661c92f
2013-01-20 15:48:19 -08:00
Lindsey Simon 88f068b009 Implements select and multi-select on blobitemcontainer
Change-Id: I23dab29d57a11408fab6f55e6c83981819d284fa
2013-01-20 15:45:04 -08:00
Brett Slatkin bcdc6cd982 newui: Fix titles for collections; adds drag/drop message while mid-drag 2013-01-20 15:32:15 -08:00
Brett Slatkin 306c1a7ec5 newui: Fixing configuration callback function 2013-01-20 14:00:48 -08:00
Brett Slatkin 7ee20dd614 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-01-20 13:56:19 -08:00
Brett Slatkin 13b844cc3e newui: First attempt to add drag/drop upload to blob item container 2013-01-20 13:56:13 -08:00
Brad Fitzpatrick 0d33507ab6 camli.js: global cleanup: change setTextContent to Camli.setTextContent.
Change-Id: If5d949debe9621f692d01034ac31fe87802d7156
2013-01-20 13:14:18 -08:00
Brad Fitzpatrick c466d080df camli.js: more global cleanup
Change-Id: I1ae3e5014969adfe41e15bd97ff4daf7b42e614e
2013-01-20 12:51:38 -08:00
Brad Fitzpatrick 392640da89 camli.js: global cleanup. remove onConfiguration.
Change-Id: I1a74298ea1f333e060cebcf1221008705bcdb8ec
2013-01-20 12:46:50 -08:00
Brett Slatkin 45f54ffb1f newui: Cleaning up TODOs in comments 2013-01-20 11:13:20 -08:00
mpl 2ff6cab635 ui: some javascript cleanup.
Reuse thumbnails code from index.js in gallery.js
and permanode.js.
And drop _camliBlobTitleOrThumb.

Change-Id: Idb00f25a89d4346cdf1e7e00778de4db39e9bb97
2013-01-18 15:01:26 +01:00
Brad Fitzpatrick d80cad8e2d auth stuff: clean up, allow scheme registration, integrate App Engine auth.
Change-Id: Idc7ac3782d3669a8f68255bd54d03f583814d5e2
2013-01-10 23:04:24 -08:00
Brad Fitzpatrick 6ca0efac8c camlistored: much better sqlite support, by default, and help/docs/hints 2013-01-10 16:16:10 -08:00
Brad Fitzpatrick fb6c89a24f appengine: don't build contextpool except in appengine context 2013-01-10 13:13:27 -08:00
Brad Fitzpatrick b013697e51 App Engine: the index works now, and everything seems to basically work!
yay.

Change-Id: Ib6c7983de4a81decf16389b5883726830fc4d9db
2013-01-09 14:45:00 -08:00
Brad Fitzpatrick bc61e17d16 App Engine: use proper types + noindex in storage handler
Change-Id: I6f85086d89659b1cef9d9953627ff7e468b273e1
2013-01-09 14:23:22 -08:00
Brad Fitzpatrick 94a478c117 App Engine: index: implement Delete
Change-Id: I4ddf8656dd93094336d380cce9a92983baea502c
2013-01-09 10:47:39 -08:00
Brad Fitzpatrick 31872f20f9 App Engine: use an Entity Group per namespace index
Change-Id: I885b6093ff87f71cf032bf984eb2041f0705cf08
2013-01-09 10:46:24 -08:00
mpl 67c5678062 Index directories with "fileinfo", and use this to
find their name in a search request.

Fixes http://code.google.com/p/camlistore/issues/detail?id=79

Change-Id: I755afd8f52dbd2f8a48ba72bed0a6b0192d1dd71
2013-01-09 16:59:04 +01:00
Brad Fitzpatrick 360f63a64b More App Engine index work.
But fail: 2013/01/09 03:38:54 replica: receiving blob, 1 successes, 1 failures; last error = API error 1 (datastore_v3: BAD_REQUEST): ApplicationError: 1 operating on too many entity groups in a single transactio

See http://stackoverflow.com/questions/8251594/how-many-objects-is-too-many-for-in-a-single-transaction-to-googles-datastore

Sigh.

Change-Id: I90dff1b6bd40a00b4be19c5599583d2131b739d4
2013-01-08 19:43:09 -08:00
Brad Fitzpatrick 2f188a1916 Fix JavaScript UI things I broke earlier when simplifying signing discovery
Change-Id: Idf4effe3cbf97ec4ccb51197a0b3c857cb7c3569
2013-01-08 19:40:27 -08:00
Brad Fitzpatrick e9acf32d48 App Engine: implement IndexStorage.Get
Change-Id: I7f123df494f32f5f8a28bbd8e4d0aeb11aecce8b
2013-01-08 18:49:54 -08:00
Brad Fitzpatrick f48cb8ff33 App Engine: ContextPool
Change-Id: I8eb3116fc9a06d99a4d14850c8cbcc0bc61da26f
2013-01-08 18:41:51 -08:00
Brad Fitzpatrick 7685c26751 gofmt
Change-Id: I14f5c2129fb50c84ec3977049d1b8c1787636c65
2013-01-08 18:41:06 -08:00
Brad Fitzpatrick 77f4faec7c App Engine: start of writing an IndexStorage impl for datastore.
Change-Id: I03fb6be33b570fa56a4370f6ca86da6858490510
2013-01-08 17:38:56 -08:00
Brad Fitzpatrick 99d7a93896 App Engine: remove a directory that is now just stutter
Change-Id: Iee8847ef670b1dd192f3f05c55f22aab3d71ba95
2013-01-08 16:47:20 -08:00
Brad Fitzpatrick 4eab9f29a6 App Engine: more ressurection work. gets further.
Change-Id: I88a36eb637fe531e2666dea8dc6c94cc442804f8
2013-01-08 16:29:40 -08:00
Brad Fitzpatrick 7b7af4c457 App Engine: compiles and kinda starts again; doesn't work.
With SDK 1.7.4.

Change-Id: Ide16c990fc139e7f450cea508c74f13ed79aac21
2013-01-07 17:20:48 -08:00
Brad Fitzpatrick be8836cad8 appengine: remove all the symlinks.
No longer necessary as of Go App Engine SDK 1.7.4.

Change-Id: Ie724d31ce73fe034c4039dc9068077750b7175a5
2013-01-07 16:49:25 -08:00
mpl 2a961cfc75 auth: add OpSign operation, and fix sigserver with it
Change-Id: Ie1f2b15ee72cf571684d12d8c8743a7164d1d80d
2013-01-04 23:09:55 +01:00
Brett Slatkin ebccaa15bb newui: Fixing up closure annotations
Change-Id: I13c6e9e250221612199d82a3edc642b627acc6e1
2012-12-23 17:55:34 -08:00
Brett Slatkin f2d3cb893a Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:52:23 -08:00
Brad Fitzpatrick 3ecd83ba7d newui: wrap camli.js; make permanode creation work again
Change-Id: Ia4ef0428e905006402cd2ef34b819b6584ed8f23
2012-12-23 17:52:23 -08:00
Brett Slatkin eb7cfb5a95 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:52:13 -08:00
Brett Slatkin 4a73f954cf newui: Toolbar bigger/smaller hooked up and working
Change-Id: I93f85fcf69948e6f5d8c838c7f1865ed7809236f
2012-12-23 17:52:09 -08:00
Brad Fitzpatrick d037c6e0cc Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:33:46 -08:00
Brad Fitzpatrick 939b6f4f4f camli.js: move more stuff to be camli prefixed
Change-Id: I029a47286ed194a3e4d3f9d987a389f6c514abb8
2012-12-23 17:33:38 -08:00
Brett Slatkin 028bcf0232 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 17:27:39 -08:00