Molkobain
dc6ea37f23
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-03-13 15:29:22 +01:00
Molkobain
87181669d1
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-03-13 15:18:33 +01:00
Molkobain
efd7fb0f59
N°7331 - Fix wrong file extension in .htaccess file
2024-03-13 15:16:46 +01:00
Molkobain
c2f72f713a
N°7331 - Refactor for better understanding
2024-03-13 15:07:47 +01:00
Molkobain
700c4d0b04
N°7331 - Remove "example" (single) as well
2024-03-13 15:07:47 +01:00
Molkobain
f3dd414a51
N°7331 - Add NPM cleanup scripts
2024-03-13 15:07:47 +01:00
Molkobain
d1a4d333eb
N°7331 - Refactor Composer cleanup scripts to be used by other dependencies managers as well
2024-03-13 15:07:47 +01:00
Molkobain
17bab06ff5
N°7157 - Migrate enum values from strings to PHP Enum
2024-03-06 18:40:47 +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
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
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
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
Pierre Goiffon
5308b49cd2
N°7175 TCPDF examples : don't keep this dir in iTop
2024-02-01 16:07:14 +01:00
Pierre Goiffon
216ea34a3c
N°7175 TCPDF fonts : keep only the minimum necessary files
2024-02-01 15:34:18 +01:00
Pierre Goiffon
0a9c5250f8
N°7175 Update tecnickcom/tcpdf from 6.4.4 to 6.6.5
2024-02-01 10:25:46 +01:00
Pierre Goiffon
0e91c75dc2
N°7175 Replace combodo/tcpdf 6.4.4 by tecnickcom/tcpdf 6.4.4
...
The only difference was the presence of the DroidSansFallback font added in #49 / N°1947
We are keeping this font thanks to a custom Composer script to copy the corresponding files in the fonts dir (/lib/tecnickcom/tcpdf/fonts)
2024-02-01 10:25:40 +01:00
Pierre Goiffon
272d6e9b66
N°7178 Update scssphp/scssphp from 1.10.5 to 1.12.1
2024-01-30 11:10:31 +01:00
Pierre Goiffon
e92b006f70
N°7177 Update pelago/emogrifier from 6.0.0 to 7.2.0
2024-01-29 17:18:15 +01:00
Pierre Goiffon
6342e0065a
N°5809 Update psr/log from 2.0.0 to 3.0.0
2024-01-29 16:16:26 +01:00
Pierre Goiffon
ac44ffcdff
N°5809 Fix compilation error due to CASLogger VS LoggerInterface in psr/log
...
"Declaration of Combodo\iTop\Cas\CASLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = [])"
psr/log 3.0.0 brings the BC break
Switching to 2.0.0 is nice as it will bring improvements for PHP 8.0+ !
So adding psr/log ^2.0.0 to composer.json
2024-01-29 16:16:22 +01:00
Pierre Goiffon
dfb5a4875a
N°5809 Update Symfony artifacts from 6.4.0 to 6.4.2
...
symfony/console
symfony/dotenv
symfony/framework-bundle
symfony/http-foundation
symfony/http-kernel
symfony/var-dumper
symfony/web-profiler-bundle
2024-01-29 16:16:17 +01:00
Pierre Goiffon
9235c395b4
N°5809 Update thenetworg/oauth2-azure from 2.1.1 to 2.2.2
2024-01-29 16:16:08 +01:00
Pierre Goiffon
e1296105f9
N°5809 Update nikic/php-parser from 4.14.0 to 4.18.0
2024-01-29 16:16:01 +01:00
Pierre Goiffon
38cdcf4f61
N°5809 Update league/oauth2-google from 3.0.4 to 4.0.1
2024-01-29 16:15:57 +01:00
Pierre Goiffon
5623decdb3
N°5809 Update laminas/laminas-servicemanager from 3.16.0 to 3.22.1
2024-01-29 16:15:48 +01:00
Pierre Goiffon
0f39ea8ac7
N°5809 Update laminas/laminas-mail from 2.16.0 to 2.22.0
2024-01-29 16:15:40 +01:00
Pierre Goiffon
f3d3ec6ef7
N°5809 Update guzzlehttp/guzzle from 7.7.0 to 7.8.1
2024-01-29 16:15:35 +01:00
Pierre Goiffon
fde01d5004
N°5809 Update firebase/php-jwt from 6.4.0 to 6.10.0
2024-01-29 16:15:30 +01:00
Pierre Goiffon
71d9710322
N°5809 Update apereo/phpcas from 1.6.0 to 1.6.1
2024-01-29 16:15:19 +01:00
Molkobain
3f365885f0
N°7059 - Fix inconsistent class name / file name which breaks PSR-4 convention and SF app
2024-01-03 15:25:41 +01:00
Stephen Abello
c61fa7b92f
N°2039 - Fix namespace and autoloader
2024-01-03 14:49:25 +01:00
Stephen Abello
05db99aa69
N°2039 - Add iTop notifications to newsroom ( #590 )
...
* N°2039 - Add iTop notifications to newsroom
* Update sources/Controller/Newsroom/iTopNewsroomController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Controller/Newsroom/iTopNewsroomController.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update sources/Service/Notification/Event/EventiTopNotificationGC.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Add a default value to Action url attribute, check if there's an object in the context before adding it to the event
* Phpdoc
* Fix default config values
* Replace MetaModel::EnumPlugins calls for iNewsroomProvider
* Replace hardcoded url with generated routes
* Add dict entries
* Correclty throw error when trying to display a non existing event
* Fix unit test
* Migrate old action email language values to its parent table
* Migrate Action and Event class to XML, generate their dictionary entries, add meta data for ActionNotification and EventNotification
* Fix issue in dictionary definition
* Allows Action to create Events for users that the current user can't see
* Dump autoloader
* Remove classes from homemade "autoloader" as they are now loaded through XML
* Apply suggestions from code review
* Remove class from homemade "autoloader" as they are now loaded through GetClassesForInterfaces
* Apply suggestions from code review
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-12-22 12:02:19 +01:00
Benjamin Dalsass
34f0053db7
N°7059 - Symfony 6.4 - Add missing namespaces to match PSR-4 convention ( #589 )
2023-12-21 10:18:11 +01:00
Benjamin Dalsass
be99a7c02d
N°7059 - Symfony 6.4 - Application skeleton - sources registration ( #588 )
...
We configure global sources directory in symfony configuration file except the directory Application/WebPage (potential impacts)
2023-12-13 10:31:36 +01:00
Benjamin Dalsass
fb29ff29cf
N°7059 - Symfony 6.4 - Application skeleton ( #587 )
...
Mise en place d'un squelette temporaire fonctionnel d'application Symfony.
- Ajout bundles debug & runtime pour une implémentation standard
- Configuration minimale
- .env file in specific directory
- Frontal application app.php
2023-12-12 16:40:04 +01:00
Pierre Goiffon
8e2e155e65
Merge remote-tracking branch 'origin/support/3.1' into develop
...
# Conflicts:
# lib/composer/installed.php
2023-12-08 11:34:26 +01:00
Pierre Goiffon
3f8017f43d
N°7046 Fix authent-cas: "CAS_ServiceBaseUrl_Static" not found
...
Regression in 3.1.0 brought by N°5270 (02afa2f1 )
2023-12-08 10:41:04 +01:00
bdalsass
27ce51ab07
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 ( #580 )
...
* Update Symfony lib to version ~6.4.0
* Update code missing return type
* Add an iTop general configuration entry to store application secret (Symfony mandatory parameter)
* Use dependency injection in ExceptionListener & UserProvider classes
2023-12-05 13:56:56 +01:00
Eric Espie
f736634c3e
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-11-23 11:27:04 +01:00
odain-cbd
9a59bc7890
N°6901 - Enable tracking of iTop active sessions (monitoring) ( #568 )
...
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Romain Quetiez <romain.quetiez@combodo.com >
2023-11-22 17:46:00 +01:00
Pierre Goiffon
33596249a1
N°6973 Fix composer platform check
2023-11-21 11:03:58 +01:00
Pierre Goiffon
3068a6a360
N°6951 Fix autoloader
2023-11-21 11:01:16 +01:00
Stephen Abello
47e7c35c2b
Merge branch 'support/3.0' into support/3.1
...
# Conflicts:
# dictionaries/cs.dictionary.itop.core.php
# dictionaries/da.dictionary.itop.core.php
# dictionaries/de.dictionary.itop.core.php
# dictionaries/es_cr.dictionary.itop.core.php
# dictionaries/hu.dictionary.itop.core.php
# dictionaries/it.dictionary.itop.core.php
# dictionaries/ja.dictionary.itop.core.php
# dictionaries/nl.dictionary.itop.core.php
# dictionaries/pl.dictionary.itop.core.php
# dictionaries/pt_br.dictionary.itop.core.php
# dictionaries/ru.dictionary.itop.core.php
# dictionaries/sk.dictionary.itop.core.php
# dictionaries/tr.dictionary.itop.core.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# sources/Application/Helper/ExportHelper.php
2023-11-21 10:24:29 +01:00
Stephen Abello
083a0b79bf
N°6951 - Security hardening
2023-11-21 10:08:46 +01:00
Stephen Abello
e22220b4fe
Merge branch 'support/2.7' into support/3.0
...
# Conflicts:
# core/csvbulkexport.class.inc.php
# core/excelbulkexport.class.inc.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
2023-11-21 09:47:14 +01:00
Stephen Abello
b10bcb976d
N°6951 - Security hardening
2023-11-21 09:42:11 +01:00
Pierre Goiffon
e3e8b25cfc
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# core/dbobject.class.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# lib/composer/autoload_files.php
# lib/composer/autoload_real.php
# lib/composer/autoload_static.php
# pages/UI.php
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:31:56 +01:00
Pierre Goiffon
c955fe00b7
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# application/utils.inc.php
# core/coreexception.class.inc.php
# core/userrights.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
# tests/php-unit-tests/README.md
# tests/php-unit-tests/unitary-tests/core/DBObjectTest.php
2023-11-15 15:03:04 +01:00
Molkobain
eb7c971091
N°6948 - Upgrade "symfony/twig-bridge" to v5.4.31
2023-11-13 15:17:52 +01:00
Eric Espie
9c37d5c23e
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# application/applicationextension.inc.php
# application/cmdbabstract.class.inc.php
# core/dbobject.class.php
# core/kpi.class.inc.php
# core/metamodel.class.php
# lib/composer/autoload_classmap.php
# lib/composer/autoload_static.php
# tests/php-unit-tests/unitary-tests/setup/DBBackupTest.php
2023-07-19 09:26:46 +02:00