Code Monkey home page Code Monkey logo

nextcloud-notes-mac-client's Introduction

Nextcloud Notes Client

MIT license GitHub package.json version GitHub release (latest by date) GitHub All Releases PayPal donate

A replacement for the Mac Notes app that syncs with a Nextcloud server running the Nextcloud Notes app

Nextcloud Notes Client in edit mode Nextcloud Notes Client in edit mode (dark theme)

Nextcloud Notes Client in edit mode Nextcloud Notes Client in edit mode (light theme)

Nextcloud Notes Client in preview mode Nextcloud Notes Client in preview mode (dark theme)

Nextcloud Notes Client in preview mode Nextcloud Notes Client in preview mode (light theme)

Requirements

node.js / npm

To build this project you will need to install electron packager and asar

npm install -g electron-packager
npm install -g asar

Usage

cd to the project directory and run:

npm install

To modify the html / css / js run:

gulp watch

To test the app run:

npm start

To package the final app run:

npm run package

The packaged app will be written to build/Nextcloud Notes Client-darwin-x64/ in the project directory.

i18n

Translations for this app are by:

language translator
EN dgmid
IT dgmid
DE stratmaster
ES Juan Velasco
FR Alain Grau

Support me

Nextcloud Notes Client is free, but if you would like to make a small donation to its ongoing development you can do so here:

Donate button

This will help fund the further development of this software.

nextcloud-notes-mac-client's People

Contributors

bhopmann avatar dependabot[bot] avatar dgmid 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

Watchers

 avatar  avatar  avatar

nextcloud-notes-mac-client's Issues

Rendering of bullet lists broken

Hi

The rendering of bullet lists seems to be somewhat broken. Under certain conditions empty lines are added in between.

E.g. this looks as expected, one bullet line after the other:

# Foobar
- asdfasdf
	- asdfasdf
	- asdfasdf
- asdfasdf
- asdfas
- asdfsdfasdf
	- asdf
	- asdf

When I add an empty line somewhere in the source, like

# Foobar
- asdfasdf
	- asdfasdf
	- asdfasdf

- asdfasdf
- asdfas
- asdfsdfasdf
	- asdf
	- asdf

then the rendered result has empty lines after every top level bullet (hope it displays properly here...):

Foobar

  • asdfasdf

    • asdfasdf
    • asdfasdf
  • asdfasdf

  • asdfas

  • asdfsdfasdf

    • asdf
    • asdf

New language: German

Hey,

I really like your app and would like to help translate it to German.
Is there any possibility?

Thanks
Luca

Can't login to Nextcloud with v1.4.4

Nextcloud-notes-mac-client v1.4.3 is working just fine, but v1.4.4 does not show the login popup window to login to Nextcloud.

Version used:
MacBook Pro 2021 (M1)
Monterey 12.3.1 (but same issue with older versions of Monterey)

Popup window below does not appear with version v1.4.4:
Screenshot 2022-05-19 at 08 49 54

Make display faster by (e.g.) downloading & rendering first the few most recent / relevant notes

This application rocks, hence I've been using it a lot, which causes speed issue with hundreds of notes and/or varying network speeds.

When I first open the application,it takes a long time before it displays the notes (think minutes), probably cause it downloads them all at first.

Would be great to improve the first open speed by either of these solutions:

  1. accessing the locally synchronized notes (ask for folder location) instead of server ones (we keep them synchronized locally for backup anyway)
  2. downloading and rendering first only the few recent notes, then the remaining in background

Surely IMO that could help more adoption of the application and nextcloud as well...

Thanks for attention.

search non-latin characters

Hello, I find the application really good, but find cannot recognise greek characters so I get no results, which is a big downside for continue using the app. Is there some feature I am missing and I cannot search?

Thanks in advance!

iOS version

@dgmid Not sure if this is the best place to ask this, apologies if not. Any chance you have plans to develop an iOS version? Not sure how challenging this is, given this appears to be a web app at the core? Sadly, this is outside of my own skill level to contribute. This app is fantastic, and there is no alternatives, so just thought I'd ask. Thanks.

[Feature] Big Sur Design Adaptation

The design no longer matches the UI of the current Mac OS version. To make the application more attractive for new users, an adaptation to the Big Sur design should be considered.
The following picture shows the default Notes App in Mac OS Big Sur:

image

"Cancel" save should not delete changes to note

This morning, I made several changes to a note, then wanted to switch to another note. I got the modal popup that says "You have made changes to this note -- Do you want to save them" with the choices "Cancel" or "Save Changes".
I saw that I needed to fix a typo in the note I'd edited, and hit cancel, at which time Notes removed all my edits and took me to the second Note.
It's probably better design to make a third choice, or make it abundantly clear what's going to happen: Abandon Changes, Cancel (i.e. stop this action, return to the last state), or Save Changes.
Fortunately, I didn't lose a LOT of work, but I could see how that could be dangerous and frustrating to someone that made a lot of changes.
Thanks for considering this.
John Gorkos

Setting to sort folder

I have some folders like
01 Private
02 Job 1
03 Job 2
99 Archive

A good stetting could be sorting by name for folders, I think.

