From 56f6952f7dbc42887c9b202148d0b8871e8786c0 Mon Sep 17 00:00:00 2001 From: patrikx3 Date: Wed, 27 Oct 2021 17:03:42 +0200 Subject: [PATCH] r0b08x [chore] 10/27/2021, 5:03:42 PM --- Gruntfile.js | 3 ++- INSTALL.md | 2 +- README.md | 4 ++-- artifacts/php-7.2-ubuntu.md | 2 +- artifacts/screenshots.md | 2 +- change-break.md | 2 +- changelog.md | 6 +++++- package.json | 2 +- scripts/www-git-optimize.sh | 1 + src/Gitter/Repository.php | 1 + src/twig/navigation.twig | 2 +- todo.md | 2 +- 12 files changed, 18 insertions(+), 11 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index afafb96e..822234da 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,9 +1,10 @@ const fsExtra = require('fs-extra'); const path = require('path'); -const prodDir = require('./package').corifeus["prod-dir"] module.exports = function (grunt) { + const prodDir = JSON.parse(require('fs').readFileSync('./package.json')).corifeus["prod-dir"] + grunt.loadNpmTasks('grunt-contrib-less'); const builder = require(`corifeus-builder`); diff --git a/INSTALL.md b/INSTALL.md index e16ebc26..745fb224 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -127,7 +127,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.183 +[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.189 [![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) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/README.md b/README.md index 86fe65fd..1c80a401 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 v2021.10.183 +# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2021.10.189 @@ -167,7 +167,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.183 +[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.189 [![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) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/artifacts/php-7.2-ubuntu.md b/artifacts/php-7.2-ubuntu.md index 1f20fa37..a4503c39 100644 --- a/artifacts/php-7.2-ubuntu.md +++ b/artifacts/php-7.2-ubuntu.md @@ -31,7 +31,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.183 +[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.189 [![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) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/artifacts/screenshots.md b/artifacts/screenshots.md index 6c144f00..cacaa787 100644 --- a/artifacts/screenshots.md +++ b/artifacts/screenshots.md @@ -36,7 +36,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.183 +[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.189 [![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) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/change-break.md b/change-break.md index 3107ef4a..968f771b 100644 --- a/change-break.md +++ b/change-break.md @@ -62,7 +62,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.183 +[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.189 [![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) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/changelog.md b/changelog.md index 601187cc..a2dd7b9b 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,10 @@ [//]: #@corifeus-header:end +## v2021.10.189 +Released on 10/27/2021 +* FEATURE: The tag list menu is ordered by natural compare sorting. + ## v2021.10.183 Released on 10/27/2021 * CHORE: Update deps and NodeJs. @@ -427,7 +431,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https:// --- -[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.183 +[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2021.10.189 [![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) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) diff --git a/package.json b/package.json index 51d7df40..ee7a2850 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "p3x-gitlist", - "version": "2021.10.184", + "version": "2021.10.190", "corifeus": { "prod-dir": "prod", "css-postfix": "2603b0fd5c87d6a5f8882dd33db2c21a9a0a217acb2d048e218a986a0368c20f", diff --git a/scripts/www-git-optimize.sh b/scripts/www-git-optimize.sh index 3e5c2e00..68ccdf75 100755 --- a/scripts/www-git-optimize.sh +++ b/scripts/www-git-optimize.sh @@ -5,6 +5,7 @@ set -e pushd $TOP git checkout -f . git pull +chown git:www-data -R $PWD ./scripts/optimize.sh echo PWD: $PWD chown git:www-data -R $PWD diff --git a/src/Gitter/Repository.php b/src/Gitter/Repository.php index 4a9a1afc..6c599b97 100644 --- a/src/Gitter/Repository.php +++ b/src/Gitter/Repository.php @@ -378,6 +378,7 @@ public function getTags() return $cache[$this->path] = NULL; } + natsort($tags); $tags = array_reverse($tags); return $cache[$this->path] = $tags; diff --git a/src/twig/navigation.twig b/src/twig/navigation.twig index 0fad85e0..5b4103d7 100644 --- a/src/twig/navigation.twig +++ b/src/twig/navigation.twig @@ -58,7 +58,7 @@