Coder Social home page Coder Social logo

notes's Introduction

Cozy Notes

Cozy Notes makes your note management easy. Main features are:

  • Structured notes
  • Note search
  • File attachment
  • Todo-list
  • Contact linking

Install

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

You can simply install the Notes application via the app registry. Click on ythe Chose Your Apps button located on the right of your Cozy Home.

From the command line you can type this command:

cozy-monitor install notes

Contribution

You can contribute to the Cozy Notes in many ways:

  • Pick up an issue and solve it.
  • Translate it in a new language.
  • Note tagging
  • Note sharing
  • Collaboration writing

Hack

Hacking the Notes app requires you setup a dev environment. Once it's done you can hack Cozy Notes just like it was your own app.

git clone https://github.com/cozy/cozy-notes.git

Run it with:

node server.js

Each modification of the server coffee files requires them to be compiled into JS, here's how to do it:

cake convert

Each modification of the client requires a specific build too.

cd client
brunch build

Tests

Build Status

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

cake tests

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

Icons

Main icon by Elegant Themes.

License

Cozy Notes 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

notes's People

Contributors

aenario avatar aholoud avatar audreytoskin avatar bnjbvr avatar clochix avatar frankrousseau avatar jsilvestre avatar m4dz avatar maxence-cote avatar nono avatar poupotte 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

Watchers

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

notes's Issues

V position of the note tool bar

When the window of browser is note hight, the tool bar on the left of the note should be moved up in order not to be cut.

del key on note app

when pressing the del key anything can be suppressed. It can be a word or several. and not necessarily where the insertion point is.
This can be related with the fact that including some text at the end of a line with insertion point can result in some text added at the begining of the line and cmd-z can undo in an unpredictive way.
experienced on mac os with safari(latest) and firefox(latest).

Minor typo

A space is missing between "to" and "create":

You have no notes, use the tree on the left tocreate one.

Deleting an empty line raises an error

Not sure if that issue should be reported here, as it seems to be related to the editor.

  • Create a new empty document
  • Ctrl + Backspace to delete the indentation mark
  • Backspace (at this point, the line should be empty)

A bug occured, we prefer to undo your last action not to take any risk. Message : TypeError: cont is null

Duplication of attachments

If I add several times the same file, the counter counts only one file but the file is displayed several times. Then, if I want to remove one duplication of this file, every duplications are removed.

TypeError: Cannot read property 'qqfile' of undefined

TypeError: Cannot read property 'qqfile' of undefined
    at module.exports.addFile (/usr/local/cozy/apps/notes/server/controllers/notes.js:231:19)
    at Layer.handle [as handle_request] (/usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/layer.js:82:5)
    at next (/usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/route.js:110:13)
    at Route.dispatch (/usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/route.js:91:3)
    at Layer.handle [as handle_request] (/usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/layer.js:82:5)
    at /usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/index.js:267:22
    at param (/usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/index.js:340:14)
    at paramCallback (/usr/local/cozy/apps/notes/node_modules/americano/node_modules/express/lib/router/index.js:391:21)
    at /usr/local/cozy/apps/notes/server/controllers/notes.js:41:12
    at Function.<anonymous> (/usr/local/cozy/apps/notes/node_modules/americano-cozy/node_modules/jugglingdb/lib/model.js:447:9)

Group notes in efficient way

Id like to bring this up as an enhancement maybe, it would really be nice if you were able to create groups and name them, and then inside those groups create notes. That would really be cool. unless this is already possible and i cannot find the option?

Creating a link on a URL should automatically set the URL

That's a classic feature of text editors, so why not? Not a bug itself, more of an enhancement.

  • Write a link on a note
  • Select the link
  • Click on "Create / edit a link" (or Ctrl K)

Expected:

  • The field "url" should be field with the link

Even better:

  • No need to click on "create a link", the link is automagically created when an URL is created.

Andoid Issues

I'm unable to use notes on Firefox for Andoid
I stay on the "list of notes" part of the screen
Is it a known fact of should I document further my problem ?

thanks,
Joo.

Deleting a space raises an error

Hi,

  1. Create a new note
  2. Add space
  3. Backspace

"A bug occured, we prefer to undo your last action to be safe.

Message :
IndexSizeError: Index or size is negative or greater than the allowed amount"

0e82324aff0da73eb0ae0053f7f8ac415d15cb87

Ipad issues

  • buttons are too small, specially in the navigation tree
  • editor doesn't display correctly when text is bigger than the page
  • automatic saving does not work.
  • font size is a little bit small

New line after lowest level of identation

After the lowest level of identation, firefox answer me this :

A bug occured, we prefer to undo your last action not to take any risk.

Message :
Error: NotFoundError: DOM Exception 8

And if I'm on safari, it answers this :

A bug occured, we prefer to undo your last action not to take any risk.

Message :
TypeError: newCont is undefined

