GithubHelp home page GithubHelp logo

orientechnologies / orientdb-studio Goto Github PK

View Code? Open in Web Editor NEW
128.0 25.0 50.0 9.09 MB

Studio web tool

License: Other

JavaScript 34.49% HTML 41.41% CSS 3.70% Shell 0.02% TypeScript 20.29% SCSS 0.07%

orientdb-studio's Introduction

REUSE status

Developers

Quick Start

  1. Install Node.js and NPM

  2. Clone the repository:

    $ git clone https://github.com/orientechnologies/orientdb-studio.git
  3. Install yarn

  4. Install local dependencies:

    $ cd orientdb-studio
    $ yarn install
  5. Start OrientDB server.

  6. Start webpack server and open your browser at http://localhost:8080:

    $ npm run watch

Distribution

To create the Studio package just run

$ mvn clean install

and the package will be available in target directory

target/orientdb-studio.*.zip

orientdb-studio's People

Contributors

emrul avatar g4br13l3 avatar jonmort avatar luigidellaquila avatar lvca avatar m-i-n-a-r avatar marcolazzara avatar orientdb-builder avatar robfrank avatar skibaa avatar tglman avatar wolf4ood avatar zdorian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orientdb-studio's Issues

Error on DATETIME property update

When I change DATETIME field of Vertex in OrientDB Studio I get this exception:

"com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record #35:3848\r\n--> com.orientechnologies.orient.core.exception.OSerializationException: Unable to unmarshall datetime (format=yyyy-MM-dd HH:mm:ss) : 2014-01-01 14:01:90\r\n--> java.lang.NumberFormatException: For input string: "2014-01-01 14:01:90""

To reproduce change all fields in datetime widget:

screenshot from 2013-12-18 13 06 18

Split Schema panel in 3 areas

  • Vertex classes
  • Edge classes
  • Other classes

This simplify the understanding of what is a vertex, and what is an edge

Creating new database as admin:admin silently fails

With clean installation of OrientDB 1.7 RC1, trying to create a new database via studio, with any given database name, admin/admin user as owner and leaving rest of the fields to defaults, silently fails. Database does not get created and there is no error message, no feedback to the user, create new database screen just remains open.

Configuring custom user in orientdb-server-config.xml, and creating database with that user as owner works OK.

Neverending spinner when executing empty query

Unpack orientdb 1.7 RC1 distribution/installation archive, and start the database server. Connect as admin/admin to GratefulDeadConcerts db, and on the browse screen, while leaving query editor empty, just click on Execute button. After that an overlay with spinner gets shown, and blocks everything below top menu. Spinner overlay sticks even after logout from db. One can get rid of it only by reopening orientdb studio page (localhost:2480).

Query LinkList Set, shows # but not Rid and Rid's are not clickable

Document database type
Create Class Contact
Create Class Address
Add property addresses to Contact of type LinkList of type Address
Add property street of type String to Address
Add a new address record
Add the new address record to the LinkList of addresses for Contact(currently have to this via query, as editor is broken see other issue regarding LinkList and Edit record)

Select * from Contact

Here is a picture of what current studio displays
linklistquery''

Here is picture of what it used to display with Clickable Rid's
linklistquerygood

Enter whitespace not work properly

In new Orientdb Studio
When I execute query:

