Code Monkey home page Code Monkey logo

cozy-databrowser's People

Contributors

aenario avatar doubleface avatar jsilvestre avatar poupotte avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cozy-databrowser's Issues

Search button add rows in view

When hitting the search button with an empty request it add the content of the table again and again after the current content.

To reproduce it go on the user table (only one record).
Click on the search icon.
-> The line is copied each time

Couchdb queries initialization

The app should initialize the queries at the start. This initialization should timed to see if it should be done in a specific initialization screen if too long. Should also see if the time is the same at the first start and after.

HTML is not escaped

Any value should be escaped before inserted in the user interface.

Example:

There is a bug in the virginmobile konnector which causes the konnector's application to be redirected to virgin mobile's website if the password is incorrect.

The issue is that the same redirection is done in Databrowser when clicking on the Konnector line in the left menu.

Here is the content of the ImportErrorMessage which might cause this :

Parsing error : Unexpected token <, body= Parsing error : Unexpected token <, body= 
 <!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="1;url=https://espaceclient.virginmobile.fr/login" />

        <title>Redirecting to https://espaceclient.virginmobile.fr/login</title>
    </head>
    <body>
        Redirecting to <a href="https://espaceclient.virginmobile.fr/login">https://espaceclient.virginmobile.fr/login</a>.
    </body>
</html>

Duplicates in the left column

Sometimes there are duplicates in the left column, like in this example with the "Tag" table:

bug-databrowser-duplicate

Both have the same content.

Columns name not displayed in hide/show columns menu

Steps to reproduce:

  1. Open a table (or whatever this is called) on the left with a column which has at least 8 chars (example for me: "password" in the "Bankaccess" table from Kresus)
  2. Click on "Show / hide columns"

What I expect:

See all columns in the menu that appears

What happens:

The "password" column does not appear because it it too long

bug-databrowser-hidden-column-names

Wrong entries in table

I often meet this issue but it does not happen each time I try to reproduce it.

Steps to reproduce:

  1. Open a table with at least 10 entries
  2. Scroll down to add the remaining entries (since by default only 10 are displayed)
  3. Scroll to the top
  4. Scroll to the bottom again

What happens:

Some entries are displayed but they are not from the current table. In the following example the "Binary" entries are not expected.

bug-databrowser-wrong-entries

i18n app name

When installed on an English "speaking" Cozy, the app is called ToutesMesDonnées - would be nice to have a "Data Browser" English version (or something like that).

request-json dependency

An error is thrown for the request-json dependency.
It's currently in devDependencies in the package.json. While it probably should be in the production dependencies.

Error: Cannot find module 'request-json'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:362:17)
  at require (module.js:378:17)
  at new DataSystem (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/db/dataSystem.coffee:37:25)
  at Object.<anonymous> (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/db/dataSystem.coffee:223:20)
  at Object.<anonymous> (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/db/dataSystem.coffee:225:4)
  at Module._compile (module.js:449:26)
  at Object.require.extensions..coffee (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/coffee-script/lib/coffee-script/coffee-script.js:30:21)
  at Module.load (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
  at Function.Module._load (module.js:312:12)
  at BaseController.build (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/compound/node_modules/kontroller/lib/base.js:159:27)
  at eval (<anonymous>:7:8)
  at eval (<anonymous>:182:4)
  at eval (<anonymous>:184:4)
  at Controller.BaseController.build (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/compound/node_modules/kontroller/lib/base.js:158:9)
  at ControllerBridge.getInstance (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/compound/lib/controller-bridge.js:257:13)
  at ControllerBridge.loadController (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/compound/lib/controller-bridge.js:204:20)
  at ControllerBridge.callControllerAction (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/compound/lib/controller-bridge.js:155:20)
  at ControllerBridge.uniCaller (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/compound/lib/controller-bridge.js:149:14)
  at callbacks (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/lib/router/index.js:162:37)
  at param (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/lib/router/index.js:136:11)
  at pass (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/lib/router/index.js:143:5)
  at Router._dispatch (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/lib/router/index.js:171:5)
  at Object.router (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/lib/router/index.js:33:10)
  at next (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/proto.js:190:15)
  at Object.methodOverride [as handle] (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:37:5)
  at next (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/proto.js:190:15)
  at multipart (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/multipart.js:65:61)
  at module.exports (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:57:9)
  at urlencoded (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/urlencoded.js:52:72)
  at module.exports (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:55:7)
  at json (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/json.js:56:55)
  at Object.bodyParser [as handle] (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:53:5)
  at next (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/proto.js:190:15)
  at resume (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/static.js:60:7)
  at SendStream.error (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/lib/middleware/static.js:73:37)
  at SendStream.EventEmitter.emit (events.js:126:20)
  at SendStream.error (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:144:51)
  at SendStream.onStatError (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:245:48)
  at SendStream.pipe (/usr/local/cozy/apps/databrowser/databrowser/cozy-databrowser/node_modules/express/node_modules/connect/node_modules/send/lib/send.js:317:26)
  at Object.oncomplete (fs.js:297:15)

Add a "dev mode" allowing to edit data in the databrowser

It would be nice to be able to edit data in the databrowser, but this would cause some problems to application if all the users could do that.

Therefore, the databrowser could detect it is not in "production" and then add this feature

Demo page

Create a demo branch which allows to play with an offline databrowser (with browser-sdk stub)

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.