aykit / myownnotes Goto Github PK
View Code? Open in Web Editor NEWNotes for ownCloud App - Android
License: GNU General Public License v3.0
Notes for ownCloud App - Android
License: GNU General Public License v3.0
"The URL you request data from is not correctly formed"
"Die Url, von der Daten abgefragt werden, ist nicht formgerecht"
I run an encrypted ownCloud. The Notes app is installed and enabled. Accessing the url /index.php/apps/notes/api/v0.2/notes gives me the contents. Trying to access with the myownnotes from Android generates an error "There was a connection error. Please check your username / password". The log contains the following:
XXX - xxx [02/Jul/2014:21:08:15 +0000] "GET /index.php/apps/notes/api/v0.2/notes HTTP/1.1" 302 1599 "-" "Dalvik/1.6.0 (Linux; U; Android 4.2.2; A1-810 Build/JDQ39)"
XXX - xxx [02/Jul/2014:21:08:16 +0000] "GET /apps/files_encryption/files/error.php?p=0&errorCode=1 HTTP/1.1" 403 2510 "-" "Dalvik/1.6.0 (Linux; U; Android 4.2.2; A1-810 Build/JDQ39)"
this was annoying...
It’s good to show the keyboard immediately for new notes – because you can only type. But existing notes you first probably want to read, and if you want to edit also first scroll to the point where you want to edit them.
Hence for existing notes, the keyboard should not be shown immediately but only once the content area is tapped.
Device Galaxy S4, Android version unknown, owncloud server version unknown
Title is shown correctly, body is not.
May depend on: owncloud/notes#29
Samsung Galaxy S4, Android version unknown, ownCloud server version unknown
Entries disappear after synchronization.
The spanish translation has been altered by non-native speakers. If you (yes, you!) have time, please proof read. That would be great!
Shortcut: https://github.com/aykit/myownnotes-android/blob/development/res/values-es/strings.xml
After upgrading to 1.3.1, I encountered a really annoying problem. MyOwnNotes started to claim connection errors (obviously not fully true!) and recreates all "new" notes every time the sync process is started. So, I get horribly many duplicates in ownCloud, but only on the server side!!!
These wrongly created notes are not(!) sync'ed back to MyOwnNotes, so I believe that the connection error happens only when trying to download any notes from owncloud server.
Could you try to fix the problem, please! In the current state, the app is really unusable for me!
Hi,
I just installed your app (from f-droid to test before support you from Play), configured everything (added self-signed cert to phone etc.) but app always gives me the "The URL you requested the data from doesn't seem to exist. Check your spelling or internet connection." error.
Everything looks perfect on both side, no typo or something else but somehow I'm not able to get my notes or sync notes. (Not really sure but) May this caused because I'm not using a domain for my owncloud but IP address to connect? (e.g. https://xxx.xxx.xxx.xxx/owncloud/)
In case you needed:
Owncloud Version: 6.0.3
Android Version: 4.1.2
Notes: 0.9
MyOwnNotes: 1.2 (downloaded from f-droid)
Thanks for the app, hope I will be able to use it soon.
Currently the notes are displayed in a very strange boxed list. That list has a very strange scroll behavior and a big white margin around it. Instead it would be better to use a native Holo list element which takes up all the width and height and probably performs better on scrolling.
When viewing a note, the header just says »Note«. This is not really useful – better would be to show the actual note name there (even though it would duplicate it from the first line of the text).
Two strings have been added to the upcoming release 1.3
@wakeup : Would you have time to add the translation?
See https://github.com/aykit/myownnotes-android/blob/development/res/values/strings.xml
Bonjour ! I'm very happy to try to get work MyOwnNotes (f-droid version 1.2) to see what it looks like. But I can't get a connection to my server. With '$ adb logcat' I get this error:
E/NoteListActivity( 9314): ioException in UploadNotesTask:java.net.ConnectException: failed to connect to /xx.xxx.xx.xxx (port 443): connect failed: ECONNREFUSED (Connection refused)
I noticed that this IP adress is right, but not the port number, the adress of my server is https://xx.xxx.xx.xxx:8092.
I'm using a self signed certificat, which I installed like you suggested (it said installation ok, even if I can't find the certificat in the Credential Storage of my Samsung S2 with CyanogenMod 11).
I've read the issue #36 but I'm not sure if it's the same problem.
Thank you for any hint!
As far as I can tell the app has no widget. I'd love to see a widget that displays only the titles, opens a note by tapping on a title and allows to create a new note by pressing a plus button on the upper right corner.
PROBLEM
After enabling encryption in ownCloud..
There was a connection error. Please check your username and password.
LOGCAT
https://www.jruehlig.com/owncloud/public.php?service=files&t=970930ba718f3b05b1077f60552f71d1
CONFIGURATION
ownCloud ~ 7.0 RC3
Notes ~ 0.9
Encryption (enabled) ~ 0.6.1
webroot ~ /owncloud
OS ~ CyanogenMod 11.0 M8
MyOwnNotes ~ 1.3.1
NOTES
With the encryption app disabled the android app works as expected.
Accessing https://domain.com/owncloud/index.php/apps/notes/api/v0.2/notes from a browser works as expected.
One of the main use cases of a notes app is the ability to take notes very quickly – and then also to view them very quickly.
Currently this always involves opening the app from the icon and hence slows the process down. Since Android allows widgets, that would be a great addition. There could be 2 kinds of widget:
it would be a good safety feature to save the note automatically after x timeperiods without the user changing the note-text. just to be on the safe side of not losing any important notes or note-changes.
"x" and "timeperiods" will have to be tested out to be just right...
It would be very helpful to be able to filter notes by search. The search could be displayed as an icon in the header bar for example.
(In the iOS version, it could be when you pull down – before pull to refresh is carried out. See the native mail app for example.)
16bb806 adds French translation. As no one in the team is native speaker it would be great if someone could check our translations:
https://github.com/aykit/myownnotes-android/blob/french_translation/res/values-fr/strings.xml
When you go into a note and go back without changing anything, the app still says »Saving changes« and adds a »to Update« tag to the note. When you don’t change anything, the app shouldn’t act like you did – otherwise it seems very strange and you start to mistrust the app.
Passphrase containing "#" breaks login.
If the URL has a path with a "/" at the end, the app can't read the notes (the called URL looks like this: https://servername/owncloud//index.php/apps/notes/api/v0.2/notes). If I open this URL in my browser, it shows the standard OC page.
Once I remove the tailing / form the URL (the called URL looks like this: https://servername/owncloud/index.php/apps/notes/api/v0.2/notes) everything is fine.
I really don't know what is wrong with my self signed cert but I never got any android device to accept it. Even after renewing everything after heartbleed this problem persists.
Anyways: I can use every ownCloud Android app (and paid for them because of that) because they allow to accept my self signed certificate via the app. DAVDroid and MyOwnNotes are the only ones I can't use because they force me to add the certificate to my storage first. If I try to connect to my server anyways the app it crashes.
May you please add a feature to let the user manually whitelist a specific self signed cert instead of forcing him to add it to the android storage? I'd love to buy this app but I can't use it until this is possible.
Thanks!
There is a wish for allowing http-Connections: owncloud/notes#45
I propose we implement an option to allow http. This option will be off by default. That is quite a reverse approach to other software and could be misleading. However, it represents aykit's support for more secure software far better.
This issue should be updated when an agreement has been found.
ownCloud is mainly developed in germany so I guess we should have german translations :)
When trying to install the app, I'll end in "insufficient storage available". There is enough free space on my phone.
I have to clear the cache from the "download manager" first before I can install any other app. Once done, I can install other apps without any errors.
Two strings have been added to the upcoming release 1.3
@flo1 : Would you have time to add the translation?
See https://github.com/aykit/myownnotes-android/blob/development/res/values/strings.xml
Someone needs to translate this app for people in 東京 and all around 日本国 . I'd love to, but I am a 外人
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.NullPointerException
at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:752)
at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
Android 4.3, App-Version 1.1
Would be great. Anyone out there who is fluent in spanish? :)
Thank you very match for the solution concerning the port (#44). It works out of the box ;-) and connexion is ok: This error doesn't appear anymore. But I have a problem with the self-signed-certificate, the phone can't read/find it.
$ adb logcat | grep -i NoteListActivity
I followed both howtos step by step
https://aykit.org/sites/myownnotes.html
https://support.google.com/nexus/answer/2844832?hl=en
When I go through, it prompts ' certificate is installed', but it doesn't appear in the list of 'Trusted Credentials' neither in the list of 'User'.
So the only question I found with no answer is : what should be the permissions of the certificate?
On my phone it is (ls -l)
-rwxrwx--- root sdcard_r xxxxxxx.crt
Perhaps you could give me some hint...
found a bug, that sometimes just deletes new notes after sync, even if they were not successfully uploaded due to connection errors.
Similar to the notes list, the text area of the note has a strange thick white margin around it. It doesn’t take up the whole width and height of the display which wastes space on mobile.
My Own Notes 1.2.2, Android 4.3
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/org.aykit.MyOwnNotes/databases/notes.db
at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1164)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1040)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1208)
at org.aykit.owncloud_notes.classes.MySimpleCursorLoader.loadInBackground(MySimpleCursorLoader.java:23)
at android.content.CursorLoader.loadInBackground(CursorLoader.java:43)
at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:303)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:68)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:56)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
Hello.
I'm having some strange behavior using myownnotes with my encryption enabled owncloud instance.
The only useful error from the log is:
{PHP} fopen(crypt:///username/files/Notes/test note.txt): failed to open stream: infinite recursion prevented at /var/www/owncloud/apps/files_encryption/lib/proxy.php#177
The URL in the app looks like https://servername/owncloud/
The logs of the web server shows that the path seems to be ignored (/owncloud/ is not part of the requested path).
[11/May/2014:21:31:40 +0200] "GET /index.php/apps/notes/api/v0.2/notes HTTP/1.1" 404 345 "-" "Dalvik/1.6.0 (Linux; U; Android 4.1.2; LG-P760 Build/JZO54K)"
I haven't had time to do it. Hopefully this patch will be released first week in june.
ATM it is not ideal on tablets, we should address that.
We need someone to proof-read this pull request: #40
Often when I open the app, the list is shown as blank. This also happens during manual refreshes and is very annoying – to the point where I continuously think the app deleted my data. This leads to doubting the app and a not-so-good experience.
Instead the list should always show the last known good state between refreshes, and never be blank – unless there’s actually no data there.
It seems as if Self Signed Certificates is breaking login.
Currently links are just normal text. The app could detect links and make them tappable.
Two strings have been added to the upcoming release 1.3
@tmelikoff : Would you have time to add the translation?
See https://github.com/aykit/myownnotes-android/blob/development/res/values/strings.xml
Commited by bentab via google play:
Hey, can you make it use the owncloud account in android accounts instead of storing its own creds?
In the ownCloud Notes web app and in the iOS app, the title and content of the note are separated automatically by just taking the first line as title. Only in the Android app this is different by having 2 separate text areas.
It would be a lot simpler, and more similar to the original approach by only using one text area.
Instead of having a dedicated refresh button, it would be better to implement the well-known pull-to-refresh pattern.
currently when I add a note, type text and then exit the app without either pressing the »Save« button or going back to the list (which initiates saving) the note is not saved!
This is especially grave since a notes app like that is expected to work well for quick notes. The app should always save everything that is typed. In the ownCloud Notes web app (and in Litewrite) we save every 300ms after the person stopped typing something.
Another improvement would be (if possible) to save every time the app is exited, or switched.
Hello,
MyOwnNotes looks like the perfect app for reading the notes on my OwnCloud. However, try as I might, after configuration I get the message "The URL you requested data from is not correctly formed".
My OC is installed at https://domain.eu/cloud/ and that's what I entered in the URL field. The server has a proper SSL (i.e. not self-signed) and it's been working fine with other Android apps, such as the OC client, DAVDroid, etc.
Could you please help me figure out what's wrong in this case?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.