Pierre Goiffon
ecebe4ecd5
N°3416 XFrame and cache headers optimizations
...
* Remove XFrame header set in \WebPage::no_cache : not this method responsability, was confusing :/
* Remove no_cache() calls when already set in page constructor (ajax_page mainly)
* Also calls everywhere the \WebPage::no_cache method instead of setting headers manually
2020-12-02 17:19:05 +01:00
Pierre Goiffon
8bfcb14d0c
N°3416 XFrame-Options header is now set using a config parameter, defaults to SAMEORIGIN
...
Also adds an indirection (\WebPage::add_xframe_options) to set header
2020-12-02 17:17:11 +01:00
Pierre Goiffon
a765eb8725
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
2020-10-05 16:12:49 +02:00
Pierre Goiffon
090119147c
🎨 PHP formatting
2020-10-05 14:42:03 +02:00
Pierre Goiffon
1551694198
N°3317 Security hardening
2020-10-05 14:42:03 +02:00
Eric
bef1832ac7
N°3317 - Add http headers
2020-09-29 14:07:24 +02:00
Eric
1453558f3e
N°3317 - Add http headers
2020-09-22 11:39:19 +02:00
Molkobain
5056e561fe
PHPDoc
2020-01-15 08:42:35 +01:00
Molkobain
5a39581c60
N°2313 - Markup extensibility: Add support for both code AND title in admin. console tabs
2020-01-15 08:42:35 +01:00
Eric
c6759220b9
🎨 clean warnings and add KPI in ajax.render.php
2019-12-06 15:42:03 +01:00
Eric
7b36852d7a
N°2261 - Log KPI not available in lnk window
2019-10-11 15:56:32 +02:00
Eric
488d2ed886
Debug OQL for search is accessible directly for the administrators
2019-01-07 09:43:44 +01:00
Molkobain
c300e46480
N°1779 Fix none draggable columns in exports (Excel, CSV, ...)
...
- Fix AjaxWebPage load of linked stylesheets
- Remove unnecessary imports of JS/CSS files
2018-11-21 15:55:45 +01: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
Denis Flaven
9fe3261424
Linked JS scripts can now be used in ajax pages. This is useful for IPopupMenu extensions which depend on a JS script and are loaded asynchronously when a list of objects changes (for example when changing the target class for a search)
...
SVN:trunk[5826]
2018-06-05 13:04:50 +00:00
Vincent Dumas
6d86bd516b
Set default search criteria for objects + index on ticket's ref.
...
SVN:trunk[5648]
2018-04-12 15:38:18 +00:00
Romain Quetiez
e3931274ae
Archives: refactoring of the API to enable/disable the archive mode
...
SVN:trunk[4696]
2017-04-26 15:48:24 +00:00
Romain Quetiez
9cc583c47b
Archives: regression (warning during the setup)
...
SVN:trunk[4693]
2017-04-26 10:27:25 +00:00
Romain Quetiez
fa2fd6dcdf
NEW! Archiving data. Archiving is a soft delete. It can be undone. Enter the archive mode to see all the data including archives (everything is read-only in that mode). Archiving must be enabled per class (data model). Archiving is achieved by the mean of the API DBObject::Archive (or Unarchive).
...
SVN:trunk[4692]
2017-04-26 09:52:20 +00:00
Romain Quetiez
79d994acf7
N.444 ... fixing regression introduced in [r4438]
...
SVN:trunk[4441]
2016-10-04 13:15:33 +00:00
Romain Quetiez
17fafbf85b
N.444 Two date picker icons (lifecycle shortcut to resolved state, or a datetime attribute on a link). Solved by a factorization of the widgets initialization so that the initialization be the same (must be idempotent)
...
SVN:trunk[4438]
2016-10-03 11:47:03 +00:00
Romain Quetiez
94295f11da
Fixed a regression introduced in iTop 2.3.0-beta: menu collapse mechanism broken when adding a shortcut (but it is restored when reloading the whole page).
...
SVN:trunk[4243]
2016-06-22 13:46:40 +00:00
Romain Quetiez
712931b728
#576 Printable view for object details. Possibility to hide/show chapters (the equivalent of tabs in the UI) or any fieldset. Requires testing and comments.
...
SVN:trunk[3679]
2015-08-17 14:12:36 +00:00
Romain Quetiez
baf54a7c02
#942 OQL now supporting unions. Unions support polymorphism and can be used anywhere in the application.
...
SVN:trunk[3631]
2015-07-08 17:10:40 +00:00
Romain Quetiez
cd7490472e
#970 and #650 Corrupted attachements. Reworked the cleanup of undesired output, to protect it against the case when the output buffer is unfortunately closed. On the other hand, I found out that several output buffer can be stacked. Thus the protection could be further improved (difficulty: that can be web server dependent).
...
SVN:trunk[3376]
2014-10-23 15:48:49 +00:00
Denis Flaven
f47327fdd4
Second fix for a regression due to revisions 3141/3150
...
SVN:trunk[3152]
2014-05-14 13:24:19 +00:00
Denis Flaven
5ec37c8060
Fix for a regression due to revisions 3141/3150
...
SVN:trunk[3151]
2014-05-14 13:16:41 +00:00
Denis Flaven
bb65153351
Fixed regression introduced by [3141]: Code cleanup to implement the tabs handling (inside web pages) in one place.
...
SVN:trunk[3150]
2014-05-07 13:14:19 +00:00
Denis Flaven
7459ec4844
Code cleanup to implement the tabs handling (inside web pages) in one place. Added the ability to provide asynchronously loaded tabs (content must come from the same server).
...
SVN:trunk[3141]
2014-05-06 13:42:18 +00:00
Denis Flaven
0b7ed90e18
Fixed a regression introduced by revision [2856]: Avoid breaking pages with tabs when there is no BASE tag at all...
...
SVN:trunk[2947]
2013-10-22 11:49:38 +00:00
Denis Flaven
1a60b7005b
Avoid breaking pages with tabs when there is no BASE tag at all...
...
SVN:trunk[2856]
2013-09-24 10:05:33 +00:00
Denis Flaven
7cfd5ad2a3
Ugly fix for a nasty change in jQuery UI behavior: UI tabs were considered as "Ajax" tabs when the page has a "base" tag, which was not the case in previous versions. Cf http://bugs.jqueryui.com/ticket/8637
...
SVN:trunk[2813]
2013-07-31 16:45:33 +00:00
Denis Flaven
57e51e44f1
Make sure that tabs (and tab panels) are properly identified
...
SVN:trunk[2780]
2013-06-26 13:56:24 +00:00
Romain Quetiez
941d056db4
Improved the query logging + replay mechanism
...
SVN:trunk[2484]
2012-11-30 13:27:07 +00:00
Romain Quetiez
7792b54d26
New feature: shortcuts to a search result. The feature is not automatically available with upgrade of custom versions -requires a ShortcutContainerMenuNode.
...
SVN:trunk[2431]
2012-11-16 11:21:00 +00:00
Romain Quetiez
721faa7e1e
Updated copyright (2012) and license (LGPL changed to AGPL)
...
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Denis Flaven
ab6cfb56b4
Fixed a regression: don't put some JS script in every ajax_page (even though they claim to contain some HTML)
...
SVN:trunk[2300]
2012-10-19 14:11:57 +00:00
Denis Flaven
53aefa895b
Implemented a new (optional) UI for managing 1:n linksets.
...
SVN:trunk[2290]
2012-10-18 12:03:33 +00:00
Denis Flaven
9c633bf0b8
Named tab containers instead of non-unique numbering !
...
SVN:trunk[1977]
2012-05-03 14:36:19 +00:00
Denis Flaven
f1ae18afcf
New version of jQuery
...
SVN:trunk[1966]
2012-04-23 09:23:40 +00:00
Denis Flaven
989f649405
Support pages that do not track tabs selection in their history
...
SVN:trunk[1770]
2012-01-13 11:06:34 +00:00
Denis Flaven
5080bd58d5
Removed some Debug/Warning messages
...
SVN:trunk[1600]
2011-09-22 16:35:33 +00:00
Denis Flaven
e5ce12ed0a
Make the template system work for real !
...
SVN:trunk[1594]
2011-09-22 11:15:40 +00:00
Denis Flaven
6df6e4a9cc
- Allow creation of an ticket in a different initial state via the new 'initial_state_path' attribute.
...
- Support update of CaseLog fields in bulk_modify mode.
SVN:trunk[1517]
2011-08-25 16:04:58 +00:00
Denis Flaven
51bd6cdf97
#446 continuing: sanitizing parameters...
...
SVN:trunk[1451]
2011-08-15 13:55:59 +00:00
Denis Flaven
6859326646
Fixed Trac#446: XSS vulnerabilities... to be tested !
...
Also fixed the display/download links on documents that were both doing exactly the same thing !
SVN:trunk[1443]
2011-08-11 10:17:03 +00:00
Denis Flaven
46e7bbe2c8
Bug fix: prevent (infinite) recursion when building search form with external keys, that point to search form with external keys, etc...
...
Now support nested search dialogs properly...
SVN:trunk[1210]
2011-04-12 09:37:52 +00:00
Denis Flaven
6d34c2aa93
- Partial bug fix: enhancement to support extkey widgets (autocomplete) in nested search forms... still not completely fixed, bug showing some progress.
...
SVN:trunk[1203]
2011-04-11 12:11:57 +00:00
Denis Flaven
c6a6af0aa2
Including approot is not needed here !
...
SVN:trunk[1032]
2010-12-20 11:45:38 +00:00
Romain Quetiez
d8bb6a45b2
REVIEWED THE FILE INCLUSION POLICY
...
- includes are relative to the application root folder, aka APPROOT
- changed the config file, while preserving the compatibility with older installs
SVN:trunk[962]
2010-11-22 17:53:52 +00:00