Commit Graph
100 Commits
Author SHA1 Message Date
Janos SUTO 2b45170fc1 Fixed case1 to honor RT variable
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00
Janos SUTO 241b1c92ca Added RT env var to docker run
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00
Janos SUTO 59578f75c4 rtindex.py fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00
Janos SUTO 1ad94cd6f4 Install rtindex.py to libexec dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00
Janos SUTO ae15ecf999 Fixed typo in sphinx.conf.in
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00
Janos SUTO 821ba44e1a Added support for sphinx rt index
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 19:11:19 +02:00
Janos SUTO 3e2eb0ae60 pilersearch systemd service shall use manticore
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 18:04:52 +02:00
Janos SUTO 58300dd74e Added missing backslash to makefile
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 11:39:49 +02:00
Janos SUTO cb44d6c8e2 Create /var/piler/manticore dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 11:32:47 +02:00
Janos SUTO c0859cdd65 Added support for manticore
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-08-27 11:03:29 +02:00
Janos SUTO 507ac86885 Fixed searchd config to user thread_pool workers
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-05-31 18:00:58 +02:00
Janos SUTO eb2b22b2bc Fixed parser to properly handle Received: lines
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-05-28 13:04:55 +02:00
Janos SUTO d1b0df1b41 removeJournal should restore LF characters
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-05-11 11:20:26 +02:00
Janos SUTO 79bf09fd53 Updated counters for case1
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-05-11 07:48:15 +02:00
Janos SUTO 1a347be5fb Updated focal installer
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-04-26 19:18:50 +02:00
Janos SUTO 208de74ae0 Run import test in case1
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-04-18 13:27:26 +02:00
Janos SUTO c0d5eeeaae Import test shall use imap-ssl
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-04-18 13:07:47 +02:00
Janos SUTO a31f5b7a26 Added support for imap-ssl for the gui import
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-04-18 12:59:53 +02:00
Janos SUTO 828964ec4c Fixed focal.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-04-18 12:54:15 +02:00
Janos SUTO 09dfc73e19 Removed unsolicited .gitignore file
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-18 09:31:44 +01:00
Janos SUTO b6f8834fe8 Fixed bitbucket pipeline
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 20:58:44 +01:00
Janos SUTO 683327c8bb Updated release notes
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 20:44:15 +01:00
Janos SUTO 866c1ce1a8 Fixed phpunit tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 20:41:38 +01:00
Janos SUTO d8d4084550 Added address.com domain to tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 20:31:20 +01:00
Janos SUTO d38e5e281f Fixed handling long emails
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 20:30:06 +01:00
Janos SUTO 7d655b569d Added explanation to the long email address issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 12:35:47 +01:00
Janos SUTO 27119a17ab Added support for long email addresses to mitigate sphinx <=3.1.1 issue
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-14 12:30:19 +01:00
Janos SUTO 1931caec2b Fixed sign.php to handle non-continuous id values
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-11 20:21:25 +01:00
Janos SUTO 333dd08d36 Fixed testcase counts
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-03-02 13:47:53 +01:00
Janos SUTO 43f5bba876 Updated release notes
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-02-17 19:32:59 +01:00
Janos SUTO e789d1cd9d Fixed reindex utility
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-02-17 19:32:45 +01:00
Janos SUTO 41f9973f18 php fix in system/helper/HTMLPurifier.standalone.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-23 18:37:27 +01:00
Janos SUTO 5d3c617044 php fix in google-api/service/apiUtils.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-23 18:37:09 +01:00
Janos SUTO a0b0437322 Updated the release notes
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-23 18:07:01 +01:00
Janos SUTO 0ec0eef314 Tidying the release notes
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-23 18:06:28 +01:00
Janos SUTO b91c899f75 Fixed attachment type search query assembly
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-23 18:05:19 +01:00
Janos SUTO 90e06de835 Using ssl is the default for imapfetch.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-19 15:41:55 +01:00
Janos SUTO 20cda235fa Updated db-upgrade.sql script
Signed-off-by: Janos SUTO <sj@acts.hu>
2022-01-19 15:41:17 +01:00
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
Janos SUTO 8ffcb6e664 Fixed adding extra recipient for pilerimport
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-19 18:07:49 +02:00
Janos SUTO fbe7a76b65 Fixed dotstuff and while() loop when writing the buffer to disk
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-18 16:05:36 +02:00
Janos SUTO 4fd0fd25c5 Fixed reading a line from smtp data stage
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-11 17:26:03 +02:00
Janos SUTO 03c22264ea Fixed reindex percent calculation
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-11 14:09:16 +02:00
Janos SUTO f32ab14c97 Updated counters for case1
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-10 13:21:34 +02:00
Janos SUTO 9745b078f5 Refactored pop3 download function to fix a dot stuffing error
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-03 16:21:48 +02:00
Janos SUTO 0b18c6060f Fixed handling dot stuffing in the DATA stage of the smtp chat
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-03 13:08:33 +02:00
Janos SUTO 62fcb37606 Get server_id from piler_id for utilities
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-02 10:37:15 +02:00
Janos SUTO 9360b429ce Fixed progressbar for reindex
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-07-02 10:25:19 +02:00
Janos SUTO 817df3c172 Added compat support for openssl 1.0.2 (most notably centos7)
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-06-28 19:39:18 +02:00
Janos SUTO d7f7cf5bf8 Added Taiwan traditional Chinese language support
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-06-26 17:19:25 +02:00
Janos SUTO 4f71c13b3f Fixed handling empty result from email session var
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-06-26 14:57:21 +02:00