Pierre Goiffon
0d1059a8fc
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# application/utils.inc.php
# conf/web.config
# datamodels/2.x/itop-backup/ajax.backup.php
# datamodels/2.x/itop-backup/status.php
2020-05-18 09:24:46 +02:00
Eric
fa3610cfee
N°2641 - Create a dedicated ErrorPage for fatal errors
...
Fix fatal errors being logged in setup.log instead of error.log
2020-05-14 14:37:38 +02:00
Pierre Goiffon
3c9318d56a
N°2990 Fix count warning on audit OQL error
2020-05-12 09:41:24 +02:00
Pierre Goiffon
30d10b6f11
N°2990 Security hardening
2020-05-12 09:40:58 +02: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
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
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
Pierre Goiffon
c03d5167f6
N°1418 audit : fix regression, error with union queries in AuditRule
...
SVN:trunk[5777]
2018-05-09 16:47:54 +00:00
Pierre Goiffon
7b54f51d75
N°1418 Audits Perf optimization for AuditRule with valid_flag=true and lots of negative records
...
Use a new helper method that don't parse values anymore on SELECT IN / NOT IN queries
SVN:trunk[5724]
2018-04-23 14:48:40 +00:00
Pierre Goiffon
eaf94bc10a
Audit : some more PHPDoc
...
SVN:trunk[5723]
2018-04-23 14:46:37 +00:00
Eric Espié
174bcf56d3
cleanup code
...
SVN:trunk[5221]
2018-01-10 07:58:51 +00:00
Eric Espié
89492f8904
N°870 - Avoid Obsolete data in audit results
...
SVN:trunk[5219]
2018-01-09 16:07:18 +00:00
Romain Quetiez
dbe3e94d5c
Obsolescence: audit errors reporting to include obsolete data as well as the audit execution does
...
SVN:trunk[4785]
2017-06-30 13:25:02 +00:00
Denis Flaven
b64c79d34e
Force the filename (with a .csv extension) when downloading the audit errors as a CSV file.
...
SVN:trunk[4294]
2016-07-06 10:34:07 +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
cd3122d597
#1144 Audit category having no rule -> PHP notices when showing the report + improved the behavior when the OQL of a rule is wrong.
...
SVN:trunk[3742]
2015-09-09 13:38:52 +00:00
Romain Quetiez
7a139dddc0
Code cleanup: deprecated the unused (and empty) class CMDBSearchFilter, replaced by DBSearch or DBObjectSearch depending on the usage.
...
SVN:trunk[3632]
2015-07-09 07:36:39 +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
08e757a08a
#991 CSV export truncated (system dependent, since 2.0) due to a bug in iconv, the workaround is to do little by little
...
SVN:trunk[3352]
2014-09-25 15:01:45 +00:00
Denis Flaven
05133aa319
Fix for supporting the CSV export of big audit results.
...
SVN:trunk[2598]
2013-02-06 15:44:59 +00:00
Romain Quetiez
1e155ffc13
Fixed stopper issue (found with an audit) due to copies of DBObjectSearch not cloned (or not cloned well)
...
There is still one place where this should be fixed, but it reveals another bug so we've decided to leave it as is for the moment (see comment in DBObjectSearch::AddCondition_PointingTo)
SVN:trunk[2497]
2012-12-04 13:26:48 +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
Romain Quetiez
e90e35dbc6
Optimized memory usage when auditing large volumes of CIs (10'000 items was requiring 200 Mb, it now runs with 32 Mb -including the 30Mb overhead!)
...
SVN:trunk[1797]
2012-01-20 15:26:45 +00:00
Denis Flaven
780fb6dc27
Fixed absolute/relative path issues in the JS and href places
...
SVN:trunk[1763]
2012-01-12 16:58:26 +00:00
Romain Quetiez
6a9ea25b27
Setup based on either compiled modules or xml datamodel files (or both).
...
SetupWebPage is an alias for ModuleDiscovery and the module files should be updated progressively to invoke ModuleDiscovery::AddModule() instead.
The implementation of the module still assumes they are in the directory 'modules'... this has to be changed later to ensure the distinction between the source modules and the executed modules
SVN:trunk[1758]
2012-01-11 15:04:15 +00:00
Denis Flaven
5c55291391
Better error handling in case of OQL error
...
SVN:trunk[1655]
2011-11-09 17:01:12 +00:00
Romain Quetiez
f82a4ada23
#478 Fixed issue in the audit: the results are wrong whenever an organization is selected
...
SVN:trunk[1595]
2011-09-22 11:40:30 +00:00
Denis Flaven
c4db9cd84e
More fixes for Trac#446: XSS vulnerabilities with vectors containing double quotes
...
SVN:trunk[1563]
2011-09-08 13:21:32 +00:00
Denis Flaven
1c812f8b34
Bug fix: subsequent audit results were wrong when a 'negative' rule was used.
...
SVN:trunk[1560]
2011-09-07 12:12:10 +00:00
Denis Flaven
8cab8dd7b7
Filter audit results using the hierarchies
...
SVN:trunk[1388]
2011-07-29 10:29:28 +00:00
Romain Quetiez
645b02b2d1
#415 Could not limit user on some organization (symptom: wrong queries... org_id does not exist...)
...
SVN:trunk[1319]
2011-07-01 15:08:38 +00:00
Denis Flaven
d5353c111c
Fixed Trac#356 (Audit results filtered by context) and #357 (Audit results list not expandable)
...
SVN:trunk[1114]
2011-03-08 10:31:13 +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
Denis Flaven
adaf3a376c
Fixed Trac #258 : cleanup of application context parameters.
...
SVN:trunk[908]
2010-10-20 15:55:30 +00:00
Denis Flaven
775524824e
- Added a try/catch to nicely handle exceptions in these pages.
...
- Fixed Trac #240 : Validation of the fields when pressing the "Back" button
- Fixed Trac #238 : JS Error when pressin the "Next" button
SVN:trunk[763]
2010-09-05 09:43:26 +00:00
Denis Flaven
7aacef8d7d
- Get rid of the class UserContext, since now everything is implemented directly in MetaModel
...
- Make the Accordion menu collapsible
SVN:trunk[683]
2010-08-23 12:27:21 +00:00
Denis Flaven
9974457971
Enhancing the search (Trac #147 ): now allows to pass some "magic patterns" when doing a standard search without any operator. Specially useful for searching on ranges of dates/datetimes
...
SVN:trunk[638]
2010-07-28 15:18:52 +00:00
Romain Quetiez
a0e0371812
#19 - Reviewed the licensing information and started to align the comments in the code
...
SVN:trunk[422]
2010-05-24 09:24:35 +00:00
Denis Flaven
89dffd2845
- Implementation of the localization... on going...
...
SVN:trunk[398]
2010-05-04 14:42:36 +00:00
Romain Quetiez
69a8d27b54
Obsoleted the SibusQL and the keyword pkey (still allowed as a placeholder in the templates)
...
SVN:trunk[372]
2010-04-29 16:51:56 +00:00
Denis Flaven
c4a51c31c9
Bug fix: the audit page was not working for object with no "org_id" filter criteria.
...
SVN:trunk[323]
2010-04-12 12:13:14 +00:00
Denis Flaven
f6b572ebcd
- Fixed the display of audit errors
...
SVN:trunk[287]
2010-01-19 15:32:09 +00:00
Denis Flaven
0a413a32f6
Renaming of the WebPage class (and its derived classes) to stick to the same naming convention as other classes.
...
SVN:trunk[250]
2010-01-17 09:07:10 +00:00
Denis Flaven
a3345bc021
- The page was broken because there was no user login !
...
SVN:trunk[79]
2009-07-08 16:10:17 +00:00
Denis Flaven
b756db0992
Moved under "trunk" to be able to track releases under "tags"
...
SVN:trunk[55]
2009-04-28 09:03:12 +00:00