select from 
(select from User where @rid=#27:0) <----------------------Space is here
let $viewer = (select from User where @rid=#27:0)

everything is OK and I receive:

Query executed in 0.024 sec. Returned 1 record(s)

But when I remove Space here:

select from 
(select from User where @rid=#27:0)<---------------------no Space here
let $viewer = (select from User where @rid=#27:0)

I get error:

com.orientechnologies.orient.core.sql.OCommandSQLParsingException: Error on parsing command at position #53: Invalid keyword '$VIEWER' Command: select from (select from User where @rid=#27:0) let $viewer = (select from User where @rid=#27:0) 

It looks like Enter is not equals to Space (but it should, because both are whitespaces). Could you check it? In old Studio everything is fine in both cases.

New Backup button

It should call in POST:

http://[:]/backup/

It's already in OrientDB's branch hotfix-1.6.1

Function name can be enabled but not editable

When opening functions page in OrientDB 1.7 RC1 studio, function name field is enabled, but trying to enter anything in there does not work. Only after one explicitly clicks on "New" function button, function name field truly becomes editable.

Oddly, other fields, like function body, and language dropdown are editable even before explicitly expressing intent to create new function.

Form fields should be disabled if not editable.

Login button disabled if password is automatically added by browser

ver 0.9.2

When entering username and password the Connect button is disabled until it detects typing, but if the browser automatically fills in the password for you from its saved password, then the Connect button remains disabled. You just need to type a letter in password box then delete it and the Connect button will enable and you can login. Tested on Firefox 12 and Chrome v30

Studio does not handle datetime fields

Like the new studio, nice work!!

If you have a field of type datetime, then try to add a new record, the date picker pops up but it does not have a time, also if you try to manually add a time next to the date the client side validation prevents you from adding it.

Thanks,

Dan

Fresh install. localhost:2480/studio/ returns a blank page. Nothing logged

I followed the 4 steps but Studio doesn't work.

./server.shstarts the server but [Studio - http://localhost:2480](http://localhost:2480/studio/) redirects to/studio/` but that returns an empty page and nothing at all is logged about the request.

    2013-11-18 13:05:55:868 INFO Loading configuration from: /home/-/orientdb-community-1.6/config/orientdb-server-config.xml... [OServerConfigurationLoaderXml]
    2013-11-18 13:05:56:287 INFO OrientDB Server v1.6 (build @BUILD@) is starting up... [OServer]
    2013-11-18 13:05:56:298 INFO Databases directory: /home/-/orientdb-community-1.6/databases [OServer]
    2013-11-18 13:05:56:331 INFO Listening binary connections on 0.0.0.0:2424 (protocol v.18) [OServerNetworkListener]
    2013-11-18 13:05:56:332 INFO Listening http connections on 0.0.0.0:2480 (protocol v.10) [OServerNetworkListener]
    2013-11-18 13:05:56:344 INFO Installing dynamic plugin 'studio-1.6.zip'... [OServerPluginManager]
    2013-11-18 13:05:56:439 INFO Installing GREMLIN language v.2.5.0-SNAPSHOT - graph.pool.max=50 [OGraphServerHandler]
    2013-11-18 13:05:56:445 INFO OrientDB Server v1.6 is active. [OServer]

The console works fine and i've been able to follow the tutorial so the database seems to work but Studio simply does nothing.

Export DB: change the text

Change:
Orient server can export databases as JSON data. Click the Export Database button to download a gzip compressed file containing said JSON file

To:
OrientDB Server exports the database in JSON format. Click the Export Database button to download a gzip compressed file containing the JSON file. You can re-import it by using OrientDB command line console.

Wait on command execution

  • remove the 1 second of pause
  • start the animated GIF only after 1/2 second the command doesn't return

Support for COLLATE

OrientDB 1.6.2 has new COLLATE attribute in Property and Index. To support it in Studio:

  • add "collate" attribute in properties. To set/change the syntax is as usual "alter property xxx collate <default|ci>"
  • add "collate" attribute in index creation

Execute button enabled for not saved function

In OrientDB 1.7 RC1 studio, when creating a new function, if one tries to execute function before saving the function for the first time a strange notinformative error message pops-up and server log contains similar odd message like:

2014-02-20 17:58:53:399 SEVE Internal server error:
java.lang.IllegalArgumentException: Function 'null' is not configured [ONetworkP
rotocolHttpDb]

OrientDB studio should either:

  • disable execute button before function is saved or
  • display appropriate message that function has to be saved first or
  • support execution of yet unsaved functions.

Create new property: error on type

If you select the property type by using the keyboard, the value is not taken. Try to create a property "name" and than press TAB to go to the "type" box. Then type "S" twice to see "STRING". Click on Save and see that the property has been created as "SHORT"

Please help me with select

When I run

$ select from People

I get the result of the field in the form [2], because the field is of type linklist, example:

----+-----+--------+-------
#   |@RID |info    |parents
----+-----+--------+-------
0   |#14:0|mama    |[2]    
1   |#14:1|papa    |null   
2   |#14:2|ya      |[2]    
3   |#14:3|dedushka|null   
4   |#14:4|babushka|null   
----+-----+--------+-------

Please tell me, how do I make a request to see instead [2] my [#14:3, #14:4] or result:

----+-----+--------+-------
#   |@RID |info    |parents
----+-----+--------+-------
0   |#14:0|mama    |dedushka,babushka
1   |#14:1|papa    |null   
2   |#14:2|ya      |mama,papa
3   |#14:3|dedushka|null   
4   |#14:4|babushka|null   
----+-----+--------+-------

thank you.

DB Structure points to old links

Dropping class on class editor screen does not trigger class list refresh

In OrientDB 1.7 RC1, when connected to a new clean custom database and browsing schema, add a new class e.g. Foo as subclass of V. Then click on new class to edit it. On class edit screen click on Drop button. As a result edit class screen gets closed and schema page with class list gets displayed, but it still lists class which was just dropped. Only after manual page refresh will class list get refreshed. Without manual refresh one can even click on just dropped class and edit class screen will open with no problem.

Timeframe on the new version of studio? Milestones?

First off, very nice product, just stumbled across orientdb and have been playing with it most of the day, nice job. Also the studio is very nice, just tried to get the latest from github and compiled with nodejs, but I see you are working on it and it looks like you are updating the interface, any time frame on the new version of studio?

Again nice product!

Edge is confused with Vertex

In some case if you open an edge like #11:56 of GratefulDeadConcerts, Studio reports:

Vertex: followed_by - #11:56 - Version 3

But followed_by is an Edge. It should be:

Edge: followed_by - #11:56 - Version 3

In Schema new "Create Vertex Type" and "Create Edge Type"

It would be nice add such buttons that:

  • create vertex type:
    -> open the create class type with filled the super class = V
  • create edge type:
    -> open the create class type with filled the super class = E
    -> create a property "in" of type LINK & not null
    -> create a property "out" of type LINK & not null

Such buttons could be created also inside the Vertex class frame:

  • create relationship from this vertex type:
    -> open the create class type with filled the super class = E
    -> create a property "in" of type LINK & not null & LINKEDCLASS = current
    -> create a property "out" of type LINK & not null
  • create relationship to this vertex type:
    -> open the create class type with filled the super class = E
    -> create a property "in" of type LINK & not null
    -> create a property "out" of type LINK & not null & LINKEDCLASS = current

New "Help" button

Class/Cluster Export

It's very useful having a button "export" on classes and clusters. This would make easier to copy and save values.

Support browser history (back/forward)

It would be great if Studio supported history (back/forward) like many other modern client-side web applications.

Managing history with the URL is a very handy mechanism for navigating a web application and depending on the implementation, can also enable bookmarking to specific application states. Not to mention it is extremely frustrating when you hit the back button out of habit and find yourself at the login page with all of your application state lost.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.