Commit Graph

256 Commits

Author SHA1 Message Date
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
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
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
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
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
a1b71bddf2 Added reindex.sh to util
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-09-15 11:22:54 +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
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
59572444dd imapfetch.py fix
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-27 09:05:19 +01:00
Janos SUTO
e6edbc525b indexer shell scripts should syslog using mail.info
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-01-06 08:38:29 +01:00
Janos SUTO
9225d5b32e Obsoleted util/watch_sphinx_main_index.sh by refactoring indexer.main.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-13 21:08:11 +01:00
Janos SUTO
f7cc52433c #1124 Fixed pilerpurge to remove the last referenced attachment
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-10 20:59:11 +01:00
Janos SUTO
0d1e34007e Added before/since date support to imapfetch.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-11-01 08:51:59 +01:00
Janos SUTO
25c9e116ed added mpstat to healthcheck.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-29 10:42:56 +01:00
Janos SUTO
4659af3dd2 Added healthcheck.sh to make install
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-29 10:12:24 +01:00
Janos SUTO
ffa2b69d4b Added mysql db size to healthcheck utility
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-29 10:10:07 +01:00
Janos SUTO
4e378b09cd Added healthcheck utility
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-29 09:50:49 +01:00
Janos SUTO
3c57d5fec7 Fixed import.sh locking
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-27 22:39:16 +01:00
Janos SUTO
3b3d0157ca Fixed import.sh
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-27 22:20:03 +01:00
Janos SUTO
27876000a2 Added missing import for imapfetch.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-27 22:16:53 +01:00
Janos SUTO
f7f91c0855 Improved imapfetch.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-27 22:11:21 +01:00
Janos SUTO
1d615a1967 Added support for gui import
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-27 21:53:16 +01:00
Janos SUTO
96dbde7cba imapfetch.py shall quit if nothing in the import table
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-26 23:10:48 +01:00
Janos SUTO
68f72d0784 imapfetch.py can read imap connection from import table
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-26 23:08:03 +01:00
Janos SUTO
427114b892 More TSA fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-17 20:33:00 +02:00
Janos SUTO
4a131f3058 TSA fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-10-17 20:03:07 +02:00
Janos SUTO
e118feb3ab More refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-08-10 21:58:06 +02:00
Janos SUTO
b1dabfefc5 Fixed postinstall mysql root password message
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-04-15 10:53:24 +02:00
Janos SUTO
704030b282 pilerpurge.py should honor the mysqlhost value
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-04-14 19:37:41 +02:00
Janos SUTO
54a8be6b22 Refactored daily report script
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-03-14 13:36:12 +01:00
Janos SUTO
b3f37f2964 Fixed group ownership on www/tmp dir
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-03-04 22:53:11 +01:00
Janos SUTO
228f2bf61c pilerpurge.py uses python3
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-02-23 10:09:12 +01:00
Janos SUTO
1629a93b88 Upgraded imapfetch.py to use python3
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-02-23 09:58:24 +01:00
Janos SUTO
380fef7489 sed fix in postinstall script
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:48:33 +01:00
Janos SUTO
f7392f66b3 fixed path for pilerpurge.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:45:20 +01:00
Janos SUTO
bfc9171fc7 Fix piler.conf path in pilerpurge.py
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:42:35 +01:00
Janos SUTO
d99ee3dec0 Added queuedir variable to piler.conf in postinstall script
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:27:39 +01:00
Janos SUTO
bc4ef2c1ef Added purge.sh to cron jobs
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:18:52 +01:00
Janos SUTO
26808ca40d Fix sphinx version in postinstall
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:13:26 +01:00
Janos SUTO
9c2e2e8fe4 Fix crontab command for postinstall
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 14:05:22 +01:00
Janos SUTO
0e5ada66d1 Fixed postinstall.sh script
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-12-15 13:56:20 +01:00
Janos SUTO
5380196325 Fixed the place of PILER_CONFIG_DIR and CONFIG_SITE_PHP
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-15 16:12:31 +01:00
Janos SUTO
d2d60eb8bd Fixed envsubst command in postinstall script
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-15 15:50:31 +01:00
Janos SUTO
111bcce6e0 Refactored postinstall.sh script
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-14 12:16:02 +01:00
Janos SUTO
3d1c52be12 Fixed postinstall script to create config-site.php in sysconfdir/piler
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-14 09:08:32 +01:00
Janos SUTO
77e72f26a3 #1026: Fixed typo in postinstall.sh.in
Signed-off-by: Janos SUTO <sj@acts.hu>
2019-11-13 09:37:48 +01:00