Giter VIP home page Giter VIP logo

simple-contacts's Introduction

Simple Contacts Pro SE

Logo

This extended version (F-Droid, GitHub) of Simple Contacts Pro (F-Droid, GitHub) supports separate address fields for post office box, apartment/suite, street, city, zip code, state and country name.

The extension makes the app compliant with other applications (e. g. Thunderbird with CardBook, iOS Contacts) and cloud services (e. g. Nextcloud) that support the CardDAV and vCard standards (RFC 6352, RFC 6350).

To activate the new feature, go to settings and select "Structured Addresses (edit mode)" in Manage shown contact fields dialog. When active, the combined multiline address field in contact editor will be replaced by a set of individual fields for address components.

Since SimpleMobileTools has been sold, it won't be continued as open source project. However a fork named FossifyOrg has been announced.

Get it on F-Droid

Or get the latest APK from the Releases Section.

Screenshots

simple-contacts's People

Contributors

aga-c avatar artemmolotov avatar atilluf avatar comradekingu avatar en2sv avatar esensar avatar fricyo avatar hanjoongcho avatar ismailnurudeen avatar jamesl813 avatar kniddl avatar liquidvacuum-by avatar ltguillaume avatar merkost avatar milotype avatar mm4c avatar naveensingh avatar nuclearphoenixx avatar pavelpoley avatar scratchbuild avatar slavekb avatar smarquespt avatar solokot avatar spkprs avatar stephanritscher avatar tibbi avatar trubitsyn avatar txemaq avatar vfbfan avatar weblate 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

Watchers

 avatar  avatar  avatar  avatar

simple-contacts's Issues

Configuring default primary address book for editing my contacts

First, a big thanks for providing the app. I was searching for an open source contact app handles the address entries correctly.
And your fork does that well.

But now the "but": I was confused when I tried to change an address the first time.

Even though the address was shown in the contact app, when I selected the edit button, the address data was empty.
When I left the edit mode, the address was shown again.

It took me a while to find the cause of this "apparent bug". The contact app contains the information of 3 accounts: my primary contacts provided by a carddav server using DAVx5, Signal, and Telegram. When I go into edit mode, the "Signal" account is selected, which contains no address data.

Worst of all, the used account is at the bottom of the screen, well hidden.

Is there a way to configure the contact app so editing a contact uses my primary address book from DAVx5 instead of using the Signal account?

Troubleshooting Simple Contacts for Suspected Issue

Simple Contacts v6.22.7 Pro.

Devices

  • Huawei Mate 9 running Android v9+
  • macOS Sonoma v14.5
  • VPS Linux AlmaLinux v8.10.0 STANDARD vzcontainer

Apps

  • cPanel's v120.0.10
  • Roundcube Webmail v1.6.6
    • NOTE: Preferences -> CardDAV -> “Use CATEGORIES instead of KIND=group (RFC6350) when creating new contact groups” is switched off
  • Apple Contacts v16.0
    • NOTE: using vCard Format: “3.0” and Mac is setup with Language & Region as “Australia"
  • DAVx5 v4.4.0.1-ose
    • NOTE: using CardDAV Contact group method -> "Groups are separate vCards"

Issues

