Molkobain
d2c4a6e2e9
UIContentBlock: Add PrependSubBlock() to add a block in first position
2021-04-20 16:32:57 +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
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
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
Eric
d594f28ed9
N°3573 - Migrate backoffice pages to new UIBlock system : System Information
2021-04-09 09:55:58 +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
Stephen Abello
56087d9686
Fix tab container when there is only ajax tabs
2021-04-07 09:46:13 +02:00
Molkobain
5f8eb26bff
Object details: Fix tabs left padding when class has no medallion icon
2021-04-01 23:37:45 +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
Molkobain
d9ed2e6de9
Dashboard: Push file missing from last commit
2021-03-30 09:55:10 +02:00
Molkobain
31f6558710
N°3634 - Lists: Improve rendering to better match mockups and feedbacks from alpha version
2021-03-29 18:13:30 +02:00
Molkobain
6f659a3431
Improve dataTables integration within the app:
...
- Manage lib through NPM
- Move portal / Bootstrap files back to the itop-portal-base module (not managed through NPM yet)
- Fix SCSS classes for the backoffice as it was based on the bootstrap CSS classes which are not there anymore
Note: jQuery is included as a dependency, will check with the team if we can force it not to be retrieved
2021-03-26 17:46:13 +01:00
Molkobain
58d2b1d3f4
Rename utils::GetContactPictureAbsUrl() to utils::GetUserPictureAbsUrl()
2021-03-26 08:54:46 +01:00
Eric
3a9228d8d3
N°3569 - Fix DB Tools queries display
2021-03-25 16:36:43 +01:00
Molkobain
e0a655e102
Button factory: Fix name param. being mandatory on some methods
2021-03-24 23:59:47 +01:00
Molkobain
573a6d82fe
N°3649 - Activity panel: Add transitions to the save button using the button group
2021-03-24 19:43:35 +01:00
Molkobain
318d8ce3c9
Add ButtonGroup block
2021-03-24 19:43:35 +01:00
Molkobain
a27eb8c63b
Popover menu: Add SetTogglerFromId() and SetTogglerFromBlock() methods as shortcuts
2021-03-24 16:33:28 +01:00
acognet
b63f720e5d
Add factory for MultiColumn and Column
2021-03-24 11:18:55 +01:00
Eric
699944711b
N°3569 - Migrate backoffice pages to new UIBlock system : DB Tools
2021-03-23 18:30:40 +01:00
Molkobain
7bf1ef355f
Panel factory: Remove SetClassColor() method as it has been move directly in the panel in a previous commit
2021-03-23 15:06:35 +01:00
Eric
4534944b08
N°3536 - revert function and use GetSubBlocks() instead
2021-03-23 14:26:17 +01:00
Molkobain
1d6ad94694
N°3649 - Activity panel: Add menu to compose button to select the target log when on a readonly tab (activity, read only case log)
2021-03-23 12:09:37 +01:00
Molkobain
ae416f2769
Popover menu: Add HasSection() and HasItems() methods
2021-03-23 12:09:37 +01:00
Molkobain
a19df34b79
UIBlock: Add hasDataAttributes() method
2021-03-23 12:09:37 +01:00
acognet
80cc850112
N°3582 - Migrate backoffice pages to new UIBlock system : Import CSV
2021-03-23 11:23:55 +01:00
acognet
ab5e5a7f4a
Remove danger zone
2021-03-23 11:03:49 +01:00
Molkobain
65ed5b3fce
Popover menu: Refactor to remove the necessity of coupling JS and PHP code to instantiate it correctly
2021-03-22 18:53:15 +01:00
Molkobain
e8656e8504
Popover menu: Fix JS widget instantiation, now done automatically but the UIBlock system
2021-03-22 18:49:41 +01:00
Eric
574d089c20
N°3536 - Dashboard: Add title, toggler and menu to AttributeDashboard
2021-03-22 16:46:45 +01:00
Molkobain
8dac0a56c9
Hot fix: Temp. removal of this line as it crashed the menus closing on body click
2021-03-19 19:57:47 +01:00
Molkobain
8334b68285
Popover menu: Introduce option to add a visual hint on the menu toggler
...
This adds a visual hint (caret down) on the toggler to help the user understand that clicking on the toggler won't do something right away, but will open a menu instead
2021-03-19 19:50:50 +01:00
Molkobain
10bdb57391
Introduce vertical separator for toolbar blocks
2021-03-19 19:50:50 +01:00
Pierre Goiffon
de7ac4ba31
N°3833 Fix DashletBadge in Ajax causing JS error
...
* switch dashlet_badge widget init from js_template to js_on_ready_template
* add phpdoc on UIBlock::DEFAULT_JS_FILES_REL_PATH
* remove old code in \AjaxPage::output (after the return statement) that is already handled with the new Twig rendering
2021-03-19 11:49:39 +01:00
acognet
c214d09e84
N°2841 - Error when trying to delete a user with a no admin
2021-03-18 18:20:34 +01:00
Molkobain
a28c9c896d
N°3581 - Dashlet: Remove coupling with DashletText in DashletHeaderStatic
2021-03-18 16:50:33 +01:00
Molkobain
912f6bb376
N°3581 - Dashlet: Add dedicated block for DashletText
2021-03-18 16:50:33 +01:00
Molkobain
547038aae8
N°3581 - Dashlet: Rename DashletHeaderStatic template to match conventions
2021-03-18 15:59:23 +01:00
Stephen Abello
8471bdeffe
N°3542 Separate JS buttons from URL buttons
2021-03-18 15:39:19 +01:00
acognet
82a5ab5aef
N°3823 - Error on "Header with statistics dashlet" with autorefresh and filter on organization
2021-03-18 14:50:18 +01:00
Molkobain
72b2feb697
N°3581 - Dashlet: Add max-width and tooltip on pills
2021-03-18 11:55:01 +01:00
Molkobain
ac91bc8898
N°3581 - Dashlet: Fix pill not being completely clickable
2021-03-18 11:55:00 +01:00
Molkobain
ca2c66733c
N°3581 - Dashlet: Rename Badge block to Pill as it can contain just a simple text and to avoid confusion with the DashletBadge
2021-03-18 11:55:00 +01:00
Eric
118d6ff837
N°3648 - Fix Bulk modify
2021-03-18 11:41:57 +01:00
Pierre Goiffon
de8761ea61
💡 Fix PHPDoc errors made in cd170be4
...
* fix typo in used-by (thanks @Molkobain !)
* add class before method name as needed for our phpdoc generator (see .doc/README.md)
2021-03-17 19:09:42 +01:00
Pierre Goiffon
0ad65691d3
🚧 AjaxPage::output add TODO 3.0.0 as there is lot of code we have disabled in 410a637598
2021-03-17 18:22:44 +01:00
Pierre Goiffon
cd170be44e
💡 Add UIBlock::Get*FilesRelPaths PHPDoc to indicate consumer
2021-03-17 18:22:44 +01:00
Stephen Abello
bab2febb24
N°3530 Replace hardcoded newsroom message indicator and add tooltip when menu is collapsed
2021-03-17 17:35:16 +01:00