Permalink
Browse files

updated readme

fixed issue with browsing counter columns
gui enhancements
  • Loading branch information...
1 parent 06e6ac5 commit 77088202b420491601042f0e9df8bbd726fb7a91 @tomekkup committed Jan 7, 2013
Showing with 122 additions and 789 deletions.
  1. +6 −5 README.md
  2. +1 −1 pom.xml
  3. +2 −2 src/main/frontend/source/class/helenos/Application.js
  4. +0 −140 src/main/frontend/source/class/helenos/components/tab/browse/AbstractPageOLD.js
  5. +1 −1 src/main/frontend/source/class/helenos/components/tab/browse/CqlPage.js
  6. +0 −198 src/main/frontend/source/class/helenos/components/tab/browse/CqlPageOLD.js
  7. +0 −198 src/main/frontend/source/class/helenos/components/tab/browse/PredicatePageOLD.js
  8. +0 −18 src/main/frontend/source/class/helenos/simulation/DemoSimulation.js
  9. +0 −25 src/main/frontend/source/class/helenos/test/DemoTest.js
  10. +0 −25 src/main/frontend/source/class/helenos/types/query/AbstractQuery.js
  11. +0 −25 src/main/frontend/source/class/helenos/types/query/SingleColumnQuery.js
  12. +8 −7 src/main/frontend/source/class/helenos/util/Rpc.js
  13. +9 −8 src/main/frontend/source/class/helenos/util/RpcActionsProvider.js
  14. +6 −9 src/main/java/tomekkup/helenos/service/StandardQueryProvider.java
  15. +4 −5 src/main/java/tomekkup/helenos/service/SuperQueryProvider.java
  16. +1 −1 src/main/java/tomekkup/helenos/service/impl/AbstractProvider.java
  17. +6 −34 src/main/java/tomekkup/helenos/service/impl/AbstractQueryProvider.java
  18. +3 −4 src/main/java/tomekkup/helenos/service/impl/AccountsProviderImpl.java
  19. +5 −5 src/main/java/tomekkup/helenos/service/impl/ClusterConnectionProviderImpl.java
  20. +20 −29 src/main/java/tomekkup/helenos/service/impl/StandardQueryProviderImpl.java
  21. +22 −32 src/main/java/tomekkup/helenos/service/impl/SuperQueryProviderImpl.java
  22. +6 −4 src/main/java/tomekkup/helenos/types/Column.java
  23. +5 −5 src/main/java/tomekkup/helenos/types/Slice.java
  24. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/AbstractPredicateQuery.java
  25. +10 −1 src/main/java/tomekkup/helenos/types/qx/query/AbstractQuery.java
  26. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/AbstractRangeQuery.java
  27. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/CqlQuery.java
  28. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/RangeQuery.java
  29. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/SingleColumnQuery.java
  30. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/SingleSubColumnQuery.java
  31. +1 −1 src/main/java/tomekkup/helenos/types/qx/query/SubRangeQuery.java
