Commit Graph

970 Commits

Author SHA1 Message Date
Aaron Boodman bc5fd6ea9d Remove no longer used permanode.js
Change-Id: I02a723ac81957e9f5438ab27399974554e7c39c7
2015-01-04 22:52:32 -08:00
Aaron Boodman ea2c8fa990 Add a list of references to a blob to the blob aspect.
Change-Id: I2fe96bc8f04f8137773aee393eb934e06517575d
2015-01-04 21:59:10 -08:00
Aaron Boodman e40504a9b2 Improve heuristic for determining when to show search aspect.
We now show it when either there are existing children, or when
the permanode doesn't have a more specific type.

Change-Id: Ic90829a60bf5f6213afd53476473eed4ffee6ca8
2015-01-02 23:10:45 -08:00
Aaron Boodman 437b8f99e1 Factor out cam.permanodeUtils.getCamliNodeType
Change-Id: I205c1551fd316d9a844cd3fe4041d6e2cf0845b9
2015-01-02 23:10:43 -08:00
Aaron Boodman 7d688b9d85 Revert "Add camliNodeType:'set'"
This reverts commit 2d67328243.

I decided to do this only with heuristics, since we have to maintain
backward compat with data before this camliNodeType existed.

Change-Id: Ieba5dd1f8a4c8f5aedc1477c4fab1ffebcc2878c
2015-01-02 23:08:16 -08:00
Mario Russo a645be4554 Merge "ui: redirect to set after creation" 2014-12-29 17:10:44 +00:00
Aaron Boodman 2d67328243 Add camliNodeType:'set'
Change-Id: Ia174d747dbe386f0150c4470c4db170d9cc1d362
2014-12-28 11:38:32 -08:00
Mario Russo 936bd8a336 ui: redirect to set after creation
Updates #553

Change-Id: I1b2f8e2f07cab08f30d2b30356ba02834dcdb95b
2014-12-28 09:52:25 -07:00
Aaron Boodman fbc116392b Increase size and padding of blob item checkmarks
Change-Id: I36bd82cd7cb0e1d57428734eff05133158b10a04
2014-12-24 10:49:47 -08:00
Aaron Boodman 3683a15e05 Save selection state across navigations.
Bug: https://github.com/camlistore/camlistore/issues/552
Change-Id: I53b0035dd84d1263723ddbb18e6ca488cef7d406
2014-12-24 10:37:10 -08:00
Brad Fitzpatrick ad145260c0 Update more links to use the camlistore.org redirector.
Change-Id: I1ef94301d7ac0df69abc4f3f27bcb363fa8e8082
2014-12-13 17:25:16 +11:00
Mario Russo ef286f891a ui: code cleanup to eliminate ReactJS warnings in console
-"unique key" warnings for items dynamically added via arrays
-"bind" errors when binding without providing 'null' as first param

Related Issue: https://code.google.com/p/camlistore/issues/detail?id=426

Change-Id: I9ab3d8e1097fc37bed54f1e0a6c078dd264ef579
2014-12-06 23:25:01 +01:00
Mario Russo a41b24011b Merge "ui: added 'View original' link to sidebar" 2014-12-01 21:09:31 +00:00
Mario Russo 999a148b32 ui: added 'View original' link to sidebar
Notes:
-this patch also introduces the sidebar to the contents listing aspect (when viewing members of a set)
-the link will only appear for a _single_ selected item

https://code.google.com/p/camlistore/issues/detail?id=541
https://code.google.com/p/camlistore/issues/detail?id=546

Change-Id: Icc93eaa2478f40f3fe272520b1f6ede41f0731dc
2014-12-01 11:47:28 +01:00
mpl f15ec3fe92 Merge "pkg/deploy/gce: lib + tool to deploy on Google Cloud" 2014-11-27 15:44:32 +00:00
mpl 99fe925efc pkg/deploy/gce: lib + tool to deploy on Google Cloud
http://camlistore.org/issue/531

Change-Id: I69ffe0544341d380bb844aef1dcca8a1ae441ea7
2014-11-26 22:50:27 +01:00
Mario Russo 958688ce68 Merge "ui: updates to file upload dialog" 2014-11-18 08:30:28 +00:00
Mario Russo 4c53a1cd27 ui: updates to file upload dialog
-display total/transferred bytes rather than num files
-upload is now context sensitive if currently viewing a set
-updated closure dependencies

https://code.google.com/p/camlistore/issues/detail?id=336
https://code.google.com/p/camlistore/issues/detail?id=504

Change-Id: I8dee1ee2711c06dfdc9d59e8d0fa0e4ebc641092
2014-11-16 15:31:08 +01:00
Salmān Aljammāz 4e39af1086 Generate self-signed certs with the correct hostname.
This change makes gce/create.go generate a self-signed certificate
with the hostname from the -hostname argument and upload it to GCS
before creating a new camlistore instance.

