Pierre Goiffon
500bd15843
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
2021-11-18 08:54:32 +01:00
Pierre Goiffon
3e8dd2f4a5
N°4286 Setup : fix loop in first steps
...
Setup token wasn't removed at the right place :/
2021-11-18 08:54:10 +01:00
Pierre Goiffon
d0fade9ce1
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# pages/ajax.render.php
# setup/wizardsteps.class.inc.php
2021-11-17 17:39:36 +01:00
Pierre Goiffon
066b71686d
N°4286 Setup : restore backup download on WizStepDone
...
Setup token was put with N°2016 (6b5cc7c )
But later on we refactored the token handling in SetupUtils methods, and we had token removal in WizStepDone (43daa2ef ) : so the backup download cannot be done :/
2021-11-17 14:39:44 +01:00
Eric
2bc61caab1
N°4207 N°4298 Fix data/.maintenance flag not removed by setup anymore
...
Was already fixed in the develop branch
(cherry picked from commit d0986c048a )
(cherry picked from commit 9126635cf2 )
2021-10-12 12:23:49 +02:00
Eric
6be9a87c15
N°3952 - code hardening (merged from support/2.6)
2021-05-27 09:55:16 +02:00
Eric
43daa2ef08
N°3952 - code hardening
2021-05-27 09:29:50 +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
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