Kienan Stewart
eb4b7242a4
Merge branch '292-sslcertificatechainfile_always_empty' into pu
2018-07-31 15:44:03 -04:00
Kienan Stewart
320cc8c5c5
Fix condition check for replacing the chainfile statement in vhost templates
2018-07-31 15:41:10 -04:00
Kienan Stewart
33008790a2
Merge branch '287-php_zone_regeneration_behaviour' into pu
2018-07-27 14:08:09 -04:00
Kienan Stewart
e24d17288b
Reload the zone after running the reload.d hooks for dns_reload_zone
...
This matches the existing behaviour of dns_regenerate in
functions_dns.sh, where dns_reload_zone is called before bind9 reload
is invoked for the domain.
A future improvement would be to add a new hook for modifying zone
files in save_zone() instead of doing it in a script in reload.d
2018-07-27 13:22:12 -04:00
Kienan Stewart
d6d25e9ec6
Fix script invocation when scanning a directory
...
Since the directory was not preprended to the filenames, no scripts
could ever be called.
2018-07-27 13:09:33 -04:00
Kienan Stewart
9072ba5371
Merge branch '283-clearer_wording_for_subdomain_https_status' into pu
2018-07-12 10:43:18 -04:00
Kienan Stewart
4884ae92c5
Indicate unknown for the HTTPS state of a sub-domain only when the type has an https option
2018-07-12 10:42:58 -04:00
Kienan Stewart
e42f165de9
Merge branch 'filebrowser-edit-syntax-error' into pu
2018-07-12 09:58:34 -04:00
Kienan Stewart
219f89eff1
Fix syntax error in bro_editor
2018-07-12 09:57:29 -04:00
Kienan Stewart
fa2e40b16c
Select default value for SSL type properly
2018-07-11 17:57:27 -04:00
Kienan Stewart
541ce25460
Match type more broadly for vhost when searching subdomains
2018-07-11 17:27:52 -04:00
Benjamin Sonntag
db916ace66
[fix] a bit of cleanup in m_dom AND the rewrite of WHOIS() function to be a 'smart' DIG NS instead
2018-07-04 18:39:27 +02:00
Benjamin Sonntag
2ad744ecc7
[fix] replacing /var/run by /run everywhere we can (not everywhere: postfix chroot or old compatibility is maintained
2018-07-04 17:42:42 +02:00
Benjamin Sonntag
cdd0bfd0fa
[fix] not throwing exception with db_mysql
2018-07-04 17:24:06 +02:00
Benjamin Sonntag
a5bf37786c
[fix] adding dependency to php-curl, fixing _sha512cr issues
2018-07-04 17:19:20 +02:00
Benjamin Sonntag
dbb41924bd
[enh] add a debug() method to messages, and set this instead of LOG() for most api calls => only api calls that CHANGES something are now calling log() (which logs) and others are calling debug() which logs nothing by default. A variable allow for debugging
2018-06-28 00:27:10 +02:00
Benjamin Sonntag
bcde8a9ef2
[enh] adding translations from Transifex + update of PO files
2018-06-28 00:03:18 +02:00
Benjamin Sonntag
f166518bb2
[enh] tell the user that (s)he can upload compressed files
2018-06-27 21:12:11 +02:00
Benjamin Sonntag
7945034004
[fix] name of variable + fix of upgrade script
2018-06-24 19:05:59 +02:00
Benjamin Sonntag
5489387103
[fix] misc bugs in m_ssl (incorrect table and certificate name) + restart instead of reload if necessary in src/reload-certs
2018-06-24 19:02:11 +02:00
Benjamin Sonntag
649b2c55d6
[fix] removing the concept of shared cert in m_ssl
2018-06-24 18:38:47 +02:00
Benjamin Sonntag
9e4021141a
[fix] fixing apache conf to use new cert mode + fixing bug in ssl : number of bound variables does not match number of tokens
2018-06-24 18:34:42 +02:00
Benjamin Sonntag
d6c7d15028
[enh] simplify piwik class to do less things when unused
2018-06-24 17:24:36 +02:00
Benjamin Sonntag
bb3bd0b14c
[enh] ssl : reload-certs for sysadmin + misc ssl fixes (including set_variables)
2018-06-24 17:04:55 +02:00
Benjamin Sonntag
f1026cb26e
[enh] removing jquery ui (now a package) + fixing head.php, simpler unless you use bro_editor
2018-06-24 16:49:43 +02:00
Benjamin Sonntag
404ba2803b
[enh] testing JS packages dependencies instead of including our own copy
2018-06-24 16:09:11 +02:00
Benjamin Sonntag
2d7601e4e0
[enh] now using compat=10 in debian packaging + depending on libjs-prettify => removing last lintian Error \o/
2018-06-24 15:44:12 +02:00
Benjamin Sonntag
5a3b9c7a13
[fix] next ssl step: we start to use /etc/ssl/(certs|private)/alternc-<servicename>.(pem|key) as location for system service certificates, also, trying to use PdoException in case of PDO error (better for bug tracking)
2018-06-24 15:43:23 +02:00
Benjamin Sonntag
d13d093c09
[fix] misc ssl code issues
2018-06-23 17:13:36 +02:00
Benjamin Sonntag
f9d2c783e5
[fix] alternc-ssl + dom global missing
2018-06-23 17:11:57 +02:00
Benjamin Sonntag
63f6c33f83
[fix] most lintian Errors \o/
2018-06-23 17:04:32 +02:00
Benjamin Sonntag
719e1539b0
[fix] renaming update_certs, fixing deprecated usage of
2018-06-23 16:54:54 +02:00
Benjamin Sonntag
a2e22a8d1f
[fix] we check FIRST for certificate already existing in ssl->import_check()
2018-06-23 16:37:11 +02:00
Benjamin Sonntag
152551a8bb
[fix] removing unused deduplicate in ssl
2018-06-23 16:31:11 +02:00
Benjamin Sonntag
ac841451bc
[enh] ssl class should work now, including system certificates and auto renewal of vhosts etc.
2018-06-23 16:28:50 +02:00
Benjamin Sonntag
8232c1a318
[enh] moving hosting_vhost-ssl.sh to be launched systematically by update_domains.sh, and renamed to update_cert.sh
2018-06-23 14:59:38 +02:00
Benjamin Sonntag
9587ff1bfc
[enh] new generation of the m_ssl class: less code, no shared or ssl_action, simpler searchBestCert(), no duplicates in /var/lib/alternc/ssl/private/ etc. [NEED TESTS]
2018-06-23 13:05:10 +02:00
Benjamin Sonntag
8dc5c20fa5
[fix] remove now unused ico for menu icons (in css)
2018-06-23 11:49:49 +02:00
Benjamin Sonntag
0f59614372
[enh] fontawesome css everywhere (almost)
2018-06-23 11:46:45 +02:00
Benjamin Sonntag
2f00c01b48
[fix] Call to a member function rowCount() on boolean
2018-06-23 11:10:29 +02:00
Benjamin Sonntag
73376121e5
[enh] finishing the HTTPS preference code
2018-06-23 11:03:57 +02:00
Benjamin Sonntag
2ed4cbad21
[enh] finishing the HTTPS preference code
2018-06-23 10:35:08 +02:00
Benjamin Sonntag
6007a3dea2
adding provider to certificates + fixing cert search function
2018-06-22 22:49:43 +02:00
Benjamin Sonntag
3dbb4d68ac
function to get the list of valid certs for a fqdn
2018-06-22 19:38:05 +02:00
Benjamin Sonntag
997795b935
starting to implement ssl best cert finder
2018-06-22 19:04:03 +02:00
Benjamin Sonntag
ddbc6e2ff4
[fix] fixing variable issues
2018-06-22 19:03:48 +02:00
Benjamin Sonntag
1a0614dcf3
starting to show HTTPS preferences
2018-06-22 18:27:15 +02:00
Benjamin Sonntag
46e21285d6
[fix] check that an imported ssl certificate doesn't already exist
2018-06-22 18:26:56 +02:00
Benjamin Sonntag
5079aa2e03
[enh] change the name of some variables
2018-06-22 17:37:04 +02:00
Benjamin Sonntag
57c8dc5942
[enh] css using fontawesome
2018-06-22 17:13:43 +02:00