OwnNotes

Rating: 
5
Your rating: None Average: 5 (2 votes)

A markdown notes taking application with ownCloud/WebDav synchronization.
ownNotes is available d Sailfish OS.

The original Sailfish version from ther author flypig did not work anymore for me, so, I forked it and did minimal changes to it so it works on my Xperia X device. The source is available on GitHub released under the GPLv3. I have tried to stay consistent will the features provided by flypig but application is still buggy on my device. I have removed sync options with anything else but ownCloud (KhtCms or Scriptogr.am). Sometimes, I need to start it twice to work but at least it does CRUD operations to notes. It should also sync notes with ownCloud but I did not touch that part. Use it on your own risk!!!!! Thank you flypig.

Features:

  • Sync with ownCloud or other WebDav server.
  • Editor with markdown highlighting: title, categories, bold, italics, links.
  • Files are stored as text, so can be directly edited in ownCloud or via a mounted WebDav folder.
  • Categories
  • Display a note preview on the app cover.

Keywords:

Application versions: 
Changelog: 
  • I had an error on uploading the rpm. App worked when deployed from sdk but did not work when installed from Warehouse. I guess the sdk is still a mystery to me. Turned out that I needed to restart my Xperia. If you have issues with installing, try to install again.
  • Worked out some more detailed errors. More beautification of error notifications.
  • Unfortunately, I made naming more restrictive by not allowing trailing and leading spaces in folders and files.
  • Added an edit menu item in view file per suggestion from tmi, thank you.

Comments

Dag's picture

Have a folder called Färger (Colors in Swedish) and this app chokes on the "ä" in the name??? Says it is illegal, which of course is BS...

marxistavegana's picture

Running into sync problems with character issues, which is not seen on desktop version

jfebrer's picture

Thank you for your work, I can sincronyze most of the notes, but I can't get a full sync.

I've got this error:

2017-11-07 20:58:03,151 DEBUG Response :  Tue, 07 Nov 2017 19:58:00 GMT
2017-11-07 20:58:03,154 INFO Connected to xxxxxx : Time delta -4.0
2017-11-07 20:58:05,082 INFO First sync detected or error: [Errno 2] No such file or directory: '/home/nemo/.ownnotes/.index.sync'
2017-11-07 20:58:05,092 ERROR Traceback (most recent call last):
  File "/usr/share/ownNotes/python/sync.py", line 414, in sync
    self._download(wdc, ldc, filename, filename)
  File "/usr/share/ownNotes/python/sync.py", line 617, in _download
    with open(ldc.get_abspath(local_relpath), 'wb') as fh:
UnicodeEncodeError: 'ascii' codec can't encode character '\xb7' in position 23: ordinal not in range(128)

yeoldegrove's picture

Works for using latest nextcloud 12.0.3.

tmi's picture

Also with an ancient ownCloud installation, great!
I could sync with new notes and deleted notes were removed. However, when I renamed a note on the server and synced, a duplicate was made on the phone with the new name but the old note was not removed. Not a big issue, though.

Could the "Edit Note" also be an option in the pulley menu when viewing the note where it now only says "Back to the Main Page"?

bade866's picture

I will look into the sync issue. The edit idea is great easy fix. It will be in the next release.

PawelSpoon's picture

When i navigate with browser to notes. In settings of this app i am using /remote.php/cardav

bade866's picture

I am working through the myriad of errors that that this app is throwing. Most of them are uncaught exceptions from python. It will take some time as I still fight to understand the business model when I trap the errors. But I will work on it...

PawelSpoon's picture

The uri is .... .de/index.php/apps/ownnote

PawelSpoon's picture

I am using.ocloud which is a variation of ocloud.de. But untill now all was compatible. I have a note created on server, one on phone. I can not see the Notes folder on server. Even though i have a server side note.

PawelSpoon's picture

Hi, yesterday installed, tried to sync:

2017-10-27 15:16:33,101 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/
2017-10-27 15:16:33,106 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/principals/
2017-10-27 15:16:33,108 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/files/
2017-10-27 15:16:33,109 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/calendars/
2017-10-27 15:16:33,112 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/addressbooks/
2017-10-27 15:16:33,114 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/systemtags/
2017-10-27 15:16:33,115 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/systemtags-relations/
2017-10-27 15:16:33,117 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/comments/
2017-10-27 15:16:33,118 DEBUG Check Notes Folder /remote.php/dav/Notes/ : /remote.php/dav/uploads/
2017-10-27 15:16:33,120 ERROR Traceback (most recent call last):
File "/usr/share/ownNotes/python/sync.py", line 368, in sync
wdc.connect()
File "/usr/share/ownNotes/python/sync.py", line 166, in connect
self._check_notes_folder()
File "/usr/share/ownNotes/python/sync.py", line 192, in _check_notes_folder
with self.locktoken:
AttributeError: __exit__

any ideas?

bade866's picture

I have tried to replicate it but I cannot on my two ownCloud accounts. Can you check on your ownCloud account if the "Notes" folder was created successfuly? Thanks.

tmi's picture

Thanks! Still, I believe this was originally by khertan, who then dropped SailfishOS version. Then it was picked up by flypig and after that by mazimmer. So maybe it would serve better to continue from the later mazimmer's fork if there is no spesific reason not to do so. (I have the v1.9.0 by mazimmer installed on Jolla1 but it isn't working on SFOS 2.1.2.3)

bade866's picture

I wish I knew before I started. I have done some cosmetic changes already and I am reluctant to start again. I am just learning my way with QT and GitHub...

tmi's picture

Then by all means, do your own thing. It's your fork after all.

I noticed other forks exist besides those I already mentioned: https://github.com/khertan/ownNotes/network/members
It doesn't mean they contain anything useful or even have any modifications but you may want to check them out. Or not, it's your choice. I'm grateful there is somebody still developing ownNotes.