Commit Graph

463 Commits

Author SHA1 Message Date
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
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
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
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
8976d93e03 pac migration (contains error) 2013-05-01 22:23:13 +02:00
Peter Hormanns
8e487713b7 fix error from mapping changes 2013-05-01 10:41:38 +02:00
peter
95c92273e9 return role "PAC_ADMIN_DW" or "PAC_ADMIN_SW" for webclient 2013-05-01 09:54:28 +02:00
peter
651a2f1c20 prepare 2013-04-30 22:12:52 +02:00
peter
14645dc911 clean or mapping 2013-04-30 22:11:59 +02:00
953938a033 Merge branch 'master' of
ssh://hsh04-source@hsh04.hostsharing.net/home/doms/source.hostsharing.net/source/hsadmin.git
2013-04-30 21:16:34 +02:00
fd53e7dc33 Skip most actions if pac is not a web packet. 2013-04-30 21:15:24 +02:00
9b206322f0 Skip most actions if pac is not a web packet. 2013-04-30 20:32:25 +02:00
Peter Hormanns
ce5c545bef pac migration partial implementation 2013-04-30 18:45:41 +02:00
Peter Hormanns
6ec7999be6 better variable name 2013-04-30 18:44:38 +02:00
Peter Hormanns
8d2214d123 fix db migration 2013-04-30 12:38:16 +02:00
Peter Hormanns
f602b24c13 merge pac-type tests 2013-04-29 20:01:09 +02:00
Peter Hormanns
aa82ca8ad1 custumer property exempt_vat 2013-04-29 12:11:31 +02:00
Peter Hormanns
d1da05fe6d customer properties free vat_indicator 2013-04-29 11:22:02 +02:00
Peter Hormanns
cc95dac6d5 introduce attribute free to pac definition 2013-04-25 13:57:01 +02:00
Peter Hormanns
66c38b36d4 remove todo 2013-04-25 13:18:49 +02:00
Peter Hormanns
9148f924b2 fix error: packet is now created as requested 2013-04-25 12:08:39 +02:00
Peter Hormanns
d61b2a2b35 ignore buggy testcase 2013-04-24 17:50:11 +02:00
Peter Hormanns
51f563d208 enqueue processors only on web packets 2013-04-24 17:30:20 +02:00
peter
9050a0b1b9 init bank account 2013-04-23 22:30:06 +02:00
peter
6a3f5d8ca1 inititalize bank account 2013-04-23 22:27:39 +02:00
Peter Hormanns
f32fd2c6b7 introduce price_list to hsdb 2013-04-18 11:57:16 +02:00
953f0320d2 Exit pac processor factory when processing "unknown" pac types.
Renamed DW/B and SW/B to PAC/DB and PAC/SW.
Introduced new pac type PAC/WEB.
Fixed tests.
2013-04-12 12:56:53 +02:00
Peter Hormanns
d9b68ccaed better name for logging conf property 2013-04-03 15:16:21 +02:00
Peter Hormanns
d4457e3d53 close #102 Logging, Queue 2013-04-03 13:38:50 +02:00
Peter Hormanns
c8984803c7 hostmaster@ as email sender 2013-04-02 19:26:06 +02:00
Peter Hormanns
bdde4368c4 fix #103 Fehlerbehandlung
remove duplicate JDBCProcessor
2013-04-02 18:23:08 +02:00
Purodha
e762eb2145 Merge branch 'master' of ssh://hsh04-source@hsh04.hostsharing.net/home/doms/source.hostsharing.net/source/hsadmin.git 2013-04-02 16:56:29 +01:00
Purodha
325ae31e08 Accept member accounts of more than 3 characters length in "run as"
command.
2013-04-02 16:55:04 +01:00
Peter Hormanns
10e6407a57 use template to generate named.pri-zones 2013-04-02 14:22:15 +02:00
Peter Hormanns
2e99a98acf fix virtual host template 2013-04-02 11:23:56 +02:00
Peter Hormanns
22024d78dd fix template hsh-named.conf 2013-03-07 18:26:36 +01:00
Peter Hormanns
b7a80fa47b fix htaccess template 2013-03-07 18:03:09 +01:00
Peter Hormanns
aee9884aa8 fix error in htaccess template 2013-03-07 16:48:30 +01:00
Peter Hormanns
747bf3ec7b escape parts of template 2013-03-07 16:13:48 +01:00
Peter Hormanns
2543cfcbcc correct vhost template 2013-03-07 14:35:30 +01:00
Peter Hormanns
0e82cbe2ca remove unnecessary WaitingTaskProcessor 2013-03-07 12:23:33 +01:00
Peter Hormanns
e6fb369f88 clean imports 2013-03-06 17:16:24 +01:00
Peter Hormanns
1816c4fc61 annotation for test purpose commented out 2013-03-06 15:48:52 +01:00
Peter Hormanns
ff76f1bf59 pac.delete remove domains before users 2013-03-06 12:39:40 +01:00
Peter Hormanns
6208e0ec8c use velocity template engine 2013-02-20 17:24:23 +01:00
Peter Hormanns
62a66e6859 format code 2013-02-20 17:21:37 +01:00
Purodha
c5c575c095 SelectableValues can now be annotated with kind of data (e.g.
SINGLEVALUE, DOMAINOPTIONS, et al), and these annotations are passed to
remote via moduleprop.search
2013-02-20 16:37:14 +00:00
Purodha
35ebbe6d4f Add more forgotten files, all of the selectableValues context. 2013-02-20 10:46:39 +00:00
Purodha
4a7e129280 Add DomainOptionvalues which was accidentally forgotten last time. 2013-02-20 10:43:13 +00:00
Purodha
24223ea0b7 Another step of handling the annotation of selectableValues. 2013-02-20 10:37:36 +00:00
Peter Hormanns
950ebee553 Write permission to be checked against data base (not against the
intended update)
2013-02-19 15:36:09 +00:00
Peter Hormanns
f8fd8709d5 set correct basepac on pac create 2013-01-28 16:16:23 +01:00
Peter Hormanns
f7416df277 set CascadeType for Domain-Options 2013-01-28 15:58:19 +01:00
Peter Hormanns
e6b213193a fix error in object initialization 2013-01-21 13:42:07 +01:00
Peter Hormanns
932ca07115 clean code 2013-01-21 13:41:41 +01:00
Peter Hormanns
3419f107df fix error in adding new object with hostmaster privileges 2013-01-21 13:41:01 +01:00
Peter Hormanns
6b27737db6 fix error in handling of empty subdomain-property 2013-01-21 13:40:17 +01:00
Peter Hormanns
5056e46610 fix or-mapping of pac-components 2013-01-21 13:38:31 +01:00
Peter Hormanns
75a68d707a allow user.add with given userid, if it is free 2013-01-21 13:37:35 +01:00
Peter Hormanns
9910aeb9e0 on domain add use default domainoptions only if no optins are given 2013-01-21 13:33:19 +01:00
Peter Hormanns
21ae1802e3 code formatting 2013-01-21 13:32:11 +01:00
Purodha
5b55f7a74c Good final test cases commented out. 2013-01-14 11:54:57 +00:00
Purodha
cdc4e12efc moduleprops testing, add test for several referredPros using one source field. 2013-01-05 16:47:48 +00:00
Purodha
9b3192c230 moduleprops now generally working for referredProps, too. Annotations for testing added to Customer. Added qualified field type. 2013-01-05 16:14:34 +00:00
Purodha
c1f04434a0 Some minor fixes in moduleprop, som commented out debugging stuff. Bug null pointer exception when referredProps have indirect fields, i.e. dot notation. 2013-01-03 22:12:52 +00:00
Purodha
f3b725d0d8 Module added: moduleprop - per module list of used fields taken from annotations (begun) 2013-01-03 19:55:19 +00:00
Peter Hormanns
d87cbf7c33 extend FielIO Annotation 2013-01-03 18:31:36 +01:00
Peter Hormanns
44484cce98 remove comments 2012-11-27 13:53:23 +01:00
Peter Hormanns
8b8d7db7e7 inserted linebreak 2012-11-20 14:53:11 +01:00
Peter Hormanns
f60df1baeb use hive-inetaddr instead pf pac-inetaddr in namend-hsh.conf 2012-11-14 11:39:59 +01:00
Peter Hormanns
0f7ee2bf1a fix: set default options for compatibility, allow update on pac-domain 2012-11-13 12:20:13 +01:00
Peter Hormanns
378339e99a quick-fix: problems with 404 in httpd-virtual 2012-11-13 12:19:06 +01:00
d3ceb761a8 Backup MX for External MX affects Postfix transport. 2012-10-31 15:34:49 +01:00
46b6502c2f Manage Postfix relayrecipients on mailin servers. 2012-10-31 14:23:20 +01:00
d0194f9967 Don't create/overwrite files in domain directory hierarchy on update. 2012-10-30 14:09:44 +01:00
abd74a422f Removed: Content migration (packet subdomain) 2012-10-30 13:56:40 +01:00
Peter Hormanns
b92369eea8 vhost templates from michael 2012-10-30 10:46:25 +01:00
Peter Hormanns
a7a0263ed3 aliases in postfix-mailin 2012-10-30 10:43:37 +01:00