38 Commits

Author SHA1 Message Date
LeoKhoa
129d48fba8 Merge branch 'dev' 2019-02-28 09:25:59 +00:00
LeoKhoa
f385987c60 Update new packages - Go 1.12 2019-02-28 09:25:29 +00:00
LeoKhoa
fedce20700 Merge branch 'dev' 2019-02-28 09:07:02 +00:00
Leo Khoa
c55fd67b0b Fix Download issue 2019-02-28 09:43:23 +07:00
Leo Khoa
395b80ecb8 Fix Download issue 2019-02-28 09:42:19 +07:00
Leo Khoa
1735d1665c Only add to Trust Store if SSL is enabled 2019-02-27 08:43:57 +07:00
Leo Khoa
7912e1c2ad Merge pull request #74 from leokhoa/dev
Only add to Trust Store if SSL is enabled
2019-02-27 08:22:40 +07:00
Leo Khoa
ca8836774b Only add to Trust Store if SSL is enabled 2019-02-27 08:22:03 +07:00
Leo Khoa
0c9eee073e Merge pull request #73 from leokhoa/dev
Warn if Path has space
2019-02-27 08:08:21 +07:00
Leo Khoa
9796a45b13 Warn if Path has space 2019-02-27 08:07:08 +07:00
Leo Khoa
e19ad0d49c Merge pull request #72 from leokhoa/dev
Fix Download issue
2019-02-27 07:59:04 +07:00
Leo Khoa
314c4cf16f Fix Download issue 2019-02-27 07:58:46 +07:00
Leo Khoa
ad23ba2334 Merge pull request #71 from leokhoa/dev
Fix Download issue
2019-02-27 02:55:13 +07:00
Leo Khoa
52f4e3b203 Fix Download issue
Add `DownloadMethod` directive
2019-02-27 02:54:20 +07:00
Leo Khoa
6196b5f09f Merge pull request #69 from leokhoa/dev
Set default "DownloadWaitTime" to 10 seconds
2019-02-24 11:43:22 +07:00
Leo Khoa
75c0d392e1 Set default "DownloadWaitTime" to 10 seconds
https://forum.laragon.org/topic/1320/sort-out-the-download-issue-with-curl-in-quick-app-and-quick-add
2019-02-24 11:42:57 +07:00
Leo Khoa
abaa772460 Merge pull request #65 from stijnvdb88/master
add support for memcached flush_all command
2019-02-16 10:30:44 +07:00
Stijn Van der Borght
1d23a840b3 add support for memcached flush_all command 2019-02-15 16:31:42 +00:00
LeoKhoa
302447eade Merge branch 'dev' 2019-02-14 11:27:33 +00:00
LeoKhoa
58c4d827ea Put packages.conf in usr dir 2019-02-14 11:25:49 +00:00
Leo Khoa
fa9fcd90f8 Merge pull request #64 from leokhoa/dev
Allow multiple string placeholder for the 'Quick app' feature
2019-02-14 18:23:07 +07:00
LeoKhoa
dcc49349c0 Allow multiple string placeholder for the 'Quick app' feature 2019-02-14 11:22:30 +00:00
Leo Khoa
a2ab3225a9 Merge pull request #63 from leokhoa/dev
Allow multiple string placeholder for the "Quick app" feature
2019-02-14 08:47:31 +07:00
Leo Khoa
fe83b6917c Allow multiple string placeholder for the "Quick app" feature 2019-02-14 08:47:10 +07:00
Leo Khoa
7d3f5140b6 Merge pull request #60 from leokhoa/dev
Dev
2019-02-11 12:12:28 +00:00
Leo Khoa
f9070ccdec Remove http to https redirection (because it may cause unexpected issues) 2019-02-11 11:45:17 +00:00
Leo Khoa
0a5c169885 Update PHP download url (move to github) 2019-02-11 11:11:12 +00:00
Leo Khoa
1f09bacc99 Add IgnoreList 2019-02-11 08:56:44 +07:00
Leo Khoa
418721a6f3 Force http to https redirection for Apache 2019-02-11 08:55:37 +07:00
Leo Khoa
ad53c1b829 Merge pull request #56 from leokhoa/dev
Add a fallback download method for "Quick app" and "Quick add"
2019-01-31 08:42:25 +07:00
Leo Khoa
0b0bc6a455 Reduce filesize 2019-01-31 08:39:37 +07:00
Leo Khoa
c8c5ab4961 Added "DownloadWaitTime"
If DownloadWaitTime=0, Laragon will use native method to download.
2019-01-26 09:29:03 +07:00
Leo Khoa
a030544e4d Fix download issues 2019-01-24 09:42:31 +07:00
Leo Khoa
6a0301d498 Fix download issue 2019-01-14 09:36:47 +07:00
Leo Khoa
ca0f9423fd Merge pull request #52 from leokhoa/dev
Fixed downloading issue with "Quick app"
2018-12-28 15:48:34 +07:00
Leo Khoa
ba32f2413d Fixed downloading issue with "Quick app" 2018-12-28 15:47:16 +07:00
Leo Khoa
1fa3c0d1b9 Merge pull request #51 from leokhoa/dev
Fixed downloading issue with "Quick app"
2018-12-28 09:42:36 +07:00
Leo Khoa
a2d1655fe9 Fixed downloading issue with "Quick app" 2018-12-28 09:41:55 +07:00
4 changed files with 58 additions and 35 deletions

