Git Product home page Git Product logo

cozy-home-v2's Introduction

Cozy Home

Cozy Home is your dashboard to access and manage all your Cozy apps. It allows you to install, update and remove any app. It provides you too a tile page on which you can organize all your application launchers and widgets.

Install

We assume here that the Cozy platform is correctly installed on your server.

Type this command to install the home application:

cozy-monitor install home

Contribution

You can contribute to the Cozy Home in many ways:

  • Pick up an issue and solve it.
  • Translate it in a new language (ask us to be added to the contributors, we will also help you to make your first steps with transifex).
  • Add the capability to backup the Cozy (replicate it to another Cozy instance from) from the User Interface.

Hack

To be hacked, the Cozy Home dev environment requires that a CouchDB instance and a Cozy Data System instance are running, as furbish by the development VM.

First, clone the repo:

git clone https://github.com/cozy/cozy-home.git
cd cozy-home
npm install

To launch a development-aware processes, simply run:

npm run watch

You can now point your browser to http://localhost:9103 to access your dev instance.

Build

Each modification requires a new build, here is how to run a build:

npm run build
npm start

Tests

Build Status

To run tests type the following command into the Cozy Home folder:

cake tests

In order to run the tests, you must only have the Data System started:

git clone https://github.com/cozy/cozy-data-system.git
cd cozy-data-system/
npm install
TOKEN=token NODE_ENV=test DB_NAME=home_test npm start

Backgrounds

Here are the source for the backgrounds:

Contribute with Transifex

Transifex can be used the same way as git. It can push or pull translations. The config file in the .tx repository configure the way Transifex is working : it will get the json files from the client/app/locales repository. If you want to learn more about how to use this tool, I'll invite you to check this tutorial.

License

Cozy Home is developed by Cozy Cloud and distributed under the AGPL v3 license.

What is Cozy?

Cozy Logo

Cozy is a platform that brings all your web services in the same private space. With it, your web apps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one profiles you.

Community

You can reach the Cozy Community by:

  • Chatting with us on IRC #cozycloud on irc.freenode.net
  • Posting on our Forum
  • Posting issues on the Github repos
  • Mentioning us on Twitter

cozy-home-v2's People

Contributors

aenario avatar alpha14 avatar babolivier avatar benibur avatar bibz avatar bnjbvr avatar clochix avatar damnedscholar avatar daniellowtw avatar dkm avatar dullroar avatar elimisteve avatar felix-lambert avatar finster- avatar frankrousseau avatar jacquarg avatar jankeromnes avatar jsilvestre avatar kelukelu avatar kloadut avatar kosssi avatar m4dz avatar mihneadb avatar misstick avatar nono avatar paultranvan avatar phyks avatar poupotte avatar split7fire avatar zehiro 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

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  avatar

cozy-home-v2's Issues

Error message

When I try to install an application with the same name than an other application already installed, pop-up message is "undefined" instead of "There is already an app with similar name".

Favicon in cozy Instance

Cozy instances don't show any Favicon in Firefox and Chrome.

The cozy logo? Or a special one?

Changing domain name.

I tried to change the domain name of my cozy that is hosted at cozycloud.cc

initially my url was maxencecote.cozycloud.cc that i changed to [email protected]

This worked great as I can access my cozy at this URL now, but i noticed two issues:
*When visiting my old URL I reached the login page of another user while the url clearly states I am visiting my old URL and not someone else.
*The account page of my cozy displays a domain that doesn't exist: [email protected].

Notification counter

This has gone back and forth without any actual discussion. Can we decide if we keep it or not? Because it's just hidden for now and if we don't want it, we'd better remove it.

For me it's a big ๐Ÿ‘ to keep it (and display it).

Help button

From users:

It would be nice to have an help button that points to the Beta Q&A forum.

App menu bugs with Cozy mails

From user :

"When I run CozyMails from the toolbar menu and I click on Inbox button, it makes home buttons disapear."

Update all button.

It would be nice if an 'update all' button allow users to update all its apps.

Notification system

As we have spoken about it recently, here are my ideas to introduce a notification system into cozy-home. Obviously any suggestions, etc. are welcome, from anybody.

So first, what do I call a notification and what are its characteristics.

Definition
A notification is simply a message sent to the end user to inform him. ie:

  • "New mail received"
  • "There is no space left on your cozycloud"
  • "Remind: go to the dentist at 3:00pm"
  • "Todos, Notes and Boonk can be updated"
  • etc.

Categories
Those messages can fit two different categories:

  • the punctual notifications ("bookmarks have been correctly loaded")
  • the persistent notifications (examples are the same than earlier)

