Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable #33

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
adc157f
[Jenkins] Updated translation
Sep 30, 2022
6780f2e
complete interface review
Salvialf Nov 10, 2022
1051a94
[Jenkins] Updated translation
Nov 11, 2022
813deb4
debian 12 compatibility
Mips2648 Aug 15, 2024
5fe1e6c
fix displayException
Mips2648 Aug 15, 2024
18bb0ce
[Jenkins] Updated translation
Aug 15, 2024
e4c24f4
clean daemon for deb12 compatibility
Mips2648 Aug 16, 2024
7f36170
bugfix & clean
Mips2648 Aug 16, 2024
9337f4c
compatibility with python 3.9
Mips2648 Aug 17, 2024
d4138c9
update changelog
Mips2648 Aug 17, 2024
efe908d
[Jenkins] Updated translation
Aug 17, 2024
0d4e5fa
Add PHP Workflow
NebzHB Aug 28, 2024
3fa89e6
Update broadlink.class.php
zoic21 Sep 5, 2024
5af113f
Update changelog.md
zoic21 Sep 5, 2024
7e0a061
[Jenkins] Updated translation
Sep 5, 2024
3d05bdf
fix cryptography version to 42.0; must be the last packages to avoid …
Mips2648 Nov 24, 2024
2600fe6
fix cryptography version
Mips2648 Nov 24, 2024
e6e13fa
[Jenkins] Updated translation
Nov 25, 2024
9041dcd
fix memory leak + improve code quality
Mips2648 Dec 18, 2024
675ec6a
[Jenkins] Updated translation
Dec 19, 2024
bd14646
remove daily daemon restart
Mips2648 Dec 20, 2024
9ee6def
update changelog
Mips2648 Dec 20, 2024
110e3c5
default loglevel to critical
Mips2648 Dec 20, 2024
5e8e137
deb11 min version
Mips2648 Dec 20, 2024
2857c8a
[Jenkins] Updated translation
Dec 21, 2024
8b18e86
reorg changelog for stable
Mips2648 Dec 26, 2024
d901e29
Merge branch 'beta' of https://github.com/jeedom/plugin-broadlink int…
Mips2648 Dec 26, 2024
eb315f9
[Jenkins] Updated translation
Dec 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/work.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
# Workflows check plugin Jeedom
push:
branches:
- beta
pull_request:
branches:
- beta
- master

name : 'Full Workflows Plugin Jeedom'

jobs:
plugin:
uses: jeedom/workflows/.github/workflows/plugin.yml@main
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ core/config/common.config.php
plugins
sftp-config.json
.project
*.pyc
*.pyc
.vscode/
18 changes: 10 additions & 8 deletions core/ajax/broadlink.ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
include_file('core', 'authentification', 'php');

if (!isConnect('admin')) {
throw new Exception('401 Unauthorized');
throw new Exception(__('401 - Accès non autorisé', __FILE__));
}

ajax::init();
Expand All @@ -32,32 +32,34 @@
}

if (init('action') == 'getModelListParam') {
/** @var broadlink */
$broadlink = broadlink::byId(init('id'));
if (!is_object($broadlink)) {
ajax::success(array());
}
ajax::success($broadlink->getModelListParam(init('conf')));
}

if (init('action') == 'learn') {
/** @var broadlink */
$broadlink = broadlink::byId(init('id'));
if (!is_object($broadlink)) {
ajax::success(array());
}
ajax::success($broadlink->learn(init('mode')));
}

if (init('action') == 'synchronise') {
$broadlink = broadlink::byLogicalId(init('id'),'broadlink');
/** @var broadlink */
$broadlink = broadlink::byLogicalId(init('id'), 'broadlink');
if (!is_object($broadlink)) {
ajax::success(array());
}
ajax::success($broadlink->synchronise(init('commands'),init('targets')));
ajax::success($broadlink->synchronise(init('commands'), init('targets')));
}

throw new Exception('Aucune methode correspondante');
throw new Exception(__('Aucune méthode correspondante à : ', __FILE__) . init('action'));
/* * *********Catch exeption*************** */
} catch (Exception $e) {
ajax::error(displayExeption($e), $e->getCode());
ajax::error(displayException($e), $e->getCode());
}

Loading
Loading