From feef9ed023b3ad0a8b61eb38ff63df54f38dc4b3 Mon Sep 17 00:00:00 2001 From: Wataru Nishimoto Date: Thu, 20 Feb 2020 13:51:23 +0900 Subject: [PATCH 1/3] feat: don't invalidate CDN cache when updating logged-in date (#175) --- Model/Behavior/SaveUserBehavior.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Model/Behavior/SaveUserBehavior.php b/Model/Behavior/SaveUserBehavior.php index d3b2bc1..dc6c06c 100644 --- a/Model/Behavior/SaveUserBehavior.php +++ b/Model/Behavior/SaveUserBehavior.php @@ -414,7 +414,9 @@ public function updateLoginTime(Model $model, $userId) { if (! $model->updateAll($update, $conditions)) { throw new InternalErrorException(__d('net_commons', 'Internal Server Error')); } + $model->invalidateCDN = false; $model->commit(); + $model->invalidateCDN = true; } catch (Exception $ex) { $model->rollback($ex); From b12b4536eccfdd83214328457d9ed57dfc1de0cd Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Sat, 8 Aug 2020 20:48:07 +0900 Subject: [PATCH 2/3] =?UTF-8?q?change:=20test:=20Travis=E3=81=8B=E3=82=89P?= =?UTF-8?q?HP5.6=E3=82=92=E5=89=8A=E9=99=A4,php72=E4=BB=A5=E9=99=8D?= =?UTF-8?q?=E3=81=A7UnitTest=E3=81=A7Warning=E3=81=8C=E5=87=BA=E3=82=8B?= =?UTF-8?q?=E3=81=9F=E3=82=81=E4=BF=AE=E6=AD=A3=20https://github.com/NetCo?= =?UTF-8?q?mmons3/NetCommons3/issues/1588?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f51057c..31e2e9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ dist: trusty env: matrix: - - NETCOMMONS_VERSION=master DB=mysql + - NETCOMMONS_VERSION=availability DB=mysql global: - secure: "O8iHAmjGUswmi+h3bFM5d82e0U9uCZGm7CiJbHAAhxzZ78k4K4I8Y4E9RVf/UV7XUtl+3aOvNfVNMPiynV1e7nhX/oDnQcwayqWb0aBFw0ROVXynZpyh2UR2/PkLYNFl/YhiDw1XlyM0eRvSF5OYPiw1VhfghH28DvCkUctAytM=" - GIT_COMMITTER_NAME=s-nakajima From f36192d21c712e7d02c909c6483ab529ea7aeffc Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Sat, 23 Apr 2022 07:46:46 +0900 Subject: [PATCH 3/3] =?UTF-8?q?test:=20github=20actions=E3=81=AE=E3=82=A8?= =?UTF-8?q?=E3=83=A9=E3=83=BC=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9501566..d6b4be4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: NC3_BUILD_DIR: "/opt/nc3" NC3_DOCKER_DIR: "/opt/docker" NC3_GIT_URL: "git://github.com/NetCommons3/NetCommons3.git" - NC3_GIT_BRANCH: "master" + NC3_GIT_BRANCH: "availability" PLUGIN_BUILD_DIR: ${{ github.workspace }} PHP_VERSION: ${{ matrix.php }} MYSQL_VERSION: ${{ matrix.mysql }}