Save on note closing

Saving the current note should automatically be triggered when a note is closed.

Batch 2 of UI Improvements

While I was working on pull request #42, I kept notes on other things I'd like to see improved. Here are the next things I'd like to work on. Let me know what you think.

Still focusing on the user interface

  • alphabetical sorting of notes list should ignore letter case. Currently, notes starting with "a" (lower case) will appear after notes starting with "Z" (upper case).
  • Increase size of the button to show/hide the nav panel , and move it somewhere where it's easier to see and click. Currently, the button is invisible unless you hover over it; I didn't even notice the button existed during months of using Cozy Notes on my desktop. And the button is a really small target on my tablet, making it hard to tap.
  • when deleting notes, add the name of the note page in the confirmation dialog. It will be easier to avoid deleting the wrong note page if you can see which one you're deleting.
  • users should be able to toggle the ToDo feature for every line. Right now, you can change a normal line into a ToDo, but there's no way (that I can tell) to turn a ToDo back into a normal line of text.
  • Allow users to delete a whole word at a time, using Ctrl-Backspace and Ctrl-Delete. As far as I know, this is pretty universal -- it's not a feature we would have to implement; instead we would be removing whatever code is getting in the way of this feature. Right?

Some miscellaneous edits

  • since we switched the client font to Source Sans Pro, is there any reason to keep the other fonts in the repository? Can we remove the Fontello and Signika fonts?
  • Rebuilding the server and client is already a part of the process when installing Cozy Notes. So what if we add cozy-notes/client/public to the .gitignore file, so we get cleaner git status messages? How about we keep auto-generated files out of the commit history?
  • maybe update the "hacking" section of README? The build instructions there are different from the build instructions we worked out in the Cozy forums.

...I have more ideas, but they can wait until later.

When building the Cozy Notes server and client...

I haven't been able to contribute to Cozy Notes very regularly, and every time I take a break from working on Notes, I forget the exact process for building. The README and our discussion on the forums use different commands for starting everything. So right now I want to help update the "Contributing" section of the README.

I notice that for Cozy Data System, the Cozy Notes server, and the Cozy Notes client, you can start all three with the command npm start. This might be a better way of telling users / develoeprs to do it, because it's much easier to remember that one command. The only problem is when you use npm start inside cozy-notes/client, you get this message:

info: application started on http://localhost:3333/

Which is strange, because if you go to that URL, the cozy notes app won't work. The Notes app is empty, and you can't create any new notes. You have to go to the server URL, at localhost:9201. So why does the client listen on a separate port, when it seems to be useless?

For everything else, npm start seems to work just fine, unless I'm missing something.

Task integration

When creating a task within a note, pressing enter will create another task on the line above.
This is handy when creating a list of tasks but there is two issues with that:
*When a task is created as the last line of a note, there is no way to write text above; pressing enter will create a new task above and backspace will remove the task and return on the previous line that is also a task, you are stuck.
*When a note start with a task, there is no way to write text above and no way to get rid of the first line that is a task. A temporary solution is to delete the task from the todo application.

We would need a way to delete task from within the note, backspace doesn't work as expected in the two cases mentioned above. Another way to delete task by selecting it!?

Index tutorial note

Tutorial note is note indexed so beta users try to search word in this note and feel like search engine does not work.

ToDo button has disappeared in latest update (on cozycloud.cc)

The ToDo button / check box is gone from Cozy Notes, so you can't mark lines as complete or incomplete. You can't see whether they've been marked as complete either.

I'm afraid this might be my fault, since I didn't test my code edits in PR #42 for the ToDo feature. But then, most of my code edits were in the stylesheets. I've looked over the .styl files again and I can't figure out what the problem would be.

Error at startup: Most middleware (like bodyParser) is no longer bundled with Express

Steps to reproduce

  • Clone cozy-notes
  • npm install
  • npm start

Observed results

Error: Most middleware (like bodyParser) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.
    at Function.forEach.Object.defineProperty.get (/vagrant/cozy-notes/node_modules/americano/node_modules/express/lib/express.js:89:13)
    at Object.<anonymous> (/vagrant/cozy-notes/node_modules/americano/main.js:20:17)
    at Object.<anonymous> (/vagrant/cozy-notes/node_modules/americano/main.js:187:4)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/vagrant/cozy-notes/server.js:4:13)

Expected results

Server starts without any error.

Want moar?

node -v v0.8.18

npm ls

[email protected] /vagrant/cozy-notes
├─┬ [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
├── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
└── [email protected]

Unable to display Tutorial

Reported by @nicofrand.

People having installed the application a very long time ago have a “Tutorial” note, created at application installation, explaining how to use the application. But when they click on it, nothing happens.
This happen for example on demo servers (Notes isn't installed by default, but if user install it, the Tutorial appears but clicking on it does nothing).

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.