Commit Graph

  • c093783904 forgot the mailobject :P Michael Kaufmann (d00p) 2018-02-26 16:02:09 +01:00
  • 257855b43b fix typo in field-value for ApiCommand::getUserDetail() Michael Kaufmann (d00p) 2018-02-26 16:00:54 +01:00
  • 55ec20be10 use Ftps.add in webinterface Michael Kaufmann (d00p) 2018-02-26 15:55:49 +01:00
  • b0f355ba2f fixed in Mysqls.add, added Ftps.add Michael Kaufmann (d00p) 2018-02-26 15:49:41 +01:00
  • ceb8619552 preparations for assign-multiple-ips-to-an-admin in Api, not in webinterface yet Michael Kaufmann (d00p) 2018-02-26 12:15:48 +01:00
  • 6191ee6fba add Ftps.list and Ftps.delete Michael Kaufmann (d00p) 2018-02-26 09:36:58 +01:00
  • c9256c0020 add 'adminname' to result in Customers.get; fix Customers.move and return customer-data there instead of just true Michael Kaufmann (d00p) 2018-02-26 09:01:13 +01:00
  • 592c9ed0b9 automatically trim() all parameters given Michael Kaufmann (d00p) 2018-02-26 08:21:56 +01:00
  • 4a1decf359 do not update fields of customer a customer cannot even change; unset custom_notes when admin of customer set custom_notes_show to 0 Michael Kaufmann (d00p) 2018-02-26 07:51:44 +01:00
  • ae42e87a64 fix in Admins.update; code-format Customers ApiCommand Michael Kaufmann (d00p) 2018-02-25 21:26:51 +01:00
  • 5c330505ea correct Admins.update and Admins.delete Michael Kaufmann (d00p) 2018-02-25 20:47:36 +01:00
  • c65d95c1ef Merge remote-tracking branch 'origin/master' into 0.10.0 Michael Kaufmann (d00p) 2018-02-25 18:29:28 +01:00
  • 2b366c8f23 add field for fullchain to be stored in ssl-certificates-table; create fullchain file if given (it's not used by froxlor); do not generate/renew certificates for disabled customers domains Michael Kaufmann (d00p) 2018-02-25 18:22:15 +01:00
  • e66dde2e64 id <> loginname, grrr Michael Kaufmann (d00p) 2018-02-25 17:08:30 +01:00
  • f32a1921c5 re-read admin/customer when adding/updating so we return the fields from the table, not the placeholders of the prepared-statement Michael Kaufmann (d00p) 2018-02-25 17:03:49 +01:00
  • 0958d07f23 fixes in Admins and Customers ApiCommand Michael Kaufmann (d00p) 2018-02-25 16:49:24 +01:00
  • a222114d0a remove unnecessary parameter-checks as they will never happen; make Customers.update callable for customers Michael Kaufmann (d00p) 2018-02-25 15:02:58 +01:00
  • 243b68cc37 minor changes for testing Michael Kaufmann (d00p) 2018-02-25 11:47:28 +01:00
  • 2f30d85d32 minor changes in ApiCommand; added Ftps.get ApiCommand Michael Kaufmann (d00p) 2018-02-24 20:52:21 +01:00
  • ca07621de7 reduce mysql-usage counter for admins too when deleting a mysql-database Michael Kaufmann (d00p) 2018-02-24 20:12:57 +01:00
  • e5a1b504d7 consistency replace dbserver with mysql_server everywhere Michael Kaufmann (d00p) 2018-02-24 16:52:14 +01:00
  • 20aac1ccd4 finish Mysqls.update, untested Michael Kaufmann (d00p) 2018-02-24 16:46:56 +01:00
  • bda652f947 tiny fixes in Domains.add and Domains.update Michael Kaufmann (d00p) 2018-02-24 16:26:47 +01:00
  • 87912a9e07 refactored moveCustomerToAdmin() function to Customers.move ApiCommand Michael Kaufmann (d00p) 2018-02-24 16:06:53 +01:00
  • 0bf430e0c1 let customers edit password, def-language and theme in Customers.edit Michael Kaufmann (d00p) 2018-02-24 15:02:49 +01:00
  • d2aaf84eff added Mysqls.add Michael Kaufmann (d00p) 2018-02-24 12:13:47 +01:00
  • b5ebe48715 forgot to save this one Michael Kaufmann (d00p) 2018-02-24 11:01:29 +01:00
  • 9a61a56732 enhance phpdoc and add @access to specify which usergroup can use the ApiCommands; add --import-settings parameter to config-services.php CLI script to gain even more automatism when setting up Michael Kaufmann (d00p) 2018-02-24 10:57:52 +01:00
  • 81d6a856d9 forgot to hit save :P Michael Kaufmann (d00p) 2018-02-23 19:51:06 +01:00
  • 344ca827e4 beautify api-help in webinterface Michael Kaufmann (d00p) 2018-02-23 19:46:57 +01:00
  • 1c4ecdffbf use correct dbserver for getting mysql-size info in Mysqls.get() Michael Kaufmann (d00p) 2018-02-23 18:24:10 +01:00
  • 831ee221f6 make lng, version, dbversion and branding protected variables of ApiCommand to avoid the need of 'global' statement Michael Kaufmann (d00p) 2018-02-23 18:18:31 +01:00
  • 6409fb2dbe started working on Mysqls-ApiCommand Michael Kaufmann (d00p) 2018-02-23 15:17:22 +01:00
  • 662f537a0d fixes in Admins.update(); use ApiCommand for theme-, language- and password-change Michael Kaufmann (d00p) 2018-02-23 12:48:17 +01:00
  • 8e0bfe9d09 add Admins.update() Michael Kaufmann (d00p) 2018-02-23 11:57:29 +01:00
  • 8930d2a1bf check remote-ip when ip-restriction is set in api_keys table Michael Kaufmann (d00p) 2018-02-23 11:08:24 +01:00
  • d9ec214e17 secure included webinterface-modules; add settings-functions to Froxlor-ApiCommand Michael Kaufmann (d00p) 2018-02-22 21:05:58 +01:00
  • dfb5d33a56 add Admins.add() Michael Kaufmann (d00p) 2018-02-22 16:51:56 +01:00
  • b42a7b1b26 show basic api doc in webinterface (top-menu - options - API help) Michael Kaufmann (d00p) 2018-02-22 13:41:28 +01:00
  • a468fe50df filter deactivated users who want to use the API; fix error-output in Customers::update() Michael Kaufmann (d00p) 2018-02-22 11:42:13 +01:00
  • c1875132ef fix unchecked-checkbox value passed to API Michael Kaufmann (d00p) 2018-02-22 11:34:40 +01:00
  • 332e29be24 lots of phpdoc; fix Customers::update() Michael Kaufmann (d00p) 2018-02-22 11:16:55 +01:00
  • c93e2678f7 make Customers::update() also work with loginname as an alternative to the id Michael Kaufmann (d00p) 2018-02-22 10:47:14 +01:00
  • f8fe4be3ef fix parameters for checkboxes when passed via webinterface Michael Kaufmann (d00p) 2018-02-21 14:52:23 +01:00
  • 689ca853c3 minor fixes in Customers and Domains ApiCommands, added list() and get() for Admins-ApiCommand Michael Kaufmann (d00p) 2018-02-21 14:38:27 +01:00
  • 8310e8554b enable usage of 'domainname' as an alternative to 'id' for Domains::get() and Domains::delete(); enable usage of 'loginname' as an alternative to 'id' for Customers::get() and Customers::delete() Michael Kaufmann (d00p) 2018-02-21 13:14:54 +01:00
  • b56414ed0e add sql-query of last statement to sql-debug for debugging purposes; fix default-ssl-ip setting and allow 'none' value Michael Kaufmann (d00p) 2018-02-21 12:16:50 +01:00
  • 5480fcbf5d add default-ssl-ip setting Michael Kaufmann (d00p) 2018-02-21 11:50:34 +01:00
  • 26b9c030b5 leave default-values for adding std-subdomain when adding customer from the parameters-array; do not require ipandports parameter when adding domain but rather default to system.defaultip if no ipandport is given Michael Kaufmann (d00p) 2018-02-21 10:57:46 +01:00
  • aef528bea1 Merge remote-tracking branch 'origin/master' into 0.10.0 Michael Kaufmann (d00p) 2018-02-21 08:54:29 +01:00
  • d5b9ad3452 darn, stay php-5.3 compatible, thx greppy Michael Kaufmann (d00p) 2018-02-20 21:37:06 +01:00
  • 5437fcdc89 insert tasks to rebuild configs etc. after import of settings, thx to v3ng for noticing Michael Kaufmann (d00p) 2018-02-20 19:15:55 +01:00
  • b9653c5abd fix company-required check for good now :P Michael Kaufmann (d00p) 2018-02-20 19:11:33 +01:00
  • eabc78c84f enhance check for requirement of company field Michael Kaufmann (d00p) 2018-02-20 14:21:40 +01:00
  • 033393880d fix typo in variable name Michael Kaufmann (d00p) 2018-02-20 14:14:47 +01:00
  • 6bcfb81c6c Merge remote-tracking branch 'origin/master' into 0.10.0 Michael Kaufmann (d00p) 2018-02-19 14:10:42 +01:00
  • b2ac1fb593 add FpmDaemons ApiCommand Michael Kaufmann (d00p) 2018-02-19 13:58:39 +01:00
  • 8c6ae4f3a3 add PhpSettings ApiCommand Michael Kaufmann (d00p) 2018-02-19 13:36:15 +01:00
  • 131efc544d fix syntax error in lang file, fixes #522 Michael Kaufmann (d00p) 2018-02-19 12:27:00 +01:00
  • 5524ff7cae fixes in Customers::update() Michael Kaufmann (d00p) 2018-02-19 11:36:01 +01:00
  • 603e14913b finished Customer::update(), untested Michael Kaufmann (d00p) 2018-02-19 10:45:41 +01:00
  • 160474f2b6 Merge pull request #521 from JB1985/master Michael Kaufmann 2018-02-19 09:03:32 +01:00
  • 168738b23a Update german.lng.php JB1985 2018-02-19 09:02:34 +01:00
  • 133af365bd enhance ApiCommand::getParam() to specify required and optional parameter Michael Kaufmann (d00p) 2018-02-19 08:59:24 +01:00
  • 532551263d add new api-module to output list of possible modules/functions Michael Kaufmann (d00p) 2018-02-18 10:19:17 +01:00
  • bdfd601dae Merge remote-tracking branch 'origin/master' into 0.10.0 Michael Kaufmann (d00p) 2018-02-18 10:17:38 +01:00
  • 9619abdad7 when importing settings with enabled ssl flag, validate that the target system has ssl enabled ip's to avoid unexpected behaviour, tthx v3ng for testing Michael Kaufmann (d00p) 2018-02-17 16:00:50 +01:00
  • fd287e7be4 add apache restart command after enabling modules in config-templates Michael Kaufmann (d00p) 2018-02-17 14:51:04 +01:00
  • 5afdbae83a minor phpDoc fixes in Logger classes Michael Kaufmann (d00p) 2018-02-16 15:50:31 +01:00
  • 7c96164770 fix lng availability; add returncode for not-found messages Michael Kaufmann (d00p) 2018-02-16 15:39:59 +01:00
  • 60defd3cdf fix unlimited flags when adding customer; add debug flag to log all api-requests for testing purposes now Michael Kaufmann (d00p) 2018-02-16 14:34:55 +01:00
  • 8978dd3a4b std-subdomain <> ip connection is already handled by Domains::add() Michael Kaufmann (d00p) 2018-02-16 13:55:12 +01:00
  • 1e45da2410 more work on Customer-ApiCommand Michael Kaufmann (d00p) 2018-02-16 13:27:31 +01:00
  • 2da2912c9c set update-check-urls to api-version; started working on Customers-ApiCommand Michael Kaufmann (d00p) 2018-02-16 10:56:27 +01:00
  • 4d12a4f37b Merge remote-tracking branch 'origin/master' into 0.10.0 Michael Kaufmann (d00p) 2018-02-16 09:24:14 +01:00
  • 350e3d733a do not check for options if field is disabled, unset enabled-ownvhost flags for fcgid/fpm if the corresponding other one is activated; fixes #518 Michael Kaufmann (d00p) 2018-02-16 09:22:34 +01:00
  • 81602f17be add Domains api module Michael Kaufmann (d00p) 2018-02-15 14:44:48 +01:00
  • df5fb963c1 make language strings the language the user uses Michael Kaufmann (d00p) 2018-02-15 13:03:30 +01:00
  • 0fc2fbaf09 add language strings (english only currently) Michael Kaufmann (d00p) 2018-02-15 12:59:34 +01:00
  • a82d5cf764 minor fixes Michael Kaufmann (d00p) 2018-02-15 11:37:38 +01:00
  • 2c1f76e6a4 definetly require json extension now Michael Kaufmann (d00p) 2018-02-15 07:56:27 +01:00
  • d068477a93 set version to 0.10.0 Michael Kaufmann (d00p) 2018-02-15 07:54:21 +01:00
  • 4663f8c6ec converted IpsAndPorts to API Michael Kaufmann (d00p) 2018-02-15 07:48:03 +01:00
  • dd371c72a2 start api implementation Michael Kaufmann (d00p) 2018-02-15 07:47:35 +01:00
  • 6f91bece17 fix postfix config for postfix/courier on precise and trusty, fixes #516 Michael Kaufmann (d00p) 2018-02-15 07:44:54 +01:00
  • 5c30961d3c set version to 0.9.39.5 for bugfix release (imap/pop3 ticks not enabled if active in hosting plan when editing hosting plan) 0.9.39.5 Michael Kaufmann (d00p) 2018-02-14 13:31:39 +01:00
  • edd5ef0ca0 fix correct display of selected checkbox imap/pop3 when editing hosting plan Michael Kaufmann (d00p) 2018-02-14 07:40:39 +01:00
  • 6befe85656 fix add/edit domain due to wrong access to settings; setting version to 0.9.39.4 for bugfix release 0.9.39.4 Michael Kaufmann (d00p) 2018-02-13 12:23:05 +01:00
  • 27f8c8b438 show domains of disabled customers also as disabled Michael Kaufmann (d00p) 2018-02-13 11:49:15 +01:00
  • fc0c796b68 avoid undefined variables/indexes Michael Kaufmann (d00p) 2018-02-13 10:58:06 +01:00
  • 482e8c9a11 set version to 0.9.39.3 for maintenance release and upcoming debian package so the new hosting-plan feature is included 0.9.39.3 Michael Kaufmann (d00p) 2018-02-13 09:06:49 +01:00
  • 7a664a9990 clean up panel_diskspace/panel_diskspace_admins when removing customer/admin Michael Kaufmann (d00p) 2018-02-13 08:21:45 +01:00
  • 372ab5d9c8 add domain flag to avoid generation of nginx try_files directive in webroot which is not suitable for some applications; fixes #461 Michael Kaufmann (d00p) 2018-02-13 08:12:58 +01:00
  • de70dbb888 fix checked-property when applying hosting-plan for allowed-phpconfigs Michael Kaufmann (d00p) 2018-02-12 14:58:17 +01:00
  • 4d7ceb9efe add missing question-string Michael Kaufmann (d00p) 2018-02-12 13:33:29 +01:00
  • bb792f228f add new hosting-plans feature Michael Kaufmann (d00p) 2018-02-12 13:28:13 +01:00
  • 017396197e set version to 0.9.39.2 for bugfix release 0.9.39.2 Michael Kaufmann (d00p) 2018-02-12 07:49:07 +01:00
  • 216f013c96 add script to automatically configure services from shell without the need of copy/paste from the interface Michael Kaufmann (d00p) 2018-02-12 07:47:51 +01:00
  • 05f1bf0a1f meh, forgot to uncomment the settings storage for settings-import Michael Kaufmann (d00p) 2018-02-12 07:46:38 +01:00
  • 295fbae6f5 create bash script to generate proftpd-certificates in case system does not use /bin/bash as shell Michael Kaufmann (d00p) 2018-02-11 16:10:10 +01:00