-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from jeedom/avant4.4
Maj pour l'app v2
- Loading branch information
Showing
615 changed files
with
9,243 additions
and
1,361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!-- Provide a general summary of your changes in the title above. --> | ||
|
||
<!-- | ||
Please target the `beta` branch when submitting your pull request, unless your change **only** applies to Jeedom 4.x. | ||
--> | ||
|
||
## Description | ||
<!-- | ||
What do you want to achieve with this PR? Why did you write this code? What problem does this PR solve? | ||
Describe your changes in detail and, if relevant, explain which choices you have made and why. | ||
--> | ||
|
||
|
||
### Suggested changelog entry | ||
<!-- Please provide a short description of the change for the changelog. --> | ||
|
||
|
||
### Related issues/external references | ||
|
||
Fixes # | ||
|
||
|
||
## Types of changes | ||
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> | ||
- [ ] Bug fix _(non-breaking change which fixes)_ | ||
- [ ] New feature _(non-breaking change which adds functionality)_ | ||
- [ ] Breaking change _(fix or feature that would cause existing functionality to change)_ | ||
- [ ] This change is only breaking for integrators, not for external standards or end-users. | ||
- [ ] Documentation improvement | ||
|
||
|
||
## PR checklist | ||
<!-- Go over all the following points, and put an `x` in all the boxes that apply. --> | ||
- [ ] I have checked there is no other PR open for the same change. | ||
- [ ] I have read the [Contribution Guidelines](https://doc.jeedom.com/fr_FR/contribute/). | ||
- [ ] I grant the project the right to include and distribute the code under the GNU. | ||
- [ ] I have added tests to cover my changes. | ||
- [ ] I have verified that the code complies with the projects coding standards. | ||
- [ ] [Required for new sniffs] I have added MD documentation for the sniff. | ||
|
||
<!-- | ||
============================================================================================ | ||
Please make sure your pull request passes all continuous integration checks! | ||
PRs which are failing their CI checks will likely be ignored by the maintainers. | ||
PRs using atomic, descriptive commits are hugely appreciated as it will make | ||
reviewing your changes easier for the maintainers. | ||
============================================================================================ | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the main branch | ||
push: | ||
branches: | ||
- beta | ||
pull_request: | ||
branches: | ||
- beta | ||
- master | ||
|
||
name : 'Code Lint Global' | ||
|
||
jobs: | ||
run-linters: | ||
name: Test Linters | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: "7.4" | ||
coverage: none | ||
tools: phpcs | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
|
||
# ESLint and Prettier must be in `package.json` | ||
- name: Install Node.js dependencies | ||
run: npm i prettier | ||
|
||
- name: Install Python dependencies | ||
run: pip install flake8 black | ||
|
||
- name: Run linters | ||
uses: wearerequired/lint-action@v2 | ||
with: | ||
php_codesniffer: false | ||
# Optional: Ignore warnings | ||
php_codesniffer_args: "-n --ignore-annotations ./core ./desktop ./plugin_info" | ||
flake8: true | ||
prettier: true | ||
prettier_extensions: css,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml | ||
auto_fix: true | ||
prettier_auto_fix: true | ||
git_email: commit@jeedom.com | ||
git_name: 'JeedomBot lint Pretty' | ||
commit: false | ||
black: true | ||
black_auto_fix: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name : 'Php 7.3' | ||
|
||
on: | ||
push: | ||
branches: | ||
- beta | ||
paths: | ||
- "**.php" | ||
pull_request: | ||
branches: | ||
- beta | ||
- master | ||
paths: | ||
- "**.php" | ||
|
||
jobs: | ||
run-linters: | ||
name: Run linters | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: PHP syntax checker 7.3 | ||
uses: prestashop/github-action-php-lint/7.3@v1 | ||
with: | ||
folder-to-exclude: "! -path \"./3rdparty/*\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name : 'Php 7.4' | ||
|
||
on: | ||
push: | ||
branches: | ||
- beta | ||
paths: | ||
- "**.php" | ||
pull_request: | ||
branches: | ||
- beta | ||
- master | ||
paths: | ||
- "**.php" | ||
|
||
jobs: | ||
run-linters: | ||
name: Run linters | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: PHP syntax checker 7.4 | ||
uses: prestashop/github-action-php-lint/7.4@v1 | ||
with: | ||
folder-to-exclude: "! -path \"./3rdparty/*\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "PHP" | ||
|
||
on: | ||
push: | ||
branches: | ||
- beta | ||
paths: | ||
- "**.php" | ||
pull_request: | ||
branches: | ||
- beta | ||
- master | ||
paths: | ||
- "**.php" | ||
|
||
jobs: | ||
phpcs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: michaelw90/PHP-Lint@master | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ core/config/common.config.php | |
plugins | ||
.remote-sync.json | ||
.project | ||
.DS_Store | ||
.vscode |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
$.fn.extend({ | ||
animateCss: function(animationName, callback) { | ||
var animationEnd = (function(el) { | ||
var animations = { | ||
animation: 'animationend', | ||
OAnimation: 'oAnimationEnd', | ||
MozAnimation: 'mozAnimationEnd', | ||
WebkitAnimation: 'webkitAnimationEnd', | ||
}; | ||
|
||
for (var t in animations) { | ||
if (el.style[t] !== undefined) { | ||
return animations[t]; | ||
} | ||
} | ||
})(document.createElement('div')); | ||
|
||
this.addClass('animated ' + animationName).one(animationEnd, function() { | ||
$(this).removeClass('animated ' + animationName); | ||
|
||
if (typeof callback === 'function') callback(); | ||
}); | ||
|
||
return this; | ||
}, | ||
}); | ||
|
||
/** | ||
$('#yourElement').animateCss('bounce'); | ||
or; | ||
$('#yourElement').animateCss('bounce', function() { | ||
// Do somthing after animation | ||
}); | ||
https://daneden.github.io/animate.css/ | ||
bounce flash pulse rubberBand | ||
shake headShake swing tada | ||
wobble jello bounceIn bounceInDown | ||
bounceInLeft bounceInRight bounceInUp bounceOut | ||
bounceOutDown bounceOutLeft bounceOutRight bounceOutUp | ||
fadeIn fadeInDown fadeInDownBig fadeInLeft | ||
fadeInLeftBig fadeInRight fadeInRightBig fadeInUp | ||
fadeInUpBig fadeOut fadeOutDown fadeOutDownBig | ||
fadeOutLeft fadeOutLeftBig fadeOutRight fadeOutRightBig | ||
fadeOutUp fadeOutUpBig flipInX flipInY | ||
flipOutX flipOutY lightSpeedIn lightSpeedOut | ||
rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft | ||
rotateInUpRight rotateOut rotateOutDownLeft rotateOutDownRight | ||
rotateOutUpLeft rotateOutUpRight hinge jackInTheBox | ||
rollIn rollOut zoomIn zoomInDown | ||
zoomInLeft zoomInRight zoomInUp zoomOut | ||
zoomOutDown zoomOutLeft zoomOutRight zoomOutUp | ||
slideInDown slideInLeft slideInRight slideInUp | ||
slideOutDown slideOutLeft slideOutRight slideOutUp | ||
**/ |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
$.fn.extend({ | ||
animateCss: function(animationName, callback) { | ||
var animationEnd = (function(el) { | ||
var animations = { | ||
animation: 'animationend', | ||
OAnimation: 'oAnimationEnd', | ||
MozAnimation: 'mozAnimationEnd', | ||
WebkitAnimation: 'webkitAnimationEnd', | ||
}; | ||
|
||
for (var t in animations) { | ||
if (el.style[t] !== undefined) { | ||
return animations[t]; | ||
} | ||
} | ||
})(document.createElement('div')); | ||
|
||
this.addClass('animated ' + animationName).one(animationEnd, function() { | ||
$(this).removeClass('animated ' + animationName); | ||
|
||
if (typeof callback === 'function') callback(); | ||
}); | ||
|
||
return this; | ||
}, | ||
}); | ||
|
||
/** | ||
$('#yourElement').animateCss('bounce'); | ||
or; | ||
$('#yourElement').animateCss('bounce', function() { | ||
// Do somthing after animation | ||
}); | ||
https://daneden.github.io/animate.css/ | ||
bounce flash pulse rubberBand | ||
shake headShake swing tada | ||
wobble jello bounceIn bounceInDown | ||
bounceInLeft bounceInRight bounceInUp bounceOut | ||
bounceOutDown bounceOutLeft bounceOutRight bounceOutUp | ||
fadeIn fadeInDown fadeInDownBig fadeInLeft | ||
fadeInLeftBig fadeInRight fadeInRightBig fadeInUp | ||
fadeInUpBig fadeOut fadeOutDown fadeOutDownBig | ||
fadeOutLeft fadeOutLeftBig fadeOutRight fadeOutRightBig | ||
fadeOutUp fadeOutUpBig flipInX flipInY | ||
flipOutX flipOutY lightSpeedIn lightSpeedOut | ||
rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft | ||
rotateInUpRight rotateOut rotateOutDownLeft rotateOutDownRight | ||
rotateOutUpLeft rotateOutUpRight hinge jackInTheBox | ||
rollIn rollOut zoomIn zoomInDown | ||
zoomInLeft zoomInRight zoomInUp zoomOut | ||
zoomOutDown zoomOutLeft zoomOutRight zoomOutUp | ||
slideInDown slideInLeft slideInRight slideInUp | ||
slideOutDown slideOutLeft slideOutRight slideOutUp | ||
**/ |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.