It also makes camlistored use baseURL to figure out the hostname
when generating its self-signed certificate.

Change-Id: I64f85853dab34a7ce95e5d5997e58f2e5da43496
2014-11-13 15:53:40 +00:00
Aaron Boodman 755cf0eb0f Merge "Fix bug where 'no results' message sometimes showed momentarily." 2014-11-08 07:46:38 +00:00
Aaron Boodman d9316ff8dd Fix bug where 'no results' message sometimes showed momentarily.
SearchSession::isComplete() could sometimes return the wrong answer.
Nulling out the continuation is needed to make loadMoreResults()
idempotent. So had to add more state to SearchSession specifically
for tracking completeness.

Change-Id: Ic2a90c73f3a764f358476cffa6d498ea53103421
2014-11-07 23:44:39 -08:00
Aaron Boodman 8ac319f437 Merge "Fix scrolling on firefox" 2014-11-06 17:25:35 +00:00
Brad Fitzpatrick 0e841e0f51 Rename pkg/misc to pkg/hashutil
It only had one function anyway.

Change-Id: Iec4b7868d823148c8e1d2607347fe9d3c1463403
2014-11-06 13:31:58 -03:00
Aaron Boodman 96bae4b0e2 Fix scrolling on firefox
Change-Id: Ic023dba06680f3d4772fe709b7f5f0dd0d54e7ae
2014-11-06 11:04:21 +00:00
Mario Russo 4cf29f33d3 ui: added 'No results found' message to blob item container
this patch incorporates visual feedback from aaron

Change-Id: Ib7b8bbc7daa958693dafc9b2108cac3ee91bb870
2014-11-06 10:52:47 +01:00
Aaron Boodman 0ba58ae829 Fix badly aligned piggy animation in upload dialog.
Change-Id: I69e9432a90382a2ece9c5f77c089de7f7c9ea492
2014-11-04 16:45:24 -08:00
Aaron Boodman ac67a8d479 Moved contextual nav items back to a sidebar.
Global nav items remain in piggy menu.

This is an adaptation of https://camlistore-review.googlesource.com/#/c/3898/ by Mario Russo <mail.mr@gmail.com>.

Change-Id: I85f7f386aa0573026253e13c5bd12b46ad08f83a
2014-11-04 15:34:08 -08:00
Aaron Boodman 3fde03eb39 Add an 'upload...' button to the piggy menu.
Bug: https://code.google.com/p/camlistore/issues/detail?id=504
Change-Id: I736499ee10e9d07e15432eff2224a64abb1569ce
2014-10-26 01:41:19 -07:00
Aaron Boodman b4a03836c0 Show a more obvious drop target when dragging items onto UI.
This also shows a very crude upload progress.

Bugs:
https://code.google.com/p/camlistore/issues/detail?id=336
https://code.google.com/p/camlistore/issues/detail?id=504

