From 57ad1d86a44eb1480312c0be4b2e2bc659470305 Mon Sep 17 00:00:00 2001 From: patrikx3 Date: Sun, 27 Jan 2019 14:20:33 +0100 Subject: [PATCH] robo8x [chore] 1/27/2019, 2:20:33 PM --- INSTALL.md | 2 +- README.md | 4 ++-- artifacts/php-7.2-ubuntu.md | 2 +- artifacts/screenshots.md | 2 +- change-break.md | 2 +- changelog.md | 7 +++++-- package.json | 4 ++-- src/GitList/Util/Repository.php | 13 +++++++------ todo.md | 2 +- 9 files changed, 21 insertions(+), 17 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 1222ce66..9a3ef59a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -116,7 +116,7 @@ UrlToolkit { --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) diff --git a/README.md b/README.md index 831f938a..e24d5610 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ -# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2019.1.23-6 +# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2019.1.23-7 🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much! @@ -158,7 +158,7 @@ January 9, 2019 --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) diff --git a/artifacts/php-7.2-ubuntu.md b/artifacts/php-7.2-ubuntu.md index 284b19e1..bead43e6 100644 --- a/artifacts/php-7.2-ubuntu.md +++ b/artifacts/php-7.2-ubuntu.md @@ -20,7 +20,7 @@ sudo apt upgrade -y --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) diff --git a/artifacts/screenshots.md b/artifacts/screenshots.md index eb52e29f..dcc64f68 100644 --- a/artifacts/screenshots.md +++ b/artifacts/screenshots.md @@ -25,7 +25,7 @@ --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) diff --git a/change-break.md b/change-break.md index 805b56a6..09410cd5 100644 --- a/change-break.md +++ b/change-break.md @@ -50,7 +50,7 @@ The following versions are not using `Babel`!!!! Yikes! --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) diff --git a/changelog.md b/changelog.md index a3052058..0648ee19 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,9 @@ [//]: #@corifeus-header:end +## v2019.01.27 +* BUGFIX: fix C like (C++, Objective-C, C) CodeMirror editor + ## v2019.01.23 * BUGFIX: the repo list automatic search (when loading the page and is loading the search) was not properly working @@ -239,7 +242,7 @@ require('codemirror/mode/yaml/yaml'); --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) @@ -255,4 +258,4 @@ require('codemirror/mode/yaml/yaml'); -[//]: #@corifeus-footer:end \ No newline at end of file +[//]: #@corifeus-footer:end diff --git a/package.json b/package.json index c7041f85..a71c32b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p3x-gitlist", - "version": "2019.1.23-7", + "version": "2019.1.27-0", "corifeus": { "prod-dir": "prod", "css-postfix": "4039a8d7750bcd851512aaad9b07f134f2a393360a5ec3a091cb8f3b06934e9c", @@ -11,7 +11,7 @@ "cdn": true, "icon": "fas fa-code", "code": "Spawn", - "nodejs": "v11.7.0", + "nodejs": "v11.8.0", "reponame": "gitlist", "build": true }, diff --git a/src/GitList/Util/Repository.php b/src/GitList/Util/Repository.php index b939669d..6ccc4adf 100644 --- a/src/GitList/Util/Repository.php +++ b/src/GitList/Util/Repository.php @@ -10,11 +10,12 @@ class Repository protected $defaultFileTypes = [ 'php' => 'php', - 'c' => 'clike', - 'h' => 'clike', - 'cpp' => 'clike', - 'm' => 'clike', - 'mm' => 'clike', + 'c' => 'text/x-csrc', + 'h' => 'text/x-c++src', + 'cpp' => 'text/x-c++src', + 'cc' => 'text/x-c++src', + 'm' => 'text/x-objectivec', + 'mm' => 'text/x-objectivec', 'ino' => 'clike', 'cs' => 'text/x-csharp', 'java' => 'text/x-java', @@ -243,4 +244,4 @@ public function extractRef($repository, $branch = '', $tree = '') return [$branch, $tree]; } -} \ No newline at end of file +} diff --git a/todo.md b/todo.md index f3f2d750..762ba119 100644 --- a/todo.md +++ b/todo.md @@ -32,7 +32,7 @@ --- -[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-6 +[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.23-7 [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact)