Commit Graph

1748 Commits

Author SHA1 Message Date
Janos SUTO
1412a77fee Added 2 journaled emails to the test set
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-12-23 19:49:12 +00:00
Janos SUTO
1b7026dce6 gui: fixing journal handling
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-12-15 22:11:14 +00:00
Janos SUTO
5f391ef9ef Fixing php unit tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-12-09 08:27:37 +00:00
Janos SUTO
37ba4e29b1 Moved integration tests to tests dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-12-09 08:24:05 +00:00
Janos SUTO
0659564b32 Moved php unit tests to unit_tests/php dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-12-09 08:24:05 +00:00
Janos SUTO
9898b749c7 Use TLS v1.2 in Zend protocols
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 22:27:44 +01:00
Janos SUTO
11a78de0c8 Fixed signedness of count_match()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 21:54:44 +01:00
Janos SUTO
3cf2102238 refactor tests/SplitMessageTest.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 17:25:59 +01:00
Janos SUTO
0e585cf2ca Refactored parser.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 17:12:20 +01:00
Janos SUTO
53249db1eb Refactored rules.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 17:12:07 +01:00
Janos SUTO
a3226764c6 Even more util refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 16:58:03 +01:00
Janos SUTO
8eb5dbe69a More util refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 16:35:41 +01:00
Janos SUTO
0f96713fe7 Refactored some utils
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 16:28:25 +01:00
Janos SUTO
a4dc3deb36 refactored util/pilerpurge.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 16:03:01 +01:00
Janos SUTO
e776eead0c refactored util/mailstat.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:59:02 +01:00
Janos SUTO
10bd6a17ce refactored echo in util/gmail-imap-import.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:55:18 +01:00
Janos SUTO
9c52194849 Refactored echo in util/generate_stats.php
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:53:17 +01:00
Janos SUTO
4a5e57816c Refactored unit tests
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:48:37 +01:00
Janos SUTO
78dd67613b Fixed init_ssl() name to init_ssl_to_server()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:19:08 +01:00
Janos SUTO
2c3f29db44 use init_ssl from misc.c in unit_tests/smtp.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:14:41 +01:00
Janos SUTO
d97e653e8c Removed code duplication from rules.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 15:02:54 +01:00
Janos SUTO
6e47f50ffd Removed code duplication from memc.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 14:57:55 +01:00
Janos SUTO
ab488283ec Removing code duplicates from imap.c and pop3.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-11-03 14:31:02 +01:00
Janos SUTO
400f9f2ca4 Removed ?> from ru lang file
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-30 17:47:24 +00:00
Janos SUTO
c92ad1bf7e improved logging in message.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-23 11:56:50 +00:00
Janos SUTO
afa6fc7a7c Fix ctx initialization
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 07:26:46 +00:00
Janos SUTO
2d0beab92a Fixed signed vs. unsigned comparisons
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 07:26:07 +00:00
Janos SUTO
cb4b65a840 Even more refactoring for rules.c
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 06:56:50 +00:00
Janos SUTO
181febf950 Refactored query_retain_period()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-17 06:47:43 +00:00
Janos SUTO
c37a5f2084 Added -std=c99 to gcc options
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-16 08:56:11 +00:00
Janos SUTO
4f0dda34c2 Added http redirect to logout page to bring the user to the login after 5 secs
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-07 18:02:21 +00:00
Janos SUTO
ef458a08f9 Added http_referer check for logged in users
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-06 15:53:45 +00:00
Janos SUTO
59c9a80964 Fixed pdf export
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-06 15:02:32 +00:00
Janos SUTO
47aa9e7cb0 Fixed gcc options for less warnings
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-06 16:31:02 +02:00
Janos SUTO
099fe93a87 Added wkhtmltopdf support
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-10-06 16:30:26 +02:00
Janos SUTO
d6ab3d0c9a fixed a unit test
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-29 08:54:22 +02:00
Janos SUTO
084d578273 Removed unused data parameter from several functions
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-29 08:43:50 +02:00
Janos SUTO
2128ac8b8a Fixed #943
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-23 06:38:36 +00:00
Janos SUTO
6eaa70d991 Added salt to crypt()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-09 16:15:49 +00:00
Janos SUTO
eae385616f Added missing ldap port the 2nd new LDAP() call
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-09 14:53:29 +00:00
Janos SUTO
1ea62b8446 Added exception handling for gui imap auth
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-09 14:35:18 +00:00
Janos SUTO
4efe39b5f3 Added ldap port to gui
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-09-09 14:18:38 +00:00
Janos SUTO
5a96b65ead fix sql query for statistics gui feature
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-08-15 07:03:34 +00:00
Janos SUTO
38c8b67ef9 fixed cron.jobs
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-08-13 17:34:35 +00:00
Janos SUTO
c669a10778 added systemd dir to SUBDIRS
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-08-13 17:30:55 +00:00
Janos SUTO
25676445e6 Added more debug info to move_email()
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-08-09 09:23:47 +00:00
Janos SUTO
70c2580fdc Added systemd support
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-14 12:57:08 +00:00
Janos SUTO
f72a87ca60 use proper boundary checking for to_domain string
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-12 20:16:08 +00:00
Janos SUTO
bb6e0578b7 add return value check to system() call
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-12 05:53:26 +00:00
Janos SUTO
5d31891f87 pilerstats shows the delta between now and the last archived email
Signed-off-by: Janos SUTO <sj@acts.hu>
2018-07-11 06:18:39 +00:00