Molkobain
c3140c2db3
Copyright year bump
2021-03-12 18:48:46 +01:00
Pierre Goiffon
86dbd8d7a6
N°3568 Update backup page for UiBlocks
2021-01-22 11:46:29 +01:00
Pierre Goiffon
96e7f57a34
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/itopwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/version.xml
# pages/ajax.document.php
# pages/ajax.render.php
# pages/ajax.searchform.php
# sources/application/TwigBase/Controller/Controller.php
2020-12-10 18:08:11 +01:00
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
Molkobain
e48d257b00
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/displayblock.class.inc.php
# application/itopwebpage.class.inc.php
# application/utils.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml
# datamodels/2.x/itop-knownerror-light/datamodel.itop-knownerror-light.xml
# datamodels/2.x/itop-service-mgmt/datamodel.itop-service-mgmt.xml
# datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml
# js/components/breadcrumbs.js
# pages/navigator.php
# test/core/DBSearchTest.php
2020-10-07 11:36:15 +02:00
Eric
c6df0b6d7d
N°3311 - Stop capturing output before sending backup file (avoid memory problem)
2020-09-22 11:03:59 +02:00
Eric
63f8ec594c
N°2847 - Refactor Web Pages classes - Add UIBlockManager to the WebPage
2020-09-09 18:10:06 +02:00
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
Pierre Goiffon
834297e675
N°2985 Security hardening ( #140 )
...
Thanks @bruno-ds for the review !
2020-05-13 10:04:40 +02:00
Pierre Goiffon
f8e39877b3
N°2988 Security hardening
2020-05-07 11:49:58 +02:00
Pierre Goiffon
0a3f7d7ef7
N°2989 ajax.backup small updates
...
* update copyright
* in messages replace iTop by constant
2020-05-07 11:18:21 +02:00
Pierre Goiffon
222eb47bd2
N°2989 ajax.backup : refactor exit conditions
...
Adding a die() call so that we are sure to exit on errors !
2020-05-07 10:49:05 +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
Pierre Goiffon
f65f22f333
N°2538 check path validity little improvements
...
* ajax-backup : change code to be more readable
* does a realpath() call on basepath to avoid troubles when havin '/' on Windows
2019-10-16 11:37:50 +02:00
Pierre Goiffon
607d355c61
N°2538 enforce generic method to check path validity
...
Now uses realpath() and StartsWith
2019-10-16 11:13:19 +02:00
Pierre Goiffon
5e641f2273
N°2538 generic method to check path validity
2019-10-15 18:41:07 +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
Stephen Abello
dfe81f6272
N°1935: Security hardening
2019-01-14 11:54:46 +01:00
Stephen Abello
0bce9c78ea
N°1935: Security hardening
2019-01-09 14:23:15 +01:00
Pierre Goiffon
9d5ab75dbd
Backup/restore : apply COmbodo formatting
...
SVN:trunk[5667]
2018-04-13 14:49:27 +00:00
Pierre Goiffon
de54575e04
N°1260 fix DB restore regression
...
* add comments to explain use of the token file
* only pass current env to the ajax call (it is enough to load the corresponding config file and get everything we need !)
* DBRestore : initialize user & pwd as needed
* DBRestore : do not throw Exception anymore but only BackupException
SVN:trunk[5659]
2018-04-13 09:43:03 +00:00
Eric Espié
d65bd97956
N°478 - Customizable access to the 'Admin Tools'
...
SVN:trunk[5364]
2018-02-23 11:13:07 +00:00
Eric Espié
c08edc207c
N°1190 - Better error reporting and disk cleanup.
...
SVN:trunk[5145]
2017-11-30 08:58:58 +00:00
Guillaume Lajarige
9cf42f6cc8
N°1002 Backup: '.' character in iTop instance path was causing a crash when trying to -temporary- replace them in the backup filename (due to compression lib limitations).
...
SVN:trunk[4883]
2017-08-29 14:30:46 +00:00
Romain Quetiez
e31fa066fc
N.612 Backup files could not exceed 4Gb (technology limitation). The fix consists in archiving the backup as a tar.gz instead of a zip. As a consequence, installing iTop now requires TWO additional PHP modules: phar/zlib. The zip module remains mandatory because it is used in other places. The restore utility accepts both legacy zip files and brand new tar.gz files. DBBackup::CreateZip is deprecated in favor of DBBackup::CreateCompressedBackup. DBRestore::RestoreFromZip is deprecated in favor of DBRestore::RestoreFromCompressedFile (which autodetects the format for backward compatibility).
...
SVN:trunk[4803]
2017-07-06 15:26:03 +00:00
Denis Flaven
61e2f97d6c
#1150 : Spurious message "A restore is running..." - FIXED !
...
SVN:trunk[3864]
2016-01-20 15:56:09 +00:00
Romain Quetiez
84c31da226
Instrumented the code to help in solving the "restore runing" issue. We've added traces into the error.log file:
...
- Log restore begin/end
- Log if detecting that a restore is running (and displaying the banner)
- Log any Exception occuring during the detection (instead of just ignoring it)
SVN:trunk[3733]
2015-09-08 15:42:47 +00:00
Denis Flaven
030b4fa380
Enhancement: support injection of new modules treated as data.
...
SVN:trunk[3525]
2015-04-01 15:53:05 +00:00
Romain Quetiez
50ca6cdd0f
Backup tools disabled when the demo mode is active
...
SVN:trunk[3406]
2014-11-03 15:12:47 +00:00
Romain Quetiez
a7d3a5a488
New functionality: data backup / restore. By default, performs a daily backup, keeping the five last backups. Allows manual backups too.
...
SVN:trunk[3402]
2014-11-03 09:18:54 +00:00