GithubHelp home page GithubHelp logo

crm-bridge's Introduction

CRM Bridge

Bridge between multiple CRM tools

๐Ÿš€ Project generated with Jeckel-Lab/cookiecutter-php

๐Ÿšง Project is in Work In Progress status ๐Ÿšง

Requirements

Installation

git clone [email protected]:jeckel/CRM-Bridge.git
cd CRM-Bridge
castor install

Running tests

composer test

License

This project is published under the MIT License.

crm-bridge's People

Contributors

jeckel avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

crm-bridge's Issues

Multiple email on contact

Enable contact to have multiple email address with a default one.

Option 1:

  • keep the existing email on the contact table (will be the default one)
  • add a table for secondary emails

Option 2:

  • move all emails on a new tables, with a column to flag the default one

prefered option : 2


To Do:

  • update search for existing contact by email to search also on secondary emails
  • from incoming email, along side to "create contact", add another action "attach to existing contact"
  • from contact page, allow to merge contact with an existing one (maybe in another issue ?)

Worker Memory limit

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vendor/php-imap/php-imap/src/PhpImap/Mailbox.php on line 1492

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /var/www/vendor/symfony/var-dumper/Caster/ExceptionCaster.php on line 338

Services auto-config error on new installation

Here is the error we get trying to create a production ready docker image

Expected to find class "App\functions" in file "/application/source/src/functions.php" while importing services from resource "../src/", but it was not found! Check the namespace prefix used with the resource in /application/source/config/services.yaml (which is being imported from "/application/source/src/Kernel.php").

IMAP delta synchronisation failure

First synchronisation of an IMAP folder is working fine.

But next sync should only sync new messages (with UID greater that last retrieved one), but this is not working. New emails are not retrieve and there is an error in the log "could not search"...

Ideas

activity/dashboard

  • sync with getpocket to retrieve article to read

contacts

  • add rss feeds to contact (mastodon, blig)

  • add twitter feed to contact (and mps?)

  • sync with linkedin (find 3rd party app?)

IMAP Mail caching error

23:05:20 WARNING [messenger] Error thrown while handling message App\Component\DirectCommunicationHub\Application\MessageHandler\SyncImapFolderMessage. Sending for retry #1 using 1000 ms delay. Error: "Handling "App\Component\DirectCommunicationHub\Application\MessageHandler\SyncImapFolderMessage" failed: Serialization of 'IMAP\Connection' is not allowed" ["class" => "App\Component\DirectCommunicationHub\Application\MessageHandler\SyncImapFolderMessage","retryCount" => 1,"delay" => 1000,"error" => "Handling "App\Component\DirectCommunicationHub\Application\MessageHandler\SyncImapFolderMessage" failed: Serialization of 'IMAP\Connection' is not allowed","exception" => Symfony\Component\Messenger\Exception\HandlerFailedException { โ€ฆ}]

Cache IMAP mail content

IMAP should be the master source

Mail content should just be cached.

-> Store in database data that never change
-> Store in cache data that can change (with a TTL)

Database:

  • mail reference required to retrieve updated content from IMAP
  • date
  • from
  • to
  • subject
  • raw content
  • text
  • html
  • calcultated meta data

Cache:

  • folder
  • read/write status
  • other flag / labels

Remove Account level

Remove Account, multi-tenant should be handled in another way

  • table prefix
  • multiple database
  • postgres namespace/schema

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.