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
Molkobain
d6695d3ad8
N°3936 - Add config parameter to disable theme selection in the user preferences ("user_preferences.allow_backoffice_theme_override")
2021-04-09 09:05:52 +02:00
acognet
0bc9aed3fe
Remove development logs
2021-04-08 22:23:01 +02:00
acognet
98ec4bba53
N°2738 - Remove unused dict keys - fix Lost translations author
2021-04-08 22:23:00 +02:00
Molkobain
e527324468
N°3936 - Update dictionaries
2021-04-08 18:26:18 +02:00
Molkobain
8ccada40d1
N°3936 - Add user preference to choose backoffice theme
2021-04-08 18:26:18 +02:00
BenGrenoble
80d974f2b4
N°3217 rollback itop-knownerror-light to itop-knownerror-mgmt
2021-04-08 16:27:49 +02:00
acognet
521c493fd1
N°3868 - "Error: Invalid filter parameter" on mass update - fix datatable after configure this list
2021-04-08 10:06:55 +02:00
Pierre Goiffon
b68ee1136e
📦 💚 Update compiled CSS for test-red
...
Modification was done in 3262ad70
Didn't add this one in previous commit 0f43b0a6 but was necessary too :/
2021-04-07 18:39:41 +02:00
Pierre Goiffon
0f43b0a6de
📦 💚 Update compiled CSS
...
Modification was done in 3262ad70
2021-04-07 18:16:27 +02:00
Pierre Goiffon
58d1a1d311
🚚 collapsibleSection JQuery widget renamed to collapsible_section
...
to match other widget naming convention
2021-04-07 17:14:44 +02:00
Molkobain
5b3ab2965f
Activity panel: Mark polish translation as potentially dirty
2021-04-07 16:57:35 +02:00
Stephen Abello
f97f55bcca
N°3896 - CKeditor icon for enhance WikiText URLs syntax
2021-04-07 16:20:01 +02:00
acognet
3262ad7029
N°3868 - "Error: Invalid filter parameter" on mass update
2021-04-07 12:22:02 +02:00
acognet
a5bb6a0c55
N°3886 - Mass delete : toggle all checkbox not working anymore
2021-04-07 12:01:20 +02:00
acognet
f0d6b41cee
N°2738 - Remove unused dict keys - undo for some entries
2021-04-07 11:55:54 +02:00
Pierre Goiffon
5c01d222c9
DictionariesConsistencyTest : remove debug var_dump
...
Many thanks @Hipska !
2021-04-07 11:27:33 +02:00
Pierre Goiffon
7e65541d3c
DictionariesConsistencyTest : simplify & comment sample dict files
2021-04-07 11:09:51 +02:00