Eric
3a9228d8d3
N°3569 - Fix DB Tools queries display
2021-03-25 16:36:43 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
acognet
cebbc215d7
N°3746 - Migrate modal to new UIBlock system
2021-03-01 09:07:09 +01:00
Pierre Goiffon
d312bf74b9
N°3537 run_query : fix fatal error class not found when running query with parameters
...
Factory weren't renamed in this file :/
Regression brought by 5fe8ca17
2021-02-04 16:08:59 +01:00
Molkobain
1514cd83ab
UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
...
Note: This had to be fixed on all calls to this, hence the number of modifications.
2021-01-21 12:59:30 +01:00
Eric
54c5c8c016
Merge remote-tracking branch 'origin/develop' into feature/MVCTwigTags3.0
2021-01-20 10:43:12 +01:00
Eric
79d0b9543a
Add UIBlocks to twig
2021-01-18 15:27:20 +01:00
Pierre Goiffon
7d9f73f650
N°3537 run_query : add missing tooltip on evaluate button
...
This extra text contains the shortcut info, so we must print this !
2021-01-18 14:55:17 +01:00
Eric
21740123f4
Add UIBlocks to twig (generic parser and node)
...
# Conflicts:
# pages/run_query.php
# test/VisualTest/Backoffice/RenderAllUiBlocks.php
2021-01-18 12:09:07 +01:00
Pierre Goiffon
2f10f24317
Rename \Combodo\iTop\Application\UI\Base\Component\Html\HtmlFactory::MakeP to MakeParagraph
2021-01-15 13:50:47 +01:00
Pierre Goiffon
442e9598f8
N°3537 run_query : fix query suggestion button
...
Was throwing plain old HTML
Now use standard button component, and a new HtmlFactory to avoid calling \WebPage::GetP
Also change "use this query" behavior : now also submits the form directly
And : added a TODO 3.0.0 for the "query examples" buttons (will be done later)
2021-01-15 09:30:39 +01:00
Pierre Goiffon
a41229b223
N°3537 run_query : fix cannot set query arguments values
2021-01-14 17:37:38 +01:00
Pierre Goiffon
09e531f11c
N°3623 new \utils::EscapeHtml method
2021-01-13 16:10:43 +01:00
Pierre Goiffon
6a33fbc7b3
N°3617 run_query "more information" section : collapsible state is saved back again
...
The original key name was "runQuery" (f9511aba ) but this was too vague and didn't follow naming conventions. SO I decided to renamed it "run_query__more-info", as anyway existing keys won't be used (see 790a675d )
2021-01-13 09:34:24 +01:00
Eric
503817e572
N°2737 - Migrate WebPage::table() to UIBlocks
2021-01-12 16:17:33 +01:00
Pierre Goiffon
4541aa4446
N°3537 run_query : use H2 for content titles
2020-12-22 18:20:36 +01:00
Pierre Goiffon
337aebfed9
N°3537 run_query : use panel for OQL error
2020-12-22 17:47:10 +01:00
Pierre Goiffon
5e22c442ce
N°3537 new CollapsibleSection component for run_query
2020-12-22 17:18:13 +01:00
Pierre Goiffon
c8dbf88c03
♻️ new FieldFactory
...
Idea is to remove the aParams parameter from the Field object
And also allow to pass subblocks for the input value instead of only raw HTML
2020-12-18 11:32:13 +01:00
Pierre Goiffon
85e9073228
N°3537 run_query : use Field instead of InputWithLabel
2020-12-16 17:45:13 +01:00
Pierre Goiffon
2b0691daa6
N°3537 run_query : exception message as an alert Component
2020-12-16 17:45:12 +01:00
Pierre Goiffon
a20fd2278f
N°3537 Code review
...
Thanks @Molkobain !
2020-12-16 08:06:53 +01:00
Pierre Goiffon
4bb59548d0
N°3537 run_query : replace main form by components
2020-12-15 17:09:39 +01:00
Eric
63f8ec594c
N°2847 - Refactor Web Pages classes - Add UIBlockManager to the WebPage
2020-09-09 18:10:06 +02:00
Molkobain
8efd8008fc
N°2847 - Rework of the global iTopWebPage layout (Part II)
...
- Optimize TWIG templates includes (don't pass context to autonomous components)
- Preliminary work of the top bar and breadcrumbs features
- Removal of images dedicated to the breadcrumbs feature
2020-07-27 15:09:33 +02:00
Pierre Goiffon
4766ca3fd0
N°2650 fix run_query error handling incompatible with PHP < 7.3.0
2019-12-20 09:21:00 +01:00
Pierre Goiffon
21d5de1756
Fix run_query throwing exception when inccorect query and no suggestions returned
2019-12-16 15:07:26 +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
Eric
4dfc217992
N°2517 - Supportability - OQL Explain
2019-10-17 12:21:12 +02:00
Eric
36b325f71d
N°2517 - Supportability - OQL Explain
2019-10-17 11:06:31 +02: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
Eric
0298d6bc19
DBSearch: Fix serialization rework
2018-10-22 15:37:32 +02:00
Pierre Goiffon
40a4e6d7b0
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
...
Warn your git config (core.autocrlf = input or true)
2018-09-04 17:59:51 +02:00
Guillaume Lajarige
af43e22f03
N°1578 Fix "Run Query" page hotkeys behavior in some configurations due to a wrong url.
...
SVN:trunk[5981]
2018-07-25 13:06:38 +00:00
Pierre Goiffon
06555eb03e
Run query : add shortcut in submit title
...
SVN:trunk[5568]
2018-03-29 09:17:44 +00:00
Pierre Goiffon
f9511aba17
N°1030 Collapsible Sections :
...
* stop event propagation (was causing tab switching in notifications)
* save section state in localStorage
SVN:trunk[5382]
2018-03-05 15:50:38 +00:00
Eric Espié
d65bd97956
N°478 - Customizable access to the 'Admin Tools'
...
SVN:trunk[5364]
2018-02-23 11:13:07 +00:00
Pierre Goiffon
684e9e3537
Run query screen : new Ctrl+Return shortcut to execute query
...
SVN:trunk[5065]
2017-10-23 07:43:05 +00:00
Romain Quetiez
668e822fc6
#185 Navigation Breadcrumb - Beta version
...
- Any page has a breadcrumb (except if POST and a number of pages like "new object")
- Added Home + Menu buttons showed when the left pane is closed
- Configuration: breadcrumb.max_count (0 to disable)
SVN:trunk[4022]
2016-05-03 15:06:14 +00:00
Romain Quetiez
e27d61a525
#185 Navigation Breadcrumb - A beta version, based on the navigation history. Comments welcome!
...
SVN:trunk[4000]
2016-04-18 14:48:43 +00:00
Romain Quetiez
4006fce0f2
Exclude magic parameters when listing query parameters (refactoring from run_query) This enables the use of magic parameters in the exports. The issue was less exposed in iTop 2.2.0 because only one single magic parameter was available.
...
SVN:trunk[3948]
2016-03-11 20:42:04 +00:00
Romain Quetiez
bfadbc4098
Prerequisites for custom fields
...
SVN:trunk[3918]
2016-02-19 12:30:19 +00:00
Romain Quetiez
e0fad5e0e6
Magic query arguments:
...
- In addition to current_contact_id, the following arguments can be used in any OQL query (provided that the page running the query requires a login): current_contact->attcode and current_user->attcode
- Code refactoring: magic arguments in one single place
- The "Run queries" page is now taking into account those magic arguments (do not prompt the end-user with these arguments!)
SVN:trunk[3912]
2016-02-17 18:55:46 +00:00
Denis Flaven
e1336d7ebc
Run Query enhancements
...
- Properly catch *all* exceptions and redisplay the entered OQL statement every time
- Post the form to force its refresh (i.e. running the query again) even if the query did not change
SVN:trunk[3137]
2014-05-02 13:30:08 +00:00
Romain Quetiez
caa621eb04
Reviewed the instrumentation to help in tuning the performance
...
SVN:trunk[2916]
2013-10-15 16:08:43 +00:00
Denis Flaven
80b0a8b942
Fix for Trac #670 : XSS vulnerability issue.
...
SVN:trunk[2589]
2013-01-22 17:39:16 +00:00
Romain Quetiez
fe27ee4f22
Debugging: run_query now produces the debug output (log_kpi_duration)
...
SVN:trunk[2495]
2012-12-03 11:24:19 +00:00
Romain Quetiez
941d056db4
Improved the query logging + replay mechanism
...
SVN:trunk[2484]
2012-11-30 13:27:07 +00:00
Romain Quetiez
85974da27b
New developer tool: cosmetics
...
SVN:trunk[2472]
2012-11-27 17:24:35 +00:00