Commit Graph

784 Commits

Author SHA1 Message Date
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
Peter Hormanns
ce55f33d79 make domain.delete more robust 2013-05-31 11:45:25 +02:00
peter
d129456e05 new hives h65 h66 2013-05-28 22:13:37 +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
e64adba33d migrate update-database script to schema.sql 2013-05-24 12:10:34 +02:00
Peter Hormanns
113489da3f update test sw pac migration 2013-05-24 11:38:46 +02:00
Peter Hormanns
0ec838dbe7 add example persistence.xml with sql logging 2013-05-23 15:32:48 +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
3d76b55147 add TODO test need update 2013-05-23 11:27:59 +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
d2f8401387 drop updated database 2013-05-13 20:56:28 +02:00
Peter Hormanns
522b89c537 refactoring of database on pac-components 2013-05-13 19:52:13 +02:00
Peter Hormanns
0b888d2a73 prepare for moving basepacket foreign key 2013-05-11 17:52:53 +02:00
Peter Hormanns
d94c7da7cc fix issue on dynamic web vhost template 2013-05-10 14:56:29 +02:00
Peter Hormanns
e30c0b1d9b fix project name in build.xml 2013-05-10 13:44:09 +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
Peter Hormanns
d63deeceae fix error on dynmic web domain vhosts 2013-05-09 16:51:34 +02:00
Peter Hormanns
855ab2551a fix customer update: update shares signed 2013-05-09 16:22:41 +02:00
Peter Hormanns
58f7c0be13 activate cunstomer tests 2013-05-09 16:02:49 +02:00
peter
fe992459ee test assures member.sharessigned is updateable 2013-05-08 19:56:28 +02:00
peter
69d8aa71a7 remove wrong comment 2013-05-08 19:40:58 +02:00
peter
76ed538fdf fix dom.isDynamic 2013-05-07 23:45:07 +02:00
Peter Hormanns
5028419aa3 new tests to show errors in pac module 2013-05-06 19:59:23 +02:00
Peter Hormanns
70752cf64b only some comment 2013-05-02 17:52:16 +02:00
Peter Hormanns
1ba497e953 mapping of basepac corrected 2013-05-02 17:10:45 +02:00
Peter Hormanns
3b61da9c17 better mapping of paccomponent 2013-05-02 16:59:13 +02:00
Peter Hormanns
5b28847282 extend test managed hive pac 2013-05-02 13:51:24 +02:00
Peter Hormanns
8976d93e03 pac migration (contains error) 2013-05-01 22:23:13 +02:00
Peter Hormanns
3cab6d2c7f test for successful pac migration 2013-05-01 14:26:12 +02:00
Peter Hormanns
c9f5e29792 data and test for pac.add SRV/MDG 2013-05-01 13:51:55 +02:00