Commit Graph

2949 Commits

Author SHA1 Message Date
Michael Kaufmann
14c86d3d21 add cli parameter -s to froxlor:api-call to show possible command-parameters
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-30 13:11:33 +02:00
envoyr
98c7c81fb8 merge branch '0.11-dev' of github.com:Froxlor/Froxlor into 0.11-dev 2022-04-30 11:59:58 +02:00
envoyr
4ea31c7124 update installer class and ui 2022-04-30 11:59:38 +02:00
Michael Kaufmann
c7226a16d2 make selection of config-services downloadable as json e.g. for config-services script
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-30 11:26:39 +02:00
Michael Kaufmann
422950d386 add cli command to run API commands
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-30 10:18:09 +02:00
Michael Kaufmann
9b064cdcce more php8.1 compatibility
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 18:01:59 +02:00
Michael Kaufmann
3065b5fbf9 unittests / php8.1
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 17:51:31 +02:00
Michael Kaufmann
449897039c add testing for mysql-server/customer-update of allowed_mysqlserver; beautify config-command/file details
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 16:53:01 +02:00
Michael Kaufmann
bff499caed hopefully the last language migrations needed
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 10:33:42 +02:00
Michael Kaufmann
9ab185a71c even more language migration/fixing
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 10:23:45 +02:00
Michael Kaufmann
6116dda9bb more language migrations
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 10:01:58 +02:00
Michael Kaufmann
0dc77997fe more language cleanup and adding mysql-servers to customer add/delete in UI
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 09:36:46 +02:00
Michael Kaufmann
fe747b321c fix unit-tests with new language-class; fix language access in standard_error/standard_success; add MysqlServer API command and possibility to allow/disallow customers available mysql-servers
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-29 08:55:07 +02:00
envoyr
4f4c71d79b major refactoring of almost all files 2022-04-28 20:48:00 +02:00
Michael Kaufmann
a2e95b960f use new language class in API
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-28 18:14:00 +02:00
envoyr
373dfa7ad9 merge branch '0.11-dev' of github.com:Froxlor/Froxlor into 0.11-dev 2022-04-28 17:43:36 +02:00
envoyr
3d7d03b1f5 fix language strings in formfiles, navigation and tablelisting 2022-04-28 17:43:12 +02:00
Michael Kaufmann
450c682e7f try to fix github actions with new install/froxlor.sql.php; migrate update-functions into class
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-28 17:42:41 +02:00
Michael Kaufmann
6cc8ab0fb4 additional removes for new language mgmt; combined pre-requirement checks for cli commands; removed updaters for 0.9.x and 0.10.x (the last 0.10.x will be upgradable to 0.11.x of course)
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-28 17:11:40 +02:00
envoyr
da89315a10 fix view function in init and update dirname level in install 2022-04-28 16:57:35 +02:00
envoyr
5d08d5235d major changes in language management and installer 2022-04-28 16:49:11 +02:00
Michael Kaufmann
f2ea821948 forgot to save one more file, again fix wrong visible-callback for ssl-editor in domain-listing
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-25 09:05:58 +02:00
Michael Kaufmann
0c647e0acb fix wrong visible-callback for ssl-editor in domain-listing; fix adding new certificate via form; don't show logs-icon when domain is email_only
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-25 08:36:11 +02:00
Michael Kaufmann
57eeca5818 fix missing $ for a variable in Lighttpd-class
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-24 18:44:39 +02:00
Michael Kaufmann
1adb095918 corrections in config-templates
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-24 13:20:34 +02:00
Michael Kaufmann
b5794e463f add icon to display detailed commands/file-contents from config-templates in admin_configfiles
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-24 11:08:09 +02:00
Michael Kaufmann
000cb93def updating config-file xml's; prepare config-details view via ajax for config-commands/files to show in configuration
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-23 19:42:23 +02:00
envoyr
91d41af44a add button to restore table column defaults and ux improvements 2022-04-23 18:59:25 +02:00
Michael Kaufmann
7178b49101 add security question when deleting api-key
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-23 10:00:41 +02:00
Michael Kaufmann
d267f408eb re-add contextual classes to domain-entry depending on deactivated/termination_date
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-22 14:29:36 +02:00
Michael Kaufmann
68fcfd2cf5 fix ajax responses; re-add statistics link to main-domains for customers
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-22 13:52:08 +02:00
Michael Kaufmann
8c1621cced fix deprecated jquery calls; move editapikey jq call to Ajax.php; fix edit of apikeys::allowed_from and allow cidr
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-22 13:17:09 +02:00
envoyr
a615b04eb4 add function to manage table columns 2022-04-22 10:59:56 +02:00
Michael Kaufmann
b869c84f4d add new IPTools class; add new callback to show link to domain in domain-overview; validate possible allowed_ip-ranges in FroxlorRPC; fix possible duplicate ips for mysql-access-host in installation
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-22 10:36:46 +02:00
envoyr
e638511826 merge branch '0.11-dev' of github.com:Froxlor/Froxlor into 0.11-dev 2022-04-21 18:20:13 +02:00
envoyr
cb7f180d8d update cron fpm config builder and webpack assets 2022-04-21 18:19:23 +02:00
Michael Kaufmann
f82d78ad5d add 'back to overview' links when adding/editing entities
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-20 17:08:49 +02:00
Michael Kaufmann
74021ae142 fix ftp-action-links in listing; fix display of running/scheduled backup-job
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-20 16:51:40 +02:00
Michael Kaufmann
949f258f54 reflect same permission requirement for documentroot in Domains.add() and Domains.update()
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-20 16:18:02 +02:00
Michael Kaufmann
ebceab96b4 introduce static configs to enable/disable web-update (and possibly more later on)
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-20 15:18:50 +02:00
Michael Kaufmann
b362c1f232 remove unused IgnorantRecursiveDirectoryIterator and fix uninitialized variables
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-20 15:13:35 +02:00
Michael Kaufmann
58c646f59e allow api interaction via kind-of-RESTful style via api.php?/module/command/
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-17 20:59:25 +02:00
Dennis Dudek
25d9c52c58 remove unnecessary ternaries (#1027)
* remove unnecessary ternaries

* fix: !($id <= 0);

* remove ternary
2022-04-14 09:02:10 +02:00
Dennis Dudek
d90676a793 Optimised phpdoc and array value use in foreach (#1026)
* use array values by already destructed values in foreach
corrected php docs to use string|array

* use values by already desctructered array values in foreach
2022-04-13 10:37:25 +02:00
Dennis Dudek
7a13e4a421 remove nested dirname and use level parameter for better readability (#1025) 2022-04-13 10:14:03 +02:00
Michael Kaufmann
3fbf23cb47 switch from crypt() to password_hash() and password_verify(), thx to kapsonfire for the hint
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-10 14:35:20 +02:00
Michael Kaufmann
90682b774a fine-tuning configservices cli script
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-10 14:32:43 +02:00
Michael Kaufmann
0f4325f68d migrate shell/helper scripts to symfony/console components
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-10 10:05:21 +02:00
Michael Kaufmann
7f0eb97f9b show apikey details in modal-overlay; todo: edit allowed_from and valid_until
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-09 13:32:08 +02:00
Michael Kaufmann
9272c15706 add advanced_mode flag to various settings; exclude from output and global-search when settings-mode is 'basic'
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2022-04-08 18:41:28 +02:00