Commit Graph

1773 Commits

Author SHA1 Message Date
Janos SUTO
7a66346036 Replaced most each() calls with foreach() in preparation to support php 8
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-19 15:40:42 +01:00
Janos SUTO
7aec4647a5 Updated counters for case1
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-04 14:22:24 +01:00
Janos SUTO
f1cc01b81f Fixed the sph_index column types to handle non utf8 or broken utf8 data as well
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-04 14:21:34 +01:00
Janos SUTO
4bd447b105 Added import.sh to postinstall.sh crontab
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-18 17:05:40 +01:00
Janos SUTO
eabe31474c Added import.sh to cron jobs
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-18 17:04:18 +01:00
Janos SUTO
b0e8374472 Fixed the order of the delete statements
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-17 14:51:17 +01:00
Janos SUTO
c274e21823 Fixed handling of the extra_to_field header
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-16 10:40:26 +01:00
Janos SUTO
376d095c54 Fixed ordering for timestamp verification
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-16 10:38:04 +01:00
Janos SUTO
ede81c7f11 Changed type of state->journaltolen to fix a compiler warning
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-14 20:53:40 +01:00
Janos SUTO
231e95598c Append all journal recipients to b_journal_to buffer
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-14 20:39:07 +01:00
Janos SUTO
09a4e6a356 Fixed duplicated email handling with journal addresses
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-10 14:53:02 +01:00
Janos SUTO
06c929ce7e Improved reference handling of imported messages
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:32:39 +01:00
Janos SUTO
e3973144b4 Improved html parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:27:51 +01:00
Janos SUTO
740855769f Updated timestamp algorithm to use sha256
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:20:18 +01:00
Janos SUTO
42b650f4f1 Timestamping shall use sort by id column
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:13:06 +01:00
Janos SUTO
959b729a6e Improved Message-ID parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 11:02:24 +01:00
Janos SUTO
183162ac4a pilerpurge.py shall clean from other sql tables as well
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-09 10:54:39 +01:00
Janos SUTO
cdee6dfdc3 Improved delete_user() function
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-12-08 08:48:45 +01:00
Janos SUTO
a9d2099262 Added Italian translation (Credits: Stefano Gatto)
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-11-27 10:46:06 +01:00
Janos SUTO
1970fc4d8c Fixed removeJournal() function
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-11-20 17:01:49 +01:00
Janos SUTO
e61cde8737 Fixed the removeJournal() function #1211
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-11-13 18:38:53 +01:00
Janos SUTO
aea0cf865d Fixed date header parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-10-30 18:40:46 +02:00
Janos SUTO
535e695c2b Updated counters for test case
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-10-30 18:32:04 +02:00
Janos SUTO
ca99f0cebe Syslog the sphinx query error if there is any
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-10-23 14:51:21 +02:00
Janos SUTO
8f2a655325 Fixed uid checking in get_users_all_email_addresses() resolving #1206
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-10-23 14:43:18 +02:00
Janos SUTO
4db45674d3 Added attachments column to v_messages view
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-10-14 11:01:58 +02:00
Janos SUTO
f33664cf33 Added ubuntu 20.04 installer script
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-09-29 18:48:39 +02:00
Janos SUTO
a1b71bddf2 Added reindex.sh to util
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-09-15 11:22:54 +02:00
Janos SUTO
b786174884 Fixed counters
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-09-02 13:45:42 +02:00
Janos SUTO
cf36ccfbb6 Fixed counters
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-26 16:44:26 +02:00
Janos SUTO
80c4978ac2 Fixed system/helper/mime.php header case sensitivity
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-26 16:43:15 +02:00
Janos SUTO
8685574ede Fixed started column for import jobs
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-21 19:33:18 +02:00
Janos SUTO
df339cb75a Fixed pilerpurge deleting attachments
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-21 18:50:42 +02:00
Janos SUTO
694aa107c2 get_users_all_email_addresses() should not call get_email_addresses_from_groups()
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-21 17:46:33 +02:00
Janos SUTO
b124c76060 Updated counter values for testing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-21 16:25:00 +02:00
Janos SUTO
fea81910f4 Data officer should see emails marked for deletion only
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 14:14:55 +02:00
Janos SUTO
fe59b0519c Fixed parameter for gettings user group while editing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 14:11:22 +02:00
Janos SUTO
c2be67aff0 Restore data folder after processing the imported message
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 13:41:06 +02:00
Janos SUTO
01c896e281 Removed unused $search_cond variable
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 13:26:14 +02:00
Janos SUTO
689a06cfa4 Improved imap quite==0
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-20 13:23:48 +02:00
Janos SUTO
4ce49d6bc2 Fixed parsing the received lines
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-14 19:15:07 +02:00
Janos SUTO
fcaa841da0 Fixed checking for TLSv1.3 support
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-13 20:49:27 +02:00
Janos SUTO
cd86c86fe8 Remove package after build
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-13 20:48:48 +02:00
Janos SUTO
d33906308e Added simple Chinese translation of the messages (credits: chienchou.pan)
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-13 14:11:27 +02:00
Janos SUTO
a69db4b61f [gui] Fixed mime handling of gb2312 encoding
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-08-13 12:17:26 +02:00
Janos SUTO
e1ea14374a Fixed piler-smtp to properly handle emails with NUL byte(s)
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-26 16:56:45 +02:00
Janos SUTO
307a84b12b Fixed account statistics
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-25 12:54:28 +02:00
Janos SUTO
7562cd49df Updated counters for case1
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-25 12:35:33 +02:00
Janos SUTO
a9f5562f63 Fixed message/rfc822 parsing
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-24 12:39:53 +02:00
Janos SUTO
b2a1666c41 If the calculated date based on Date: header line differs more than 1 week then override it with the data parsed from the first Received: line
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-20 13:00:53 +02:00