Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 6721381

Browse files
committed
robo8x [chore] 1/19/2019, 10:08:40 AM
1 parent 600d8f2 commit 6721381

File tree

9 files changed

+39
-16
lines changed

9 files changed

+39
-16
lines changed

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ UrlToolkit {
116116

117117
---
118118

119-
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.15-0
119+
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.19-0
120120

121121
[![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)
122122

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111

12-
# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2019.1.15-0
12+
# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2019.1.19-0
1313

1414

1515
🙏 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!
@@ -146,7 +146,7 @@ January 9, 2019
146146

147147
---
148148

149-
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.15-0
149+
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.19-0
150150

151151
[![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)
152152

artifacts/php-7.2-ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ sudo apt upgrade -y
2020

2121
---
2222

23-
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.15-0
23+
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.19-0
2424

2525
[![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)
2626

change-break.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The following versions are not using `Babel`!!!! Yikes!
5050

5151
---
5252

53-
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.15-0
53+
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.19-0
5454

5555
[![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)
5656

changelog.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
66
[//]: #@corifeus-header:end
77

8+
## v2019.01.18
9+
* FEATURE: the codemirror full height option has an alert, that is only shown on every week, not every time
10+
811
## v2019.01.15
912
* FIX: the index page search was not working 100% exactly
1013

@@ -77,7 +80,7 @@
7780
* Markdown, twemoji on commits
7881
* Fix long commits
7982
* Display SVG files, while you can edit it as well
80-
* The network dots were small, now big ones with 10 radius, 20px;
83+
* The network dots were small, now big ones with 10 radius, 20px;
8184
* Delete files
8285
* grunt-contrib-less - 2 is missing the `@path` variable
8386
* add change log display
@@ -160,7 +163,7 @@ require('codemirror/mode/yaml/yaml');
160163
```
161164

162165
## v1.1.6
163-
* All `PHP` files will be in the `root` and only `index.php`, `images`, `icons`, `svg`, `css`, `js`bundle files will be in the `public` subdir.
166+
* All `PHP` files will be in the `root` and only `index.php`, `images`, `icons`, `svg`, `css`, `js` bundle files will be in the `public` subdir.
164167

165168
## v1.1.5
166169
* Removed old `clone` button modal popup, using `Bootstrap` only
@@ -230,7 +233,7 @@ require('codemirror/mode/yaml/yaml');
230233

231234
---
232235

233-
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.15-0
236+
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.19-0
234237

235238
[![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)
236239

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "p3x-gitlist",
3-
"version": "2019.1.15-1",
3+
"version": "2019.1.19-1",
44
"corifeus": {
55
"prod-dir": "prod",
66
"css-postfix": "4039a8d7750bcd851512aaad9b07f134f2a393360a5ec3a091cb8f3b06934e9c",
@@ -11,7 +11,7 @@
1111
"cdn": true,
1212
"icon": "fas fa-code",
1313
"code": "Spawn",
14-
"nodejs": "v11.6.0",
14+
"nodejs": "v11.7.0",
1515
"reponame": "gitlist",
1616
"build": true
1717
},
@@ -29,8 +29,8 @@
2929
"devDependencies": {
3030
"bootswatch": "^3.3.7",
3131
"concurrently": "^4.1.0",
32-
"corifeus-builder": "^2019.1.9-1",
33-
"corifeus-utils": "^2019.1.9-1",
32+
"corifeus-builder": "^2019.1.19-1",
33+
"corifeus-utils": "^2019.1.19-1",
3434
"css-loader": "^2.1.0",
3535
"extract-text-webpack-plugin": "^4.0.0-beta.0",
3636
"file-loader": "^3.0.1",
@@ -47,7 +47,7 @@
4747
"style-loader": "^0.23.1",
4848
"terser-webpack-plugin": "^1.2.1",
4949
"url-loader": "^1.1.2",
50-
"webpack": "^4.28.3",
50+
"webpack": "^4.28.4",
5151
"webpack-cli": "^3.2.1"
5252
},
5353
"engines": {

src/browser/js/file.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ $(function() {
7373
const $codeCodeMirrorBig = $('#p3x-gitlist-file-codemirror-exceeded')
7474
const $codeCodeMirrorFullHeight = $('#p3x-gitlist-file-codemirror-full-height');
7575

76+
const fullHeightCookieName = 'p3x-gitlist-codemirror-full-height';
77+
let fullHeightCookie = Cookies.get(fullHeightCookieName)
78+
79+
if (fullHeightCookie !== undefined) {
80+
$codeCodeMirrorFullHeight.remove();
81+
}
82+
7683
let value = sourceCode.text();
7784
const maxSize = window.gitlist.codemirror_full_limit;
7885
const size = Math.ceil(value.length / 1024);
@@ -219,6 +226,10 @@ $(function() {
219226
})
220227

221228
const setScroll = () => {
229+
if (fullHeightCookie !== undefined) {
230+
$codeCodeMirrorFullHeight.remove()
231+
}
232+
222233
$codeCodeMirrorFullHeight.hide()
223234
$buttonFull.removeClass('active')
224235
$buttonScroll.addClass('active')
@@ -234,6 +245,10 @@ $(function() {
234245

235246
const setFull = () => {
236247
$codeCodeMirrorFullHeight.show()
248+
249+
fullHeightCookie = true
250+
Cookies.set(fullHeightCookieName, true, window.gitlist.cookieSettingsShort)
251+
237252
$buttonScroll.removeClass('active')
238253
$buttonFull.addClass('active')
239254
$codeMirror.css('height', 'auto')

src/browser/js/global/cookie.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
window.gitlist.cookieSettings = {
22
path: gitlist.basepath === '' ? '/' : gitlist.basepath,
3-
expires: 3650
4-
}
3+
expires: 3650,
4+
}
5+
6+
window.gitlist.cookieSettingsShort = {
7+
path: gitlist.basepath === '' ? '/' : gitlist.basepath,
8+
expires: 7,
9+
}

todo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
---
3434

35-
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.15-0
35+
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2019.1.19-0
3636

3737
[![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)
3838

0 commit comments

Comments
 (0)