Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge all to 2.x #1323

Draft
wants to merge 81 commits into
base: 2.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
28b39ac
Correct sieve connection when using scheme (#1199)
Shadow243 Oct 18, 2024
452652a
Correct imap buttons on servers page & trigger change sieve_mode_tls …
Shadow243 Oct 19, 2024
1b23ba6
[ENH] Added functionality to enable or disable Sieve Filters with tog…
josaphatim Oct 18, 2024
e61afbb
Merge pull request #1289 from Shadow243/imap_sieve_mode_tls
Shadow243 Oct 19, 2024
4da09be
Merge pull request #1104 from amaninyumu1/add-a-toggle-top-activate-d…
kroky Oct 21, 2024
2de1754
Fix some page handlers issues (#1288)
mercihabam Oct 21, 2024
3c4da44
Edit Tag module readme
Shadow243 Oct 21, 2024
8e8b583
Merge pull request #1293 from Shadow243/edit-tags-readme
marclaporte Oct 21, 2024
4b77913
Correct pagination while displaying contacts
Shadow243 Jul 19, 2024
6a646f5
Merge pull request #1125 from Shadow243/correct-contact-group
kroky Oct 22, 2024
5110703
Indicate session-limited actions via a popover (#1295)
mercihabam Oct 22, 2024
ece927d
Fix moving messages between folders via drag-and-drop (#1233)
GedeonTS Oct 22, 2024
a548bdd
Change the frequency at which messages are prefetched (#1297)
mercihabam Oct 23, 2024
729dc43
Inform the world about JMAP and EWS
marclaporte Oct 24, 2024
d8a0eb6
Add a privacy settings section with the external images whitelist config
mercihabam Oct 24, 2024
0fc8416
[FIX]Fix deprecated warnings for preg_match() and mb_strtolower() in …
Baraka24 Oct 14, 2024
f0f478c
WIP: Add sender to the whitelist when the user choses to always allow…
mercihabam Oct 25, 2024
926d3ca
Merge pull request #1281 from Baraka24/fix-deprecated-warnings
kambereBr Oct 27, 2024
d267abe
Fix sieve tls on Quickly add an account from popular E-mail providers
Shadow243 Oct 27, 2024
cf27b9d
Merge pull request #1303 from Shadow243/fixed-nux-service-error
Shadow243 Oct 27, 2024
cc3eb91
Allow the exclusion of certain JS libraries from being bundled when i…
mercihabam Oct 28, 2024
7dcbbfb
The settings are still not saved in the session
mercihabam Oct 28, 2024
cd8cc15
Remove the duplicate of cash.min.js and fix js libs exclusion (#1305)
mercihabam Oct 29, 2024
06330df
The updated privacy setting is saved
mercihabam Oct 30, 2024
b2b62e7
Images are displayed respectively to the whitelist setting
mercihabam Oct 30, 2024
1096095
Merge pull request #1299 from jacob-js/images-whitelist-setting
kroky Oct 31, 2024
abdd8aa
Slight adjustments to the menu on mobile viewports to work properly w…
mercihabam Oct 31, 2024
71967b5
[FIX]Bulk-import accounts using yaml or csv template: Allow both text…
Baraka24 Nov 1, 2024
b4a721d
[FIX]Displaying multiple messages with the same content for a given a…
christer77 Jun 30, 2024
e0881af
[ENH]message list: Preview of message when viewing message list
christer77 Sep 13, 2024
b34489d
Removed forget/save actions
josaphatim Nov 1, 2024
132d526
[FIX].env.example: DISABLE_ORIGIN_CHECK assigns twice
Baraka24 Nov 3, 2024
070976c
Merge pull request #1310 from Baraka24/ajust-MIME-type-check
Shadow243 Nov 3, 2024
77fdde8
Merge pull request #1316 from Baraka24/remove-DISABLE_ORIGIN_CHECK-as…
Shadow243 Nov 3, 2024
78af985
[FIX]DEFAULT_TEXT_ONLY value must be false
Baraka24 Nov 3, 2024
508db58
Merge pull request #1311 from josaphatim/removed-save-forgot-server-b…
kroky Nov 4, 2024
8f47ea9
Merge pull request #1241 from christer77/Preview-of-message-when-view…
kroky Nov 4, 2024
ff0b66c
Merge pull request #1106 from christer77/Fix-Displaying-multiple-mess…
kroky Nov 5, 2024
7a4a4d4
Tweak the sidebar for a modern look and feel (#1313)
mercihabam Nov 5, 2024
9cdbb8e
Fix css on privacy setting
josaphatim Nov 6, 2024
3dcd7fc
Fix the combined inbox not excluding content from folders removed by …
mercihabam Nov 6, 2024
30e1a79
Remove identical information from the SMTP ID field in the compose fo…
DKing2222 Nov 8, 2024
1d045c9
fix sievefilters FileIntoFilterAction mailbox param should be a strin…
kroky Nov 8, 2024
a4c136d
Sort combined messages list chronologically and adjust the tagged mes…
mercihabam Nov 9, 2024
9d21016
make sieve data format automatic on connect
Shadow243 Nov 11, 2024
b60ed81
spare the save settings operation on contact add when external contac…
kroky Nov 11, 2024
3b3d5f2
Fix smtp test server action
josaphatim Nov 12, 2024
1141475
Allow performing a search operation in all folders (#1337)
mercihabam Nov 12, 2024
495852c
Sort message results by date for all lists (#1345)
mercihabam Nov 13, 2024
5d8cb85
Fix the display of the unread folder counters and re-adjust the layou…
mercihabam Nov 13, 2024
d0ed587
[UX]Renamed 'add_contact' to 'add_contact_responsive' to improve resp…
amaninyumu1 Nov 11, 2024
63f84e6
Merge pull request #1335 from amaninyumu1/responsive-styling-contact-…
Baraka24 Nov 13, 2024
a015287
Merge pull request #1317 from Baraka24/fix-default_setting_text_only-…
marclaporte Nov 14, 2024
02182bb
Enhance the sidebar's collapsible/expandable behavior by ensuring tha…
mercihabam Nov 14, 2024
be1c20e
Prevent external links from trying to navigate internally (#1352)
mercihabam Nov 15, 2024
ee2a165
[DOC]Dev Page: Reviewing documentation links
Baraka24 Nov 17, 2024
7741e05
Fix the drag-and-drop functionality on touchscreens (#1356)
GedeonTS Nov 17, 2024
265fa7a
Merge pull request #1357 from Baraka24/developer-docs
marclaporte Nov 17, 2024
8f5c1f0
Merge pull request #1331 from Shadow243/automate-sieve-host-based-on-…
kroky Nov 18, 2024
9e9157c
Fix the sieve filters page which is duplicating the modal content (#1…
mercihabam Nov 18, 2024
627a08f
fix sieve config host parsing - it was missing actual host and return…
kroky Nov 18, 2024
ec5bb0a
Fixed tag display content
Shadow243 Nov 12, 2024
7b59f40
Reduce left menu height to make it appealing
josaphatim Nov 18, 2024
0fc4b76
Fix accessing keys when server was not found
josaphatim Nov 18, 2024
70eaff5
Fixed tag add action
Shadow243 Nov 18, 2024
f4b06d6
Merge pull request #1339 from Shadow243/fixed-tags-display
Shadow243 Nov 18, 2024
2a05522
Edit Contact: Cleaning up fields after editing the contact
christer77 Oct 21, 2024
eeab367
Revert "Fixed tag display content" (#1365)
mercihabam Nov 18, 2024
f87ac3b
Merge pull request #1294 from christer77/Clearing-Fields-after-contac…
Shadow243 Nov 18, 2024
644d6e3
Fix flags issue breaking email copied from tiki tracker to be read
josaphatim Nov 19, 2024
3515e9a
Refactor the HTML Editor calling code allowing it to properly load on…
mercihabam Nov 20, 2024
b5b97f5
Workaround some incorrect data types (#1373)
mercihabam Nov 20, 2024
499e991
Fix email preview after sending
Yannick243 Nov 20, 2024
4a78bfd
Merge pull request #1374 from cypht-org/review-sent-email
Shadow243 Nov 21, 2024
467e33c
Merge pull request #1371 from josaphatim/fix-flags-issue-tiki-integra…
kroky Nov 21, 2024
3490a9b
update issue templates
ulfgebhardt Nov 22, 2024
b4cd0f0
Merge pull request #1379 from ulfgebhardt/issue-templates
marclaporte Nov 22, 2024
3163ddf
Review and fix the implementation of the tags feature (#1378)
mercihabam Nov 23, 2024
046e575
ref(other): remove the unnecessary Raw action displayed when viewing …
amaninyumu1 Nov 23, 2024
b5d315b
fix(selenium): failling tests
Shadow243 Nov 25, 2024
e2f4851
Merge pull request #1382 from Shadow243/fixed-selenium
Shadow243 Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ IMAP_AUTH_SERVER=localhost
IMAP_AUTH_PORT=143
IMAP_AUTH_TLS=
IMAP_AUTH_SIEVE_CONF_HOST=
IMAP_AUTH_SIEVE_TLS_MODE=true

DEFAULT_SMTP_NAME=
DEFAULT_SMTP_SERVER=
Expand All @@ -28,8 +29,6 @@ USER_CONFIG_TYPE=file
USER_SETTINGS_DIR=/var/lib/hm3/users
ATTACHMENT_DIR=/var/lib/hm3/attachments

DISABLE_ORIGIN_CHECK=false

ADMIN_USERS=

COOKIE_DOMAIN=
Expand Down Expand Up @@ -74,7 +73,7 @@ ENCRYPT_LOCAL_STORAGE=

DISABLE_IP_CHECK=false

DISABLE_ORIGIN_CHECK=true
DISABLE_ORIGIN_CHECK=false

ALLOW_EXTERNAL_IMAGE_SOURCES=true

Expand All @@ -95,7 +94,8 @@ DEFAULT_SETTING_IMAP_PER_PAGE=20
DEFAULT_SETTING_SIMPLE_MSG_PARTS=false
DEFAULT_SETTING_PAGINATE_LINKS=true
DEFAULT_SETTING_MSG_PART_ICONS=true
DEFAULT_SETTING_TEXT_ONLY=true
DEFAULT_SETTING_REVIEW_SENT_EMAIL=true
DEFAULT_SETTING_TEXT_ONLY=false
DEFAULT_SETTING_SENT_PER_SOURCE=20
DEFAULT_SETTING_SENT_SINCE='-1 week'
DEFAULT_SETTING_JUNK_PER_SOURCE=20
Expand Down Expand Up @@ -207,4 +207,6 @@ FANCY_LOGIN=false
#Windows CA certificates
#Get ON https://curl.se/ca/cacert.pem
#Depending on your PHP Directory, e.g. "c:\php\extras\ssl\cacert.pem"
WIN_CACERT_DIR=
WIN_CACERT_DIR=

JS_EXCLUDE_DEPS=
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

<!--
Please take a look at the issue templates at
https://github.com/cypht-org/cypht/issues/new/choose
before submitting a new issue.
Following one of the issue templates will ensure maintainers can route your request efficiently.
Please take a look at the issue templates at https://github.com/cypht-org/cypht/issues/new/choose
before submitting a new issue. Following one of the issue templates will ensure maintainers can route your request efficiently.

Thanks!
-->

## Issue
## 💬 Issue
<!-- Describe your Issue in detail. -->

<!-- Attach screenshots and drawings if needed. -->
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: 🐛 Bug
about: Create a report to help us improve
labels: bug
title: 🐛 [Bug]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

## 🐛 Bug
<!-- Describe your issue in detail. Include screenshots if needed. Give us as much information as possible. Use a clear and concise description of what the bug is.-->

### Version & Environment
<!-- Paste Git-Commit ID or Tag-Name here -->
Rev: []
<!-- Specify your OS and OS Version here if the issue is (most likely) platform dependent. -->
OS: []
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/devops.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 💥 DevOp
about: Help us manage our deployed Software.
labels: devops
title: 💥 [DevOps]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

## 💥 DevOps
<!-- Describe your issue in detail. Include screenshots if needed. Give us as much information as possible. Use a clear and concise description of what the problem is.-->
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/epic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: 🌟 Epic
about: Define a big development Step
labels: epic
title: 🌟 [EPIC]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

<!-- THIS ISSUE-TYPE IS NOT FOR YOU! -->
<!-- Proceed only if you know what you are doing - have a chat with Project's Team first -->

## 🌟 EPIC
<!-- Describe your Epic in detail. Include screenshots and drawings -->
11 changes: 5 additions & 6 deletions .github/ISSUE_TEMPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
name: 🚀 Feature
about: Well defined and described Features requests
about: Suggest an idea for this project
labels: feature
title: 🚀 [Feature]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

## 🚀 Feature
<!-- Describe the Feature. -->

### Design, Layout, Architecture
<!-- Attach Screenshots and Drawings. -->
<!-- Specify more details of the Feature with each Picture. -->
<!-- Give a short summary of the Feature. Use Screenshots if you want. -->
8 changes: 7 additions & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
name: 💬 Question
about: If you need help or have trouble understanding cypht.
about: If you need help understanding our Software.
labels: question
title: 💬 [Question]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

<!-- Question the project's team -->
<!-- If you need an answer right away, consider to take other means of communication with the project's team -->

## 💬 Question
<!-- Describe your Question in detail. Include screenshots and drawings if needed. -->
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: 🔧 Refactor
about: Help us improve our code by refactoring it.
labels: refactor
title: 🔧 [Refactor]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

## 🔧 Refactor
<!-- Describe your issue in detail. Include screenshots if needed. Give us as much information as possible. Use a clear and concise description of what the problem is.-->
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: 🎂 Release
about: Define a Release
labels: release
title: 🎂 [RELEASE]
---
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

<!-- THIS ISSUE-TYPE IS NOT FOR YOU! -->
<!-- Proceed only if you know what you are doing - have a chat with Project's Team first -->

## 🎂 RELEASE
<!-- Describe your Release in detail. Include screenshots and drawings -->
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/suggestion.md

This file was deleted.

27 changes: 6 additions & 21 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
## Pullrequest
<!-- Describe the Pullrequest. -->
<!-- You can find the latest issue templates here https://github.com/ulfgebhardt/issue-templates -->

## 🍰 Pullrequest
<!-- Describe the Pullrequest. Use Screenshots if possible. -->

### Issues
<!-- Which Issues does this fix, which are related?
- fixes #XXX
- relates #XXX
-->
- [X] None

### Checklist
<!-- Anything important to be thought of when deploying?
- [ ] Config Update
- [ ] Breaking/critical change
-->
- [X] None

### How2Test
<!-- Give a detailed description how to test your PR and confirm it is working as expected. -->
<!-- Maintainers will check the Tests
- [ ] Test1
- [ ] Test2
-->
- [X] None
- None

### Todo
<!-- In case some parts are still missing, list them here.
- [ ] Changelog
-->
<!-- In case some parts are still missing, list them here. -->
- [X] None
77 changes: 77 additions & 0 deletions .github/workflows/test.lint.pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: "test:lint pull request CI"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
pull-requests: write
statuses: write

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Configure which types are allowed (newline delimited).
# Default: https://github.com/commitizen/conventional-commit-types
#types: |
# fix
# feat
# Configure which scopes are allowed (newline delimited).
# Append a scope for each service here
scopes: |
docu
docker
release
workflow
other
cypht
# Configure that a scope must always be provided.
requireScope: true
# Configure which scopes (newline delimited) are disallowed in PR
# titles. For instance by setting # the value below, `chore(release):
# ...` and `ci(e2e,release): ...` will be rejected.
#disallowScopes: |
# release
# Configure additional validation for the subject based on a regex.
# This example ensures the subject doesn't start with an uppercase character.
subjectPattern: ^(?![A-Z]).+$
# If `subjectPattern` is configured, you can use this property to override
# the default error message that is shown when the pattern doesn't match.
# The variables `subject` and `title` can be used within the message.
subjectPatternError: |
The subject "{subject}" found in the pull request title "{title}"
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
# If you use GitHub Enterprise, you can set this to the URL of your server
#githubBaseUrl: https://github.myorg.com/api/v3
# If the PR contains one of these labels (newline delimited), the
# validation is skipped.
# If you want to rerun the validation when labels change, you might want
# to use the `labeled` and `unlabeled` event triggers in your workflow.
#ignoreLabels: |
# bot
# ignore-semantic-pull-request
# If you're using a format for the PR title that differs from the traditional Conventional
# Commits spec, you can use these options to customize the parsing of the type, scope and
# subject. The `headerPattern` should contain a regex where the capturing groups in parentheses
# correspond to the parts listed in `headerPatternCorrespondence`.
# See: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-commits-parser#headerpattern
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?: (.*)$'
headerPatternCorrespondence: type, scope, subject
# For work-in-progress PRs you can typically use draft pull requests
# from GitHub. However, private repositories on the free plan don't have
# this option and therefore this action allows you to opt-in to using the
# special "[WIP]" prefix to indicate this state. This will avoid the
# validation of the PR title and the pull request checks remain pending.
# Note that a second check will be reported if this is enabled.
wip: true
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#### Cypht
[https://cypht.org](https://cypht.org)

All your E-mail, from all your accounts, in one place. Cypht is like a news
reader, but for E-mail. Cypht does not replace your existing accounts - it
All your email, from all your accounts, in one place. Supports IMAP/SMTP,
[JMAP](https://github.com/cypht-org/cypht/issues/180) and
[soon EWS](https://github.com/cypht-org/cypht/issues/247). Cypht is like a
news reader, but for E-mail. Cypht does not replace your existing accounts - it
combines them into one. And it's also a news reader.

![screenshot](https://github.com/cypht-org/cypht-website/blob/master/img/Inbox.PNG "Inbox View").
Expand Down
25 changes: 21 additions & 4 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,18 @@
/*
|
| The hostname/IP address and port sieve is listening on. Example: example.org:4190
| Note: Add tls:// prefix to enable explicit STARTTLS
| Keep this blank to disable sieve filter support on login
|
*/
'imap_auth_sieve_conf_host' => env('IMAP_AUTH_SIEVE_CONF_HOST', 'tls://mail.gandi.net:4190'),
'imap_auth_sieve_conf_host' => env('IMAP_AUTH_SIEVE_CONF_HOST', ''),

/*
|
| this will add the tls:// prefix to the sieve host if set to true
| to make this work make sure you set DEFAULT_SETTING_ENABLE_SIEVE_FILTER to true
|
*/
'imap_auth_sieve_tls_mode' => env('IMAP_AUTH_SIEVE_TLS_MODE', true),

/*
| -------------------
Expand Down Expand Up @@ -1010,12 +1018,19 @@
*/
'default_setting_msg_part_icons' => env('DEFAULT_SETTING_MSG_PART_ICONS', true),

/*
|
| Show the message after sending
| Defaults to true
*/
'default_setting_review_sent_email' => env('DEFAULT_SETTING_REVIEW_SENT_EMAIL', true),

/*
|
| Prefer text parts when viewing a message
| Defaults to false
*/
'default_setting_text_only' => env('DEFAULT_SETTING_TEXT_ONLY', true),
'default_setting_text_only' => env('DEFAULT_SETTING_TEXT_ONLY', false),

/*
|
Expand All @@ -1030,7 +1045,7 @@
| Defaults to 1 week
*/
'default_setting_sent_since' => env('DEFAULT_SETTING_SENT_SINCE', '-1 week'),

/*
|
| Per source time limit for junk page
Expand Down Expand Up @@ -1309,4 +1324,6 @@
| Use this setting switch between the legacy login page and the fancy one
*/
'fancy_login' => env('FANCY_LOGIN', false),

'js_exclude_deps' => env('JS_EXCLUDE_DEPS', ''),
];
Loading