chmllr / notehub

A pastebin for markdown pages.
MIT License
273 stars 33 forks source link

get a list of notes? #40

Closed albacoretuna closed 8 years ago

albacoretuna commented 8 years ago

hi, is there a way to get a list of all notes?

I tried to add a /all route, using Notes.findAll(), but it still required url

albacoretuna commented 8 years ago

Hi, I implemented this, a Basic pahe that lists all the Notes, with a filter to search by note titles.

I can send a pull request if you like it.

chmllr commented 8 years ago

Thanks a lot, but such a list would expose notes supposed to be private. No note should be directly accessible without explicit sharing.

albacoretuna commented 8 years ago

I understand your point, but for our use case that was a fit as we are using it on our local network and we share notes together. Would you mind if I keep my own fork of this project with the feature?

Here's the link to the fork that has the feature in case anyone else was interested: https://github.com/omidfi/NoteList

chmllr commented 8 years ago

Hi Omid! Sure, is a great idea actually. Feel free to pull from master to keep your brunch up to date.