View File

@@ -1,27 +1,27 @@
define ROOT "<<PROJECT_DIR>>" define ROOT "<<PROJECT_DIR>>"
define SITE "<<HOSTNAME>>" define SITE "<<HOSTNAME>>"
<VirtualHost *:<<PORT>>> <VirtualHost *:<<PORT>>>
DocumentRoot "${ROOT}" DocumentRoot "${ROOT}"
ServerName ${SITE} ServerName ${SITE}
ServerAlias *.${SITE} ServerAlias *.${SITE}
<Directory "${ROOT}"> <Directory "${ROOT}">
AllowOverride All AllowOverride All
Require all granted Require all granted
</Directory> </Directory>
</VirtualHost> </VirtualHost>
<VirtualHost *:<<SSL_PORT>>> <VirtualHost *:<<SSL_PORT>>>
DocumentRoot "${ROOT}" DocumentRoot "${ROOT}"
ServerName ${SITE} ServerName ${SITE}
ServerAlias *.${SITE} ServerAlias *.${SITE}
<Directory "${ROOT}"> <Directory "${ROOT}">
AllowOverride All AllowOverride All
Require all granted Require all granted
</Directory> </Directory>
SSLEngine on SSLEngine on
SSLCertificateFile <<SSL_DIR>>/<<HOSTNAME>>.crt SSLCertificateFile <<SSL_DIR>>/<<HOSTNAME>>.crt
SSLCertificateKeyFile <<SSL_DIR>>/<<HOSTNAME>>.key SSLCertificateKeyFile <<SSL_DIR>>/<<HOSTNAME>>.key
</VirtualHost> </VirtualHost>

View File

