c093783904forgot the mailobject :P
Michael Kaufmann (d00p)
2018-02-26 16:02:09 +01:00
257855b43bfix typo in field-value for ApiCommand::getUserDetail()
Michael Kaufmann (d00p)
2018-02-26 16:00:54 +01:00
55ec20be10use Ftps.add in webinterface
Michael Kaufmann (d00p)
2018-02-26 15:55:49 +01:00
b0f355ba2ffixed in Mysqls.add, added Ftps.add
Michael Kaufmann (d00p)
2018-02-26 15:49:41 +01:00
ceb8619552preparations for assign-multiple-ips-to-an-admin in Api, not in webinterface yet
Michael Kaufmann (d00p)
2018-02-26 12:15:48 +01:00
6191ee6fbaadd Ftps.list and Ftps.delete
Michael Kaufmann (d00p)
2018-02-26 09:36:58 +01:00
c9256c0020add '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
592c9ed0b9automatically trim() all parameters given
Michael Kaufmann (d00p)
2018-02-26 08:21:56 +01:00
4a1decf359do 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
ae42e87a64fix in Admins.update; code-format Customers ApiCommand
Michael Kaufmann (d00p)
2018-02-25 21:26:51 +01:00
5c330505eacorrect Admins.update and Admins.delete
Michael Kaufmann (d00p)
2018-02-25 20:47:36 +01:00
c65d95c1efMerge remote-tracking branch 'origin/master' into 0.10.0
Michael Kaufmann (d00p)
2018-02-25 18:29:28 +01:00
2b366c8f23add 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
e66dde2e64id <> loginname, grrr
Michael Kaufmann (d00p)
2018-02-25 17:08:30 +01:00
f32a1921c5re-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
0958d07f23fixes in Admins and Customers ApiCommand
Michael Kaufmann (d00p)
2018-02-25 16:49:24 +01:00
a222114d0aremove 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
243b68cc37minor changes for testing
Michael Kaufmann (d00p)
2018-02-25 11:47:28 +01:00
2f30d85d32minor changes in ApiCommand; added Ftps.get ApiCommand
Michael Kaufmann (d00p)
2018-02-24 20:52:21 +01:00
ca07621de7reduce mysql-usage counter for admins too when deleting a mysql-database
Michael Kaufmann (d00p)
2018-02-24 20:12:57 +01:00
e5a1b504d7consistency replace dbserver with mysql_server everywhere
Michael Kaufmann (d00p)
2018-02-24 16:52:14 +01:00
20aac1ccd4finish Mysqls.update, untested
Michael Kaufmann (d00p)
2018-02-24 16:46:56 +01:00
bda652f947tiny fixes in Domains.add and Domains.update
Michael Kaufmann (d00p)
2018-02-24 16:26:47 +01:00
87912a9e07refactored moveCustomerToAdmin() function to Customers.move ApiCommand
Michael Kaufmann (d00p)
2018-02-24 16:06:53 +01:00
0bf430e0c1let customers edit password, def-language and theme in Customers.edit
Michael Kaufmann (d00p)
2018-02-24 15:02:49 +01:00
d2aaf84effadded Mysqls.add
Michael Kaufmann (d00p)
2018-02-24 12:13:47 +01:00
b5ebe48715forgot to save this one
Michael Kaufmann (d00p)
2018-02-24 11:01:29 +01:00
9a61a56732enhance 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
81d6a856d9forgot to hit save :P
Michael Kaufmann (d00p)
2018-02-23 19:51:06 +01:00
344ca827e4beautify api-help in webinterface
Michael Kaufmann (d00p)
2018-02-23 19:46:57 +01:00
1c4ecdffbfuse correct dbserver for getting mysql-size info in Mysqls.get()
Michael Kaufmann (d00p)
2018-02-23 18:24:10 +01:00
831ee221f6make 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
6409fb2dbestarted working on Mysqls-ApiCommand
Michael Kaufmann (d00p)
2018-02-23 15:17:22 +01:00
662f537a0dfixes in Admins.update(); use ApiCommand for theme-, language- and password-change
Michael Kaufmann (d00p)
2018-02-23 12:48:17 +01:00
8e0bfe9d09add Admins.update()
Michael Kaufmann (d00p)
2018-02-23 11:57:29 +01:00
8930d2a1bfcheck remote-ip when ip-restriction is set in api_keys table
Michael Kaufmann (d00p)
2018-02-23 11:08:24 +01:00
d9ec214e17secure included webinterface-modules; add settings-functions to Froxlor-ApiCommand
Michael Kaufmann (d00p)
2018-02-22 21:05:58 +01:00
dfb5d33a56add Admins.add()
Michael Kaufmann (d00p)
2018-02-22 16:51:56 +01:00
b42a7b1b26show basic api doc in webinterface (top-menu - options - API help)
Michael Kaufmann (d00p)
2018-02-22 13:41:28 +01:00
a468fe50dffilter 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
c1875132effix unchecked-checkbox value passed to API
Michael Kaufmann (d00p)
2018-02-22 11:34:40 +01:00
332e29be24lots of phpdoc; fix Customers::update()
Michael Kaufmann (d00p)
2018-02-22 11:16:55 +01:00
c93e2678f7make Customers::update() also work with loginname as an alternative to the id
Michael Kaufmann (d00p)
2018-02-22 10:47:14 +01:00
f8fe4be3effix parameters for checkboxes when passed via webinterface
Michael Kaufmann (d00p)
2018-02-21 14:52:23 +01:00
689ca853c3minor fixes in Customers and Domains ApiCommands, added list() and get() for Admins-ApiCommand
Michael Kaufmann (d00p)
2018-02-21 14:38:27 +01:00
8310e8554benable 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
b56414ed0eadd 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
5480fcbf5dadd default-ssl-ip setting
Michael Kaufmann (d00p)
2018-02-21 11:50:34 +01:00
26b9c030b5leave 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
aef528bea1Merge remote-tracking branch 'origin/master' into 0.10.0
Michael Kaufmann (d00p)
2018-02-21 08:54:29 +01:00
133af365bdenhance ApiCommand::getParam() to specify required and optional parameter
Michael Kaufmann (d00p)
2018-02-19 08:59:24 +01:00
532551263dadd new api-module to output list of possible modules/functions
Michael Kaufmann (d00p)
2018-02-18 10:19:17 +01:00
bdfd601daeMerge remote-tracking branch 'origin/master' into 0.10.0
Michael Kaufmann (d00p)
2018-02-18 10:17:38 +01:00
9619abdad7when 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
fd287e7be4add apache restart command after enabling modules in config-templates
Michael Kaufmann (d00p)
2018-02-17 14:51:04 +01:00
5afdbae83aminor phpDoc fixes in Logger classes
Michael Kaufmann (d00p)
2018-02-16 15:50:31 +01:00
7c96164770fix lng availability; add returncode for not-found messages
Michael Kaufmann (d00p)
2018-02-16 15:39:59 +01:00
60defd3cdffix 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
8978dd3a4bstd-subdomain <> ip connection is already handled by Domains::add()
Michael Kaufmann (d00p)
2018-02-16 13:55:12 +01:00
1e45da2410more work on Customer-ApiCommand
Michael Kaufmann (d00p)
2018-02-16 13:27:31 +01:00
2da2912c9cset update-check-urls to api-version; started working on Customers-ApiCommand
Michael Kaufmann (d00p)
2018-02-16 10:56:27 +01:00
4d12a4f37bMerge remote-tracking branch 'origin/master' into 0.10.0
Michael Kaufmann (d00p)
2018-02-16 09:24:14 +01:00
350e3d733ado 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
81602f17beadd Domains api module
Michael Kaufmann (d00p)
2018-02-15 14:44:48 +01:00
df5fb963c1make language strings the language the user uses
Michael Kaufmann (d00p)
2018-02-15 13:03:30 +01:00
0fc2fbaf09add language strings (english only currently)
Michael Kaufmann (d00p)
2018-02-15 12:59:34 +01:00
a82d5cf764minor fixes
Michael Kaufmann (d00p)
2018-02-15 11:37:38 +01:00
2c1f76e6a4definetly require json extension now
Michael Kaufmann (d00p)
2018-02-15 07:56:27 +01:00
d068477a93set version to 0.10.0
Michael Kaufmann (d00p)
2018-02-15 07:54:21 +01:00
4663f8c6ecconverted IpsAndPorts to API
Michael Kaufmann (d00p)
2018-02-15 07:48:03 +01:00
dd371c72a2start api implementation
Michael Kaufmann (d00p)
2018-02-15 07:47:35 +01:00
6f91bece17fix postfix config for postfix/courier on precise and trusty, fixes#516
Michael Kaufmann (d00p)
2018-02-15 07:44:54 +01:00
5c30961d3cset 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
edd5ef0ca0fix correct display of selected checkbox imap/pop3 when editing hosting plan
Michael Kaufmann (d00p)
2018-02-14 07:40:39 +01:00
6befe85656fix 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
27f8c8b438show domains of disabled customers also as disabled
Michael Kaufmann (d00p)
2018-02-13 11:49:15 +01:00
fc0c796b68avoid undefined variables/indexes
Michael Kaufmann (d00p)
2018-02-13 10:58:06 +01:00
482e8c9a11set 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
7a664a9990clean up panel_diskspace/panel_diskspace_admins when removing customer/admin
Michael Kaufmann (d00p)
2018-02-13 08:21:45 +01:00
372ab5d9c8add 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
de70dbb888fix checked-property when applying hosting-plan for allowed-phpconfigs
Michael Kaufmann (d00p)
2018-02-12 14:58:17 +01:00
4d7ceb9efeadd missing question-string
Michael Kaufmann (d00p)
2018-02-12 13:33:29 +01:00
bb792f228fadd new hosting-plans feature
Michael Kaufmann (d00p)
2018-02-12 13:28:13 +01:00
017396197eset version to 0.9.39.2 for bugfix release
0.9.39.2
Michael Kaufmann (d00p)
2018-02-12 07:49:07 +01:00
216f013c96add 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
05f1bf0a1fmeh, forgot to uncomment the settings storage for settings-import
Michael Kaufmann (d00p)
2018-02-12 07:46:38 +01:00
295fbae6f5create 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