View
@@ -6,7 +6,7 @@ Helenos is a web based GUI Cassandra client that helps you to explore data and m
## Current version
-1.2
+1.3-alpha1
## Download
@@ -20,22 +20,23 @@ Helenos is a web based GUI Cassandra client that helps you to explore data and m
[Picasa album](https://picasaweb.google.com/tomekkuprowski/Helenos)
-Click here for [preview on Youtube](http://www.youtube.com)
+Click here for [preview on Youtube](http://www.youtube.com/todo)
## Twitter
-You can track my tweets to keep up with new releases [Tweeter] (https://twitter.com/tomekkup)
+You can follow me on Twitter to keep up with new releases [Tweeter](https://twitter.com/tomekkup)
## Features
+* Authentication
* Listing keyspaces and column families
* Viewing properties of above
* Add / remove / truncate column family
* Add / Drop keyspace
* Data browsing via:
* keyRange
* predicate
-
+* CQL support
## Installation
@@ -45,6 +46,7 @@ You can track my tweets to keep up with new releases [Tweeter] (https://twitter.
* Start app
* Make sure your web browser supports Flash 10
* Open your web browser to http://localhost:8080/{yourdeploypath}/index.html
+* Sign in with your credentials (default is admin:admin)
* Edit your connections by clicking icon in upper right corner
* After editing click button 'Connect to'
@@ -61,7 +63,6 @@ and unpack to directory src/main/frontend/contribs and change destination folder
## Wish list
* Browse with indexed columns
-* CQL support
* Results pagination and export to file
* Manually setting serializers
* Persisting default filter criteria to reuse at anytime
View
@@ -5,7 +5,7 @@
<groupId>com.kuprowski</groupId>
<artifactId>helenos</artifactId>
- <version>1.3-alpha1</version>
+ <version>1.3</version>
<packaging>war</packaging>
<name>helenos</name>
<developers>
@@ -46,8 +46,8 @@ qx.Class.define("helenos.Application",
qx.log.appender.Console;
}
// ask for credentials
- //this.initLoginBox();
- this.initLoginBoxFAKE();
+ this.initLoginBox();
+ //this.initLoginBoxFAKE();
},
initLoginBoxFAKE : function() {
@@ -1,140 +0,0 @@
-/* ************************************************************************
-Copyright:
- 2012 Tomek Kuprowski
-License:
- GPLv2: http://www.gnu.org/licences/gpl.html
-Authors:
- Tomek Kuprowski (tomekkuprowski at gmail dot com)
- ************************************************************************ */
-/*
-#asset(qx/icon/${qx.icontheme}/16/actions/system-search.png)
-#asset(qx/icon/${qx.icontheme}/16/places/folder-open.png)
-*/
-qx.Class.define("helenos.components.tab.browse.AbstractPageOLD",
-{
- /*
- extend : helenos.components.tab.AbstractCloseablePage,
-
- construct : function(ksName, cfName)
- {
- this.base(arguments);
- this._manager = new qx.ui.form.validation.Manager();
- this._ksName = ksName;
- this._cfName = cfName;
- this._cfDef = helenos.util.RpcActionsProvider.describeColumnFamily(this._ksName, this._cfName);
-
- this.set({
- layout : new qx.ui.layout.Grow(),
- label: (ksName + ' : ' + cfName)
- });
-
- this._resultView = new qx.ui.container.Composite(new qx.ui.layout.VBox(8));
-
- var pane = new qx.ui.splitpane.Pane("horizontal");
- pane.add(this._getCriteriaPane(),0);
- pane.add(this._resultView, 1);
- this.add(pane);
- },
-
- members : {
- _ksName : null,
- _cfName : null,
- _cfDef : null,
-
- _resultView : null,
- _manager : null,
-
-
- _getCriteriaPane : function() {
- var components = this._getCriteriaComponents();
-
- var container = new qx.ui.container.Composite(new qx.ui.layout.VBox(7).set({alignX : 'left'}));
- container.setAppearance('criteria-pane');
-
- for (var i = 0; i < components.length; i++) {
- container.add(components[i]);
- }
-
- container.add(this._getSearchButton());
- var pane = new qx.ui.container.Scroll();
- pane.setWidth(180);
- pane.add(container);
- return pane;
- },
-
- _getTreeFromJson : function(name, data) {
- var tree = new qx.ui.tree.Tree();
- var rootNode = new qx.ui.tree.TreeFolder(name).set({open:true});
- tree.setRoot(rootNode);
-
- if (data == undefined || data == '') {
- tree.getRoot().add(new qx.ui.tree.TreeFile('empty value'));
- return tree;
- }
-
- this._renderTreeItemFromJson(tree.getRoot(), qx.lang.Json.parse(data));
- return tree;
- },
-
- _performSearch : function() {
- throw new Error('_performSearch is abstract');
- },
-
- _getCriteriaComponents : function() {
- throw new Error('_getCriteriaComponents is abstract');
- },
-
- _getSearchButton : function() {
- var button = new qx.ui.form.Button('Search', 'icon/16/actions/system-search.png');
- button.addListener("execute", this._performValidation, this);
- return button;
- },
-
- _performValidation : function(e) {
- this._manager.validate();
- if (this._manager.isValid()) {
- this._performSearch();
- }
- },
-
- _renderTreeItemFromJson : function(node, data) {
- if (data == null) {
- return;
- }
- if (Array.isArray(data)) {
- for (var i = 0; i < data.length; i++) {
- this._renderTreeItemFromJson(node, data[i]);
- }
- } else if(typeof data === 'object') {
- for (var key in data) {
- var subNode = null;
- if(Array.isArray(data[key])) {
- subNode = new qx.ui.tree.TreeFolder(key);
- subNode.set({icon : 'helenos/a.png', open : true});
- this._renderTreeItemFromJson(subNode, data[key]);
- } else
- if (typeof data[key] === 'number') {
- subNode = new qx.ui.tree.TreeFile(key + ' : ' + data[key]);
- subNode.setIcon('helenos/n.png');
- } else
- if (typeof data[key] === 'string') {
- subNode = new qx.ui.tree.TreeFile(key + ' : ' + data[key]);
- subNode.setIcon('helenos/s.png');
- } else
- if (typeof data[key] === 'boolean') {
- subNode = new qx.ui.tree.TreeFile(key + ' : ' + data[key]);
- subNode.setIcon('helenos/b.png');
- }
- else {
- subNode = new qx.ui.tree.TreeFolder(key);
- subNode.set({icon : 'icon/16/places/folder-open.png', open : true});
- this._renderTreeItemFromJson(subNode, data[key]);
- }
- node.add(subNode);
- }
- } else {
- node.add(new qx.ui.tree.TreeFile(data));
- }
- }
- }*/
-});
@@ -33,7 +33,7 @@ qx.Class.define("helenos.components.tab.browse.CqlPage",
_getCriteriaPane : function() {
this._queryArea = new qx.ui.form.TextArea('SELECT * FROM ' + this._cfDef.name);
this._queryArea.set({
- padding : 6,
+ padding : 4,
wrap : true,
height : 120,
appearance : 'cql-textarea'
Oops, something went wrong. Retry.

0 comments on commit 7708820

Please sign in to comment.