Skip to content

Commit

Permalink
Merge branch 'main' into connector/affinityCRM
Browse files Browse the repository at this point in the history
  • Loading branch information
mit-27 authored Sep 14, 2024
2 parents 9e8abdd + 8465881 commit 5a60903
Show file tree
Hide file tree
Showing 312 changed files with 22,488 additions and 9,064 deletions.
57 changes: 54 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,24 @@ LINEAR_TICKETING_CLOUD_CLIENT_SECRET=
# Box
BOX_FILESTORAGE_CLOUD_CLIENT_ID=
BOX_FILESTORAGE_CLOUD_CLIENT_SECRET=
# Onedrive
ONEDRIVE_FILESTORAGE_CLOUD_CLIENT_ID=
ONEDRIVE_FILESTORAGE_CLOUD_CLIENT_SECRET=
# dropbox
DROPBOX_FILESTORAGE_CLOUD_CLIENT_ID=
DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET=

# Google Drive
GOOGLEDRIVE_FILESTORAGE_CLOUD_CLIENT_ID=
GOOGLEDRIVE_FILESTORAGE_CLOUD_CLIENT_SECRET=

# Google Drive
SHAREPOINT_FILESTORAGE_CLOUD_CLIENT_ID=
SHAREPOINT_FILESTORAGE_CLOUD_CLIENT_SECRET=

# Google Drive
DROPBOX_FILESTORAGE_CLOUD_CLIENT_ID=
DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET=

# ================================================
# HRIS
Expand Down Expand Up @@ -150,8 +167,42 @@ SQUARESPACE_ECOMMERCE_CLOUD_CLIENT_SECRET=
# Webapp settings
# Must be set in the perspective of the end user browser

NEXT_PUBLIC_BACKEND_DOMAIN=http://localhost:3000 # https://api.panora.dev/
NEXT_PUBLIC_BACKEND_DOMAIN=http://localhost:3000
NEXT_PUBLIC_MAGIC_LINK_DOMAIN=http://localhost:81
NEXT_PUBLIC_WEBAPP_DOMAIN="http://localhost"
NEXT_PUBLIC_DISTRIBUTION="selfhost" # selfhost or managed
NEXT_PUBLIC_WEBAPP_DOMAIN=http://localhost
NEXT_PUBLIC_DISTRIBUTION=selfhost # selfhost or managed



# VEC DBs
## pinecone
PINECONE_API_KEY=
PINECONE_INDEX_NAME=

## qdrant
QDRANT_BASE_URL=
QDRANT_API_KEY=
## chroma
CHROMADB_URL=
## weaviate
WEAVIATE_URL=
WEAVIATE_API_KEY=
# turbopuffer
TURBOPUFFER_API_KEY=
# milvus
MILVUS_ADDRESS=

# EMBEDDINGS
JINA_API_KEY=
COHERE_API_KEY=
OPENAI_API_KEY=

# ================================================
# Minio (s3 file storage for documents)
# ================================================
MINIO_ROOT_USER=myaccesskey13
MINIO_ROOT_PASSWORD=mysecretkey12

UNSTRUCTURED_API_KEY=
UNSTRUCTURED_API_URL=

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Panora supports integration with the following objects across multiple platforms
| Box | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
| Dropbox | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | |
| OneDrive | ✔️ | ✔️ | ✔️| ✔️ | ✔️ | | |
| Sharepoint | ✔️ | ✔️ | ✔️| ✔️ | ✔️ | | |

### Ecommerce Unified API

Expand All @@ -117,8 +118,8 @@ Your favourite software is missing? [Ask the community to build a connector!](ht

## 🧠 Retrieval Engine for RAG

- [ ] Access and manage data from any source, including documents, chunk & vectors
- [ ] Semantic, keyword and hybrid search against a vector database
- [x] Access and manage data from any source, including documents, chunk & vectors
- [x] Semantic, keyword and hybrid search against a vector database

## 🪄 Integrations Coming Soon

Expand All @@ -129,7 +130,7 @@ Your favourite software is missing? [Ask the community to build a connector!](ht
- [x] Redtail CRM
- [x] Wealthbox
- [x] Leadsquared
- [ ] Salesforce
- [x] Salesforce
- [ ] Affinity CRM
- [ ] Odoo
- [ ] Intelliflow
Expand All @@ -145,7 +146,6 @@ Your favourite software is missing? [Ask the community to build a connector!](ht
- [ ] Service Now
- [ ] Wrike
- [ ] Dixa
- [ ] Service Now
- [ ] Asana
- [ ] Aha
- [ ] Clickup
Expand All @@ -158,10 +158,10 @@ Your favourite software is missing? [Ask the community to build a connector!](ht

#### File Storage

- [ ] Google Drive
- [ ] Dropbox
- [ ] Sharepoint
- [ ] One Drive
- [x] Google Drive
- [x] Dropbox
- [x] Sharepoint
- [x] One Drive

#### Productivity

Expand Down
8 changes: 3 additions & 5 deletions apps/magic-link/src/hooks/useOAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ type UseOAuthProps = {
value: string | null;
},
onSuccess: () => void;
additionalParams?: {
end_user_domain: string;
}
additionalParams?: {[key: string]: any}
};

const useOAuth = ({ providerName, vertical, returnUrl, projectId, linkedUserId,additionalParams, redirectIngressUri, onSuccess }: UseOAuthProps) => {
const useOAuth = ({ providerName, vertical, returnUrl, projectId, linkedUserId, additionalParams, redirectIngressUri, onSuccess }: UseOAuthProps) => {
const [isReady, setIsReady] = useState(false);
const intervalRef = useRef<number | ReturnType<typeof setInterval> | null>(null);
const authWindowRef = useRef<Window | null>(null);
Expand Down Expand Up @@ -51,7 +49,7 @@ const useOAuth = ({ providerName, vertical, returnUrl, projectId, linkedUserId,a
const openModal = async (onWindowClose: () => void) => {
const apiUrl = config.API_URL!;
const authUrl = await constructAuthUrl({
projectId, linkedUserId, providerName, returnUrl, apiUrl , vertical,additionalParams, redirectUriIngress: redirectIngressUri
projectId, linkedUserId, providerName, returnUrl, apiUrl , vertical, additionalParams, redirectUriIngress: redirectIngressUri
});

if (!authUrl) {
Expand Down
Loading

0 comments on commit 5a60903

Please sign in to comment.