Eric Espie
52c984d5e7
N°4756 - Fix Unit tests
2022-11-18 10:49:59 +01:00
Eric Espie
6585f717c5
N°4756 - Event service initialization
2022-11-16 21:03:01 +01:00
Eric Espie
fac455da48
N°4756 - Global event listeners
2022-09-21 10:34:38 +02:00
Eric Espie
71464f6d0e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/cmdbobject.class.inc.php
# core/dbobject.class.php
# core/designdocument.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2022-09-19 09:45:08 +02:00
Benjamin Dalsass
2b84c0384d
N°5085 - Move menu is impossible - Error after compilation
2022-08-31 15:31:00 +02:00
Eric Espie
cc7dceed1a
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-09 17:42:23 +02:00
Eric Espié
69749a5cbe
N°5375 - XML custo on Semantic field with hierarchy, breaks at compilation ( #323 )
2022-08-09 17:37:01 +02:00
Molkobain
8c27476d2a
N°4517 - PHP 8.1: Fix trim() called with null value
2022-07-28 11:52:28 +02:00
Molkobain
d4a0c141b3
#296 Fix typos
2022-07-27 10:35:37 +02:00
Eric Espie
682ab44dea
Merge branch 'develop' into feature/faf_event_service
2022-06-30 14:22:52 +02:00
Pierre Goiffon
784e553d23
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# composer.json
# composer.lock
# lib/composer/autoload_classmap.php
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# lib/composer/installed.php
2022-06-28 11:10:01 +02:00
acognet
93a69cbc49
N°5108 - Update embedded libs for PHP 8.0 (3.0 branch)
2022-06-27 23:38:58 +02:00
Pierre Goiffon
abb13b70b9
Compiler : when generating model file add it to module ( #296 )
...
Before this fix, when creating a module for iTop that was creating PHP code (an iTop class for example, a snippet, ...) it was mandatory to add the model.php file in your module.php file ("datamodel" key). If you forgot this, then the compilation was completed OK but the result code wasn't included in iTop.
Now the compiler automatically adds the model.php file to the included files.
2022-06-15 18:07:16 +02:00
Pierre Goiffon
023ead39ec
N°4280 Handle modules with non existing model.*.php files imported ( #295 )
...
We were crashing iTop when having a module with :
* in the 'datamodel' key in the module.*.php file a 'model.*.php' declared
* no model.*.php file in the module sources
* no model.*.php generated after compilation
This behavior is improved :
* if isdevenv an exception will be thrown detailing which module is concerned
* else :
- model.*.php won't be added in iTop datamodel autoload
- a SetupLog::Error will be made
2022-06-15 17:20:13 +02:00
Eric Espie
f6855b0d2b
Display events in the datamodel page
2022-06-01 08:44:12 +02:00
Eric Espie
c9317542c8
refactor
2022-05-31 15:37:29 +02:00
Eric Espie
af4a5e1b8d
New CRUD behaviour (removed Reload in DBInsert and DBUpdate) and protection against reentrance
2022-05-27 17:46:10 +02:00
Eric Espie
b827c68187
Merge branch 'develop' into feature/faf_event_service
2022-05-25 10:04:54 +02:00
Molkobain
7bfa7fa9f4
N°2883 - Improve XML compiler robustness on branding logos
2022-05-09 14:32:03 +02:00
Molkobain
a4390fbb57
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# test/application/search/CriterionConversionTest.php
# test/application/search/CriterionParserTest.php
# test/application/search/SearchFormTest.php
2022-04-25 14:03:02 +02:00
Benjamin Dalsass
dabd2a3f4d
N°5101 - Setup error when semantic field attribute code is not defined in current class
2022-04-20 14:32:03 +02:00
Stephen Abello
ba9d5f0c4b
N°3607 Handle error and fix unit test
2022-04-19 09:31:02 +02:00
Stephen Abello
0efc978004
N°3607 Change XML node format
2022-04-15 15:48:21 +02:00
Stephen Abello
26a78a10bc
N°3607 Allow extensions to register variables/stylesheets to be compiled with every theme
2022-04-12 10:23:50 +02:00
Molkobain
2716f9d24c
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/config.class.inc.php
2022-04-08 13:30:42 +02:00
Pierre Goiffon
92997e3e57
💡 N°2498 add @since
2022-04-08 08:54:07 +02:00
Eric Espie
b0a55e057b
Events to cmdbAbstract
2022-04-07 17:02:19 +02:00
Eric Espie
29c6b73d93
EventService: refactoring
2022-03-15 17:50:13 +01:00
Eric Espie
cea6c557ce
Merge branch 'develop' into feature/faf_event_service
2022-03-15 10:52:45 +01:00
Pierre Goiffon
2b1e583dc7
💡 N°4854 Document compiler behavior change for model.*.php files
2022-03-02 10:06:59 +01:00
Molkobain
fe1bf3bfc1
PHPDoc
2022-02-19 17:18:42 +01:00
acognet
bbd50ba73b
N°4438 - Disable (temporarly) copy of precompiled stylesheets after setup
2022-02-15 09:59:47 +01:00
Eric Espie
99819527db
Changed the <Hooks> grammar (typo)
2022-02-07 16:28:19 +01:00
Eric Espie
965273009c
Changed the <Hooks> grammar to allow module extensibility
2022-02-07 16:10:00 +01:00
Eric Espie
c04beea38c
OnInsert and OnUpdate replacement
2021-12-31 17:07:59 +01:00
Eric Espie
93d88cca37
refactor
2021-12-31 15:26:54 +01:00
Eric Espie
551abc861e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/loginwebpage.class.inc.php
# core/dbobject.class.php
# core/log.class.inc.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# setup/compiler.class.inc.php
# test/phpunit.xml.dist
2021-12-31 08:42:16 +01:00
Molkobain
bd67bc8838
N°3882 - Handle use of transparent colors in dynamic header dashlet
2021-10-01 11:48:05 +02:00
Molkobain
a11bc9ad33
N°3791 - Enable use of SCSS variables in the DM classes / (meta)enum attributes style
2021-09-26 16:53:42 +02:00
Molkobain
3214ae91c7
N°3791 - Panel: Use style defined in the DM for classes
...
Note that for now, semantic colors cannot be used directly in a <main_color> or <complementary_color> tag. Only valid CSS color (hexa, hsla, ...)
2021-09-26 15:15:34 +02:00
Molkobain
b15c8e30bc
N°3791 - Panel: Use style defined in the DM for classes
...
Note that for now, semantic colors cannot be used directly in a <main_color> or <complementary_color> tag. Only valid CSS color (hexa, hsla, ...)
2021-09-26 01:17:28 +02:00
Molkobain
75d913a003
Compiler: Factorize DM classes style and add them to the DM CSS rules
2021-09-25 23:51:52 +02:00
Molkobain
2b38c98183
Compiler: Update unit tests for DM classes / (meta)enum attributes style
2021-09-25 23:27:29 +02:00
Molkobain
ca7f6362bf
ormStyle: Fix icon URL including the app. root in the MetaModel to ease usage with load balancers
2021-09-25 17:00:50 +02:00
Molkobain
7404599721
N°3882 - Fix unit tests
2021-09-23 14:16:22 +02:00
Molkobain
eb8aed19c2
Code cleanup
2021-09-23 13:10:23 +02:00
Molkobain
99026cec1f
N°3882 - Compiler: Prepare unit test for DM CSS rules (needs to be completed with the team)
2021-09-23 11:44:12 +02:00
Molkobain
029d2ad526
N°3882 - Compiler: Factorize AttributeEnum/AttributeMetaEnum style compilation
2021-09-23 11:44:12 +02:00
Molkobain
1cb100b010
N°3882 - Header dynamic: Pills now shows the real color from the DM
2021-09-23 11:44:12 +02:00
Molkobain
e2b73995e1
N°3882 - Move DataModel classes fields' style to theme instead of (duplicated) inline CSS
2021-09-23 11:44:11 +02:00