Skip to content

Commit

Permalink
p3x-robot sunday release 2017-10-31 18:32:31
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Oct 31, 2017
1 parent 2d680aa commit dd6b4de
Show file tree
Hide file tree
Showing 11 changed files with 167 additions and 318 deletions.
122 changes: 66 additions & 56 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,70 +56,80 @@ var themes = ${JSON.stringify(themeCss, null, 4)}
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-wiredep');

grunt.initConfig({
clean: {
themes: [
themeDir
],
fonts: [
'themes/default/fonts'
]
const builder = require(`corifeus-builder`);
const loader = new builder.loader(grunt);
loader.js({
replacer: {
type: 'p3x',
npmio: false,
node: false,
},
copy: {
bootstrap: {
expand: true,
cwd: './node_modules/bootstrap/fonts',
src: '**',
dest: 'themes/default/fonts/',
},
fontawesome: {
expand: true,
cwd: './node_modules/font-awesome/fonts',
src: '**',
dest: 'themes/default/fonts/',
},
},
less: {
development: {
files: filesLess
},
config:
{
clean: {
themes: [
themeDir
],
fonts: [
'themes/default/fonts'
]
},
copy: {
bootstrap: {
expand: true,
cwd: './node_modules/bootstrap/fonts',
src: '**',
dest: 'themes/default/fonts/',
},
fontawesome: {
expand: true,
cwd: './node_modules/font-awesome/fonts',
src: '**',
dest: 'themes/default/fonts/',
},
},
less: {
development: {
files: filesLess
},

},
wiredep: {
target: {
src: 'themes/default/twig/layout.twig',
ignorePath: '../../..',
},
wiredep: {
target: {
src: 'themes/default/twig/layout.twig',
ignorePath: '../../..',
// overrides: wiredepOverrides,
// exclude: wiredepExclude
fileTypes: {
twig: {
block: /(([ \t]*)<!--\s*bower:*(\S*)\s*-->)(\n|\r|.)*?(<!--\s*endbower\s*-->)/gi,
detect: {
js: /<script.*src=['"]([^'"]+)/gi,
css: /<link.*href=['"]([^'"]+)/gi
// exclude: wiredepExclude
fileTypes: {
twig: {
block: /(([ \t]*)<!--\s*bower:*(\S*)\s*-->)(\n|\r|.)*?(<!--\s*endbower\s*-->)/gi,
detect: {
js: /<script.*src=['"]([^'"]+)/gi,
css: /<link.*href=['"]([^'"]+)/gi
},
replace: {
js: '<script src="\{\{ app.request.basepath \}\}{{filePath}}"></script>',
css: '<link rel="stylesheet" href="\{\{ app.request.basepath \}\}{{filePath}}" />'
}
},
},
replace: {
js: '<script src="\{\{ app.request.basepath \}\}{{filePath}}"></script>',
css: '<link rel="stylesheet" href="\{\{ app.request.basepath \}\}{{filePath}}" />'
}
},
},

}
},
watch: {
scripts: {
files: ['themes/default/**/*.*'],
tasks: ['less'],
options: {
spawn: false,
}
},
},
}
})
watch: {
scripts: {
files: ['themes/default/**/*.*'],
tasks: ['less'],
options: {
spawn: false,
},
},
}
}
});


grunt.registerTask('default', ['clean','copy', 'build', 'less', 'wiredep']);
grunt.registerTask('default', ['clean','copy', 'build', 'less', 'wiredep', 'cory-replace']);
grunt.registerTask('run', ['default', 'watch']);


Expand Down
20 changes: 18 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
[//]: #@corifeus-header

## P3X Gitlist

---
[//]: #@corifeus-header:end
# GitList Installation
* Download GitList from [https://github.com/patrikx3/gitlist/releases](https://github.com/patrikx3/gitlist/releases/) and decompress to your `/var/www/gitlist` folder, or anywhere else you want to place GitList.
* Rename the `config.example.ini-example` file to `config.ini`.
Expand All @@ -6,7 +13,7 @@

```
cd /var/www/gitlist
mkdir cache
mkdir -p cache
chmod 777 cache
```

Expand Down Expand Up @@ -95,6 +102,15 @@ UrlToolkit {
}
```

If you're having problems, check the [Troubleshooting](https://github.com/patrikx3/gitlist/wiki/Troubleshooting) page.
[//]: #@corifeus-footer

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v0.5.6

[![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=_donations&business=LFRV89WPRMMVE&lc=HU&item_name=Patrik%20Laszlo&item_number=patrikx3&currency_code=HUF&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)




[//]: #@corifeus-footer:end
37 changes: 32 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
[![Build Status](https://secure.travis-ci.org/patrikx3/gitter.png)](http://travis-ci.org/patrikx3/gitter)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/patrikx3/gitlist/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/patrikx3/resume-web/?branch=master)
![Code Coverage](https://scrutinizer-ci.com/g/patrikx3/gitlist/badges/coverage.png?b=master)
[//]: #@corifeus-header

# GitList
[![Build Status](https://travis-ci.org/patrikx3/gitlist.svg?branch=master)](https://travis-ci.org/patrikx3/gitlist) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/patrikx3/gitlist/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/patrikx3/gitlist/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/patrikx3/gitlist/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/patrikx3/gitlist/?branch=master)

---


# P3X Gitlist

# Description


[//]: #@corifeus-header:end

This is Klaus Silveira's fork, with multiple themes, sub-modules and updated to PHP7 only and upgraded all components.

Expand All @@ -13,6 +22,10 @@ Done, just put on your server, nothing to build:
https://github.com/patrikx3/gitlist/releases


## v0.5.6
* The Markdown image links were not working.
* Missed out the ```package.json``` from the previous release.

## v0.5.5
* Fixed PHPUNIT 6

Expand Down Expand Up @@ -51,7 +64,7 @@ http://gitlist.patrikx3.com/
## Requirements
For the build on your workstation (themes):
* ```NodeJs``` >= 7.8
* ```Bower``` (npm install -g bower)
* ```Bower``` and ```Grunt``` (npm install -g bower grunt-cli)

In order to run GitList on your server, you'll need:

Expand All @@ -67,9 +80,23 @@ git clone https://github.com/patrikx3/gitlist.git
curl -s http://getcomposer.org/installer | php
php composer.phar install
bower install
grunt
```

If you have Composer in your path, things get easier. But you know the drill.

[Install](INSTALL.md) - here.


[//]: #@corifeus-footer

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v0.5.6

[![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=_donations&business=LFRV89WPRMMVE&lc=HU&item_name=Patrik%20Laszlo&item_number=patrikx3&currency_code=HUF&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)




[//]: #@corifeus-footer:end
15 changes: 15 additions & 0 deletions gitlist.iml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,20 @@
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="PHARS">
<CLASSES>
<root url="phar://$MODULE_DIR$/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/phar/phar-sample.phar/" />
<root url="phar://$MODULE_DIR$/vendor/phpunit/phpunit/tests/_files/phpunit-example-extension/tools/phpunit.d/phpunit-example-extension-1.0.1.phar/" />
<root url="phar://$MODULE_DIR$/vendor/phar-io/manifest/tests/_fixture/test.phar/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="phar://$MODULE_DIR$/vendor/twig/twig/test/Twig/Tests/Loader/Fixtures/phar/phar-sample.phar/" />
<root url="phar://$MODULE_DIR$/vendor/phpunit/phpunit/tests/_files/phpunit-example-extension/tools/phpunit.d/phpunit-example-extension-1.0.1.phar/" />
<root url="phar://$MODULE_DIR$/vendor/phar-io/manifest/tests/_fixture/test.phar/" />
</SOURCES>
</library>
</orderEntry>
</component>
</module>
51 changes: 32 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
{
"name": "p3x-gitlist",
"version": "0.5.5",
"main": "index.js",
"repository": "https://github.com/patrikx3/gitlist",
"author": "patrikx3 <[email protected]>",
"license": "MIT",
"devDependencies": {
"bootstrap": "^3.3.7",
"bootswatch": "^3.3.7",
"corifeus-utils": "^1.1.574-197",
"font-awesome": "^4.7.0",
"grunt": "^1.0.1",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-less": "^1.4.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-wiredep": "^3.0.1",
"time-grunt": "^1.4.0"
}
"name": "p3x-gitlist",
"corifeus": {
"nodejs": "v8.8.1",
"publish": false,
"type": "p3x"
},
"description": "P3X Gitlist",
"version": "0.5.6",
"main": "index.js",
"repository": "https://github.com/patrikx3/gitlist",
"author": "patrikx3 <[email protected]>",
"license": "MIT",
"devDependencies": {
"bootstrap": "^3.3.7",
"bootswatch": "^3.3.7",
"corifeus-utils": "^1.1.581-202",
"font-awesome": "^4.7.0",
"grunt": "^1.0.1",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-less": "^1.4.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-wiredep": "^3.0.1",
"time-grunt": "^1.4.0"
},
"dependencies": {
"corifeus-builder": "^1.7.948-200"
},
"engines": {
"node": ">=7.8.0"
},
"homepage": "https://pages.corifeus.com/gitlist"
}
Loading

0 comments on commit dd6b4de

Please sign in to comment.