Commit graph

71 commits

Author SHA1 Message Date
Cristhian Martínez Ochoa 1e955d322b http delete error
Fixed an error when try to delete an HTTP Auth user and file is empty or file still doesn't exist.
2018-04-25 14:13:45 -06:00
Cristhian Martínez Ochoa d3830acfc8 conf functions improved
Prevent an issue with similar named variables.
2018-04-25 14:05:10 -06:00
Cristhian Martínez Ochoa d52f0fe866 fixed multiple wp redis
Fixed an issue when multiple WP installation have redis enabled causing an unexpected behavior like wrong redirections.
2018-04-25 14:00:22 -06:00
Cristhian Martínez Ochoa b26520b33f parked sites improved
- ssl nginx-error fixed.
- ssl check root before creation.
- parked and proxy sites are now listed in -delete-all.
2018-04-24 20:14:43 -06:00
Cristhian Martínez Ochoa e22f9fd8b4 bionic preparation
Test and preparation for Ubuntu 18.04 bionic beaver.
2018-04-24 17:39:01 -06:00
Cristhian Martínez Ochoa 32d998643a some small fixes
Fixed before release:
- stack lemp not acepting stable/mainline parameter.
- external db unattended not working.
- httpauth delete similar names issues.
- mysql site with external db not should need wp prefix parameter, removed!
- ssl-on failing due to subdomain check.
2018-04-05 12:37:20 -05:00
Cristhian Martínez Ochoa a0a8981f0c delete site w ext-db unattended
Delete site with external database now is unattended.
2018-04-04 13:49:24 -05:00
Cristhian Martínez Ochoa 4e26e73afe delete site unattended
Now delete site command acept "force" option for unattended scripts.
2018-04-04 12:10:32 -05:00
Cristhian Martínez Ochoa 448870d1bc mysql site unattended
MySQL site now can run unattended and also acept default and custom data.
2018-04-03 20:44:59 -05:00
Cristhian Martínez Ochoa ab654a0b7b nginx mainline
Now we can install mainline or stable versions of nginx.
2018-04-03 14:27:58 -05:00
Cristhian Martínez Ochoa 231eb61541 ssl site improved
Check if letsencrypt is installed.
ssl-off now can run unattended
2018-04-03 13:02:39 -05:00
Cristhian Martínez Ochoa c83ba09ddd webinoly command clean
Some spaces added and things...
2018-04-02 21:54:51 -05:00
Cristhian Martínez Ochoa 0aaaad5596 httpauth command improvements
Now is unattended (add and delete), some validations and code improvements.
2018-04-02 21:42:29 -05:00
Cristhian Martínez Ochoa ef9a7d0af4 stack messages improved
Installation messages improved and some small code improvements.
2018-03-31 21:08:40 -06:00
Cristhian Martínez Ochoa ea82e4d459 new -clear-cache command
Clear caches (fastcgi, redis, memcached, opcache, all)
2018-03-31 18:29:27 -06:00
Cristhian Martínez Ochoa ebb06ccc42 site command small fixes
- "-on" option now check if domain exists.
- "-proxy" now check if is subdomain.
- small changes in PMA install.
- some small code improvements.
2018-03-31 16:51:15 -06:00
Cristhian Martínez Ochoa a040e8b9a5 subdomain check overwrite command
Now we can overwrite if site is subdomain or not to skip/ignore webinoly smart check.
2018-03-27 16:41:56 -07:00
Cristhian Martínez Ochoa 42f3736f61 improved subdomain detection
now we compare against public-suffix list (mozilla) to know if a site is sub domain.
2018-03-27 13:32:48 -07:00
Cristhian Martínez Ochoa 827e5aa20b domain list update command
New command: webinoly -domain-list-update
Update the public suffix list that is used to validate domains when creating sites.
2018-03-27 09:58:09 -07:00
Cristhian Martínez Ochoa 4cac1bf105 install any version
Now we can install any version to ensure stability in projects.
And some other minor improvements in installation script.
2018-03-23 18:27:00 -07:00
Cristhian Martínez Ochoa cef1fed914 redis plugin installed
Now Redis Object Cache Plugin is automatically installed when WP Cache is enabled.
2018-03-19 14:32:37 -07:00
Cristhian Martínez Ochoa 404e42cd13 fix stack info
stack -info not working due to a missed lib.
2018-03-19 14:11:09 -07:00
Cristhian Martínez Ochoa fe0c5a3551 php 7.2 is now default
PHP v7.2 is now the default version installed with Webinoly.
2018-03-19 14:08:15 -07:00
Cristhian Martínez Ochoa ab5ded55cc release v1.3.1
New release and some improvements to installation file.
2018-03-01 12:16:16 -07:00
Cristhian Martínez Ochoa 59b9eb15b9 validate db user
Now we validate DB User in the same way as dbname to avoid reserved words or special characters.
2018-02-28 17:17:44 -07:00
Cristhian Martínez Ochoa cdc81de26d db_name validation improved
Check for reserved word and special characters
2018-02-27 17:51:05 -07:00
Cristhian Martínez Ochoa ecb20e4254 mysql command error exit code
Fixed error detection after mysql command execution.
2018-02-27 16:29:24 -07:00
Cristhian Martínez Ochoa aa5313bf80 new lib for webinoly command
install lib was splitted up and reduced
2018-02-26 18:32:16 -07:00
Cristhian Martínez Ochoa 5fecb0cf50 ssl root path validation and parked duplicate fix
Now we validate root path before request a certificate. Parked site fixed error when domain already exist.
2018-02-26 17:53:27 -07:00
Cristhian Martínez Ochoa 9a37741d4b force-flag instead delall
delall internal flag was renamed to be better described, now is called force-flag and is used always we want to force unattended mode.
2018-02-25 18:13:30 -07:00
Cristhian Martínez Ochoa 22f9bfbfa1 php install with force
php installation now acepts force option for unattended scripts, to avoid nginx question.
2018-02-25 17:49:57 -07:00
Cristhian Martínez Ochoa 63e7c70486 php-ver fixed to skip nginx question
Skip nginx question when not installed and php-ver running
2018-02-25 17:37:26 -07:00
Cristhian Martínez Ochoa 2b81c7c4be php-ver improved error messages
Now we detect when same version is already installed and give a proper message, not generic error.
2018-02-25 16:51:57 -07:00
Cristhian Martínez Ochoa c5bf9bc2f9 fix purge command
Some conditional operator syntax error fixed.
2018-02-18 21:44:41 -07:00
Cristhian Martínez Ochoa 34d341341f standard syntax for commands
Commands syntax updated: root, parked, toolsport, configcache with "=" and brackets "[ ]" .
2018-02-18 19:59:21 -07:00
Cristhian Martínez Ochoa ab31ea704d Unattended Purge
Force option for unattended purge, without questions.
2018-02-17 21:08:16 -07:00
Cristhian Martínez Ochoa bbc87ee730 https automatic redirection
HTTP to HTTPS automatic redirection when SSL is created and enabled in a site.
2018-02-17 17:00:57 -07:00
Cristhian Martínez Ochoa 84c86b3882 www support subdomains
NGINX-Conf: Remove www support for subdomains - only main domain will support both www and non-www.
2018-02-14 21:22:15 -07:00
Cristhian Martínez Ochoa cb11a00607 SSL for subdomain
Remove www from LE request when subdomain
2018-02-14 20:32:43 -07:00
Cristhian Martínez Ochoa bf16306d28 dbname check for reserved words
Check for reserved and special words that can not be used as identifiers in db names.
2018-02-13 21:31:16 -07:00
Cristhian Martínez Ochoa 023abfb00d Only DB Command
Create a DB without site - command hack
2018-02-13 19:39:54 -07:00
Cristhian Martínez Ochoa 2a8fcecef6 verify function improved
htpasswd is not a warning anymore, test is passed with an info text displayed.
2018-02-13 18:41:40 -07:00
Cristhian Martínez Ochoa 078e6b3634 deprecated php packages
xdebug deprecated in 5.6 and added support for 7.2
2018-02-13 18:25:24 -07:00
Cristhian Martínez Ochoa ae127a10b7 Delete DB improved
Catch error improved and press enter twice to skip in external DB.
2018-01-25 21:03:19 -07:00
Cristhian Martínez Ochoa b8a768aeef Delete All sites improved
Now we list all sites domains to be deleted and give a warning about DB's to be deleted.
2018-01-25 18:01:58 -07:00
Cristhian Martínez Ochoa a11bac30fb selective web-tools purge
Now web-tools only purge currently installed packages.
2018-01-25 16:30:46 -07:00
Cristhian Martínez Ochoa 9d97bf93cc reinstall process improved
Now we save a copy of config-file in home folder in case Webinoly is reinstalled.
2018-01-16 18:10:22 -07:00
Cristhian Martínez Ochoa a54d357a20 Messages Improved
Some messages improved, fixed typos and silent output test.
2018-01-16 14:40:33 -07:00
Cristhian Martínez Ochoa dd8442c348 proxy site argument validation
Better validation for arguments entered in proxy site creation.
2018-01-16 13:23:24 -07:00
Cristhian Martínez Ochoa 501cead332 php-ver command improved
New version must be different from the currently installed to prevent remove and then install the same version.
2018-01-16 12:28:39 -07:00