8 |
24 |
--------------------------------------------------------------------------------
/src/Model/Entity/Parents/LogicalIdEntity.php:
--------------------------------------------------------------------------------
1 | logicalId;
22 | }
23 |
24 | /**
25 | * @param $_logicalId
26 | * @return $this
27 | */
28 | public function setLogicalId($_logicalId)
29 | {
30 | $this->updateChangeState($this->logicalId, $_logicalId);
31 | $this->logicalId = $_logicalId;
32 | return $this;
33 | }
34 | }
--------------------------------------------------------------------------------
/core/class/jsonrpcClient.class.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | class jsonrpcClient extends \NextDom\Model\Entity\JsonRPCClient {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/tests/phpunit_tests/Gui/PlanPageTest.php:
--------------------------------------------------------------------------------
1 | goTo('index.php?v=d&p=plan');
10 | $this->assertEquals('div', $this->crawler->filter('div[data-eqlogic_id="4"]')->getTagName());
11 | $this->checkJs();
12 | }
13 |
14 | public function testViewEditPage()
15 | {
16 | $this->goTo('index.php?v=d&p=plan');
17 |
18 | $this->client->executeScript('showConfigModal();');
19 | sleep(3);
20 | $this->assertEquals('a', $this->crawler->filter('#bt_saveConfigurePlanHeader')->getTagName());
21 | $this->assertEquals('a', $this->crawler->filter('#bt_chooseIcon')->getTagName());
22 | $this->checkJs();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/assets/js/factory/elements/InputText.js:
--------------------------------------------------------------------------------
1 | /* exported InputText */
2 | /* global NextDomElement NextDomEnum TextNode */
3 |
4 | /*
5 | * InputText(_id, _className, _content)
6 | */
7 | class InputText extends NextDomElement {
8 | /**
9 | * @constructor InputText
10 | * @description Object to create an input text
11 | * @extends NextDomElement
12 | * @public
13 | * @param {string} _id id of the div element
14 | * @param {string} _className name's class
15 | * @param {string} _content text value
16 | * @return {void}
17 | */
18 | constructor(_id,_className,_content) {
19 | super(_id,_className);
20 | this.htmlElement = this.createHTMLElement(NextDomEnum.ElementType.INPUTTEXT);
21 | this.htmlElement.setAttribute("value", _content);
22 | this.htmlElement.setAttribute("alt", _content);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/Model/Entity/Parents/OrderEntity.php:
--------------------------------------------------------------------------------
1 | order)) {
22 | return 0;
23 | }
24 | return $this->order;
25 | }
26 |
27 | /**
28 | * @param $_order
29 | * @return $this
30 | */
31 | public function setOrder($_order)
32 | {
33 | $this->updateChangeState($this->order, $_order);
34 | $this->order = $_order;
35 | return $this;
36 | }
37 | }
--------------------------------------------------------------------------------
/core/com/http.com.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | require_once __DIR__ . '/../../src/core.php';
20 |
21 | class com_http extends \NextDom\Com\ComHttp {
22 | }
23 |
--------------------------------------------------------------------------------
/core/com/shell.com.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | require_once __DIR__ . '/../../src/core.php';
20 |
21 | class com_shell extends \NextDom\Com\ComShell {
22 | }
23 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-blue.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#4b9fe1,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-gold.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#c6ad8f,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-gray.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#929d9e,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-teal.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#7da2a9,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-black.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#18181e,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-blue.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#4b9fe1,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-gold.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#c6ad8f,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-gray.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#929d9e,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-green.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#00a65a,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-nextdom.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#33B8CC,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-orange.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#fa9b28,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-teal.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#7da2a9,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/dark-yellow.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('dark',#FED100,#000000);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-black.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#18181e,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-blue.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#4b9fe1,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-gold.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#c6ad8f,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-gray.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#929d9e,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-green.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#00a65a,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-teal.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#7da2a9,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-black.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#18181e,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-green.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#00a65a,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-nextdom.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#33B8CC,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-orange.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#fa9b28,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/mix-yellow.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('mix',#FED100,#000000);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/src/Interfaces/EntityInterface.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Interfaces;
19 |
20 | interface EntityInterface
21 | {
22 | function getTableName();
23 | }
24 |
--------------------------------------------------------------------------------
/src/Model/Entity/Parents/TypeEntity.php:
--------------------------------------------------------------------------------
1 | type;
22 | }
23 |
24 | /**
25 | * @param $_type
26 | * @return $this
27 | */
28 | public function setType($_type)
29 | {
30 | $this->updateChangeState($this->type, $_type);
31 | $this->type = $_type;
32 | return $this;
33 | }
34 |
35 | public function isType($typeToTest)
36 | {
37 | return $this->type === $typeToTest;
38 | }
39 | }
--------------------------------------------------------------------------------
/assets/css/themes/output/light-nextdom.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#33B8CC,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-orange.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#fa9b28,#ffffff);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/assets/css/themes/output/light-yellow.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | */
17 | @import '../_types';
18 | $color_theme: get_theme('light',#FED100,#000000);
19 | @import '../_base';
20 |
--------------------------------------------------------------------------------
/core/ajax/cmd.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\CmdAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $cmdAjax = new CmdAjax();
24 | $cmdAjax->process();
25 |
26 |
--------------------------------------------------------------------------------
/tests/docker/nextdom-test/start.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | rsync -av \
4 | --info=progress2 /data/ /usr/share/nextdom/ \
5 | --exclude scripts/phpdox \
6 | --exclude plugins \
7 | --exclude docs \
8 | --exclude vendor \
9 | --exclude public \
10 | --exclude .git \
11 | --exclude .sass-cache \
12 | --exclude docs \
13 | --exclude var \
14 | --exclude backup
15 |
16 | # as if we were in 'dev' mode
17 | mkdir -p /usr/share/nextdom/.git
18 |
19 | # as if nextdowm was installed by debian package
20 | chown root:root -R /usr/share/nextdom
21 |
22 | service cron start
23 | service mysql start
24 | service apache2 start
25 |
26 | bash -x /usr/share/nextdom/install/postinst
27 |
28 | mysql -u root -e "UPDATE nextdom.user SET password = SHA2('nextdom_test', 512)"
29 |
30 | echo NEXTDOM TEST READY
31 | while true; do
32 | sleep 50
33 | done
34 |
35 |
--------------------------------------------------------------------------------
/core/class/jsonrpc.class.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | /* * ***************************Includes********************************* */
20 |
21 | class jsonrpc extends \NextDom\Model\Entity\JsonRPC {
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/core/ajax/log.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\LogAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $logAjax = new LogAjax();
24 | $logAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/cron.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\CronAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $cronAjax = new CronAjax();
24 | $cronAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/note.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\NoteAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $noteAjax = new NoteAjax();
24 | $noteAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/plan.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\PlanAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $planAjax = new PlanAjax();
24 | $planAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/repo.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\RepoAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $repoAjax = new RepoAjax();
24 | $repoAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/user.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\UserAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $userAjax = new UserAjax();
24 | $userAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/view.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ViewAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $viewAjax = new ViewAjax();
24 | $viewAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/cache.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\CacheAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $cacheAjax = new CacheAjax();
24 | $cacheAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/event.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\EventAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $eventAjax = new EventAjax();
24 | $eventAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/widgets.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\WidgetAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $viewAjax = new WidgetAjax();
24 | $viewAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/config.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ConfigAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $configAjax = new ConfigAjax();
24 | $configAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/object.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ObjectAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $objectAjax = new ObjectAjax();
24 | $objectAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/plugin.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\PluginAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $pluginAjax = new PluginAjax();
24 | $pluginAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/report.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ReportAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $reportAjax = new ReportAjax();
24 | $reportAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/update.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\UpdateAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $updateAjax = new UpdateAjax();
24 | $updateAjax->process();
25 |
--------------------------------------------------------------------------------
/assets/icon/securite/style.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'securite';
3 | src:url('fonts/securite.eot');
4 | src:url('fonts/securite.eot') format('embedded-opentype'),
5 | url('fonts/securite.woff') format('woff'),
6 | url('fonts/securite.ttf') format('truetype'),
7 | url('fonts/securite.svg') format('svg');
8 | font-weight: normal;
9 | font-style: normal;
10 | }
11 |
12 | [class^="securite-"], [class*=" securite-"] {
13 | font-family: 'securite';
14 | speak: none;
15 | font-style: normal;
16 | font-weight: normal;
17 | font-variant: normal;
18 | text-transform: none;
19 | line-height: 1;
20 |
21 | /* Better Font Rendering =========== */
22 | -webkit-font-smoothing: antialiased;
23 | -moz-osx-font-smoothing: grayscale;
24 | }
25 |
26 | .securite-key1:before {
27 | content: "\e600";
28 | }
29 | .securite-fbi:before {
30 | content: "\e601";
31 | }
32 | .securite-exit7:before {
33 | content: "\e602";
34 | }
35 |
--------------------------------------------------------------------------------
/core/ajax/eqLogic.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\EqLogicAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $eqLogicAjax = new EqLogicAjax();
24 | $eqLogicAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/message.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\MessageAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $messageAjax = new MessageAjax();
24 | $messageAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/network.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\NetworkAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $networkAjax = new NetworkAjax();
24 | $networkAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/nextdom.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\NextDomAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $nextdomAjax = new NextDomAjax();
24 | $nextdomAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/profils.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ProfilsAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $profilsAjax = new ProfilsAjax();
24 | $profilsAjax->process();
25 |
--------------------------------------------------------------------------------
/src/Exceptions/DbException.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Exceptions;
19 |
20 | /**
21 | * Class DbException
22 | * @package NextDom\Exceptions
23 | */
24 | class DbException extends \Exception
25 | {
26 | }
--------------------------------------------------------------------------------
/core/ajax/interact.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\InteractAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $interactAjax = new InteractAjax();
24 | $interactAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/listener.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ListenerAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $listenerAjax = new ListenerAjax();
24 | $listenerAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/scenario.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\ScenarioAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $scenarioAjax = new ScenarioAjax();
24 | $scenarioAjax->process();
25 |
--------------------------------------------------------------------------------
/core/ajax/dataStore.ajax.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | use NextDom\Ajax\DataStoreAjax;
20 |
21 | require_once (__DIR__ . '/../../src/core.php');
22 |
23 | $dataStoreAjax = new DataStoreAjax();
24 | $dataStoreAjax->process();
25 |
--------------------------------------------------------------------------------
/core/class/object.class.php:
--------------------------------------------------------------------------------
1 | .
17 | */
18 |
19 | /* * ***************************Includes********************************* */
20 |
21 | require_once __DIR__ . '/../../core/php/core.inc.php';
22 |
23 | class object extends jeeObject {}
--------------------------------------------------------------------------------
/src/Exceptions/PluginException.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Exceptions;
19 |
20 | /**
21 | * Class PluginException
22 | * @package NextDom\Exceptions
23 | */
24 | class PluginException extends \Exception
25 | {
26 | }
27 |
--------------------------------------------------------------------------------
/views/templates/scenario/cmd.action.slider.default.html:
--------------------------------------------------------------------------------
1 |
8 |
9 |
16 |
--------------------------------------------------------------------------------
/assets/css/divers/_cursors.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 |
3 | /* This file is part of NextDom.
4 | *
5 | * NextDom is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * (at your option) any later version.
9 | *
10 | * NextDom is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | * GNU General Public License for more details.
14 | *
15 | * You should have received a copy of the GNU General Public License
16 | * along with NextDom. If not, see .
17 | *
18 | * @Support
19 | * @Email
20 | * @Authors/Contributors: Sylvaner, Byackee, cyrilphoenix71, ColonelMoutarde, edgd1er, slobberbone, Astral0, DanoneKiD
21 | */
22 |
23 | /* Core-Surcharge */
24 | .cursor,
25 | a {
26 | cursor: pointer;
27 | }
--------------------------------------------------------------------------------
/src/Enums/PlanVersion.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Enums;
19 |
20 | class PlanVersion extends Enum
21 | {
22 | const DASHBOARD = 'dashboard';
23 | // const DESKTOP = 'desktop';
24 | // const DPLAN = 'dplan';
25 | const DVIEW = 'dview';
26 | const MOBILE = 'mobile';
27 | const SCENARIO = 'scenario';
28 | }
--------------------------------------------------------------------------------
/views/templates/scenario/log.default.html:
--------------------------------------------------------------------------------
1 |
2 | {{Message}}
3 |
4 |
5 |
6 |
7 |
8 |
15 |
--------------------------------------------------------------------------------
/assets/js/core/network.class.js:
--------------------------------------------------------------------------------
1 | /* This file is part of Jeedom.
2 | *
3 | * Jeedom is free software: you can redistribute it and/or modify
4 | * it under the terms of the GNU General Public License as published by
5 | * the Free Software Foundation, either version 3 of the License, or
6 | * (at your option) any later version.
7 | *
8 | * Jeedom is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with Jeedom. If not, see .
15 | */
16 |
17 | nextdom.network = function() {
18 | };
19 |
20 | nextdom.network.restartDns = function(queryParams) {
21 | nextdom.private.ajax('Network', 'restartDns', queryParams);
22 | };
23 |
24 | nextdom.network.stopDns = function(queryParams) {
25 | nextdom.private.ajax('Network', 'stopDns', queryParams);
26 | };
--------------------------------------------------------------------------------
/src/Enums/CmdViewType.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Enums;
19 |
20 | /**
21 | * Class CmdViewType
22 | * @package NextDom\Enums
23 | */
24 | class CmdViewType extends Enum
25 | {
26 | const DASHBOARD = 'dashboard';
27 | const DVIEW = 'dview';
28 | const MVIEW = 'mview';
29 | const DPLAN = 'dplan';
30 | }
31 |
--------------------------------------------------------------------------------
/tests/phpunit_tests/Gui/AdministrationPageTest.php:
--------------------------------------------------------------------------------
1 | goTo('index.php?v=d&p=administration');
10 |
11 | // Start test page
12 | $linkButtons = [
13 | 'users', 'api', 'network', 'security', 'cache', 'services',
14 | 'general', 'profils', 'commandes', 'links', 'interact_config',
15 | 'eqlogic', 'summary', 'report_config', 'log_config',
16 | 'health', 'cron', 'eqAnalyse', 'history', 'timeline',
17 | 'report', 'log',
18 | 'display', 'backup', 'update', 'osdb', 'interact', 'widget', 'scenario',
19 | 'object', 'plugin'];
20 | foreach ($linkButtons as $linkButton) {
21 | $button = $this->crawler->filterXPath('//a[@href="index.php?v=d&p=' . $linkButton . '"]');
22 | $this->assertNotNull($button);
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/views/templates/dashboard/cmd.info.string.tile.html:
--------------------------------------------------------------------------------
1 |
8 |
9 |
16 |
--------------------------------------------------------------------------------
/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "short_name": "NextDom",
3 | "background_color": "#94ca02",
4 | "theme_color": "#94ca02",
5 | "name": "NextDom",
6 | "gcm_sender_id": "103953800507",
7 | "icons": [
8 | {
9 | "src": "/public/img/icon-256x256.png",
10 | "sizes": "72x72",
11 | "type": "image/png"
12 | },
13 | {
14 | "src": "/public/img/icon-256x256.png",
15 | "sizes": "96x96",
16 | "type": "image/png"
17 | },
18 | {
19 | "src": "/public/img/icon-256x256.png",
20 | "sizes": "128x128",
21 | "type": "image/png"
22 | },
23 | {
24 | "src": "/public/img/icon-256x256.png",
25 | "sizes": "144x144",
26 | "type": "image/png"
27 | },
28 | {
29 | "src": "/public/img/icon-256x256.png",
30 | "sizes": "192x192",
31 | "type": "image/png"
32 | },
33 | {
34 | "src": "/public/img/icon-256x256.png",
35 | "sizes": "256x256",
36 | "type": "image/png"
37 | }
38 | ],
39 | "start_url": "index.php",
40 | "display": "standalone"
41 | }
--------------------------------------------------------------------------------
/assets/js/core/listener.class.js:
--------------------------------------------------------------------------------
1 | /* This file is part of Jeedom.
2 | *
3 | * Jeedom is free software: you can redistribute it and/or modify
4 | * it under the terms of the GNU General Public License as published by
5 | * the Free Software Foundation, either version 3 of the License, or
6 | * (at your option) any later version.
7 | *
8 | * Jeedom is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with Jeedom. If not, see .
15 | */
16 |
17 | nextdom.listener = function() {
18 | };
19 |
20 | nextdom.listener.all = function(queryParams) {
21 | nextdom.private.ajax('Listener', 'all');
22 | };
23 |
24 | nextdom.listener.save = function(queryParams) {
25 | nextdom.private.ajax('Listener', 'save', queryParams, ['listeners'], true);
26 | };
27 |
28 |
--------------------------------------------------------------------------------
/assets/js/core/security.class.js:
--------------------------------------------------------------------------------
1 | /* This file is part of Jeedom.
2 | *
3 | * Jeedom is free software: you can redistribute it and/or modify
4 | * it under the terms of the GNU General Public License as published by
5 | * the Free Software Foundation, either version 3 of the License, or
6 | * (at your option) any later version.
7 | *
8 | * Jeedom is distributed in the hope that it will be useful,
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | * GNU General Public License for more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with Jeedom. If not, see .
15 | */
16 |
17 | nextdom.security = function() {
18 | };
19 |
20 | nextdom.security.remove = function(queryParams) {
21 | nextdom.private.ajax('Connection', 'remove', queryParams, ['id']);
22 | };
23 |
24 | nextdom.security.ban = function(queryParams) {
25 | nextdom.private.ajax('Connection', 'ban', queryParams, ['id']);
26 | };
--------------------------------------------------------------------------------
/src/Enums/ApiMode.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Enums;
19 |
20 | /**
21 | * Class ApiMode
22 | * @package NextDom\Enums
23 | */
24 | class ApiMode extends Enum
25 | {
26 | const API_ENABLE = 'enable';
27 | const API_DISABLE = 'disable';
28 | const API_WHITEIP = 'whiteip';
29 | const API_LOCALHOST = 'cronDaily';
30 | }
31 |
--------------------------------------------------------------------------------
/src/Enums/LogRotate.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Enums;
19 |
20 | /**
21 | * Class LogRotate
22 | * @package NextDom\Enums
23 | */
24 | class LogRotate extends Enum
25 | {
26 | const ROTATE_NONE = 'cron';
27 | const ROTATE_DAY = 'cron5';
28 | const ROTATE_MONTH = 'cron30';
29 | const ROTATE_YEAR = 'cronDaily';
30 | }
31 |
--------------------------------------------------------------------------------
/src/Enums/ScenarioState.php:
--------------------------------------------------------------------------------
1 | .
16 | */
17 |
18 | namespace NextDom\Enums;
19 |
20 | /**
21 | * Class ScenarioState
22 | * @package NextDom\Enums
23 | */
24 | class ScenarioState extends Enum
25 | {
26 | const ERROR = 'error';
27 | const IN_PROGRESS = 'in progress';
28 | const STARTING = 'starting';
29 | const STOP = 'stop';
30 | }
31 |
--------------------------------------------------------------------------------
/views/templates/scenario/message.default.html:
--------------------------------------------------------------------------------
1 |
2 | {{Message}}
3 |
4 |
5 |
6 |
7 |
8 |
9 |
16 |
--------------------------------------------------------------------------------
/src/Model/Entity/Parents/IsVisibleEntity.php:
--------------------------------------------------------------------------------
1 | isVisible == '' || !is_numeric($this->isVisible)) {
24 | return $defaultValue;
25 | }
26 | return $this->isVisible;
27 | }
28 |
29 | public function isVisible()
30 | {
31 | return intval($this->isVisible) == 1;
32 | }
33 |
34 | /**
35 | * @param $isVisible
36 | * @return $this
37 | */
38 | public function setIsVisible($isVisible)
39 | {
40 | $this->isVisible = $isVisible;
41 | return $this;
42 | }
43 | }
--------------------------------------------------------------------------------
/assets/css/compiled/pages/plugins.scss:
--------------------------------------------------------------------------------
1 | @charset "utf-8";
2 | /* This file is part of NextDom Software.
3 | *
4 | * NextDom is free software: you can redistribute it and/or modify
5 | * it under the terms of the GNU General Public License as published by
6 | * the Free Software Foundation, either version 3 of the License, or
7 | * (at your option) any later version.
8 | *
9 | * NextDom Software is distributed in the hope that it will be useful,
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | * GNU General Public License for more details.
13 | *
14 | * You should have received a copy of the GNU General Public License
15 | * along with NextDom Software. If not, see .
16 | *
17 | * @Support
18 | * @Email
19 | * @Authors/Contributors: Sylvaner, Byackee, cyrilphoenix71, ColonelMoutarde, edgd1er, slobberbone, Astral0, DanoneKiD
20 | */
21 |
22 | /* Pages */
23 | .form-actions {
24 | margin-top: 5px;
25 | }
26 |
--------------------------------------------------------------------------------