Commit Graph

823 Commits

Author SHA1 Message Date
Peter Hormanns
48786aaf40 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hs.hsadmin 2018-06-12 17:09:09 +02:00
Peter Hormanns
a6297473fb configure PassengerLogFile 2018-06-12 17:09:03 +02:00
Michael Hierweck
89e321e3e8 MyySQL: GRANT WITH GRANT OPTION when updating db owner. 2018-06-09 11:51:46 +02:00
Michael Hierweck
605701bb3f apache-vhost: ServerAdmin should be webmaster@<domain> 2018-05-26 08:34:07 +02:00
Michael Hierweck
e715c955e1 .htaccess: no indentation in output file. 2018-05-26 08:28:50 +02:00
Peter Hormanns
2beb2045f2 role nocreateuser removes in postgres 9.6 2018-04-12 14:01:21 +02:00
Peter Hormanns
b0172a377a ugly fix for domainoptions-update by hsscript 2018-04-04 19:29:37 +02:00
Peter Hormanns
b28d34f01b new domainoption php5 2018-03-07 15:11:17 +01:00
Peter Hormanns
240c391abd hide passwords in logs 2018-03-07 15:10:47 +01:00
Peter Hormanns
9c7202f358 optimize logging 2017-11-23 17:13:52 +01:00
Peter Hormanns
02e4e1adbc optimize logging 2017-11-23 17:05:45 +01:00
Peter Hormanns
5591323259 allow '-' in email aliases 2017-11-23 15:48:30 +01:00
Peter Hormanns
bf7f4e8249 optimize logging 2017-11-23 15:42:36 +01:00
Peter Hormanns
f4139407a8 remove wildcard in relayrecipients only if no wildcard emailaddr exists 2017-11-09 12:56:18 +01:00
Peter Hormanns
a9f0fb6985 clean code 2017-10-04 17:15:37 +02:00
Peter Hormanns
66e570cfb2 create email addresses by generic module 2017-10-04 17:07:41 +02:00
Peter Hormanns
9dd25448d8 remove legacy code pac dw/sw 2017-10-04 16:50:33 +02:00
Peter Hormanns
b34d706e36 some logging 2017-10-02 17:02:44 +02:00
Peter Hormanns
5c452385b9 default redirect to https 2017-10-02 15:50:37 +02:00
Michael Hierweck
449b41159c OQL reference 2017-09-20 21:17:05 +02:00
Michael Hierweck
cb0df3e3ff OQL reference 2017-09-20 21:15:51 +02:00
Michael Hierweck
1de5d4b9fa Typo. 2017-09-20 21:13:00 +02:00
Michael Hierweck
f9be1a497c Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hs.hsadmin 2017-09-20 21:06:07 +02:00
Michael Hierweck
1968b61fa9 Use module implementation to remove entities. 2017-09-20 21:05:59 +02:00
Peter Hormanns
b353e00b6c do not log full password 2017-09-19 21:16:53 +02:00
Peter Hormanns
a696ddfc31 load config on queue-server 2017-09-19 20:50:14 +02:00
Peter Hormanns
b05e5555f2 qserv logging 2017-09-19 20:23:23 +02:00
Peter Hormanns
ced5cc9827 WaitingTask in WaitingTask causes exception 2017-09-18 21:33:54 +02:00
Michael Hierweck
9e362b2f87 Logging. 2017-09-17 10:47:56 +02:00
Michael Hierweck
0ac2abbcd0 Logging. 2017-09-17 10:44:41 +02:00
Michael Hierweck
8c0578d6bd Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hs.hsadmin 2017-09-17 10:39:17 +02:00
Michael Hierweck
5ce044e645 Logging. 2017-09-17 10:37:47 +02:00
Peter Hormanns
bec7474d56 change email setup order 2017-09-16 21:32:35 +02:00
Michael Hierweck
0cb44ebcc9 More fixes. 2017-09-15 19:49:04 +02:00
Michael Hierweck
ff4af07450 Fix edge cases. Ignore postmap errors. 2017-09-15 08:45:34 +02:00
Michael Hierweck
5097cdd638 Prevent backupmxforexternalmx option collision with active email addresses. 2017-09-12 20:40:32 +02:00
Michael Hierweck
b29374939c Cleanup. 2017-09-12 20:29:15 +02:00
Michael Hierweck
f3a2ac9123 Simplify mail setup: dom module controls transports and relaydomains (and relayrecipients in case of backupmxforexternalmx), email module controls virtual and relayrecipients. 2017-09-12 10:43:34 +02:00
Michael Hierweck
c7fbfcc85c Maybe fixed: update relay_recipients when email address is created or deleted. 2017-09-08 12:43:24 +02:00
Peter Hormanns
7daa01ae23 revert last commit 2017-07-30 20:12:52 +02:00
Peter Hormanns
60505bbfeb comment property service in production,
its usend for local testing
2017-07-30 19:20:21 +02:00
Peter Hormanns
80e16e0050 comment PacTasksServlet for new pac module 2017-07-30 17:42:03 +02:00
Peter Hormanns
d8432b0550 remove shares from business_partner table 2017-07-29 19:26:46 +02:00
Peter Hormanns
0c294f19a7 fix httpd template virtual.conf 2017-07-03 16:54:58 +02:00
Peter Hormanns
c45681b6ad fix httpd template virtual.conf 2017-07-03 16:42:10 +02:00
Michael Hierweck
bc64ff9123 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hs.hsadmin 2017-06-29 14:13:03 +02:00
Michael Hierweck
4a09fe9105 Improved 404 message for unconfigured vhosts. 2017-06-29 14:12:53 +02:00
Michael Hierweck
46a14f752c Whitespace. 2017-06-29 14:09:46 +02:00
Peter Hormanns
f8bec13c6e create selfsigned cert if letsencrypt is switched off 2017-06-29 14:03:07 +02:00
Michael Hierweck
b585f9b9f4 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hs.hsadmin 2017-06-29 14:02:59 +02:00
Michael Hierweck
f423b9a483 Improved Options settings for vhost. 2017-06-29 14:02:15 +02:00
Peter Hormanns
5a7dfa87b6 interate only webpacs in templates 2017-06-29 10:55:23 +02:00
Peter Hormanns
c1aca570f7 respect empty subdomain list 2017-06-29 10:35:02 +02:00
Michael Hierweck
70587f2970 Point default TLS certificate to generated one. 2017-06-29 10:26:14 +02:00
Michael Hierweck
20bf41d827 Merge branch 'master' of ssh://dev.hostsharing.net:29418/hsadmin/hs.hsadmin 2017-06-29 09:53:42 +02:00
Michael Hierweck
0cee4abcfe New virtual host configuration for pacs. Fallback/Default should be HTTP
404.
2017-06-29 09:51:24 +02:00
Michael Hierweck
6365b4f7f5 Nicer whitespace in vhost. 2017-06-29 09:38:06 +02:00
Peter Hormanns
52650dd1e3 trigger acmebot on domain.add 2017-06-28 16:14:59 +02:00
Peter Hormanns
279ad0ad0d extract method 2017-06-28 15:36:08 +02:00
Peter Hormanns
4934c2d085 link letsencrypt cert and trigger acmebot 2017-06-28 15:31:52 +02:00
Peter Hormanns
b22842eb7d remove certs on domain remove 2017-06-28 15:01:45 +02:00
Peter Hormanns
5de9f974d1 remove certs on domain remove 2017-06-28 14:58:44 +02:00
Michael Hierweck
2e61e4c94f Don't set permissions for key, cert, chain twice. 2017-06-28 07:30:57 +02:00
Peter Hormanns
b3b02a77d8 fix 2017-06-27 18:48:36 +02:00
Peter Hormanns
8aa875338c fix 2017-06-27 18:39:08 +02:00
Peter Hormanns
2e417d2afa fix 2017-06-27 18:25:46 +02:00
Peter Hormanns
4ce9ec8f40 letsencrypt active by default 2017-06-27 18:10:59 +02:00
Peter Hormanns
22d1aba58c review 2017-06-27 17:45:58 +02:00
Michael Hierweck
d3d0d75a82 Provide domain.properties for ACMEBot. 2017-06-27 13:56:41 +02:00
Michael Hierweck
7a8cc5246c Strings fixed. 2017-06-27 13:31:41 +02:00
Michael Hierweck
385c02fd53 Initially generated TLS self-signed certificates are not wildcard certificates any more but single domain certificats (cn=vhost-name). 2017-06-27 09:35:49 +02:00
Michael Hierweck
4ec40ed6a6 Fix ACMEBot Alias. 2017-06-26 20:04:49 +02:00
Michael Hierweck
66113db85c Fix SSL On/Off 2017-06-26 20:03:56 +02:00
Michael Hierweck
10baac3a07 Fix Passenger On/Off 2017-06-26 20:03:27 +02:00
Michael Hierweck
bfcc4c20b1 Fix Includes-Option. 2017-06-26 20:00:14 +02:00
Peter Hormanns
d82222c877 allow empty subdomain list 2017-06-26 15:47:01 +02:00
Peter Hormanns
c888350841 minor fixes 2017-06-22 19:07:07 +02:00
Peter Hormanns
9185975ed6 create letsencrypt directories and config 2017-06-22 18:46:17 +02:00
Peter Hormanns
b7f74efbfd fix name mapping 2017-06-21 20:33:26 +02:00
Peter Hormanns
0c5e4774b8 property names in lowercase 2017-06-21 20:15:11 +02:00
Peter Hormanns
b83ca0d33f remove static web pac 2017-06-21 20:01:17 +02:00
Peter Hormanns
bf2b3535b9 apache template 2017-06-21 18:46:35 +02:00
Peter Hormanns
0e59e02ef0 rename subdomains column 2017-06-21 17:48:25 +02:00
Peter Hormanns
187bddaf8d new field cert_dns_alt_names 2017-06-21 12:34:31 +02:00
Peter Hormanns
d24c19f30a domain option letsencrypt 2017-06-21 11:18:54 +02:00
Peter Hormanns
d7e8d6825f database migration 2017-04-12 19:21:12 +02:00
Peter Hormanns
5c0c111a65 update schema for member_shares 2017-04-10 18:40:55 +02:00
Peter Hormanns
2326fa74e0 fix dev web.xml 2017-03-31 18:24:56 +02:00
Peter Hormanns
2f31d48ebe fix drop taböes 2017-03-31 18:24:27 +02:00
Peter Hormanns
9db05ea509 dns master is hive 2017-03-31 18:24:05 +02:00
Peter Hormanns
174c0a7706 HS#2017020610000202 TT#2017020610002808
Hive-Name im SOA Record (nicht dns.hosthsaring.net)
2017-02-24 12:14:16 +01:00
Peter Hormanns
fca58de78a perform pac-processor 2016-11-17 13:24:43 +01:00
Peter Hormanns
c8e98c6fd4 add missing context link 2016-11-16 18:28:24 +01:00
Peter Hormanns
672d25dce3 prepare external pac module, jms tasks 2016-11-16 18:00:33 +01:00
Peter Hormanns
77fc48aaa7 code formatting 2016-11-16 13:25:26 +01:00
Peter Hormanns
f934cd3984 limit list of queue jobs to the latest 500 entries 2016-05-13 14:59:46 +02:00
Peter Hormanns
aabb5d1781 revoke any privileges for unknown users from created database 2016-05-13 14:58:14 +02:00
Peter Hormanns
dd4ce59112 perform does not work 2016-04-08 13:37:41 +02:00
Peter Hormanns
bdecf9bbd1 try perform instead of select 2016-04-08 13:00:05 +02:00
Peter Hormanns
203f24c279 postgres 8.4 change 2016-04-08 12:54:46 +02:00
Peter Hormanns
2fed8ab577 target 1.6 requires source 1.6 2016-04-08 12:38:03 +02:00
Peter Hormanns
83f3d40a1f source level to 1.7 2016-04-08 12:36:51 +02:00
Peter Hormanns
6a02973d5b fix source level to 1.6 2016-04-08 12:33:17 +02:00
Peter Hormanns
f470ed8722 change for postgres 8.4 2016-04-08 12:29:09 +02:00
Michael Hierweck
89b2b3b5a9 Fix template variable reference. 2016-04-08 11:23:40 +02:00
Michael Hierweck
7a0aadc397 Cleanup whitespace. 2016-04-08 11:23:04 +02:00
Peter Hormanns
96d55710b3 restrict initial user home access rights 2016-03-23 16:41:10 +01:00
Peter Hormanns
d70b87cf28 allow padc user 2016-01-11 12:37:36 +01:00
Peter Hormanns
f1caa45dcf curinetaddr in lowercase 2015-12-29 19:40:54 +01:00
Peter Hormanns
3a704c322a extend validation of user and database names 2015-12-28 20:07:00 +01:00
Peter Hormanns
ab81cb8835 search user by numeric userid 2015-12-28 19:03:55 +01:00
Peter Hormanns
88f944afa1 transfer user property locked 2015-12-23 17:06:20 +01:00
Peter Hormanns
0be76b6c23 some property names are overwritten in api 2015-12-23 16:52:28 +01:00
Peter Hormanns
52c0ae091c hide dnsmaster property 2015-12-23 16:51:01 +01:00
Peter Hormanns
c0958cdc8f pac property unixuser should not be available on api 2015-12-23 15:02:08 +01:00
Peter Hormanns
b94f19caba nicer bash code 2015-11-30 12:17:01 +01:00
Peter Hormanns
c47eaf101c should be _.example.com - wirdcard 2015-11-30 11:42:10 +01:00
Peter Hormanns
600a230336 also delete generated certs and links to certfiles 2015-11-28 18:33:08 +01:00
Peter Hormanns
16bef337e0 needs vm-extension to be included in war 2015-11-26 14:05:40 +01:00
Peter Hormanns
a0025d844b Merge remote-tracking branch 'origin/newweb' 2015-11-25 17:07:15 +01:00
Peter Hormanns
74d4bef786 Merge remote-tracking branch 'origin/sni' 2015-11-25 17:00:39 +01:00
Peter Hormanns
2c91cdc636 SNI change pems structure 2015-11-25 16:55:35 +01:00
Peter Hormanns
a147c4406a rename field to name 2015-09-11 23:26:06 +02:00
Peter Hormanns
f7a0389bc7 add name property to inetaddr 2015-09-11 23:19:38 +02:00
Peter Hormanns
4d437f2bef organize imports 2015-09-11 23:04:24 +02:00
Peter Hormanns
4d4ed2942a rename basepac property for reflection problems 2015-09-11 23:03:09 +02:00
Peter Hormanns
88b6b6e67d derived field are readonly 2015-09-11 19:32:00 +02:00
Peter Hormanns
9669b268c6 add role to properties module 2015-09-11 17:31:09 +02:00
Peter Hormanns
041111d845 introduce annotated class property on AbstractRemote
pac is readonly property
2015-09-11 17:26:42 +02:00
Peter Hormanns
fa75194cf3 annotate pac properties 2015-09-07 18:19:11 +02:00
Peter Hormanns
c8dd78ff9f create newweb branch without sni changes 2015-09-07 16:39:16 +02:00
Peter Hormanns
a4d23a58ef merge changes for sni 2015-09-07 16:34:26 +02:00
Peter Hormanns
5de9e7eceb implement compatible property module 2015-09-07 16:29:30 +02:00
Peter Hormanns
b58321b42a do not overwrite existing cert 2015-08-07 20:19:18 +02:00
Peter Hormanns
1041e6b152 remove selfsigned certs and links to real certs on domain delete 2015-08-07 18:11:16 +02:00
Peter Hormanns
c533e75061 xmlrpcservlet does not accept additional init params 2015-08-07 17:44:15 +02:00
Peter Hormanns
71fb0ad06b ticket validator init should be in test 2015-08-07 17:34:55 +02:00
Peter Hormanns
fa186456dc initialize ticket validator 2015-08-07 17:25:30 +02:00
Peter Hormanns
80d7f6bb70 cli servlet does not exists anymore 2015-08-07 16:49:08 +02:00
Peter Hormanns
d08478b47a sha256 and access restriction to generated certs and keys 2015-08-07 15:52:49 +02:00
Peter Hormanns
2a18379289 bankAcount has been deleted 2015-08-07 14:46:11 +02:00
Peter Hormanns
5eef3088cb Support SSL-Cert per Domain (SNI) 2015-08-07 14:33:33 +02:00
Peter Hormanns
f5e82b4ecc remote deprecated customer module 2014-12-08 19:51:35 +01:00
Peter Hormanns
1efa34bd62 remove deprecated cli client connector from source tree 2014-12-08 19:47:29 +01:00
Peter Hormanns
37a3153135 disabled cli client connector 2014-12-08 19:37:15 +01:00
Peter Hormanns
dadf62e0af disable deprecated member module 2014-12-08 19:32:20 +01:00
Peter Hormanns
ee861f20d0 remove old commented code 2014-12-04 16:18:48 +01:00
Peter Hormanns
80d3a5784b remove unused imports 2014-12-04 16:05:56 +01:00
Peter Hormanns
d8527b266a only whitespace 2014-12-04 16:03:37 +01:00
Peter Hormanns
0c7a4d8ac5 search api-method without where-param 2014-12-04 15:38:52 +01:00
Peter Hormanns
c0ad6e4841 neue hives 2014-11-28 15:28:34 +01:00
Peter Hormanns
799b5fac29 drop new tables role, contactrole_ref 2014-11-25 14:40:23 +01:00
Peter Hormanns
374a39bd9b fill mandatory columns in bank_account 2014-11-25 14:37:29 +01:00
Peter Hormanns
76ff1fa31b drop bankaccountseq 2014-11-25 14:19:10 +01:00
Peter Hormanns
2582919493 dont fire multiple sql statments in batch because selects throwed an
exception
2014-11-25 12:23:52 +01:00
Peter Hormanns
4829a67fba fix typo in new hives configuration 2014-11-02 11:51:42 +01:00
Peter Hormanns
91bafeadab fix database init skript 2014-10-14 16:55:55 +02:00
Peter Hormanns
1ad3ee7398 fix drop database script 2014-10-14 16:47:51 +02:00
Peter Hormanns
9c7c85b8bf fix drop database 2014-10-14 16:34:42 +02:00
Peter Hormanns
67436e00c3 new hives h40..h49 2014-09-09 12:53:32 +02:00
Peter Hormanns
67674f2535 fix test data 2014-09-04 17:05:41 +02:00
Michael Hierweck
fcb11a140b Get rid of autodebit... 2014-09-01 19:10:50 +02:00
Michael Hierweck
a210317755 Create app and app-ssl directories for new domains. 2014-09-01 18:04:31 +02:00
Michael Hierweck
90350b0ca0 Killall before dropping mysql databases/users. 2014-08-28 19:53:21 +02:00
Michael Hierweck
c031f5004c Terminate pgsql database sessions before dropping users/databases. 2014-08-28 19:27:49 +02:00
Michael Hierweck
278954bb97 Optimized deluser. 2014-08-28 17:45:21 +02:00
Michael Hierweck
1f2eb8a099 User Deletion: killall should not return exit code != 0. 2014-08-28 16:57:15 +02:00
Michael Hierweck
0ab359e690 Trying to make user/pac deletion more reliable... 2014-08-28 12:40:35 +02:00
Michael Hierweck
1f3c4ca0f0 Generate /etc/sudoers.d/pacs instead of (whole) /etc/sudoers
(configuration).
2014-08-28 12:19:08 +02:00
Michael Hierweck
cbb50c1a87 Cleanup and privacy protection. 2014-08-12 16:13:48 +02:00
Michael Hierweck
ee5e33f3fe Introduced Phusion Passenger for Dynamic Web. 2014-08-12 16:13:26 +02:00
Michael Hierweck
a9361aa80c Get rid of useless test.cgi. 2014-08-12 16:12:55 +02:00
Michael Hierweck
545ad6fc16 ProFTP configuration: generate pacs.conf only instead of whole master
configuration file.
2014-08-12 14:58:42 +02:00
Michael Hierweck
c5fe591298 Removed obsolete interfaces template. 2014-08-12 14:57:39 +02:00
Peter Hormanns
7703bb2821 remove customer reference to bankaccount 2014-07-28 11:57:08 +02:00
Peter Hormanns
c3f5a5b248 Spalten technical_contact, business_contact 2014-05-17 20:17:50 +02:00
Peter Hormanns
1871821983 fix Template-Generierung beim Paket-Loeschen 2014-05-13 22:41:40 +02:00
Peter Hormanns
c922044f5d Remove Pac IP-Configuration from network-interfaces 2014-05-13 20:57:12 +02:00
Peter Hormanns
09223590a9 kein setgid-Bit auf den Paket-Verzeichnissen etc, var und users 2014-04-13 13:14:37 +02:00
Peter Hormanns
45e7a58a2e hive vollstaendig eingetragen 2014-03-22 15:51:08 +01:00
Peter Hormanns
3bd6fed66a remove test-code 2014-03-22 15:39:22 +01:00
Peter Hormanns
d7390031e9 create customer-alias and -email 2014-03-21 18:44:19 +01:00
Peter Hormanns
ff75a342e8 Repariere Reihenfolge-abhaengige Tests 2014-03-21 16:24:46 +01:00
Peter Hormanns
1ea0bc8966 erzeuge pac-addr-ipv4 2014-03-21 15:48:46 +01:00
Peter Hormanns
12a1556b34 iban und bic in bank_account 2014-03-21 15:20:25 +01:00
Peter Hormanns
5546d64bfe neue Hives h70..h76 2013-08-21 20:02:02 +02:00
Peter Hormanns
37b3643db1 wait for kill 2013-08-10 12:59:48 +02:00
Peter Hormanns
5481bda5e2 should be h97 2013-08-06 22:01:16 +02:00
Peter Hormanns
e8a7af06fe new hives h98 and h99 2013-08-06 20:23:31 +02:00
Peter Hormanns
67f81eab78 auto eth0:xyz00 ergaenzt 2013-08-05 19:35:00 +02:00
Michael Hierweck
0163dea5aa Quota: set Files == Block 2013-07-15 18:48:41 +02:00
Michael Hierweck
b05ce2184e Small improvements related to packet quota handling. 2013-07-15 18:23:46 +02:00
Peter Hormanns
7beee9786b remove erroneous comments 2013-07-15 12:26:50 +02:00
Peter Hormanns
c0413f7deb fix error update postgresql database owner 2013-07-15 12:25:47 +02:00
Peter Hormanns
fde6cbd9cd fix update customer.firma 2013-07-02 17:20:59 +02:00
Peter Hormanns
7b3a532e14 neue Hives h67/h68 2013-06-26 15:05:22 +02:00
Peter Hormanns
e7998979a0 fix #130 2013-06-19 18:15:59 +02:00
Peter Hormanns
f2d2ca2045 test case error #130 2013-06-19 16:32:57 +02:00
86f2bb47a0 Refactored quota handling: use of constants. 2013-06-19 14:50:45 +02:00
ffae738ec6 New tariff: Updated multi option. 2013-06-19 14:12:39 +02:00