Pierre Goiffon
3e9f4df1bf
N°5621 Move D3 3.5.16 to NPM
2024-03-04 10:31:26 +01:00
Pierre Goiffon
f3fbce7459
N°5621 Move C3 0.4.11 to NPM
2024-03-04 10:31:26 +01:00
Pierre Goiffon
ff079f7d01
N°5621 Move mousetrap 1.6.5 to NPM
2024-03-04 10:31:26 +01:00
Pierre Goiffon
39d1ddeab8
N°5621 Move JQuery 3.5.1 to NPM
2024-03-04 10:31:26 +01:00
Pierre Goiffon
fada9793f0
N°5621 Move JQuery UI 1.12.1 to NPM
2024-03-04 10:31:25 +01:00
Molkobain
1848b5f231
N°7314 - Add some PHPDoc about new recommendations
2024-03-01 21:27:19 +01:00
Molkobain
9fa53d43ab
N°7314 - Add Symfony Response alternative to Webpage::output()
2024-03-01 21:10:37 +01:00
Molkobain
646e86b207
N°7314 - Remove danger zone from iTopWebPage as it was only kept to ensure we didn't a miss in 3.0.0
2024-03-01 21:10:26 +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
2a5337d84c
N°2039 - Fix notifications sorting
2024-02-28 15:20:36 +01:00
Pierre Goiffon
fbe7f559d2
N°7251 Remove usages of deprecated JS libs
...
Only js/json.js was used, but it is a polyfill that is not necessary anymore considering our browser requirements (see https://www.itophub.io/wiki/page?id=latest:install:requirements#web_browser )
2024-02-28 15:10:06 +01:00
Anne-Catherine
1394bc221d
N°3363 - Add favicon in branding ( #522 )
2024-02-28 09:59:11 +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
Anne-Catherine
b67057c863
N°7163 - Avoid having an empty list when "items per page" is set to 0 as it makes no sense ( #616 )
2024-02-27 17:34:53 +01:00
Molkobain
47f7dfeb47
N°2039 - Fix crash when opening all newsroom page due a missing use statement
2024-02-22 15:03:53 +01:00
Molkobain
7c17957ec7
N°7157 - Fix subscription check when no existing lnk yet
2024-02-21 11:09:22 +01:00
Molkobain
d7e9ae1a77
N°6406 - Change internal newsroom to open in current page
2024-02-21 10:21:15 +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
1dfb2e0a1a
N°7243 - Add toast notifications to iTop ( #614 )
...
* N°7243 - Add toast notifications to iTop
* 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 >
* Update js/pages/backoffice/toolbox.js
* Update js/utils.js
* N°7243 - Move some rules to a dedicated partial and use spacing variables
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-02-16 11:06:09 +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
Molkobain
cf996dda0b
N°4897 - Add method to improve deprecated PHP API logs (eg. for \iPageUIExtension)
2024-02-01 10:10:05 +01:00
Anne-Cath
21638e6a9e
Add missing use
2024-01-31 10:34:47 +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
Molkobain
b63af9b919
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
2024-01-24 15:21:05 +01:00
Molkobain
4d4cdf9e60
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-01-24 15:18:37 +01:00
Molkobain
3868d57d28
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
2024-01-24 15:11:29 +01:00
Dennis Lassiter
618d8e6468
N°5775 - Allow configuration of OAuth client on MS Azure with single tenant ( #553 )
...
* Add Tenant-Support for Azure OAuthClient
* Improvement: Make tenant required
* Improvment: Removed check for null-value
Since last commit, the "tenant"-field either set to a custom value or "common" by default. It is not allowed to be null
* Add field description
---------
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2024-01-24 14:38:54 +01:00
odain
53a2a7a8e2
N°7147 - cleanup
2024-01-23 20:45:35 +01:00
odain
9a26c37ffd
N°7147 - Error HTTP 500 due to access_token not URL decoded
2024-01-23 16:50:21 +01:00
Pierre Goiffon
a32dd779cb
Merge remote-tracking branch 'Combodo/support/3.1' into develop
2024-01-05 11:11:13 +01:00
Pierre Goiffon
fad5571d9b
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
2024-01-05 11:03:34 +01:00
Pierre Goiffon
48c4e2d13d
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# core/config.class.inc.php
2024-01-05 10:58:51 +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
135d410a6b
N°2039 - Fix some issues with content type, bg task and typos
2024-01-03 11:46:38 +01:00
Stephen Abello
9af08fa693
N°2039 - Apply some suggestion from @Hipska
...
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com > o
2023-12-26 10:21:59 +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
2681abbeed
N°7059 - Symfony 6.4 - Application skeleton - sources registration
...
- PDFPage constructor define impact
2023-12-22 11:08:25 +01:00
jbostoen
031c90e797
N°7082 Ability to forcefully send e-mails asynchronously ( #501 )
...
Will be usefull in use cases like sending mass emails in customer-survey
2023-12-21 11:15:08 +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
Pierre Goiffon
afbdff928d
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-19 18:42:11 +01:00
Pierre Goiffon
e007e09155
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# pages/ajax.render.php
2023-12-19 18:41:57 +01:00
Pierre Goiffon
4ee70cb95a
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/itopwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# datamodels/2.x/itop-hub-connector/hubconnectorpage.class.inc.php
# pages/ajax.document.php
# pages/ajax.render.php
# sources/application/TwigBase/Controller/Controller.php
# webservices/export-v2.php
2023-12-19 18:38:45 +01:00
Pierre Goiffon
9865bf0779
N°4368 add sending X-Content-Type-Options HTTP header
...
Replace in consumers the \WebPage::add_xframe_options call by \WebPage::add_http_headers
2023-12-19 18:25:26 +01:00
Molkobain
0c100ea2de
Merge remote-tracking branch 'origin/support/3.1' into develop
2023-12-13 10:54:35 +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
jf-cbd
17d131a9b1
N°7021 - Fix error log and useless compilation time due to SCSS file unnecessary compilation #579
2023-12-13 09:21:26 +01:00
Benjamin Dalsass
45c50995e3
N°7059 - Symfony 6.4 - Application skeleton
...
- unitary test broken
2023-12-12 16:57:16 +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