jf-cbd
0562563cbb
Dump autoloader
2025-03-12 11:51:59 +01:00
Eric Espie
19559b08a7
N°7854 - ⬆️ Bump twig version
2024-12-10 10:52:30 +01:00
Eric Espie
346564ca0e
N°7854 - ⬆️ Bump twig version
2024-12-10 10:11:28 +01:00
Romain Quetiez
7a4d29d561
N°7870 ✅ Prerequisites to test portal services (instantiate a symfony service)
2024-10-15 15:11:16 +02:00
Romain Quetiez
baf85e7a80
N°7629 Deprecate utils::GetClassesForInterface in favor of InterfaceDiscovery::FindItopClasses
...
Improve caching strategy and robustness
2024-07-16 10:13:13 +02:00
Stephen Abello
2404f5d00f
N°7552 - Remove unused library masterminds/html5
2024-07-04 14:59:21 +02:00
Eric Espie
e5a60beba0
🚨 Fix autoload files
2024-06-18 17:54:12 +02:00
Eric Espie
71e36d264e
✅ fix unit tests
2024-06-17 14:52:55 +02:00
Eric Espie
47d65931e6
N°7571 - ⬆️ Bump HTML2Text library version
2024-06-13 14:45:06 +02:00
Molkobain
7b8887a9c8
N°2039 - Rename AsyncSendiTopNotifications into AsyncSendNewsroom
2024-05-02 17:15:14 +02:00
Molkobain
848c4bb979
N°2039 - Fix autoloaders
2024-05-02 09:45:30 +02:00
Molkobain
635c1bda6e
N°2039 - Rename iTopNewsroom into NewsroomNotification
2024-05-02 09:30:47 +02:00
Denis
3a8ad59e6c
N°6167 - Introduce API for the content of the Welcome Popup ( #505 )
...
* API for the content of the Welcome Popup
* Apply suggestions from code review
* N°7410 - Refactor code to match conventions
* N°7410 - Refactor to new design
* N°7410 - Review adjustments
* N°7410 - Review adjustments
* N°7410 - Update translations
* N°7410 - Update setup complied file
* Update sources/Application/WelcomePopup/Provider/DefaultProvider.php
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-04-18 16:57:07 +02:00
Stephen Abello
dc553ca83c
N°5298 - Update CKEditor to version 5
2024-04-15 12:53:21 +02:00
jf-cbd
a3553202d9
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
...
# Conflicts:
# pages/csvimport.php
2024-04-05 14:56:38 +02:00
jf-cbd
b10d381dda
N°7374 - Security hardening
2024-04-05 14:40:56 +02:00
Molkobain
86489dbbe1
N°6974 - Fix autoloaders
2024-03-19 14:51:24 +01:00
Eric Espie
6098842d9f
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
...
# Conflicts:
# core/designdocument.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2024-03-19 14:06:24 +01:00
Eric Espié
2f30a0146e
N°6974 - Flatten classes in datamodel ( #603 )
...
* N°6974 - Flatten classes in datamodel
* N°6882 - LoadDelta() in lax/strict mode
* N°6974 - Flatten classes in datamodel
* N°6882 - LoadDelta() in lax/strict mode
* N°7186 - Code hardening
* N°6974 - Flatten classes in datamodel
* N°6660 and N°7318 - Support delete_if_exists and define_if_not_exists in XML injection
* N°6974 - Flatten classes in datamodel
* Apply suggestions from code review
* Update core/designdocument.class.inc.php
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-03-19 13:53:14 +01:00
Molkobain
c2f72f713a
N°7331 - Refactor for better understanding
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
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
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
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
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
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
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
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