GithubHelp home page GithubHelp logo

niendo1 / imapnotes3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from n0ury/imapnote2

41.0 41.0 6.0 26.04 MB

Sync your notes between Android, iOs devices and different accounts like Gmail, iCloud, Posteo.de and others

License: GNU General Public License v3.0

Java 100.00%
android editor f-droid html imap notes notizen opensource postfach sync

imapnotes3's People

Contributors

capi avatar john-p-williams avatar n0ury avatar niendo1 avatar poussinou avatar sr093906 avatar weblate avatar woheller69 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

Watchers

 avatar  avatar

imapnotes3's Issues

Sync on intent

I'd like to trigger the ImapNotes sync from an external script, without adding the app to the Recents list and without requiring interaction to close the app manually. For example, the script launches an intent, which the app can catch.

For context, my script syncs the phone apps with the respective self-hosted servers on my home Debian PC (for ImapNotes it's Dovecot) and is triggered by a daily ping or a manual shortcut. The alternative of setting auto-sync in each app would be battery-consuming (waking up the phone across the day) for no gain in my case (my PC is shut down for most of the day and I don't mind losing one day of material if I lose the phone).

add new or edit existing note from the mail server

Is there a way to add a new note or edit an existing one from the notes folder of the server?

I tried to create a new message on the server, save it in drafts folder and then move it to notes folder, but in the imapnotes app after sync all I see is a blank note.

Feature request - basic search WITHIN a note

I'm surprised this capability doesn't exist yet in this app. One of my notes contains a long list of website passwords, and I have no way to search for one, which means I have to manually scroll to try and find the one I'm looking for.

Sync issues

Sometimes I have sync problems. I am using the app on 2 devices with 1 account.
I just changed some notes on one device and synced with the server.
Then I synced it with the other device -> fine
Identical notes on both devices.

Then I killed the app on the second device and opened it again.
The second phone is now back to the status before syncing my latest changes.
Syncing does not work. If I click on the modified message it tells "Abgleich nötig"
but it does not sync.

To fix it I have to go back to the first device, save the note again and sync.

Then the second device syncs again.

So when the app gets killed it seems some stuff is not yet saved

Edit: In this case I made a change in the first line (title?) of the message

Support plain-text notes

I find text/plain notes quick to edit, no need to click around just to add a bit of formatting. However the app apparently tries to interpret the body. For example, I often paste from the Internet within angle brackets (<<text>>) which are common quote characters in Italian; the app then displays <>.

Add encryption

What about adding AES encryption to the notes before uploading to the server?
-Define a key in settings
-encrypt/decrypt during sync

Crash when refreshing the list

When I click the first menu entry from the hamburger menu, to update the list, the app crashes. I set Drafts as notes directory and have 4 messages written in other clients.

FATAL EXCEPTION: SyncAdapterThread-1
Process: de.niendo.ImapNotes3, PID: 27053
java.lang.NullPointerException: Attempt to read from null array
	at de.niendo.ImapNotes3.Sync.SyncUtils.SaveNoteAndUpdateDatabase(SyncUtils.java:542)
	at de.niendo.ImapNotes3.Sync.SyncUtils.GetNotes(SyncUtils.java:231)
	at de.niendo.ImapNotes3.Sync.SyncAdapter.onPerformSync(SyncAdapter.java:130)
	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)

Version 1.0-16 from F-droid, on Android 7.1. This is a self-hosted Dovecot instance.

Self-signed certificate

Proper certificate handling is: save the cert on the first login, then check the cert on every connection (error out if the server cert does not match).

I expect SSL/TLS to do this. But it does not support my case. My server is in a private network, so it cannot have a public domain name. No domain means that my certificate cannot be signed by a well-known CA (it is self-signed), which means that SSL/TLS (correctly) fails with CertPathValidatorException.

SSL/TLS could probably work if the cert were installed on the phone manually, but an unskilled user can't do it, I'd have to put hands on other people's property and take time to look up the Android-version-specific procedure.

So I am using the other option SSL/TLS (accept all certificates) which works but technically feels not right.

(edited for clarity)

Focus the editor with tap below the text

