From 8be4a2049d2c25a1256b7ccfd7a8e82a4ab27786 Mon Sep 17 00:00:00 2001 From: Dmitry Krekota Date: Thu, 14 Apr 2016 00:47:03 +0300 Subject: [PATCH 1/4] Added MotoCMS --- src/apps.json | 14 ++++++++++++++ src/icons/MotoCMS.svg | 1 + 2 files changed, 15 insertions(+) create mode 100644 src/icons/MotoCMS.svg diff --git a/src/apps.json b/src/apps.json index 2c28f97b9..29581590e 100755 --- a/src/apps.json +++ b/src/apps.json @@ -4528,6 +4528,20 @@ "icon": "default.png", "website": "lavrsen.dk/foswiki/bin/view/Motion" }, + "MotoCMS": { + "cats": [ + 1 + ], + "icon": "MotoCMS.svg", + "script": ".*\\/mt-includes\\/(assets|js)\\/.*\\.js.*", + "html": "]*href=\".*\\/mt-content\\/.*\\.css", + "implies": [ + "PHP", + "AngularJS", + "jQuery" + ], + "website": "motocms.com" + }, "Movable Type": { "cats": [ 1 diff --git a/src/icons/MotoCMS.svg b/src/icons/MotoCMS.svg new file mode 100644 index 000000000..8459b8260 --- /dev/null +++ b/src/icons/MotoCMS.svg @@ -0,0 +1 @@ + \ No newline at end of file From 7f1ec2e47c10c9dff771ccfe8c55d128c2530dc7 Mon Sep 17 00:00:00 2001 From: Dmitry Krekota Date: Thu, 14 Apr 2016 01:11:29 +0300 Subject: [PATCH 2/4] Fixed error in MotoCMS html pattern --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 29581590e..b53baf199 100755 --- a/src/apps.json +++ b/src/apps.json @@ -4534,7 +4534,7 @@ ], "icon": "MotoCMS.svg", "script": ".*\\/mt-includes\\/(assets|js)\\/.*\\.js.*", - "html": "]*href=\".*\\/mt-content\\/.*\\.css", + "html": "]*href=\"[^>]*\\/mt-content\\/[^>]*\\.css", "implies": [ "PHP", "AngularJS", From 658afc223dabf9b70841a087941482f0ad51b31a Mon Sep 17 00:00:00 2001 From: Dmitry Krekota Date: Thu, 14 Apr 2016 01:35:33 +0300 Subject: [PATCH 3/4] Fixed error in MotoCMS script pattern --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index b53baf199..123544628 100755 --- a/src/apps.json +++ b/src/apps.json @@ -4533,7 +4533,7 @@ 1 ], "icon": "MotoCMS.svg", - "script": ".*\\/mt-includes\\/(assets|js)\\/.*\\.js.*", + "script": ".*\\/mt-includes\\/[asetj]{2,6}\\/.*\\.js.*", "html": "]*href=\"[^>]*\\/mt-content\\/[^>]*\\.css", "implies": [ "PHP", From ad098d82ddf293454f28d91fd5cc6b9662c8f7bb Mon Sep 17 00:00:00 2001 From: Dmitry Krekota Date: Thu, 14 Apr 2016 01:40:15 +0300 Subject: [PATCH 4/4] Fixed spacings in MotoCMS --- src/apps.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/apps.json b/src/apps.json index 123544628..b11ce32b0 100755 --- a/src/apps.json +++ b/src/apps.json @@ -4533,13 +4533,13 @@ 1 ], "icon": "MotoCMS.svg", - "script": ".*\\/mt-includes\\/[asetj]{2,6}\\/.*\\.js.*", - "html": "]*href=\"[^>]*\\/mt-content\\/[^>]*\\.css", - "implies": [ - "PHP", - "AngularJS", - "jQuery" - ], + "script": ".*\\/mt-includes\\/[asetj]{2,6}\\/.*\\.js.*", + "html": "]*href=\"[^>]*\\/mt-content\\/[^>]*\\.css", + "implies": [ + "PHP", + "AngularJS", + "jQuery" + ], "website": "motocms.com" }, "Movable Type": {