Skip to content

Commit

Permalink
p3x-robot sunday release 7/9/2018, 6:05:19 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Jul 9, 2018
1 parent b32e4cf commit a0761f4
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 9 deletions.
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = function (grunt) {

]
},

},
less: {
development: require('./src/browser/grunt/less').lessSettings(grunt),
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ UrlToolkit {

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.6-887
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.8-888

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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@



# 🤖 P3X Gitlist v2.9.6-887
# 🤖 P3X Gitlist v2.9.8-888

This is an open-source project. Star this repository if you like it, or even donate! Thank you so much! :)

Expand Down Expand Up @@ -171,7 +171,7 @@ npm run watch

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.6-887
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.8-888

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

Expand Down
2 changes: 1 addition & 1 deletion artifacts/php-7.2-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sudo apt upgrade -y

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.6-887
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.8-888

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

Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ require('codemirror/mode/yaml/yaml');

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.6-887
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.8-888

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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-gitlist",
"version": "2.9.7-887",
"version": "2.9.9-889",
"corifeus": {
"prod-dir": "prod",
"postfix": "2607a7cb45c1136298a2a2ccb0a3d49ec147c7dab987b6dd4ec124a716e92c92",
Expand Down
8 changes: 8 additions & 0 deletions public/web-worker/commit-diff.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@

const showNumber = (lineInfo) => {
const first = lineInfo.line[0];
return first === ' ' || first === '@' || first === '-' || first === '+';
}

let htmlEncode

const construct = (data) => {
const diffs = data.diffs

for(let diffLineIndex in diffs.lines) {
diffs.lines[diffLineIndex].line = htmlEncode(diffs.lines[diffLineIndex].line)
}

let result = `
<table id="p3x-gitlist-commit-diff-ng-table" style="min-width: 100%; max-width: 100%">
<tr>
Expand Down Expand Up @@ -45,6 +52,7 @@ const construct = (data) => {
}

onmessage = function(e) {
eval(`htmlEncode = ${e.data.htmlEncode}`)
const result = construct(e.data);
postMessage(result)
}
8 changes: 6 additions & 2 deletions src/browser/js/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@ $(() => {
worker.terminate()
//console.log('worker.onmessage', event.data)
})
for(let diffLineIndex in diffs.lines) {
/*
for(let diffLineIndex in diffs.lines) {
diffs.lines[diffLineIndex].line = htmlEncode(diffs.lines[diffLineIndex].line)
}
*/
worker.postMessage({
diffs : diffs
diffs : diffs,
basepath: window.gitlist.basepath,
htmlEncode: window.htmlEncode.toString(),
});
}
}).catch(window.gitlist.ajaxErrorHandler)
Expand Down
2 changes: 1 addition & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.6-887
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.9.8-888

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

Expand Down

0 comments on commit a0761f4

Please sign in to comment.