Commit Graph

544 Commits

Author SHA1 Message Date
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
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
5c0c111a65 update schema for member_shares 2017-04-10 18:40:55 +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
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
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
fa186456dc initialize ticket validator 2015-08-07 17:25:30 +02:00
Peter Hormanns
d08478b47a sha256 and access restriction to generated certs and keys 2015-08-07 15:52:49 +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
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
2582919493 dont fire multiple sql statments in batch because selects throwed an
exception
2014-11-25 12:23:52 +01: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
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
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
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
37b3643db1 wait for kill 2013-08-10 12:59:48 +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
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
Peter Hormanns
ce55f33d79 make domain.delete more robust 2013-05-31 11:45:25 +02:00
Peter Hormanns
ff25c93ef7 switch date-format to german 2013-05-27 20:19:26 +02:00
Peter Hormanns
6693502d64 fix new error on pac.delete 2013-05-27 19:54:29 +02:00
peter
ae9911808f no error on missing mysql database 2013-05-26 22:20:47 +02:00
peter
3b01d27a1d make from-address of service-email configurable 2013-05-25 15:48:31 +02:00
Peter Hormanns
f52ab72b7a error sending tickets to otrs 2013-05-24 16:27:13 +02:00
Peter Hormanns
9b8db6acd7 could reproduce Problem with sw packages 2013-05-24 12:49:33 +02:00
Peter Hormanns
71bd2b5ad3 found one more mapping error with migrated database 2013-05-23 15:32:08 +02:00
Peter Hormanns
d305c64646 move basepac names to hostsharing package 2013-05-23 12:26:15 +02:00
Peter Hormanns
e26b0e5cc0 extract multioption constants to one place 2013-05-23 11:29:29 +02:00
Peter Hormanns
3efcc89056 do not create interfaces for managed server pacs 2013-05-23 11:26:24 +02:00
Peter Hormanns
266756b268 migration of pacs is working 2013-05-14 22:07:32 +02:00
Peter Hormanns
522b89c537 refactoring of database on pac-components 2013-05-13 19:52:13 +02:00
Peter Hormanns
d94c7da7cc fix issue on dynamic web vhost template 2013-05-10 14:56:29 +02:00
Peter Hormanns
9d22db1623 fix dynamic web issue on vhost template 2013-05-10 11:24:12 +02:00
Peter Hormanns
a1a8241909 merge 2013-05-09 17:17:52 +02:00
Peter Hormanns
8a60b90ce7 fix error on dynmic web domain vhosts 2013-05-09 17:11:17 +02:00