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
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
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
Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
Molkobain
e8aaec5789
N°2060 - Regression: Fix missing PORTAL_ID constant
2020-01-17 17:33:52 +01:00
Molkobain
f235e0cd66
Update copyright
2020-01-08 19:48:45 +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
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
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
305b236f41
N°2060: Add portal's ContextTag lost in Symfony migration
2019-08-02 10:58:52 +02:00
Molkobain
08731857e5
N°2060 [WIP] Initialisation of the portal application: Code cleanup
2019-07-10 11:45:47 +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
7088b96c16
N°2060 [WIP] Initialisation of the portal application: Enable webprofiler for easier debug!
2019-07-08 16:59:46 +02:00
Molkobain
5ab059c404
N°2060 [WIP] Initialisation of the portal application:
...
- Simplify PortalUrlMaker to avoid necessity to copy most of the code. Drawback: BC break, check migration notes.
- Fix multiple portal instances (in the same running process)
- Refactor portal constants into env. vars
- Fix cache path for services (ScopeValidator & LifecycleValidator)
- Change evalution order of the portal id ($_ENV['PORTAL_ID'] > $_GET('portal_id'] > PORTAL_ID)
2019-07-08 15:44:39 +02:00
Molkobain
322ea1870d
N°2060 [WIP] Initialisation of the portal application:
...
- Refactor kernel bootstrapping:
- Make bin/console from SF work
- Make iTopPortalEditUrlMaker / iTopPortalViewUrlMaker work again
- Add classmap to /application in composer.json
2019-07-05 15:53:05 +02:00
Molkobain
ae8451e837
N°2060 [WIP] Initialisation of the portal application:
...
- Default env. is now production.
- Debug mode through url param. is now available like in Silex version
2019-06-28 17:26:24 +02:00
Molkobain
0867d8a3c4
N°2060 [WIP] Initialisation of the portal application
2019-06-25 11:58:38 +02:00