odain
890a2568c8
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 15:39:53 +01:00
jf-cbd
b0288bc08e
Merge remote-tracking branch 'origin/support/3.1' into support/3.2
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/src/Controller/UserProfileBrickController.php
2025-01-28 10:44:35 +01:00
jf-cbd
ccb1ca9d79
Merge remote-tracking branch 'origin/support/2.7' into support/3.1
2025-01-28 10:32:18 +01:00
jf-cbd
44290db312
N°8134 - Portal user profile is broken, regression from 7776
2025-01-28 10:23:44 +01:00
Benjamin Dalsass
9fadbb5eb1
N°8031 - Make all portal bricks use custom templates for all templates ( #696 )
...
Service implementation
2025-01-13 08:04:49 +01:00
Romain Quetiez
7a4d29d561
N°7870 ✅ Prerequisites to test portal services (instantiate a symfony service)
2024-10-15 15:11:16 +02:00
Benjamin Dalsass
1d3c71fd10
N°7534 - Request to Improve the Display of an Inline Attachment ( #664 )
2024-08-19 11:03:06 +02:00
Molkobain
112a6f9942
N°7588 - Fix .env.local not working for the portal since Symfony 5.4 migration
2024-06-20 17:09:50 +02:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02: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
Molkobain
2d96cf34d4
Merge remote-tracking branch 'origin/support/3.0' into support/3.1
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/public/css/portal.css
2023-11-24 17:25:11 +01:00
Molkobain
7e3e8e43a8
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/public/css/portal.css
# datamodels/2.x/itop-portal-base/portal/templates/layout.html.twig
2023-11-24 16:45:04 +01:00
Molkobain
7b59df216b
N°7005 - Fix portal stylesheets not being re-compiled when outdated
...
Stylesheets should remain as a relative path in the portal configuration, only when consumed by the TWIG should they become URLs
Note that if not absolute, URLs will be append to ITOP/pages/
2023-11-24 16:40:58 +01:00
Benjamin Dalsass
c486aea299
N°803 - Allow display & edition of attributes on n:n relations on Portal
...
- Remove input when object is in view mode
- Improve form errors handling
- Prevent row selection when clicking input
- Attach date time picker to table instead of input to prevent popup truncating (popup will be visible but not aligned on the input)
2023-06-09 10:34:19 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Eric Espie
649674c786
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/twigextension.class.inc.php
# datamodels/2.x/authent-cas/composer.json
# datamodels/2.x/authent-cas/composer.lock
# datamodels/2.x/authent-cas/main.php
# datamodels/2.x/authent-cas/vendor/apereo/phpcas/composer.json
# datamodels/2.x/authent-cas/vendor/composer/ClassLoader.php
# datamodels/2.x/authent-cas/vendor/composer/autoload_classmap.php
# datamodels/2.x/authent-cas/vendor/composer/autoload_psr4.php
# datamodels/2.x/authent-cas/vendor/composer/autoload_real.php
# datamodels/2.x/authent-cas/vendor/composer/autoload_static.php
# datamodels/2.x/authent-cas/vendor/composer/installed.json
# datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php
# lib/apereo/phpcas/source/CAS.php
# lib/apereo/phpcas/source/CAS/Client.php
# lib/apereo/phpcas/source/CAS/Languages/Galego.php
# lib/apereo/phpcas/source/CAS/Languages/Portuguese.php
# lib/symfony/cache-contracts/InstalledVersions.php
# lib/symfony/cache-contracts/installed.php
# lib/symfony/cache-contracts/platform_check.php
# sources/Application/UI/Base/Layout/NavigationMenu/NavigationMenu.php
# sources/application/TwigBase/Twig/Extension.php
2022-11-24 13:17:09 +01:00
Eric Espie
feafd5e2c9
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
N°5741 - remove use of get_config_parameter and get_module_setting in Twig
# Conflicts:
# application/twigextension.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/Twig/AppExtension.php
# sources/application/TwigBase/Twig/Extension.php
2022-11-23 17:38:27 +01:00
Eric Espie
75f4751b82
N°5741 - remove use of get_config_parameter in Twig
2022-11-23 15:09:20 +01:00
Benjamin Dalsass
8b8e6bab33
remove request param for env dev switch (use log instead for debug)
2022-08-01 09:30:18 +02:00
Benjamin Dalsass
549bfcafd9
Change boostrap default env to prod
2022-08-01 09:30:18 +02:00
bdalsass
d93a0b698b
N°5281 - Portal: Add method to declare brick controller since Symfony 5.4 migration ( #313 )
...
* Add controllers declaration interface to ItopExtensionsExtraRoutes
* N°3390 - Upgrade from Symfony 3.4 to Symfony 5.4
Container setter issues
* Show Symfony original error page when app debug is on
* Update datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Helper/ObjectFormHandlerHelper.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Routing/ItopExtensionsExtraRoutes.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
* Update datamodels/2.x/itop-portal-base/portal/src/Form/ObjectFormManager.php
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2022-07-25 14:19:47 +02:00
bdalsass
79da71ecf8
migration symfony 5 4 ( #300 )
...
* symfony 5.4 (diff dev)
* symfony 5.4 (working)
* symfony 5.4 (update autoload)
* symfony 5.4 (remove swiftmailer mailer implementation)
* symfony 5.4 (php doc and split Global accessor class)
### Impacted packages:
composer require php:">=7.2.5 <8.0.0" symfony/console:5.4.* symfony/dotenv:5.4.* symfony/framework-bundle:5.4.* symfony/twig-bundle:5.4.* symfony/yaml:5.4.* --update-with-dependencies
composer require symfony/stopwatch:5.4.* symfony/web-profiler-bundle:5.4.* --dev --update-with-dependencies
2022-06-16 09:13:24 +02:00
Pierre Goiffon
8d4545f008
N°4921 - Add support for attcode & attvalue parameters in URL to access an object ( #273 )
...
This is a way to solve problems when an object ref and id isn't equals : for example id=99 and ref = 100.
This could happen since iTop 2.7.0, see https://www.itophub.io/wiki/page?id=2_7_0%3Arelease%3A2_7_whats_new#ticket_ref_generation
Note that id parameter can be set to the object's friendlyname as a workaround, but this might not be enough for some objects where friendlyname contains more that the ref field (for example title, org, ...)
* Admin console : new UI.php URL parameters : attcode and attvalue.
Example URLs :
/pages/UI.php?operation=details&class=UserRequest&id=99
/pages/UI.php?operation=details&class=UserRequest&attcode=ref&attvalue=R-000100
An exception will be thrown if no object is found or multiple instances are.
* User portal
New route : /object/view/{sObjectClass}/{sObjectAttCode}/{sObjectAttValue}
For example :
/pages/exec.php/object/view/UserRequest/99?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal
/pages/exec.php/object/view/UserRequest/ref/R-000100?exec_module=itop-portal-base&exec_page=index.php&portal_id=itop-portal
On error we will get a 404 error page
2022-03-09 10:51:21 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
Pierre Goiffon
37522459a8
N°3351 restore LogKPI calls in portal index
2020-10-01 18:02:31 +02:00
Molkobain
e96a8387a0
N°2750 - Regression: Fix default user profile image not shown in portal due to N°2060
2020-02-06 10:06:18 +01:00
Molkobain
f990a83453
N°2060 - Migrate error page to the Symfony framework
2020-01-30 13:56:32 +01:00
Molkobain
e8aaec5789
N°2060 - Regression: Fix missing PORTAL_ID constant
2020-01-17 17:33:52 +01:00
Molkobain
53adb37f43
N°2060 - Fix session messages and SCSS compilation services being cached
2020-01-16 11:34:08 +01:00
Molkobain
57100dee9f
N°2060 - WIP: Fix cached part of the portal (sync. commit)
2020-01-15 12:53:40 +01:00
Molkobain
f235e0cd66
Update copyright
2020-01-08 19:48:45 +01:00
Molkobain
2af22d3387
N°2060 Fix regression introduced during migration (iPortalUIExtension extensions not working)
2019-12-11 15:54:01 +01:00
Molkobain
366d2754ef
N°2060 - Fix regression making url pointing to the portal not working in notification anymore
2019-12-05 12:39:28 +01:00
Molkobain
b1b6c9f426
N°1192 Introduce navigation_rules in the end-users portal
2019-11-22 18:44:27 +01:00
bruno DA SILVA
08c1f4f072
autoload rework
...
- bootstrap.inc.php is now included by approot.inc.php
- remove all unescessaries includes of bootstrap.inc.php
- in bootstrap.inc.php autoload can be bypassed using a feature flag because "why not"
2019-11-08 16:51:57 +01:00
Stephen Abello
0a2063ce69
N°2060: Fix data-localizer and archive mode initialization for Symfony portal
2019-10-17 10:12:40 +02:00
Molkobain
947e26d864
Internal: Change how the bootstrap.inc.php file is included in endpoints (This completes commit ec095896)
2019-08-13 17:38:51 +02:00
Molkobain
ec09589646
N°2439 Add real autoloader for framework files (not modules)
2019-08-13 13:46:19 +02:00
Molkobain
5960dc6245
N°2435.1 Portal: Split portal composer.json in 2
...
- Autoloader for portal files in the itop-portal-base module
- Dependencies moved to root composer.json
- Add autoloader for /core and /application content
2019-08-13 10:34:22 +02:00
Stephen Abello
660852115e
Portal: Rename an endpoint with a typo
2019-08-09 10:49:55 +02:00
Stephen Abello
305b236f41
N°2060: Add portal's ContextTag lost in Symfony migration
2019-08-02 10:58:52 +02:00
Molkobain
0205f150a3
N°902.3 Portal: Extract column sorting helper to a specific service
2019-07-22 11:45:31 +02:00
Molkobain
5c0fc0bec5
N°2323.6 Reintegrate fixes in the new Symfony portal
2019-07-12 10:17:58 +02:00
Molkobain
d5b3a62df5
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-07-10 11:55:47 +02:00
Molkobain
08731857e5
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-07-10 11:45:47 +02:00
Molkobain
90062acc35
N°2060 [WIP] Initialisation of the portal application: Fix typo
2019-07-10 11:38:22 +02:00
Molkobain
9e9187b169
N°2060 [WIP] Initialisation of the portal application: Huge code cleanup
...
- Rename variables and methods in iTop files to match coding conventions
- Format code accordingly to coding conventions
- Add / update PHPDoc all over the place
- Suppress most of the warnings that did not have a big impact on code's logic
2019-07-09 19:08:40 +02:00
Molkobain
b7039c81ba
N°2060 [WIP] Initialisation of the portal application: Object's routes
...
- Fix autocomplete search route path was incorrect (missing parameters)
- Fix generic search route by removing the default controller as it didn't exist
- Remove regular search route as it was never used / implemented
2019-07-09 16:15:14 +02:00
Molkobain
7088b96c16
N°2060 [WIP] Initialisation of the portal application: Enable webprofiler for easier debug!
2019-07-08 16:59:46 +02:00