[PR #976] [MERGED] Adding bulk-import accounts using csv sample file #1190

Closed
opened 2026-02-25 21:37:30 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/976
Author: @Shadow243
Created: 4/25/2024
Status: Merged
Merged: 9/12/2024
Merged by: @josaphatim

Base: masterHead: add-accounts-auto-connect


📝 Commits (5)

  • 1590f0d Adding multiple server connection using csv sample file
  • 9e466e0 Add symfony/yaml to format accounts_source file && complete integration
  • 1c6c3f8 Adding csv support
  • 1a5f4df parse_csv_with_headers added to support any csv
  • 16c5b4b Add profile_add

📊 Changes

28 files changed (+608 additions, -73 deletions)

View changed files

📝 composer.json (+1 -0)
📝 composer.lock (+152 -1)
📝 language/az.php (+2 -0)
📝 language/de.php (+2 -0)
📝 language/en.php (+2 -0)
📝 language/es.php (+2 -0)
📝 language/et.php (+2 -0)
📝 language/fa.php (+2 -0)
📝 language/fr.php (+2 -0)
📝 language/hu.php (+2 -0)
📝 language/id.php (+2 -0)
📝 language/it.php (+2 -0)
📝 language/ja.php (+2 -0)
📝 language/nl.php (+2 -0)
📝 language/pt-BR.php (+2 -0)
📝 language/ro.php (+2 -0)
📝 language/ru.php (+2 -0)
📝 language/zh-Hans.php (+2 -0)
📝 modules/core/functions.php (+14 -0)
📝 modules/imap/functions.php (+13 -6)

...and 8 more files

📄 Description

Email Account Configuration for Cypht

This repository contains the account configuration settings for the Cypht. Unlike an approach based on directly storing configuration settings in the code (ex: config/account.php), we have opted to use a CSV file for configuring accounts.

Related Issue: https://github.com/cypht-org/cypht/issues/974

Data Isolation

By storing configuration settings in a CSV file, each user can have their own distinct configuration file. This allows for data isolation, ensuring that each user only has access to their own configured accounts and cannot access accounts configured by other users.

Example CSV File Structure:

Screenshot 2024-04-25 at 20 59 10

This is the display

Screenshot 2024-04-25 at 21 05 32

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/976 **Author:** [@Shadow243](https://github.com/Shadow243) **Created:** 4/25/2024 **Status:** ✅ Merged **Merged:** 9/12/2024 **Merged by:** [@josaphatim](https://github.com/josaphatim) **Base:** `master` ← **Head:** `add-accounts-auto-connect` --- ### 📝 Commits (5) - [`1590f0d`](https://github.com/cypht-org/cypht/commit/1590f0d5b9065e80afbb709fa5dd8768bc6a66d7) Adding multiple server connection using csv sample file - [`9e466e0`](https://github.com/cypht-org/cypht/commit/9e466e091445adb68de417425038495430d4b36f) Add symfony/yaml to format accounts_source file && complete integration - [`1c6c3f8`](https://github.com/cypht-org/cypht/commit/1c6c3f8ce6508dbc55297d771fda57b0d391ee30) Adding csv support - [`1a5f4df`](https://github.com/cypht-org/cypht/commit/1a5f4df225c70007ebc86c16f5bd40297d4a6e2c) parse_csv_with_headers added to support any csv - [`16c5b4b`](https://github.com/cypht-org/cypht/commit/16c5b4bcc9adaddf762c82c24ba1fa3ee8f1a8e2) Add profile_add ### 📊 Changes **28 files changed** (+608 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `composer.json` (+1 -0) 📝 `composer.lock` (+152 -1) 📝 `language/az.php` (+2 -0) 📝 `language/de.php` (+2 -0) 📝 `language/en.php` (+2 -0) 📝 `language/es.php` (+2 -0) 📝 `language/et.php` (+2 -0) 📝 `language/fa.php` (+2 -0) 📝 `language/fr.php` (+2 -0) 📝 `language/hu.php` (+2 -0) 📝 `language/id.php` (+2 -0) 📝 `language/it.php` (+2 -0) 📝 `language/ja.php` (+2 -0) 📝 `language/nl.php` (+2 -0) 📝 `language/pt-BR.php` (+2 -0) 📝 `language/ro.php` (+2 -0) 📝 `language/ru.php` (+2 -0) 📝 `language/zh-Hans.php` (+2 -0) 📝 `modules/core/functions.php` (+14 -0) 📝 `modules/imap/functions.php` (+13 -6) _...and 8 more files_ </details> ### 📄 Description ## Email Account Configuration for Cypht This repository contains the account configuration settings for the Cypht. Unlike an approach based on directly storing configuration settings in the code (ex: config/account.php), we have opted to use a CSV file for configuring accounts. Related Issue: [https://github.com/cypht-org/cypht/issues/974](https://github.com/cypht-org/cypht/issues/974) ### Data Isolation By storing configuration settings in a CSV file, each user can have their own distinct configuration file. This allows for data isolation, ensuring that each user only has access to their own configured accounts and cannot access accounts configured by other users. ### Example CSV File Structure: <img width="1119" alt="Screenshot 2024-04-25 at 20 59 10" src="https://github.com/cypht-org/cypht/assets/28566468/d76f053a-c186-49ad-9bb9-954306fdde91"> ### This is the display <img width="1221" alt="Screenshot 2024-04-25 at 21 05 32" src="https://github.com/cypht-org/cypht/assets/28566468/bbcbc88c-3bc7-4afc-84e9-a2c632f503d3"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:30 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1190
No description provided.