Giter Site home page Giter Site logo

myownnotes's People

Contributors

dyze avatar fehlersturm avatar flo1 avatar gityeti avatar kh0r avatar maltefiala avatar ramschmaerchen avatar rigrig avatar roboe avatar steppenhahn avatar tmelikoff avatar tobiaskaminsky avatar tretkowski avatar wakeup 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

myownnotes's Issues

Special Characters in URL not interpreted correctly

English
  • Errorcode during synchronisation:

    "The URL you request data from is not correctly formed"

  • URL is a subdomain containing special characters: https://cloud.x-xxxx.org
German
  • leider bekomme ich bei der Synchronisation eine Fehlermeldung:

    "Die Url, von der Daten abgefragt werden, ist nicht formgerecht"

  • URL ist eine Subdomain mit Sonderzeichen https://cloud.x-xxxx.org egal ob ich einen Slash am Ende setzte oder nicht. Die Fehlermeldung bleibt
Info:
  • Android 4.3
  • Owncloud 6.0.3 (läuft mit php 5.4)
  • Notes 0.9

Fails with "There was a connection error. Please check your username / password" on encrypted ownCloud.

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)"

Don’t show keyboard immediately for existing notes

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.

Notes disappear

Samsung Galaxy S4, Android version unknown, ownCloud server version unknown

Entries disappear after synchronization.

Multiple notes created by sync

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!

Getting "URL doesn't exist" error

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.

Use proper list view

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.

»Note« header

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).

No connection with port different then 443

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!

Widget [feature request]

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.

Issue after enabling ownCloud encryption app

PROBLEM
After enabling encryption in ownCloud..

  • from the android app I can create notes and edit notes created from the android app
  • When I try to sync changed from the server I get the toast message
    There was a connection error. Please check your username and password.
  • Unexpected behavior happens includes creating multiple of the same note on the server, not pulling down notes/changes from the server, or pulling down the encrypted content of notes.

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.

Quick note widget

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:

  • a widget displaying the list of notes, much like in the content area of the app. In the header on the right could be a »+« to be able to quickly add a note.
  • a widget displaying one note and the text directly in it. Similar in flow to Jot but synced. That way you can view your most important note (a todo for the day for example) and edit it incredibly quickly.

save note automatically after x timeperiods without keypresses

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...

Search

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.)

Saves changes even when there are no changes

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.

java.lang.NullPointerException, FATAL EXCEPTION: AsyncTask

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!

Add option for http

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.

Translate into german

ownCloud is mainly developed in germany so I guess we should have german translations :)

insufficient storage available

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.

Japanese Translation

Someone needs to translate this app for people in 東京 and all around 日本国 . I'd love to, but I am a 外人

java.lang.NullPointerException

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

ssl handshake

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

  • waiting for device -
    I/ActivityManager( 2222): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.aykit.MyOwnNotes cmp=org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity} from pid 11431
    I/ActivityManager( 2222): Start proc org.aykit.MyOwnNotes for activity org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity: pid=11910 uid=10007 gids={50007, 3003}
    I/ActivityManager( 2222): Displayed org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity: +1s887ms
    I/Timeline( 2222): Timeline: Activity_windows_visible id: ActivityRecord{41ba24b8 u0 org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity t185} time:178682236
    D/NoteListActivity(11910): starting note synchonization
    D/NoteListActivity(11910): writing new notes to server
    D/NoteListActivity(11910): writing modified notes to server
    D/NoteListActivity(11910): deleting notes from server
    D/NoteListActivity(11910): getting notes from server
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    I/Timeline( 2222): Timeline: Activity_windows_visible id: ActivityRecord{41ba24b8 u0 org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity t185} time:178742781
    I/Timeline( 2222): Timeline: Activity_windows_visible id: ActivityRecord{41ba24b8 u0 org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity t185} time:178766524
    D/NoteListActivity(11910): starting note synchonization
    D/NoteListActivity(11910): writing new notes to server
    D/NoteListActivity(11910): writing modified notes to server
    D/NoteListActivity(11910): deleting notes from server
    D/NoteListActivity(11910): getting notes from server
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    I/Timeline( 2222): Timeline: Activity_windows_visible id: ActivityRecord{41ba24b8 u0 org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity t185} time:180167355
    D/NoteListActivity(11910): starting note synchonization
    D/NoteListActivity(11910): writing new notes to server
    D/NoteListActivity(11910): writing modified notes to server
    D/NoteListActivity(11910): deleting notes from server
    D/NoteListActivity(11910): getting notes from server
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
    I/ActivityManager( 2222): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity} from pid 2563
    I/ActivityManager( 2222): Displayed org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity: +308ms
    I/Timeline( 2222): Timeline: Activity_windows_visible id: ActivityRecord{4283bf38 u0 org.aykit.MyOwnNotes/org.aykit.owncloud_notes.NoteListActivity t185} time:186981698
    D/NoteListActivity(11910): menu: start sync
    D/NoteListActivity(11910): starting note synchonization
    D/NoteListActivity(11910): basePath with port: xx.xxx.xx.xxx:8092/index.php/apps/notes/api/v0.2/notes
    D/NoteListActivity(11910): urlToConnect:https://xx.xxx.xx.xxx:8092/index.php/apps/notes/api/v0.2/notes
    D/NoteListActivity(11910): writing new notes to server
    D/NoteListActivity(11910): cursor rows new notes:2
    D/NoteListActivity(11910): writing modified notes to server
    D/NoteListActivity(11910): cursor rows modified notes:0
    D/NoteListActivity(11910): deleting notes from server
    D/NoteListActivity(11910): cursor rows to delete:0
    D/NoteListActivity(11910): getting notes from server
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:854)
    W/System.err(11910): at org.aykit.owncloud_notes.NoteListActivity$UploadNotesTask.doInBackground(NoteListActivity.java:823)
    E/NoteListActivity(11910): ioException in UploadNotesTask:javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

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...

Margin around the text area

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.

java.lang.IllegalStateException SQL Lite

google crash report

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)

Issues using myownnotes with encryption enabled owncloud

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

path is ignored

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)"

Provide f-droid patch

I haven't had time to do it. Hopefully this patch will be released first week in june.

use Master Detail Flow

so far the app uses 3 activities.
app should be adapted to use the master/detail flow to improve handling and better support tablets.

this should also cover issues #23, #24, #20,

List often blank

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.

Detect links

Currently links are just normal text. The app could detect links and make them tappable.

Use Android Accounts

Commited by bentab via google play:

Hey, can you make it use the owncloud account in android accounts instead of storing its own creds?

Separation of title and content

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.

Pull to refresh

Instead of having a dedicated refresh button, it would be better to implement the well-known pull-to-refresh pattern.

Save note automatically

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.

The URL you requested data from is not correctly formed

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?

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.