Change-Id: I3c232c94d0238290abc295b59871eb7206624960
2014-10-26 01:04:12 -07:00
Mario Russo a8c7b8d7fb ui: tags control
Removing DEBUG_TAGS flag so that tags control is available by default.
Request per Aaron (https://camlistore-review.googlesource.com/#/c/3806/)

Change-Id: If1ad842a563d1992fb8ca203c67502825d2eb64c
2014-10-12 15:32:48 +02:00
Tamás Gulácsi 3686417bac Import pkg/sorted/leveldb in server/camlistore
To be able to use it (ATM only in low-level config, by specifying
metaIndex with the stores/queues/caches).

Change-Id: I7743ebffb90f59b83124063f8f488a9b80c869ca
2014-09-25 18:40:33 +02:00
Mario Russo 5385ff14a9 ui: introduction of tagging controls to new contextual nav bar.
Currently disabled but can be tested via the DEBUG_TAGS flag in index.js. Potential enhancements are documented in tags_control.js. This patch
removes one piece of unused code.

Change-Id: I751fca63fbc93c209628f03a3f3aa6e87d01e309
2014-09-22 23:19:39 +02:00
Eric Drechsel 906ef089e6 UI permanode aspect: Don't save if nothing changed.
Bug: https://code.google.com/p/camlistore/issues/detail?id=505
Change-Id: I6816a51c2f005c7d903c9a02aa1410a52177cbec
2014-09-07 21:35:02 -07:00
Lindsey Simon 9cb690bea8 Adds less (css pre-processor) to fix missing CSS prefixes
Change-Id: I47a90ff128abfeac00c886a3dece4ffa38c704c8
2014-09-04 17:32:01 -07:00
Aaron Boodman 2acf13c702 Fix FOPA (flash of permanode aspect) when clicking permanodes with children.
We were waiting to show the container aspect until the child search session
returned. This meant that we temporarily showed the permanode aspect then
swapped to the container aspect shortly thereafter (because the container
aspect is higher priority).

The right solution to this is to change the search protocol so that clients
can know how many children a permanode has without getting the entire list
of them. But for now, it just so happens that search returns the entire
list, so we can use that instead.

Change-Id: Iaf93f689e965a1dc9ef73d834d46c57026c100cd
2014-09-03 00:30:46 -07:00
Aaron Boodman 6f91febae4 Don't trigger sad piggy when we purposely close sockets.
Change-Id: I2e3b0e894fff180a028fcffbf649ff18f69fd963
2014-09-03 00:07:08 -07:00
Aaron Boodman dbdda81230 Be defensive against getting null updates on web socket.
Change-Id: Id7a7b850ddaa57fe24d8e7ec380fb8881b27def5
2014-09-03 00:00:28 -07:00
Aaron Boodman 95bf8e42a3 Get continual server status updates over websocket.
Also show channel-level websocket errors in piggy menu.

Change-Id: Iad5f00e5578f28f837cd2e88cbdab3f715a9fed1
2014-08-30 09:43:27 -07:00
Aaron Boodman 16085b9a4d Move importerRoot from status.json to discovery.
It seems to make more sense there...

Change-Id: I8450f1cb30ed331cfe15ddb49f55438c5bf9fd5b
2014-08-30 09:09:05 -07:00
Aaron Boodman 40390c651a Adjust position of error icon.
Change-Id: I2b86d8b52a3c616ca3f2408973d85e70fb27a2d7
2014-08-29 20:55:52 -07:00
Aaron Boodman ef5e0dfc82 Show server errors in the piggy menu.
When there is a server error, the piggy becomes sad and periodically
shakes his head. When you expand the piggy menu you see one or more
entries explaining why he is sad.

Change-Id: If1e28dbf02c9befaa46b62838cb704220f719bc6
2014-08-29 16:08:19 -07:00
Brad Fitzpatrick 77a5f0f375 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-08-25 16:50:42 -07:00
Brad Fitzpatrick 1d95b1133b Disable App Engine build tests, since GAE is Go 1.2 and we need 1.3
Will renable when App Engine supports Go 1.3.

Change-Id: I777f83f3b040aa873bf9d92f2401d7f430e930f0
2014-08-25 16:39:41 -07:00
Aaron Boodman 1f57cf3924 Merge "Rewrite permanode detail in React." 2014-08-22 23:25:34 +00:00
Aaron Boodman c07828d663 Rewrite permanode detail in React.
This is more general than the old one... it allows generic editing
of all attributes.

Change-Id: I308e39034cf206f9cd8e99cb52863a09c2755705
2014-08-22 16:16:39 -07:00
Aaron Boodman 0d923c6207 Add a link in the piggy drop down to importers UI
Change-Id: I4a2ba7127822e85f086ff4155c079a74ee31fae6
2014-08-21 10:36:39 -07:00
Aaron Boodman 90d1df956f Hide contents view on empty permanodes.
Otherwise, we end up showing a stupid empty contents view for every
tweet, foursquare checkin, etc.

This has the downside that when you remove the last item from a
set, the contents view goes away.

Change-Id: If5f53a713aaff63d9fb294b675a5e55ca452eff1
2014-08-20 19:13:19 -07:00
Aaron Boodman 8e876b51b9 Always show the search aspect for searches, even when results are empty.
Before we did not show the search aspect when the results were empty.
This was intended for the case where you're looking at an image or
something that doesn't have children.

But it had the side effect of meaning that we didn't show the search
aspect for empty sets, or empty search results, which isn't right
because you still want users to be able add items to empty sets.

Change-Id: Iad187b38317a5adcefbfd06f92047c03c5815583
2014-08-18 19:24:29 -07:00
Aaron Boodman 940150a5c7 Reimplement the Blob aspect using React.
Change-Id: I819b4d1dda86fe80db203f10e1e8a1b23b0777d5
2014-08-18 18:19:50 -07:00
Aaron Boodman a4abea7525 Change URL format for individual blobs in the web UI.
Instead of /ui/?b=<hash>, /ui/?p=<hash>, /ui/?d=<hash>, etc...,
it's now just: /ui/<hash>

This makes constructing links easier, because you don't have to
know whether a blob is also a permanode, or a directory, or
whatever.

Change-Id: I771fa1b1699b9009269c7eee632e7e8fd5335331
2014-08-18 18:17:47 -07:00