Eric Espie
7b01108c91
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-03-01 09:43:24 +01:00
Eric Espie
3b9ca4ad18
N°7310 - New Event to handle available Transitions
2024-03-01 09:39:00 +01:00
Stephen Abello
59129bc3ce
N°2039 N°7298 - Allow Actions to be asynchronous ( #625 )
...
* N°2039 - Allows Actions to be asynchronous
* Add unit test
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
* GetAsynchronousGlobalSetting is now static
* None of the async task for itop notification attribute should be null
* Rename follow_global_setting to user_global_setting
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-03-01 09:27:56 +01:00
Anne-Cath
eddc750ca8
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# pages/audit.php
# tests/php-unit-tests/unitary-tests/core/DBSearchTest.php
2024-02-29 16:53:39 +01:00
Anne-Cath
f3abe1ff13
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# pages/audit.php
2024-02-29 16:50:04 +01:00
Anne-Catherine
473cf004b6
N°6968 - Audit duration : add of a rule multiplie by 4 the time of response ( #575 )
2024-02-29 16:33:04 +01:00
Anne-Catherine
90a5a7a9a7
N°6968 - Audit duration : add of a rule multiplie by 4 the time of response ( #575 )
2024-02-29 16:18:03 +01:00
vdumas
e8c11f38d2
N°4314 - Fix Uniqueness rules not working with Silo (2)
2024-02-28 10:00:21 +01:00
Anne-Catherine
baa05ba8d4
N°4342 - Improve generic bulk deletion function with memory limit handling ( #321 )
2024-02-28 09:55:04 +01:00
Stephen Abello
e7b493dafa
N°2039 - Rework view all notifications page ( #617 )
...
* N°2039 - Rework view all notifications page
* N°2039 - Replace modals with toasts
* N°2039 - Add bulk mode to view all notifications page
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update css/backoffice/pages/_notifications.scss
* Update dictionaries/ui/application/newsroom/fr.dictionary.itop.newsroom.php
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Add since in phpdoc
* Change newsroom empty notification illustration
* N°2039 - Refactor code to factorize logic
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-02-28 09:22:39 +01:00
Molkobain
940833a66f
N°7157 - Fix trigger init to null when not passed
2024-02-27 21:46:04 +01:00
Molkobain
2b172d6e19
N°7157 - Fix ActioniTopNotification friendlyname
2024-02-27 21:28:53 +01:00
Molkobain
69677954b4
N°7157 - Change way to pass calling trigger to action in order to ease extensibility and to be able to use its attributes in placeholders
2024-02-27 21:28:51 +01:00
Anne-Cath
9c35cddfc0
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-02-27 18:01:33 +01:00
Anne-Catherine
86bf6ba0b0
N°5547 - Object deletion fails if friendlyname too long ( #529 )
2024-02-27 17:59:37 +01:00
Anne-Catherine
82e19f6eca
N°6543 - Fix display of AttributeText with width parameter ( #521 )
2024-02-27 17:42:59 +01:00
Anne-Catherine
0546a7b82b
N°6808 - Rank management (order) in iTop actions ( #558 )
2024-02-27 17:06:12 +01:00
vdumas
3d360e99da
N°4314 - Fix Uniqueness rules not working with Silo
2024-02-27 14:53:07 +01:00
Molkobain
123dfd8dd3
N°2039 - Fix broken image in icon attribute when empty
2024-02-22 15:57:48 +01:00
Molkobain
e9bd76f2cd
N°2039 - Choose news icon depending on context
...
Icon from action if defined > Icon from source object class > Icon from branding (compact)
2024-02-22 15:28:16 +01:00
Molkobain
c6548ace61
N°2039 - Fix PHPDoc
2024-02-21 16:36:34 +01:00
vdumas
b6caa51552
N°7268 - Method SetComputedDate fails on Date only attribute
2024-02-21 08:47:14 +01:00
Pierre Goiffon
8a67ceff57
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-02-20 12:12:29 +01:00
Pierre Goiffon
095c94a917
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-02-20 12:11:57 +01:00
Pierre Goiffon
102a4a0c75
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# core/attributedef.class.inc.php
2024-02-20 12:11:02 +01:00
Pierre Goiffon
f6fec506b1
💡 Some PHPDoc hints on value types to pass to DBObject::Set
2024-02-20 12:10:00 +01:00
Stephen Abello
5fdf8d7687
N°2039 - Use another way to pass down current trigger info in Action in order to avoid bc changes in method profiles
2024-02-20 10:20:06 +01:00
Molkobain
2982911df7
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-02-19 20:22:44 +01:00
Molkobain
9f675fef02
N°7231 - PHP 8.1: Migrate deprecated usages of rawurlencode() with null value
2024-02-19 20:19:36 +01:00
Stephen Abello
c7cb7c0b68
N°7157 - Add robustness
2024-02-19 10:17:27 +01:00
Stephen Abello
ceba1ad1e9
N°7157 - Allow users to unsubscribe from notification channels ( #611 )
...
* N°7157 - Allow users to unsubscribe from notification channels
* Fix type hinting
* Add missing dict entries
* Allows to subscribe/unsubscribe from notifications individually
* Refactor NotificationsService to singleton pattern
* Refactor NotificationsRepository to singleton pattern and rename methods to a more functional naming
* Add PHPDoc and type hints
* Dump autoloaders
* Replace modals with toasts
* Add dict entry
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-02-19 09:25:47 +01:00
Stephen Abello
d775658980
N°2039 - Prevent Persons with no User linked from being notified
2024-02-16 11:00:05 +01:00
Stephen Abello
2bd40bef47
N°2039 - Fix dictionaries and zlist for ActioniTopNotification
2024-02-16 11:00:04 +01:00
Pierre Goiffon
85a49262e9
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-02-15 09:49:26 +01:00
Molkobain
0483cea226
N°7212 - PHP 8.1: Migrate remaining usages of strlen() with null value ( #607 )
2024-02-14 19:29:26 +01:00
Molkobain
922a842e96
N°7213 - PHP 8.1: Migrate remaining usages of md5() with null value ( #608 )
...
* N°7213 - PHP 8.1: Migrate remaining usages of md5() with null value
* Update core/attributedef.class.inc.php
2024-02-14 19:27:14 +01:00
Pierre Goiffon
85dac470aa
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
...
# Conflicts:
# datamodels/2.x/itop-files-information/dictionaries/zh_cn.dict.itop-files-information.php
# datamodels/2.x/itop-oauth-client/dictionaries/zh_cn.dict.itop-oauth-client.php
# datamodels/2.x/itop-portal-base/dictionaries/zh_cn.dict.itop-portal-base.php
# dictionaries/cs.dictionary.itop.core.php
# dictionaries/cs.dictionary.itop.ui.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
# tests/php-unit-tests/README.md
2024-02-14 15:09:23 +01:00
Pierre Goiffon
5663c61e51
N°7179 Remove unused var in ActionEmail::PrepareMessageContent ( #605 )
...
Introduced in fed149d in 3.1.0
2024-02-14 10:32:23 +01:00
Pierre Goiffon
bec5e250a5
N°5472 Notification Action objects : add a last executions tab ( #549 )
...
This tab is an ajax tab (deferred on demand loading)
The tab will display the last EventNotification for this action. Number of objects displayed is based on the new `notifications.last_executions_days` config parameter (default to 61 days, can be set to 0 for no limit)
2024-02-14 10:07:24 +01:00
Molkobain
9fe45e9472
N°7068 - Update PHPDoc
2024-02-13 21:20:22 +01:00
Thomas Casteleyn
78133418d7
N°7068 - Add emulation for apc_exists function ( #460 )
...
* Emulate missing apc_exists
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update core/apc-emulation.php
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-02-13 21:13:41 +01:00
Molkobain
41dcb26283
N°7222 - PHP 8.2: Fix DisplayableNode::$bFiltered dynamic property
2024-02-06 15:43:09 +01:00
Molkobain
cf996dda0b
N°4897 - Add method to improve deprecated PHP API logs (eg. for \iPageUIExtension)
2024-02-01 10:10:05 +01:00
Molkobain
87b08669d7
N°6037 - PHP 8.2: Migrate usage of strlen() with null value
2024-01-30 10:10:52 +01:00
Molkobain
16b3e62587
N°6037 - PHP 8.2: Migrate usage of strlen() with null value
2024-01-29 13:07:48 +01:00
Molkobain
6c1edadc55
N°6037 - PHP 8.2: Migrate usages of strings interpolation
2024-01-26 17:02:16 +01:00
Molkobain
8928a87b14
N°6037 - PHP 8.2: Migrate usages of strtolower() and strtolower() that depends on current locale
2024-01-26 16:36:25 +01:00
Molkobain
865b6d14f0
N°6037 - PHP 8.3: Update parameters and return type hints to match parent's
2024-01-24 20:35:40 +01:00
Pierre Goiffon
1e3ef6846d
N°3677 - Fix AttributeImage.default_image URLs not up to date after app_root_url change ( #526 )
...
Many thanks to @sg-gcouronne for this contribution !
2024-01-22 16:02:41 +01:00
jf-cbd
436b6808b5
N°7134 - Can't retrieve the list of changes when editing URP_UserProfile
2024-01-17 15:12:55 +01:00