Skip to content

Commit

Permalink
p3x-robot sunday release 2018-5-11 16:00:25
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed May 11, 2018
1 parent ad99f6a commit eab1bbc
Show file tree
Hide file tree
Showing 28 changed files with 176 additions and 12 deletions.
32 changes: 30 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const utils = require('corifeus-utils');
const fs = require('fs');
const fsExtra = require('fs-extra');

Expand All @@ -11,6 +10,35 @@ module.exports = function (grunt) {
'themes/default/css/fontawesome.css': 'themes/default/less/fontawesome.less',
}

const wiredepOverrides = {
// for jgrowl it requires animate, so slim is not good
'jquery': {
main: 'dist/jquery.js'
},
codemirror: {
main: [
'lib/codemirror.css',
'lib/codemirror.js',
'addon/mode/simple.js',
'addon/mode/multiplex.js',
'addon/mode/multiplex.js',
'mode/xml/xml.js',
'mode/javascript/javascript.js',
'mode/css/css.js',
'mode/htmlmixed/htmlmixed.js',
'mode/handlebars/handlebars.js',
'mode/yaml/yaml.js',
'mode/sass/sass.js',
]
},
twemoji: {
main: [
'2/twemoji.js',
]
}
};


const root = './node_modules/bootswatch';
const watches = fs.readdirSync(root);
const themes = ['default'];
Expand Down Expand Up @@ -105,7 +133,7 @@ var themes = ${JSON.stringify(themeCss, null, 4)}
target: {
src: 'themes/default/twig/layout.twig',
ignorePath: '../../..',
// overrides: wiredepOverrides,
overrides: wiredepOverrides,
// exclude: wiredepExclude
fileTypes: {
twig: {
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ UrlToolkit {

---

[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.1
[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.2

[![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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@



# 🤖 P3X Gitlist v1.1.1
# 🤖 P3X Gitlist v1.1.2

# Description

Expand All @@ -24,7 +24,7 @@ This is Klaus Silveira's fork, with multiple themes, sub-modules and updated to
Done, just put on your server, nothing to build:
https://github.com/patrikx3/gitlist/releases

### v1.1.1 - unreleased / in progress
### v1.2.0 - unreleased / in progress
* In submodules, if the "submodule" and "path" is not the same, it chokes (it should work the submodule name and path are not the same)
* Works
* submodule "path/name"
Expand Down Expand Up @@ -76,7 +76,7 @@ If you have Composer in your path, things get easier. But you know the drill.

---

[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.1
[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.2

[![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 @@ -19,7 +19,7 @@ sudo apt upgrade -y

---

[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.1
[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.2

[![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
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"lodash": "^4.17.10",
"codemirror": "^5.37.0",
"raphael": "^2.2.7",
"php-date-formatter": "^1.3.4"
"php-date-formatter": "^1.3.4",
"twemoji": "^2.6.0"
}
}
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
[//]: #@corifeus-header:end

### v1.1.2
* Added twemoji's

### v1.1.1
* Format size was missing space (ugly)
* Graph time was not using the ```config.ini```
Expand Down Expand Up @@ -60,7 +63,7 @@

---

[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.1
[**GITLIST**](https://pages.corifeus.com/gitlist) Build v1.1.2

[![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
Expand Up @@ -6,7 +6,7 @@
"opencollective": false
},
"description": "🤖 P3X Gitlist",
"version": "1.1.1",
"version": "1.1.2",
"main": "index.js",
"repository": "https://github.com/patrikx3/gitlist",
"author": "patrikx3 <alabard@gmail.com>",
Expand Down
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-cerulean.css
Original file line number Diff line number Diff line change
Expand Up @@ -7208,3 +7208,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-cosmo.css
Original file line number Diff line number Diff line change
Expand Up @@ -7261,3 +7261,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-cyborg.css
Original file line number Diff line number Diff line change
Expand Up @@ -7251,3 +7251,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-darkly.css
Original file line number Diff line number Diff line change
Expand Up @@ -7371,3 +7371,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -7081,3 +7081,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-flatly.css
Original file line number Diff line number Diff line change
Expand Up @@ -7347,3 +7347,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-journal.css
Original file line number Diff line number Diff line change
Expand Up @@ -7173,3 +7173,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-lumen.css
Original file line number Diff line number Diff line change
Expand Up @@ -7498,3 +7498,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-paper.css
Original file line number Diff line number Diff line change
Expand Up @@ -7823,3 +7823,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-readable.css
Original file line number Diff line number Diff line change
Expand Up @@ -7197,3 +7197,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-sandstone.css
Original file line number Diff line number Diff line change
Expand Up @@ -7235,3 +7235,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-simplex.css
Original file line number Diff line number Diff line change
Expand Up @@ -7223,3 +7223,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-slate.css
Original file line number Diff line number Diff line change
Expand Up @@ -7535,3 +7535,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-spacelab.css
Original file line number Diff line number Diff line change
Expand Up @@ -7255,3 +7255,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-superhero.css
Original file line number Diff line number Diff line change
Expand Up @@ -7331,3 +7331,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-united.css
Original file line number Diff line number Diff line change
Expand Up @@ -7095,3 +7095,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/bootstrap-yeti.css
Original file line number Diff line number Diff line change
Expand Up @@ -7395,3 +7395,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
6 changes: 6 additions & 0 deletions themes/default/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,9 @@ a.p3x-gitlist-markdown-heading-link {
.p3x-gitlist-markdown-image {
max-width: 100%;
}
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
11 changes: 9 additions & 2 deletions themes/default/js/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
$(function () {

$('.dropdown-toggle').dropdown();

if ($('#sourcecode').length) {
Expand All @@ -14,7 +15,9 @@ $(function () {
lineWrapping: true,
readOnly: true,
mode: mode,

lineNumberFormatter: function(ln) {
return ln;
}
});
}
// blob/master
Expand Down Expand Up @@ -68,7 +71,10 @@ $(function () {
var html = marked($('#md-content').text(), {
renderer: markdownRenderer
});
$('#md-content').html(html);
$('#md-content').html(twemoji.parse(html, {
folder: 'svg',
ext: '.svg',
}));
}

var clonePopup = $('#clone-popup')
Expand Down Expand Up @@ -147,3 +153,4 @@ if ($('#branchList').length) {
$('.search').click(function (e) {
e.stopPropagation();
});

6 changes: 6 additions & 0 deletions themes/default/less/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ a.p3x-gitlist-markdown-heading-link {
max-width: 100%;
}

img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em;
}
11 changes: 11 additions & 0 deletions themes/default/twig/layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,20 @@
<script src="{{ app.url_subdir }}/bower_components/js-htmlencode/src/htmlencode.js"></script>
<script src="{{ app.url_subdir }}/bower_components/lodash/lodash.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/lib/codemirror.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/addon/mode/simple.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/addon/mode/multiplex.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/xml/xml.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/javascript/javascript.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/css/css.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/htmlmixed/htmlmixed.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/handlebars/handlebars.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/markdown/markdown.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/yaml/yaml.js"></script>
<script src="{{ app.url_subdir }}/bower_components/codemirror/mode/sass/sass.js"></script>
<script src="{{ app.url_subdir }}/bower_components/eve-raphael/eve.js"></script>
<script src="{{ app.url_subdir }}/bower_components/raphael/raphael.min.js"></script>
<script src="{{ app.url_subdir }}/bower_components/php-date-formatter/js/php-date-formatter.js"></script>
<script src="{{ app.url_subdir }}/bower_components/twemoji/2/twemoji.js"></script>
<!-- endbower -->

<script type="text/javascript">
Expand Down

0 comments on commit eab1bbc

Please sign in to comment.