@@ -529,6 +529,29 @@ class Memcached
return $newVal; return $newVal;
} }
/**
* Flush the cache
*
* @return boolean
*/
public function flush()
{
$this->writeSocket('flush_all') ;
$s = $this->readSocket();
if ('OK' == $s) {
$this->resultCode = Memcached::RES_SUCCESS;
$this->resultMessage = '';
return true;
} else {
$this->resultCode = Memcached::RES_FAILURE;
$this->resultMessage = 'Flush fail.';
return false;
}
}
/** /**
* Write data to socket * Write data to socket
* *

Binary file not shown.

View File

@@ -1,11 +1,11 @@
# PHP # PHP
php=https://windows.php.net/downloads/releases/php-7.2.13-Win32-VC15-x64.zip php=https://github.com/leokhoa/laragon-packages/releases/download/4.0.9/php-7.3.2-Win32-VC15-x64.zip
# Apache # Apache
apache=https://home.apache.org/~steffenal/VC14/binaries/httpd-2.4.37-win64-VC14.zip apache=https://home.apache.org/~steffenal/VC14/binaries/httpd-2.4.37-win64-VC14.zip
# phpMyAdmin # phpMyAdmin
*phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/4.8.3/phpMyAdmin-4.8.3-english.zip *phpmyadmin=https://files.phpmyadmin.net/phpMyAdmin/4.8.5/phpMyAdmin-4.8.5-english.zip
# MariaDB # MariaDB
# mariadb10.3=https://downloads.mariadb.org/f/mariadb-10.3.10/winx64-packages/mariadb-10.3.10-winx64.zip/from/http%3A//sgp1.mirrors.digitalocean.com/mariadb/?serve # mariadb10.3=https://downloads.mariadb.org/f/mariadb-10.3.10/winx64-packages/mariadb-10.3.10-winx64.zip/from/http%3A//sgp1.mirrors.digitalocean.com/mariadb/?serve
@@ -15,9 +15,9 @@ mysql-5.7=https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.24-winx64.zip
------------------------------------------------------ ------------------------------------------------------
# Node.js # Node.js
#*node-11=https://nodejs.org/dist/v11.1.0/node-v11.1.0-win-x64.zip #*node-11=https://nodejs.org/dist/v11.10.0/node-v11.10.0-win-x64.zip
*node-10=https://nodejs.org/dist/v10.13.0/node-v10.13.0-win-x64.zip *node-10=https://nodejs.org/dist/v10.15.1/node-v10.15.1-win-x64.zip
*yarn=https://github.com/yarnpkg/yarn/releases/download/v1.12.3/yarn-v1.12.3.tar.gz *yarn=https://github.com/yarnpkg/yarn/releases/download/v1.14.0/yarn-v1.14.0.tar.gz
# MongoDB https://www.mongodb.com/download-center/community # MongoDB https://www.mongodb.com/download-center/community
mongodb-4=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.3.zip mongodb-4=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-4.0.3.zip
@@ -39,8 +39,8 @@ postgresql-11=https://get.enterprisedb.com/postgresql/postgresql-11.0-1-windows-
------------------------------------------------------ ------------------------------------------------------
#Go #Go
go-1.11=https://dl.google.com/go/go1.11.1.windows-amd64.zip go-1.12=https://dl.google.com/go/go1.12.windows-amd64.zip
liteide=https://github.com/visualfc/liteide/releases/download/x35.1/liteidex35.1.windows-qt5.9.5.zip liteide=https://github.com/visualfc/liteide/releases/download/x35.5/liteidex35.5.windows-qt5.9.5.zip
------------------------------------------------------ ------------------------------------------------------
ruby=https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.3.3-x64-mingw32.7z ruby=https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.3.3-x64-mingw32.7z
@@ -48,5 +48,5 @@ devkit=https://github.com/leokhoa/laragon/releases/download/portable/devkit.7z
------------------------------------------------------ ------------------------------------------------------
java=https://github.com/leokhoa/laragon/releases/download/portable/jdk-8u131-windows-x64.7z java=https://github.com/leokhoa/laragon/releases/download/portable/jdk-8u131-windows-x64.7z
sts=https://download.springsource.com/release/STS/3.9.6.RELEASE/dist/e4.9/spring-tool-suite-3.9.6.RELEASE-e4.9.0-win32-x86_64.zip #sts=https://download.springsource.com/release/STS/3.9.6.RELEASE/dist/e4.9/spring-tool-suite-3.9.6.RELEASE-e4.9.0-win32-x86_64.zip
eclipse=http://cdn.yatta.de/eclipse-mirror/technology/epp/downloads/release/2018-09/R/eclipse-committers-2018-09-win32-x86_64.zip eclipse=http://cdn.yatta.de/eclipse-mirror/technology/epp/downloads/release/2018-09/R/eclipse-committers-2018-09-win32-x86_64.zip