[Feature] Icon to add current time

Hello, nice app thank for this nice job ! 👍
Is it possible to add a new icon to add the current date in the text area (as date and time) ?
Like : {15/08/2022_13:52:24}

If yes, please add a preferences to set format (dd/mm/YYYY or mm/dd/YYYY ... AM/PM vs 12/24h...)
Thks

during notes loading, edit mode visible

If i select a another note the app load it and somtime i see the note in edit mode before the formated text is visible. And somtimes the formated text don't load and i see the raw text (like edit mode) but i can't edit. If i use cmd+E for edit i can edit and with next cmd+E i the the formated text.

Do you know this behavior? It's a bug?

Searching within notes

I can search/find notes with a certain search term. However I can not find appearances of a term within a note. Which makes finding a certain piece of information esp. in long notes a bit cumbersome. So it would be great if you could add finding within notes.
(Apple Notes also has two types of searches. Via the search field in all notes, and if press Cmd-F you can search within a note.)

Feature Request: autosave

Had an issue this morning where I lost a pretty good chunk of work. My security cert expired on my Nextcloud server (technically, it expired on my nginx proxy TO my Nextcloud server, but...). When I tried to change editing from one note to the other, it gave me several error screens about cert not valid, complained it couldn't save, and went into a cert-fail loop where it kept telling me the cert was invalid, and I would acknowledge it, and the same modal dialog would pop back up.
I put a valid cert on the server, and the dialog went away, but it also took a bunch of unsaved data from the first note with it.
Having an auto-save (i.e. every X minutes) would have
a) notified me that I had a bogus cert earlier
b) let me know when I wasn't in the middle of switching from one note to another, putting me in weird middle ground where data was at risk.

Just something to consider. Thanks!
John Gorkos

Checkbox

The markdown checkbox like

  • Text

Code: - [ ] Text
looks strange with a dot before the checkbox and have no function in preview mode.

Search Function

Is it possible to search within the app? If not, do you think it would be possible to implement?

Thanks

Apple silicon support

Hi,
is it possible to provide an additional apple silicon app or at least an universal app?
This would be great.
I’m not a developer otherwise I would try to compile one myself.
Thanks in advance.
B.J.

505 Unspecified error

Hello

There was an error retrieving: https://<server>/nextcloud/index.php/apps/notes/api/v0.2/notes
Error: 505 Unspecified

I only see this error pop-up message when I log out and log back in to the client. No notes ever appear in the client. Nothing appears in any of the logs on the server side (apache/nextcloud). I can navigate to the Notes folder in the web browser and everything is there. This did work when I first reinstalled the server a few days ago (hence there are existing notes). I did have a permission issue, which has now been resolved. Other than that I cant think of any changes relevant to this. Any idea what else I can investigate for this ? Are there any client side logs ?

Thanks

icon layout cut off

mac OS 10.13.6, MBP Retina mid-2014

icons at top of notes appear to be cut in half by a glitch in the app layout

Screen Shot 2019-04-16 at 10 26 58

crash on first launch

First two times I tried to launch Nextcloud Notes Client (after the initial gatekeeper launch), it crashed. Third time it worked fine, so I'm not sure what to make of that, but I figured it was worth reporting.

Found this in system.log:

Nov 23 15:21:33 m16 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x100000a3.Nextcloud Notes Client[98180]): removing service since it exited with consistent failure - OS_REASON_EXEC | Gatekeeper policy blocked execution
Nov 23 15:21:55 m16 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x100000a4.Nextcloud Notes Client[98184]): Service exited due to SIGSEGV | sent by exc handler[98184]
Nov 23 15:22:31 m16 com.apple.xpc.launchd[1] (com.electron.nextcloud-notes-client.88768[98223]): Service exited due to SIGSEGV | sent by exc handler[98223]

I'm on macOS 10.15.6 running Nextcloud Notes Client 1.4.4

Self-signed certificate

I am using a self-signed certificate on my nextcloud host and have a strong suspicion that this is what prevents me from logging in via the notes-mac client.

The official Nextcloud client opens a window when I log in where I can add the "Security Exception". Would it be possible to do this in notes-mac-client as well?

Cheers
Bendsch

[Feature] Categorizing improvements

Thanks for this App. it's great!

While using it one thing i bumped into straight away is that it takes quite a few UI interactions to categorise a note (unless i missed something):

  • move your mouse to the note in the note list
  • right click
  • move to the "Move to" item
  • select the category

Of course this mostly applies to when you not choose a category before you create the note. However i like the quick "Inbox" mentality for note taking since often it's about writing something down quickly and not thinking about organising.

Since i consider this to be a main user action for notes app i would suggest to allow more ways to do it:

  1. drag and drop a note to a folder / category
  2. implement some way to move a note with keyboard, maybe something like CMD+M opens a popup list (like the popup component for new categories) with a category list and a focussed text input with live search.
    2.5) the "new categories ..." could actually be unified with this. type something (please autofocus), autosuggest from existing folders, if none, create new.
  3. i intuitively clicked on the folder icon in the note-list preview to open a folder-list. maybe the popup from 2) can be triggered there too.

