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
f51cd65b1f
N°2249 - Supportability - Updater module
2019-10-07 17:44:17 +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
Pierre Goiffon
1f7923beae
Merge remote-tracking branch 'origin/support/2.5'
...
# Conflicts:
# datamodels/2.x/itop-backup/module.itop-backup.php
# setup/setup.js
# setup/wizardsteps.class.inc.php
2019-02-21 17:18:29 +01:00
Stephen Abello
6b5cc7ca4b
N°1877 & N°2012: Fix regression backup link on setup, security hardening
2019-02-18 10:40:51 +01:00
Pierre Goiffon
a85bedd31c
Merge remote-tracking branch 'origin/support/2.5' into release/2.6
...
# Conflicts:
# install.txt
2019-01-09 10:51:11 +01:00
Stephen Abello
da76fc70bb
N°1933: Security hardening
2019-01-07 16:46:29 +01:00
Eric
d31a4047f6
Fix Setup hardening
2018-12-19 17:13:49 +01:00
Eric
75fbb831c9
Fix Setup hardening
2018-12-19 17:10:02 +01:00
Denis Flaven
7faf3258f7
Setup hardening.
2018-12-13 18:12:58 +01:00
Denis Flaven
cb3440c85d
Setup hardening.
2018-12-13 18:12:03 +01:00
Pierre Goiffon
588899db63
Convert all files from CrLf to Lf (preparing merge to develop)
2018-10-18 14:20:40 +02:00
Pierre Goiffon
33e8b6a64c
Switch back files from CrLf to Lf
2018-10-04 17:43:03 +02:00
Dennis Lassiter
49bb8fd515
Fixed bug that caused memory_limit=-1 to lead to 'not enough memory' … ( #1 )
...
* Fixed bug that caused memory_limit=-1 to lead to 'not enough memory' error
* Added Unit Test to Memory Limit Check
2018-09-06 10:04:28 +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
8cd18fe190
Setup : log in log/setup.log on PHP error (register_shutdown_function callback)
...
SVN:trunk[5987]
2018-07-26 14:54:45 +00:00
Denis Flaven
49f82e6377
#1297 : timezone configuration setting was inoperant.
...
SVN:trunk[4355]
2016-08-29 12:47:06 +00:00
Denis Flaven
2856d53967
#1054 : increase max_execution_time during the setup.
...
SVN:trunk[3532]
2015-04-03 08:37:55 +00:00
Romain Quetiez
c1fae7fd24
#659 exception handling producing notices, hence causing confusion
...
SVN:trunk[2625]
2013-03-14 14:22:27 +00:00
Denis Flaven
156993a517
- Show only the "vsisible" parameters in the config file, or the ones already present in case of upgrade. Hide others for readability.
...
- Properly check DB connection in case of upgrade (setup wizard)
- Cleanup old remains of the V1.x setup program.
SVN:trunk[2537]
2012-12-06 10:53:42 +00:00
Denis Flaven
084609bfad
Increased memory_limit for the setup to 64 MB
...
SVN:trunk[2452]
2012-11-21 13:52:44 +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
ec3c42e87c
- Changes to the setup program: Backup now works for real
...
- A few cosmetic changes...
SVN:trunk[2252]
2012-10-12 12:15:06 +00:00
Denis Flaven
847a538912
Some progress on the 2.0 setup...
...
SVN:trunk[2237]
2012-10-10 09:18:32 +00:00
Romain Quetiez
7dbbb1c299
#439 Record and display changes in the link sets (ex: Members of a team)
...
#439 Make sure that changes made by a plugin get recorded
+ simplified the change tracking for the plugins. Simply call DBObject::DBInsert (resp. Update and Delete) and the change will be recorded for the current page. This is compatible with the old (not mandatory anymore) way that was requiring DBInsertTracked APIs (resp. Update, Delete).
SVN:trunk[2236]
2012-10-08 12:17:56 +00:00
Denis Flaven
e463bd8b48
Preparing for the integration of the version 2.0 of the setup.
...
Some changes to the application layout: logs now go to the ./log folder ./data should be used to store application's data.
SVN:trunk[2189]
2012-09-18 19:55:56 +00:00
Denis Flaven
5eb97ae133
The new 2.0 setup is under way...
...
SVN:trunk[2179]
2012-09-12 13:31:46 +00:00
Romain Quetiez
083c3d8613
Profiles defined in XML: reviewed the internal extension capability (GetReadOnlyAttributes and GetPredefinedObjects)
...
SVN:trunk[2152]
2012-08-21 13:25:32 +00:00
Romain Quetiez
38cca0c144
Profiles defined in XML (setup + runtime), beta version (stable, upgrade required)
...
SVN:trunk[2149]
2012-08-14 16:06:51 +00:00
Romain Quetiez
39be3b449e
Fixed setup issues (improved modularity)
...
SVN:trunk[1982]
2012-05-10 09:30:48 +00:00
Romain Quetiez
46e3eac149
Setup: added detailed reporting on the data model validation issues
...
SVN:trunk[1953]
2012-04-11 15:21:08 +00:00
Romain Quetiez
8dc13026a0
Environments: banner displaying a message if env is NOT 'production' + factorized some code to create/update a config from the page parameters
...
SVN:trunk[1774]
2012-01-16 16:41:18 +00:00
Romain Quetiez
64e5d57ac3
Finalized the setup (missing files)
...
SVN:trunk[1765]
2012-01-13 09:11:10 +00:00
Romain Quetiez
87bf09995d
Updated session mechanisms: itop_env defaults to 'production', and adapted the setup to create the configuration
...
SVN:trunk[1762]
2012-01-12 14:46:49 +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
Romain Quetiez
e2e4c53b0d
Fix after security fix
...
SVN:trunk[1448]
2011-08-11 16:31:59 +00:00
Denis Flaven
aa6d7578d1
Fixed issues when adding/removing modules during the setup:
...
- When adding modules: the data model was not refreshed in the cache before attempting to load "structure" (or "sample") data
- When removing a module: remaining (invalid) triggers were still used.
SVN:trunk[1401]
2011-08-01 10:30:22 +00:00
Denis Flaven
911d4177cc
- Various fixes an finishing touch to the setup: support of "named" root modules, streamlined back/next processing, cleaner "summary" screen, etc...
...
SVN:trunk[1163]
2011-04-01 10:02:40 +00:00
Denis Flaven
e3ac7067f7
New implementation of the setup:
...
- All actions are performed asynchronously at the end of the setup
- Supports upgrading and reinstalling (to add modules)
SVN:trunk[1157]
2011-03-30 17:28:01 +00:00
Romain Quetiez
cde184e2a3
Allow a module to provide a handler to override application settings: OnMetaModelStarted()
...
SVN:trunk[1010]
2010-12-06 09:14:20 +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
Romain Quetiez
4894dd2b4c
New placeholders in templates: this->html(attcode) and this->label(attcode)
...
SVN:trunk[735]
2010-09-01 09:07:01 +00:00
Romain Quetiez
b7131ba4db
Improved the internal KPI reporting tools
...
SVN:trunk[722]
2010-08-30 22:14:04 +00:00
Romain Quetiez
75bbad57fa
Optimized roughly the load of user management data, and added a mean for quick profiling (to enable, add the setting log_duration)
...
SVN:trunk[711]
2010-08-29 19:49:17 +00:00
Denis Flaven
f5b40898a3
New data model integration: fully modular setup based on the "modules"
...
SVN:trunk[511]
2010-06-30 15:40:18 +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
Romain Quetiez
d527b56340
#74 Added the configuration of logging (errors, web service usage, etc.), and improved a little the error logging (both in a file and into the database + new format for additional information such as the callstack)
...
SVN:trunk[403]
2010-05-13 20:40:52 +00:00
Romain Quetiez
5a09dc6e2b
Trac #86 - CSV format aligned with standard specifications
...
Trac #93 - Fixed issue within the setup data load (related to memory_limit)
Fixed issues with the consultant toolkit: upgrade an existing DB (add new class/attribute)
Developed core services to allow for demonstrating impact computation capability
Deprecated option operation=direct on page UI.php
SVN:trunk[313]
2010-03-08 09:10:16 +00:00
Denis Flaven
4928220098
- Try to protect as much as possible from fatal errors occuring during the data load:
...
1) Make sure we have enough memory to perform the task
2) In case of fatal error in the Ajax call, catch it, display it to the end-user and stop the installation.
See Trac #84 for more information.
SVN:trunk[298]
2010-02-17 22:45:17 +00:00