Commit Graph

140 Commits

Author SHA1 Message Date
Brad Fitzpatrick f8912713ca newui: more js type annotation fixes
Change-Id: I0c7bdc265c8f0ff746dcd1e1a90d54054958c8b7
2013-02-10 18:14:42 -08:00
Brad Fitzpatrick 1fe472a202 newui: more closure deps, reduces compiler warnings
Change-Id: Ifc20c3cbee34b1158195231e20646f1f68a4b1ef
2013-02-10 17:12:10 -08:00
mpl 0a84607099 search handler: all funcs now rid of manual maps responses.
serveDescribe, servePermanodesWithAttr, and serveSignerPaths
rewritten like serveRecent. Got rid of populateJSON.

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

Change-Id: Id730d40005476634b138b13260248e497d1a87d0
2013-02-09 02:12:06 +01:00
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 6ca0efac8c camlistored: much better sqlite support, by default, and help/docs/hints 2013-01-10 16:16:10 -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 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 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
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
Brett Slatkin 80171f6692 newui: Adds a toolbar class with bigger/smaller buttons; they do nothing yet
Change-Id: I8e053062e832239f6c34769faa71b84ab174684b
2012-12-23 17:27:31 -08:00
Brad Fitzpatrick 0e168cecd4 camli.js: kill global disco variable.
Change-Id: I25437bfded3fe9ff704539d929521b1c04f8b133
2012-12-23 17:19:59 -08:00
Brad Fitzpatrick 3c89f7fe97 ui: simplify signing config discovery, clean up logging
Change-Id: I4e9810499b7fe34b1e7d8c32dd612cb1d6e6c348
2012-12-23 17:08:01 -08:00
Brett Slatkin 511eb7c6d4 newui: Links to permanodes working
Change-Id: Iaaf9ca22dbd401d5c0b2e75d0349358f8282ca68
2012-12-23 16:47:03 -08:00
Brett Slatkin b2885cedfa newui: Cleaning up styling of create item
Change-Id: Ie35684c4efba4ce4cec777537b8a0783b51b311f
2012-12-23 16:32:30 -08:00
Brett Slatkin c46875692a newui: Adds a click handler for the create item
Change-Id: I2ff17d3bd08959507b43d04a5f5a1f8d5dbbdd9d
2012-12-23 16:26:04 -08:00
Brad Fitzpatrick 742d81f27c newui: create button style
Change-Id: I273b2c6c892cb0a50b323b07443854e79fc9bf94
2012-12-23 16:23:23 -08:00
Brett Slatkin 1a59cce8bc newui: Obviously, vertical align top was required to make the create box line up properly for inline-block flow
Change-Id: I3243c8bd11753e15515de0e3b73daa87682c966a
2012-12-23 16:05:23 -08:00
Brett Slatkin 6003fc6174 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 16:01:37 -08:00
Brett Slatkin 7b420e7d37 newui: Using spaces instead of tabs in js/html/css
Change-Id: Icd5a74e080f8802d9d5260270205c4eb39f584eb
2012-12-23 16:01:15 -08:00
Brad Fitzpatrick b2b200141f Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2012-12-23 15:59:05 -08:00
Brad Fitzpatrick 2766e2d60f newui: kinda wiring up the create button
Change-Id: Ib114da06c89543fda71104eef49433c100f60112
2012-12-23 15:59:01 -08:00