I want to add a line to a note. I open the note and I tap on the wide area below the text. This should focus the text and show the keyboard. This is the usual behavior in text editors for desktop and mobile, because tappng on a wide area is very fast (Fitt's law).

Today I must tap at the right of the text on the last line. This is a small area, so it is not as convenient (the finger must be precise).

Italian localisation

Hi,

as part of my lesson, students of the Specialised Translation Masters at Università di Bologna have created the Italian localisation of ImapNotes3.

If you are willing to integrate it, I could create a pull request with it.

thanks

Question regarding sync

Does the app sync notes according to the interval in background also or only when the app is in foreground (which would be enough in my view)?

Prevent screenshots

I trust this free (as in freedom) and open source app. So I store private information in this app. My school / bank / chat peers / gym / ... require me to install closed source apps, which I do not trust.

I cannot deny the closed source apps the permission to take screenshots, when I am in the system settings (it does not appear in the permissions list), nor at install time (either all permissions, or do not install). The permission could be silently added in an app update, anyway. So I do not even read the permissions list, when I install an app.

ImapNotes3 can block other apps from taking screenshots of its content, by using FLAG_SECURE, as in this example from the Matrix chat client Element Android.

This also prevents the user from taking screenshots of the app. But I don't know why the user would want to screenshot, except to report an issue.

Default color

It is somehow weird that memos are yellow by default. I would like to set the default color to white, as is the case in the phone's stock memo app and in the usual PC text editors.

outlook?

Is there an instruction on syncing Outlook online and in which case would it be syncing to Onenote area?

'Invalid credentials' error

Hello,
I'm a new user of this app, I'm trying to log in using a gmail account but I gat an "IMAP operation failed" message that says "Invalid credentials".
I've re-checked my gmail credentials, checked that IMAP was activated in my gmail settings, but no luck so far.
Hoping someone can help...
Thanks

Not working with web.de

My account is accepted.
I create a message and sync it, no error messages.
Add same account to another phone and sync.
No notes found.

Shouldn't there be an error message if upload to the server fails?

I also tried to set the folder name to Drafts which should be available.

Custom port is reset if switching TLS variant

This is very minor and I do not really care, but I have set a custom port and SSL/TLS (accept all certificates). When I clicked on the combo box and selected SSL/TLS just to try, the port was reset the port to 993.

Notes getting deleted

Again one of my notes got deleted - while sleeping.

Last week (09.08.23) I made a backup of the internal files folder. Note 17 which I created a long time ago and did not modify had a size of 537 bytes.
Now file 17 is still there but with 0 bytes.

feature request: enable preselection of read-only mode

Not sure where I am going wrong as the UI is pretty straightforward.
Nevertheless I lose notes every once in a while because obviously for weird + unknown reasons I erase the content (and save) without intending to do so ... ending up with empty notes.

Opening notes in read-only mode by default and allow editing only after klicking an edit-button within that read-only-presentation of the note would be a safety-feature that I would appreciate a lot.

Default behaviour "read-only" vs. "edit" (as is now) mode could be a preselection in the app-settings.

Save in DeltaChat folder

Hello, I tried to save notes into the DeltaChat folder to have it also available into the DC app. I inserted a direct link to the IMAP folder but nothing happened.

So, I'll try to reproduce what i did:

  1. In edit account of ImapNotes3 I've manually set the IMAP folder. In my case the folder is as follows:
    imap://username%[email protected]/DeltaChat
  2. saved configuration, no error messages
  3. Created a note, saved it and synched
  4. No note visible into Thunderbird, don't know where ImapNotes3 really saved the note
    5.Another try. In edit account of ImapNotes3 I've manually set the IMAP folder link as follows:
    imap://username%[email protected]/DeltaChat/Notes
    with no success.

Whould be nice to find a way to intergrate ImapNotes3 and DeltaChat, to have something similar to "Note to myself" into the app.

Ciao

Mario

Ask to save / discard changes

When I'm in a hurry, sometimes I forget to press Save and I just press Back, because this is a habit from Markor and other non-notetaking apps. So the changes are lost.

E-mail format

This app is promising. An interoperable content type would allow to

  • read notes on the PC
  • read notes on other phone apps (I dislike vendor lock-in)
  • use the phone as input device for the pc: take info on the road or do the inventory, sync, parse on the pc in python

If I understand correctly, the app can read text/plain, text/html, text/x-stickynote, but it always writes text/x-stickynote (in StickyNote.GetMessageFromNote()).

This format

  • apparently is non-standard / not found on the Internet
  • cannot work in other apps: claws-mail shows the HTML source, k-9 shows empty body and an attachment that won't open
  • requires me to reinvent the custom parser (even when only the body is of interest) and maintain it when something changes in this app

What about changing the writer to output

  • a standard plain or HTML e-mail (maybe preserving the content type which was read, so messages intended to be machine-readable are not forcibly converted to html)
  • a JSON attachment for metadata (common format with builtin support in the mainstream programming languages and simpler API than XML), for example with javax.json

Search button

Pressing the magnifier icon does not start the search (show the keyboard so I can type). Instead it shows the search bar, where I need to tap a second time in order to show the keyboard.

`New memo` button at the bottom right

Here is an idea from the phone's stock memo app: a floating button to create a memo, positioned at the bottom right of the memo list.

The bottom-right position is intentional: when holding the phone in the hand, the thumb's natural position is at the bottom of the screen, so the finger does not have to be elongated to the top of the screen.

More space for `IMAP operation failed` message

When I change my account settings and get IMAP operation failed at the bottom, the row for the message is too small. I see the Java exception class, but not the explanatory message.

Add attachments

what do you think about an option to attach documents to a note?

[Feature Request] Insert date and time

I've been used "Note Everything" in the past and I like the Feature "Insert date" and "Insert time".
I'd love to have the same feature in ImapNotes3.

To visualize my feature request and I've appended a ScreenShot of "Note Everything".

Screenshot_20230308-101525

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.