Also related to categories:
a) i personally would prefer to show the category-hierarchy as a tree.
b) And connected to that: A parent folder should show notes from subfolders. Thats what i would expect intuitively. Others might be different there.
c) currently there is no way to create subfolders, not even in the flattened way that the app currently displays them, since the app neither accepts the "/" character, nor does it create a subfolder when creating a category while being in one.

Again: Thanks for the great work and for sharing it!

Move focus to Hyperlink field when clicking link button

When editing a note, I click the hyperlink button and a dialog slides down titled "Insert a hyperlink," but focus is not on the "Hyperlink" field, so I need to take the additional step of clicking on the field before I can paste or type a URL.

I would be helpful if focus was moved to this field automatically on clicking the hyperlink button.

Feature Request: Autosave notes

Describe the Problem
When I switch to a different note as I'm editing it asks me if I'd like to save the previous one. In the standard mac notes app and in other notes apps I use, my notes are already saved by the time I navigate to a new note and there's no pop up. With that alert, it's a little slower to switch notes and easier to accidentally not save my note.

Solution
Automatically save my notes as I type

Additional Context
I wouldn't be surprised if this is a design choice, and would love to hear if you have a preference on this!

Blank lines between headlines?

Hi all,

I'm looking for a way to have a blank line between to headlines, when there is no other text.

Any idea?

Many thanks
Lutz

Dead project?

Hi

Just wondering if this project is dead? It hasn't had any sort of release recently.

Gutted if so as it's really useful!

Can't edit notes

Notes are read-only. iOS client working without issue. Thanks for creating this!

Smaller binary size

I'd love to give your apps a try, but being over 100MB for something as simple as editing notes (or bookmarks) just feels so wrong to me.

As I'm completely unfamiliar with Electron and it's development, all I can do is ask if using something like Electrino is possible and viable.

Hope you understand what I mean 😊

Access notes from Local Storage

Hi, I was curious about accessing notes from local storage within this app, since these same directories could also be synchronized via the Nextcloud Desktop app.

Nextcloud Notes 25 images not shown

Images inserted in the Nextcloud web do not show in your app.

The edited note looks like this

Test

![2d58018896b19f8b34396894c63f91b2.jpg](2d58018896b19f8b34396894c63f91b2.jpg)
![ED3B2826-4007-4F80-B0D0-B37137DCDD95.jpeg](.attachments.166088/ED3B2826-4007-4F80-B0D0-B37137DCDD95.jpeg)

But the preview looks like this (while Nextcloud displays the pictures)
image

[Bug] Note content disappearing when opening new note

When I edit a note and then create a new note, the edit of the first note is discarded.

I would expect/wish to get the "Save Note" window in this case.

(Of course autosave would be even nicer, but from #26 I understand its not simple possible).

Besides that: Great App, Thanks for sharing!

Feature requests

Hello, Ciao

Awesome app so far. I've been looking for a replacement to qOwnNotes for a while. I have a few feature requests:

  1. Would it be possible to toggle the display of the preview in the title of the note? This could make navigating notes a bit easier and more compact.
  2. Another toggle I'd really like is to always be in edit mode.
  3. Autosaving. When I make a new note, type something in it then switch to a new note, the things I typed were not saved.

Sadly, I don't know much about Javascript/Node yet but I'd love to contribute. Tips/pointers would be really helpful.

Windows and Linux releases?

Hello,

I forked the app like the bookmark viewer and it works nicely on Linux and Windows with a few small problems like too bright font colours if an element is clicked:

image

image

Select Notes with Key

I find this app and it's a good app for nextcloud notes on mac.
One idea I have: I want select the individual note with arrow keys.

Is it possible to implement this feature?

Server error: there was an error retrieving .../index.php/apps/notes/api/v0.2/notes/13080. Error: 404 Not Found

Hello Duncan. Thanks for making this very useful app. When I connect on my self-hosted 19.0.3 nextcloud install using the Nexcloud Note app from an Mac with Mojave installed, I encounter the popup error "Server error — there was an error retrieving https://domain.com/index.php/apps/notes/api/v0.2/notes/13080 Error: 404 Not Found". The directory apps/notes/api on the server is indeed not present. I uninstalled and reinstalled Notes, but the problem remains the same. Could you let me know how to fix that, if possible? Thanks for your help.

Suggestion for interfering shortcut cmd-H

Shortcut cmd-H is meant for adding a headline and for hiding the app. Changing the shortcut for adding headlines would allow hiding the app, regardless where the current focus within the app is lying on.

[Feature] Tags

Don't know how complicated this is, however Nextcloud has tags, so there would be a backend available for this.

In the context of notes i would consider tags to be super useful. Implantation suggestion:

  • show existing tags as well as a "+" button as hovering buttons/badges at the bottom left (similar to the edit note button)
  • wither wenn clicking "+" or CMD+ALT+T a popup opens with auto-suggest input (and existing tags below it for clicking). multiple tags can be entered separated by comma. not existing tags will be created.
  • the left sidebar shows a list of used tags at the bottom. i would personally scope this to the selected category (and hide non-used tags)

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.