Molkobain
26169111ed
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# css/backoffice/utils/helpers/_misc.scss
2023-02-23 11:05:54 +01:00
Pierre Goiffon
f55fc8d264
N°6014 Validation pattern for URL : now handles commas in params ( #356 )
...
Seen on PRTG URLs
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-02-23 10:59:38 +01:00
Molkobain
577f125a8d
PHP 8.1: Fix trim() usage with a null value in Trigger
2023-02-23 10:40:29 +01:00
Eric Espie
a9f08e87f9
N°5906 - CRUD Event - move some code
2023-02-21 11:06:10 +01:00
Eric Espie
8940051c3d
N°5906 - CRUD Event - fire event EVENT_DB_LINKS_CHANGED when an n-n link is created/updated/deleted
2023-02-17 14:25:01 +01:00
Molkobain
45df1002ec
N°5388 - PHP 8.2: Fix dynamic properties to standard declared properties
2023-02-15 23:02:40 +01:00
Molkobain
737388053f
PHP 8.1: Fix FunctionExpression::Evaluate() "TO_DAYS" misalignment due to PHP 8.1 bug fix
2023-02-15 21:31:11 +01:00
Molkobain
33717b9610
N°5951 - Fix crash when creating a user with a non valid password
...
/!\ Mind that this could have impact on DoCheckToWrite() overloads for people using \DBObject::GetKey() instead of \DBObject::IsNew()
2023-02-13 20:22:39 +01:00
Molkobain
f7ee21f1d7
N°5279 - PHP 8.1: Migrate usages of deprecated strftime() function
...
In the end we made an adapter to keep using the strftime() format (https://www.php.net/manual/fr/function.strftime.php ); not to ease migration but because we couldn't use \DateTime::format().
We can't use \DateTime::format() directly on the whole filename as it would also format characters that are not supposed to be. eg. "__DB__-Y-m-d-production" would become "itopdb-2023-02-09-+01:00Thu, 09 Feb 2023 11:34:01 +0100202309", mind the "production" part being converted.
2023-02-10 22:15:18 +01:00
Pierre Goiffon
ca72ec736e
N°4756 DBObject Rename Event* methods to FireEvent*
2023-02-10 15:22:33 +01:00
Molkobain
1768274aaf
N°5943 - Fix undefined array key "Remote" in AjaxRenderController.php with DokuWiki extension
2023-02-03 09:38:28 +01:00
Molkobain
f48df74933
N°5388 - PHP 8.2: Fix dynamic properties that were actually just case-sensitive typos
2023-01-27 17:57:50 +01:00
Molkobain
af2421a2cb
N°5905 - Move tab description to a tooltip on the panel's title instead of a big blue alert
2023-01-27 17:25:03 +01:00
Eric Espie
1e37370789
N°4756 - Ease extensibility for CRUD operations : 🎨 refactor after code review with PG
2023-01-26 17:32:08 +01:00
vdumas
6b8d9ea08d
N°5915 - Complementary Name on Trigger and Action
2023-01-26 09:03:52 +01:00
Pierre Goiffon
834c4a2654
N°5563 Restore edit_mode getter
...
Woops forgot in 13550fd6
2023-01-25 14:57:30 +01:00
vdumas
3775ccea74
N°5915 - Display n:n in Trigger and Action using tagset widget
2023-01-24 17:23:44 +01:00
bdalsass
fb1ceebaa4
N°3190 - Edit n:n LinkedSetIndirect in object details using a tagset-like widget
...
- Add generic set block ui component
- Add model link set (direct and indirect) attribute (display style)
- Add model link set direct allowed values
- Create link set viewer block UI (BlockLinksSetDisplayAsProperty)
- Add set block ui factory for linkset
- Add object factory and create new endpoint in object controller (with data binder)
- Add link set model, link set repository and link set data transformer services
2023-01-24 10:03:10 +01:00
Molkobain
b2397fc570
N°4517 - Fix missing use statement from 7ec12f1e1
2023-01-20 15:30:53 +01:00
vdumas
f7e87c1ea1
N°5347 - Change default value of allow_menu_on_linkset
2023-01-20 11:30:55 +01:00
Molkobain
0d8a21f6ef
N°5897 - Improve deprecated logs relevance for PHP "trigger_deprecation"
2023-01-17 16:30:35 +01:00
Molkobain
3459dc5997
N°5897 - Improve deprecated logs relevance for PHP "trigger_deprecation"
2023-01-17 16:29:25 +01:00
Pierre Goiffon
01d9d34118
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-01-17 15:37:43 +01:00
Pierre Goiffon
de7c9d965e
💡 PHPDoc in \DeprecatedCallsLog
2023-01-17 15:37:23 +01:00
Molkobain
4c127b6f61
Revert "N°4517 - PHP 8.1: Fix return type hint for iterable classes"
...
This reverts commit 61be903eb2 .
2023-01-16 14:38:20 +01:00
Molkobain
61be903eb2
N°4517 - PHP 8.1: Fix return type hint for iterable classes
2023-01-16 14:21:00 +01:00
Eric Espie
06a5d645da
N°4756 - ✅ Ease extensibility for CRUD operations : Add unit tests
2023-01-12 17:40:17 +01:00
Lars Kaltefleiter
57ab3a0336
N°1350 - link audit catecories to domains and evaluate only categories of a given domain via interactive audit
2023-01-10 18:20:15 +01:00
Lars Kaltefleiter
b354058eb5
N°5622 Fix backup cannot be done if TLS enabled with no CA ( #354 )
2023-01-10 12:13:33 +01:00
Pierre Goiffon
43d86ad8e2
N°2013 Setup : fix crash on setting readonly mode if initial DB info were wrong
...
Same as 15d3201a , but this error happened before compilation, when setting read only mode.
As before this is another fix for #351 .
This fix introduces the new method \WizardController::GetParamForConfigArray
I replaced existing duplicate code with a call to this new generic method.
2023-01-10 10:56:21 +01:00
Pierre Goiffon
15d3201a40
N°2013 Setup : fix crash on compilation if initial DB info were wrong
...
Use case :
- having in the iTop config file wrong DB parameters (unreachable server for example)
- launch the setup in update mode
- fix the DB config in the wizard
The PR #351 solved the errors that were happening in the following steps.
But we still had an error during compilation, caused by the maintenance mode activation.
2023-01-09 16:11:27 +01:00
Molkobain
083d19c688
📝 PHPDoc
2023-01-05 21:19:56 +01:00
Eric Espie
4e9a34d8d8
Merge branch 'support/3.0' into develop
2023-01-05 09:25:11 +01:00
Eric Espie
524e65a29b
📝 fix PHPDoc
2023-01-05 09:23:48 +01:00
Pierre Goiffon
4f7a1ea9da
N°3200 Datatable "filter list" icon : specific query for 1,n and n,n objects relations
...
This specific query passes attcodes list to display to UI.php, but this endpoint doesn't handle it yet. Adding this enhancements would require too much time for now (datatables legacy code), hopefully a refactoring work will be done soon and we'll get back to it !
Note that dedicated ContextTag is renamed from Search to ObjectSearch
2023-01-04 16:23:52 +01:00
Pierre Goiffon
a62a373f64
N°3200 ♻️ Refactor relations attcode list generation
...
The existing code was added in N°2334
Its generic part is now callable in the MetaModel::GetAttributeLinkedSetIndirectDatatableAttCodesToDisplay method
2023-01-04 16:23:52 +01:00
Pierre Goiffon
6b23171d65
N°3200 New "Filter list" icon in datatables
...
Every datatables will open its query in a new UI.php?operation=search page
2023-01-04 16:23:52 +01:00
Eric Espie
a693c343e8
N°4756 - Ease extensibility for CRUD operations : Reduce events after review
2023-01-04 14:18:01 +01:00
Eric Espie
cd17eb484a
N°4756 - Ease extensibility for CRUD operations : Reduce events after review
2023-01-04 12:23:23 +01:00
Vincent Dumas
259eb60f97
N°5841 - Non-admin managing User can't see Administrator by default ( #383 )
2023-01-03 14:08:28 +01:00
Eric Espie
1afa3e2003
Merge branch 'support/3.0' into develop
2023-01-03 08:52:10 +01:00
Eric Espie
df7d7c877d
N°5490 - PHP 8.0: Fix crash of bulk modify
2023-01-03 08:50:18 +01:00
Eric Espie
4c4d7c12e8
N°4756 - Ease extensibility for CRUD operations : Coherency in method parameters
2023-01-02 14:23:36 +01:00
Eric Espie
97c3cacfaa
N°4756 - Ease extensibility for CRUD operations : Pass DeletionPlan to EVENT_DB_CHECK_TO_DELETE
2023-01-02 14:20:17 +01:00
Eric Espie
98ec568788
N°4756 - Ease extensibility for CRUD operations : Events not sent in overridable methods
2023-01-02 14:06:02 +01:00
Eric Espie
626ba7ee66
📝 PHPDoc reworked packages
2022-12-30 14:17:57 +01:00
Eric Espie
3920f84f45
📝 PHPDoc reworked for auto-doc
2022-12-30 10:11:11 +01:00
Eric Espie
f3cea730af
Merge branch 'support/3.0' into develop
...
# Conflicts:
# application/applicationextension.inc.php
2022-12-29 14:40:26 +01:00
Eric Espie
88d9a29599
📝 Change packages for auto-documentation
2022-12-29 12:38:31 +01:00
Eric Espie
23b4d4cb6b
Merge branch 'support/2.7' into support/3.0
2022-12-28 09:52:52 +01:00