odain
52dbf23245
protect IsDevelopmentEnvironment function from warning
2021-04-16 11:33:14 +02:00
Purple Grape
6b899d3f77
🌐 improved chinese for 3.0 ( #207 )
2021-04-16 11:00:16 +02:00
Molkobain
46dc7709ab
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# datamodels/2.x/itop-portal-base/portal/src/Controller/ObjectController.php
2021-04-15 12:02:23 +02:00
Molkobain
92a640e41a
Merge branch 'support/2.7.4' into support/2.7
2021-04-15 10:37:17 +02:00
Molkobain
842df7646b
Merge branch 'support/2.7.3' into support/2.7.4
2021-04-15 10:35:56 +02:00
Molkobain
01b38d2ed6
N°3869 - Portal: Fix the Notice "Undefined index: max_display_limit"
2.7.3-1
2021-04-15 10:34:46 +02:00
Molkobain
ddb5ffc11a
N°3959 - Truncate vertical tabs label when too long, label can be read entirely through a tooltip
2021-04-15 09:30:22 +02:00
Molkobain
2a62e28c66
Code format
2021-04-15 09:30:21 +02:00
Molkobain
973133ce0b
N°3959 - Fix vertical tabs inner alignment
2021-04-15 09:30:21 +02:00
BenGrenoble
be0a728f42
N°3913 fix additional ITIL tickets icon missing
2021-04-15 09:05:54 +02:00
Pierre Goiffon
1bb7d9947c
N°2522 SetupPage log methods : fix phpdoc, remove deprecated methods calls
2021-04-14 12:18:06 +02:00
Pierre Goiffon
fac97324a3
🔇 N°3731 Remove some more depreciation notice for methods still used in iTop core
2021-04-13 18:28:39 +02:00
Pierre Goiffon
f33919c312
🔇 N°3731 Remove some more depreciation notice for methods still used in iTop core
2021-04-13 18:22:24 +02:00
Pierre Goiffon
74d8eda713
🔇 N°3731 Remove some more depreciation notice (...) for methods still used in iTop core
2021-04-13 18:13:30 +02:00
Pierre Goiffon
6790fdb9e8
🔇 N°3731 Remove some more depreciation notice for methods still used in iTop core
2021-04-13 18:07:43 +02:00
Pierre Goiffon
d545123ca7
🔇 N°3731 Remove some depreciation notice for methods still used in iTop core
2021-04-13 17:56:21 +02:00
Pierre Goiffon
59678ef8c6
🔊 N°3731 Log calls to deprecated files / PHP methods
...
POC for the log API was added in #193
2021-04-13 17:56:21 +02:00
Pierre Goiffon
a6d20ab648
N°3731 \DeprecatedCallsLog : always catch errors so that we won't crash the caller
2021-04-13 17:56:20 +02:00
Pierre Goiffon
e5559a1899
N°3731 Add DeprecatedCallsLog to autoloader
2021-04-13 17:42:04 +02:00
Pierre Goiffon
f8757c6d5d
🔇 Remove depreciation log in \WebPage::outputCollapsibleSectionInit as this call must be kept for compatibility
...
The log will be added but elsewhere, in methods only called by consumers and not by the API itself (like \WebPage::StartCollapsibleSection ?)
2021-04-13 15:45:55 +02:00
Pierre Goiffon
7f4ef12c04
🐛 Fix \DeprecatedCallsLog::NotifyDeprecatedPhpMethod log message
...
This was bringed by #193
The stack trace wasn't used correctly :/ This is now fixed !
Sample message for deprecated PHP method call :
`2021-04-13 15:31:47 | Warning | Call to WebPage:outputCollapsibleSectionInit in C:\...\itop-dev\sources\application\WebPage\AjaxPage.php#L170 (AjaxPage::output) | deprecated-php-method`
Log message for deprecated PHP file remains the same :
`2021-04-13 10:31:12 | Warning | C:\...\itop-dev\sources\application\WebPage\WebPage.php L32 including/requiring C:\...\itop-dev\core\coreexception.class.inc.php : Classes were moved to /application/exceptions | deprecated-file`
2021-04-13 15:38:38 +02:00
Pierre Goiffon
2a90557782
💚 Move DeprecatedCallsLog activation from bootstrap to \MetaModel::LoadConfig, same as existing LogAPI impl
...
As this is called from \MetaModel::Startup, our log will be available everywhere !
\DeprecatedCallsLog::Enable call in bootstrap was causing some tests to fail
Modification from what was done in #193
2021-04-13 14:58:48 +02:00
Pierre Goiffon
7b3595357a
💚 Removing invalid provider for \Combodo\iTop\Test\UnitTest\Core\LogAPITest::LogApiProvider
...
Config can never be an array
Was working since now, but LogAPI was modified in f6d9d0f0 and it now correctly pick the config, so this provider was failing
2021-04-13 14:37:54 +02:00
Pierre Goiffon
f6d9d0f08b
N°3731 Log deprecated calls ( #193 )
...
* New DeprecatedCallsLog logger enabled directly in bootstrap so that we can use it in the most situations
* Default Log level is now DEBUG for dev env, ERROR for others
* Logs the caller and the deprecated method called, like :
`2021-04-06 10:52:25 | Warning | AjaxPage::output L2857 calling WebPage:outputCollapsibleSectionInit | deprecated-method`
* Sample file consumer
* Sample php consumer
2021-04-13 13:55:25 +02:00
Molkobain
f3cf154969
N°3899 - Navigation menu: Filter hot key text now corresponds to the one defined in the user preferences
2021-04-13 11:46:35 +02:00
Molkobain
923a4048d3
Keyboard shortcuts: Add method to retrieve info about a particular shortcut
2021-04-13 11:46:34 +02:00
Molkobain
0816d27456
N°3899 - Navigation menu: Fix hotkey position across browsers
2021-04-13 11:46:34 +02:00
Molkobain
c0f5906dce
Fix crash when accessing a backoffice page in maintenance mode (regression from e2f30182)
2021-04-12 12:08:33 +02:00
Molkobain
fa3140cc13
N°3916 - Attribute date: Fix picker's icon position
2021-04-12 12:08:33 +02:00
Molkobain
22aaba3c65
Update precompiled themes
2021-04-12 10:25:38 +02:00
Molkobain
5878b18b02
N°3921 - Attribute file: Simplify size format in the backoffice (similar to the portal)
2021-04-12 10:25:38 +02:00
Molkobain
530ec111ef
N°3921 - Attribute file: Simplify open and download links text in the backoffice (similar to the portal)
2021-04-12 10:25:37 +02:00
Molkobain
430049d7c4
N°3921 - Attribute file: Fix "delete" button not displaying
2021-04-12 10:25:37 +02:00
Molkobain
e45fd92022
SCSS: Move depression/elevation variables to proper files
2021-04-12 10:25:37 +02:00
Molkobain
605165fc5a
SCSS: Add font sizes CSS variables
2021-04-12 10:25:36 +02:00
Molkobain
644944c6fd
SCSS: Add border radius placeholders
2021-04-12 10:25:36 +02:00
Molkobain
8313d61521
SCSS documentation
2021-04-12 10:25:36 +02:00
Molkobain
81d30ca9f4
N°3916 - Date(time) picker: Fix selects and buttons display.
2021-04-12 10:25:36 +02:00
Molkobain
6078ccc144
N°3916 - Attribute date(time): Remove browser autocompletion on focus in the input
2021-04-12 10:24:35 +02:00
Molkobain
7b9d89e485
Activity entry: Remove old markup from AttributeHTML change
2021-04-12 10:24:35 +02:00
Molkobain
48bc8b2341
Activity entry: Fix change description being displayed twice when only 1 attribute changed
2021-04-12 10:24:35 +02:00
Molkobain
8f03ac4aa3
Activity entry: Fix french dict. entry when more than 4 attributes changed
2021-04-12 10:24:34 +02:00
Molkobain
97f5f0b50d
Activity entry: Fix "more" toggler being at the bottom of the entry with text attributes
2021-04-12 10:24:34 +02:00
Molkobain
05594ccdd6
N°3915 - Fix very long strings (typically URLs) overflowing from their containers in text attributes and activity panel entries.
2021-04-12 10:24:34 +02:00
Molkobain
e2f301827a
N°3936 - Add protection to avoid crashes in certain conditions since d6695d3a
2021-04-12 09:06:56 +02:00
odain
067cbe2afa
fix ci: DataSynchroTest adapted for Admin profile renaming
2021-04-09 12:03:20 +02:00
Eric
a99f4c0666
💚 Fix precompiled themes
2021-04-09 10:42:51 +02:00
Eric
d594f28ed9
N°3573 - Migrate backoffice pages to new UIBlock system : System Information
2021-04-09 09:55:58 +02:00
Molkobain
deed948f54
N°3936 - Remove 🌕 emoji from the theme label, it's was a bit too much 😁
2021-04-09 09:05:52 +02:00
Molkobain
25e88b889d
N°3936 - Fix designation of the default theme
2021-04-09 09:05:52 +02:00