The earlier do not interest us because I think they are app-related. Application developers should handle them if they want (or not!).
The latter are what we want.
This is important to see there is two types of notification as it could imply differences in the UI.

Characteristics
Notifications have two mains characteristics:

  • a status
  • a channel of transmission
  • edit: as @aenario mentionned, more specifically to cozycloud: a reference to the app and the resources that triggers the notification

Status
We can have tons of relevant status but here what I think we should consider first:

  • not read yet
  • read (doesn't mean dismissed !)
  • pinned
  • dismissed

The status changes depending on the notification. This means that for certain types of notifications, reading will also dismiss whereas some of them will require to be explicitly dismissed by the user.

Channel
The channel is the medium the message is delivered to the user by.

  • Popup of text
  • Email
  • SMS
  • Push to mobile/tablet

Resource
The resource is a (app, url) attribute such as (agenda, /event/3615) so the user can directly access the interesting content.

Technical implementation
@aenario suggests we use a doctype so apps can edit it as needed.

That's enough for a first draft. There is more to say, in particular in terms of UI/UX but we need to agree on what we want first.

A very inspirational resources is the Android Guideline: http://developer.android.com/guide/topics/ui/notifiers/notifications.html (thanks @aenario)

Application's icon set to "red square"

When an application is started automatically by the proxy but not from the Home itself, the application's icon is not retrieved.

I put it here but maybe it should be something done automatically and systematically by an other application.

Disk space calcul

Hello,

The disk space calcul take always the first partition found (generally /). In some installations, couchdb data is moved to a specific partition.

The calcul of disk space should read the couchdb configuration file, look at where is the data, and calcul the space disk of the right partition.

Thanks,
Regards,
Retenodus

Make custom install easier

Actually installer understand only https git url. It could be more laxist and allow to forget the .git at the end of the url.

Domain name input field in account not clear

After we discussed the role of the domain name field, I understand it is used by the cozy to create sharing urls and so, yet it is not the place where a user should go to change completely their domain name. It would be nice to have a popover or something explaining what it is used for to make it clear.

Change app ordering.

It would be great if the user could choose the placement of the apps icons within Cozy Home. It could be done by letting the user drag&drop the app icon while managing the apps.

Update "all" apps feature

Updating several app currently implies several clicks (app >> update >> confirm). The layout moving around when clicking 'update' does not ease the task :)

scroll bar in the wrong place

Hi,

I have just noticed that :
image

You can see that when scrolling the home, the bar shows up on the icons on the right. It's not much important but it can be easily fixed I think.

Keep it up!

Display the RAM used without the cached memory

RAM use display the ram use by the linux system entirely.
But cached memory is not a key metric to see a cozy load.

A string containing bytes used without cache can be get by:

free | grep cache: | cut -d':' -f2 | sed -e 's/^ *[0-9]* *//'

Removing the notification "app started"

I find it pretty annoying to be notified "my app is ready" when I start an application (after having stopped it).

It is all the more annoying that I have to stop/start application often since memory usage is an issue.

Adding apps to Home in parallel

Seems like adding multiple apps to the Home screen quickly does not work.

The apps disappeared from the store like if they were installed but only the first one got installed. This was a bit confusing because the other ones were not visible in the store anymore until I reloaded the page (hitting the reload button instead of cliking on the +Apps button in cozy).

Why not mark the apps as installed instead of hiding them? Would be more transparent

Impossible to query forgotten password request

I incidently forgot my password. When clicking on the "Forgot password" link on the connection page, nothing happens.

Console reports (in Firefox and Chrome):
[20:39:58.507] SyntaxError: JSON.parse: unexpected character @ https://myinstance.cozycloud.cc/login.js:126

Two network requests are made at this point:

  • one POST on /login/login/forgot, which results in a 302 to
  • /login/login/login/forgot which returns an HTML entity that the JSON parser can't parse.

The expected result is to get a forgotten password form, or something similar :)

Feel free to ask me more details if needed.
Good luck!

Manage button label should switch

When you click on the manage button, you get into the management state. In this state the button keeps its label. But it's required to click on this button to go back to initial state. That's not intuitive.

inverted applications : Feeds and Bookmarks

Hi, i'm on raspberry. I've installed it yesterday, and now my two apps : Feeds and Bookmarks are inverted. In the home menu, when i click on Bookmarks, it goes to My Cozy Feeds. And when i click on Feeds, it goes to Bookmark a link.
My RAM usage is : 187 / 448 Mo (RAM)
2.2 / 15 Go (Disque Dur)
I have extended my SD card partition after the app installation.
I've tried to remove apps, then reinstall them. The problem still remains.
image

I'll try to reinstall all the cozy base, then expand my SD card partition, then installing apps. To see if it is the partition extension that caused that.

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.