I’ve noticed 4 issues I suspect Simple Contacts, or perhaps DAVx5, is creating in Roundcube & Apple Contacts':

  1. Something between the four apps is merging the address fields' from their individual fields into the “Street” field and renders everything horizontally but looks the same in Simple Contacts. I can repair this in either Roundcube or Apple Contacts' and the corrected format will remain.
    A. Apple
    Incorrect:
    Apple Contact Address Incorrectly Formatted 01
    Correct:
    Apple Contact Address Correctly Formatted 01
    B. Roundcube
    Incorrect:
    Roundcube Contact Address Incorrectly Formatted 01
    Correct:
    Roundcube Contact Address Correctly Formatted 01

  2. Given the lack of ability to select URL type (e.g. Home, Work, etc.) in Simple Contacts, when a contact is sent via DAVx5 to the VPS it changes to “x-homepage” in Roundcube or Apple Contacts' regardless of its previous type.
    A. Apple
    Apple Contact URL Incorrectly Labelled 01
    B. Roundcube.
    Roundcube Contact URL Incorrectly Labelled 01
    C. Simple
    Simple Contact URL No Label 01

  3. The order of the fields are not maintained in Simple Calendar from the order they are entered, regardless of the 3 interfaces in which they are entered. As well, in all instanced the 2nd address should have the Type of "Other" so something is causing it to change to "Address" in Apple Contacts, which you can see in the Apple images above.
    A. Correct
    [City], [State] [Post Code]
    [Country]

    is converted to

    B. Incorrect

    [Post Code] [City]
    [Country] [(State)]

    C. Simple
    Simple Calendar Address Incorrectly Formatted 01

  4. After viewing a contact in “Edit” mode and leaving the mode with the app’s Back arrow or using Android Back button, the contact is updated/re-sent to the VPS and Item # 1, # 2 & # 3 result. I would think going back without clicking the tick icon ✓ would work like a “Cancel” and thus no changes. That has been my experience with other apps with similar interactions.

If I do not sync my Android device, I’m not experiencing these issues. How can I troubleshoot this further to determine the cause? Please note, I am not a developer so I have limited skills.

Birthday date in calendar

I have never used any other contacts app beside the original simple contacts app but it would be great to have this feature. Personally, since i use other launcher, and that launcher have a dedicated widget for calendars but it only shows local & caldav. It would be great to be able to have the birthdays on a local calendar. Thx

Third party contacts not present after update

Hi,

I use your version since I migrate to GrapheneOS. The last version I use before was 6.22.4.2, installed directly from Github via Obtainium. I update yesterday to 6.22.7.2 and lost access to all contacts in my work account, synchronised by Nine or Outlook. The accounts are not longer presented in the filter. I rolled back to 6.22.4.2.

CU

Multiple contact list mishandling

I just found an iasue were when using multiple contact lists to manage contacts, should you delete a contact that happens to be in two or more lists, the app will delete the contact from all lists and not just the one currently being viewed.

Yes, I know more than one list can be viewed at a time, one of my favorite features. This issue occurs even with one contact list selected.

Feature request: Format a postal address according to its country

On the contact info screen, format postal addresses depending on the country given as part of this address. Basically each one should be displayed the same way you would write it on an envelope to be sent to this address. This wouldn’t change the data stored in the separate fields of the structured ADR value. It would however be nice if the formatted address were included in a VCF export as LABEL parameter.

According to the Universal Postal Union the country name should be written in either English or French, which gives a manageable list of strings to check against. Some of the formatting is already taken care of by the data structure, e.g. placement of street name and house number in relation to each other. What remains is the order of the six data fields (a post office box should be incompatible with a street address) and the insertion of line breaks.

This is probably the kind of thing that will omit a few edge cases at first but with a default format to fall back on it would never be worse than the current behavior. And covering most cases shouldn’t be too much work once a general process for looking up and applying a format exists.

This is actually something I thought was already implemented because saving an address previously created with another app changes how it is formatted on the contact info screen, including capitalizing the country name and displaying the postal code in front of the locality. Since almost all of my contacts with postal addresses are German ones, this is the correct formatting. But as it turns out, the same formatting is used for all addresses, independent of country. (Note: Please let me know if this behavior somehow depends on my phone setup. I think it’s unlikely as I use US localization instead of German.)

multiple contact merging

I don't know why, but I end have the same contact multiple times on device storage, and no way to merge them,
each time I edit a contact, it seems to create another entry of the same contact....

I use device storage

Import/ Export & Logs for Errors?

I've got a v.3.0 vCard that was exported from Google. I note that I'm able to import that card to Nextcloud with no errors reported.

Importing to SCP-SE, I see that there are no "groups" recognized. I then export from SCP-SE. During the export, I see three messages flash by:

Exporting  [pause]
java.lang.illegalArgument.exception: pr...  [cut off] [pause]
Exporting successful

