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