acognet
6d4f919519
Refactor -> create utils::AddParamToUrl - renaming of function + encode parameters
2021-09-20 17:29:50 +02:00
acognet
b861d45b08
Refactor -> create utils::AddParamToUrl
2021-09-17 16:29:06 +02:00
Eric Espie
15e99a898e
N°3985 - Performance checks on the back end - Enhance KPIs
2021-09-09 17:21:57 +02:00
Molkobain
e4c818cacb
N°4288 - Portal: Update TWIG extensions to match those available in the backoffice
2021-09-08 21:47:05 +02:00
Eric Espie
eef3e9b7ae
Merge branch 'develop' into SessionManagement
2021-09-07 16:33:10 +02:00
Eric
3ee9757a85
🔊 Log when no Twig template is found in controller
2021-08-26 12:06:21 +02:00
Eric
2c2155a8e0
N°3985 - Performance checks on the back end
2021-08-23 13:57:03 +02:00
Molkobain
0c66882990
N°3918 - Fix regression on mentions display introduced by 7af10e51
2021-08-12 21:04:50 +02:00
Molkobain
7af10e5197
N°3918 - Fix wiki syntax "[[CLASS:ID]]" not working in logs
2021-08-12 17:28:50 +02:00
Eric
ee544b646d
N°4076 - PHPDoc
2021-07-26 17:48:36 +02:00
Eric
344cce9fdd
N°4076 - Allow block parameters to change the behaviour of blocks on the page
2021-07-26 17:20:45 +02:00
Eric
1a7755365c
🎨 Allow tab stickiness for twig based extensions
2021-07-01 16:08:03 +02:00
Eric
e6a38a8055
N°3573 - Allow retrieving operation
2021-07-01 10:40:04 +02:00
Molkobain
fbb54c6d6d
Add PHPDoc
2021-06-28 14:13:53 +02:00
acognet
a8e1db8b3c
Fix render
2021-04-30 22:45:30 +02:00
Eric
d594f28ed9
N°3573 - Migrate backoffice pages to new UIBlock system : System Information
2021-04-09 09:55:58 +02:00
Molkobain
0c87bd9aad
TwigHelper: Add constant for backoffice's templates base folder
...
Note: We might add more in the future for other GUIs
2021-03-30 18:19:51 +02:00
Stephen Abello
8dd8f98b61
Migrate method to get classes implementing specified interface to utils
2021-03-17 10:57:26 +01:00
Stephen Abello
6b6db02567
Fix UIblock class extending interface collection
2021-03-17 10:57:26 +01:00
Pierre Goiffon
fccc57458c
N°3522 Fix IssueLog on Twig error in a Ajax context
2021-03-15 14:53:24 +01:00
Pierre Goiffon
8b47536835
N°3522 Handle twig errors nicely for AJAX calls
...
Whereas when called directly we are throwing an exception, in a Ajax context we are printing the error message and logging
2021-03-15 14:42:28 +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
e49b0db58d
N°3522 Handle twig errors nicely
...
Revert what was done in c5021721 : I then added a panel to be rendered instead of throwing an Exception. This was done because the exception was displayed in a blank page... But this was caused simply by a missing `use Exception` !!
So now we're back at throwing an exception, so that the standard mechanism for throwing the error page is triggered.
Handling Twig recursion is mandatory, and done in the beginning of the \Combodo\iTop\Application\TwigBase\Twig\TwigHelper::RenderTemplate catch block to avoid adding on each stack level a useless exception.
2021-03-11 15:20:41 +01:00
Pierre Goiffon
3501d39877
💡 N°3522 PHPDoc
2021-03-10 14:41:03 +01:00
Pierre Goiffon
c5021721c6
N°3522 Display error alert for twig rendering errors
2021-03-08 16:41:58 +01:00
Molkobain
eea8ceda63
Refactor "sanitize_identifier" and "sanitize_variable_name"custom TWIG functions to "sanitize(FOO)"
...
Note: FOO is one of \utils::ENUM_SANITIZATION_FILTER_XXX
2021-02-15 16:28:34 +01:00
Molkobain
44587663bb
Add "get_module_setting" as a custom TWIG function
2021-02-15 16:21:39 +01:00
Molkobain
f716e42672
Rename 'variable_name' TWIG filter to 'sanitize_variable_name' to keep consistency with other filters (eg. 'sanitize_identifier')
2021-02-15 13:50:57 +01:00
Eric
0eff37844b
Add UIBlocks to twig (Fix deprecation warning)
2021-02-10 16:21:11 +01:00
Eric
3c60e4f765
Add Toolbar factory, Use new factory entry for cancel buttons, better check of twig errors, fix fatal error page
2021-02-09 14:43:46 +01:00
Eric
91752b4068
N°3565 - Migrate backoffice pages to new UIBlock system : Setup (fix bad escaping)
2021-02-08 14:20:12 +01:00
Eric
0c7925cdfb
N°3565 - Migrate backoffice pages to new UIBlock system : Setup (fix bad escaping)
2021-02-08 11:58:52 +01:00
odain
ed3df37176
Merge branch 'feature/3606-twigbase-controller-basichtml' into develop
2021-02-02 11:27:06 +01:00
odain
c736615de1
N°3606: clean symfony useless import
2021-02-02 11:24:06 +01:00
odain
5121ed7c39
N°3606: move whitelist feature from itop core to cbd-mon extension
2021-02-02 10:49:55 +01:00
Eric
2f68be14f8
N°3565 - Migrate backoffice pages to new UIBlock system : Setup
2021-02-01 16:28:10 +01:00
odain
2bb1583995
N°3606: renaming
2021-01-29 10:39:41 +01:00
odain
b98ffc4b8b
N°3606: add IP inside iTop error message
2021-01-29 10:01:46 +01:00
odain
818b3632ac
N°3606: renaming
2021-01-29 09:24:17 +01:00
odain
7677bd7cfe
N°3606: authorized_network configured as a list of ip address or networks (no more regexp, IpUtils::checkIp syntax)
2021-01-27 14:36:33 +01:00
Pierre Goiffon
b85b4d0067
N°3663 Group exception classes in /application/exceptions
...
Original files kept for compatibility issues :
- core/coreexception.class.inc.php
There are remaining exceptions in /core/oql, but those files are generated
2021-01-26 15:50:26 +01:00
Eric
3d29a1e894
Add UIBlocks to twig (Add... methods can be called by specifying their name in the parameters)
2021-01-22 17:16:56 +01:00
Eric
2d93879e7a
Add UIBlocks to twig (Add... methods can be called by specifying their name in the parameters)
2021-01-22 17:11:48 +01:00
Molkobain
1bb6d62c17
PHPDoc and code conventions
2021-01-22 11:39:49 +01:00
Eric
3df48f69c6
fix typo
2021-01-21 10:50:24 +01:00
Eric
1fb15a421a
Move class in its own file
2021-01-21 09:56:03 +01:00
Molkobain
6ac1cc4831
N°3567 - PHPDoc and coding conventions fixes
2021-01-20 19:01:30 +01:00
Eric
392cdf6058
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (display twig errors)
2021-01-19 18:09:58 +01:00
Eric
6dd1807fca
N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (remove UIHtml from twig)
2021-01-19 17:24:09 +01:00