I'm looking for logs to find out more, but I don't see any. Is there some way for me to generate them?

Then, I look at the cards in a text editor. I see that all the "CATEGORIES:..." fields in the v3.0 card, are missing from the v4.0 card. I note that field is apparently "Optional" in both versions. I'm wondering what field may be used if I were to create "groups" in the "Groups" tab (bottom right).

Data loss due to upstream bug

Hello!

I'm glad to see a fork of SimpleContacts that tries to workaround some upstream "limitations".

When I saw the version on F-Droid I installed it right away. The idea to share contacts data only among SimplMobile is great, but it also comes with certain annoying "bugs".

One of them was the crash when showing contacts with just a company name, that was just fixed. Thank you!

Another one is about deleting all contacts with the same name without any warning and no reasonable explanation... This was reported a long time ago but the issue was closed as "won't fix":

SimpleMobileTools#872

If you are willing to fix this too and need help, I can try to help. I don't know much Kotlin but maybe enough to point where it happens...

Regards

Merge with Fossify?

Hi! Thank you for taking the initiative and adding the separate address fields. This was a constant mess over the years and different address books, and has now finally been resolved.

I've just noticed that the Simple Mobile Tools now have an active fork and am wondering if you are aware of that. It would be great if your changes were merged there, to have all the improvements in one app.

Their repo is here:
https://github.com/FossifyOrg/Contacts

Cheers

Choose what to share

Feature description

On my Lenovo Tab the contact App let you choose which Details you like to share
Screenshot_2024-02-18-00-44-04-025

Why do you want this feature?

Only share the data which i want to share

Additional information

Copy of FossifyOrg/Contacts#82

Pull request on original app

Hello

I appreciate your efforts and extended features of the original app. Have you considered contributing back to the origin via pull request? I'm afraid that your extended app will soon be outdated as it takes a lot of time to maintain an app and repository properly.

Additionally, your contribution would solve some issues and requested features on the original app:

What do you think?

Best regards

Forced icon colour

I can change the colour of the app-icon in the upstream version in the app-settings.

However it seems that the icon colour in this version has been "hardcoded".
The option to change the colour is still there.. only it does nothing.

It would be nice if the setting acually worked..

Preparation of F-Droid package

@Glaser-Martin It seems our discussion in SimpleMobileTools#156 was not welcome. We can continue in this issue (now that I found out how to enable issues for a fork).
As a short

  • You suggested to create an F-Droid package for this fork and I agreed.
  • We discussed that master branch will be the package to be published while a separate branch structured-address will only contain the new feature in case a later upstream integration would be considered.
  • This results in a merge chain SimpleMobileTools/Simple-Contacts:master -> stephanritscher/Simple-Contacts:structured-address -> stephanritscher/Simple-Contacts:structured-address.
  • You assembled places to change which I adapted here: dc4c4ae
  • F-Droid seems to use tags for releases and SimpleMobileTools uses 3-digit releases (e.g. 6.19.1), so you suggested to add a fourth digit to keep the base release as reference and have flexibility of multiple releases per base release. I created 6.19.1.1 as first own tag.

lot of fields are missing.... compared to /e/os contact app... but yours has groups....

it should be great to support "unknown fields" so that if a contact app have some fields that aren't currently supported, the modification isn't lost...

/e/os contact app has lot of fields that simple contact don't have (website for example) but miss the group information simple contact has, which is really useful when you have tooo many contacts due to lot of activities...

Feature Question: Full Name handling

Hi valued rebels,

as you encouragingly added the detailed address to Simple Contacts, I would ask if you maybe could add another RFC compliant feature Tibor doesn't want to add: Proper Handling of Full Name attribute.

I'm using SC with my selfhosted Nextcloud, synched with DAVx5, and whatever I set for Full Name in Nextcloud is overwritten my next change made and synched via NC.

I personally set my contact's Full Name to "Last Name, Titles etc. First Name", as I'm using these contacts via Bluetooth for my car, via my Fritzbox router to DECT-CATiq compliant phones etc. and of course a last name based search is the easiest.

Regards,
Michael

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.