Commit Graph

94 Commits

Author SHA1 Message Date
Denis Flaven
49f82e6377 #1297: timezone configuration setting was inoperant.
SVN:trunk[4355]
2016-08-29 12:47:06 +00:00
Denis Flaven
a71b3bc231 Protects the setup in case of missing PHP-JSON module
SVN:trunk[3022]
2013-12-03 11:47:42 +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
9c58240474 Start using the new setup 2.0 ! Be brave !!
SVN:trunk[2244]
2012-10-10 09:36:04 +00:00
Denis Flaven
4f29019351 Start using the new setup 2.0 ! Be brave !!
SVN:trunk[2243]
2012-10-10 09:35:34 +00:00
Romain Quetiez
39be3b449e Fixed setup issues (improved modularity)
SVN:trunk[1982]
2012-05-10 09:30:48 +00:00
Denis Flaven
68ecf03f19 Properly initialize source_dir (and target_dir) to avoid scanning the complete subdirectory, which causes a duplicate load of the modules files in case of an upgrade and thus causes the upgrade to fail.
SVN:trunk[1792]
2012-01-19 16:39:43 +00:00
Romain Quetiez
a401212e31 Updated the setup to fetch modules from 'datamodel'
SVN:trunk[1784]
2012-01-17 16:53:59 +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
c7c69660bc Setup: the conf dir is created by the setup program
SVN:trunk[1768]
2012-01-13 10:49:43 +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
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
Denis Flaven
99c4128ee6 Increased Suhosin minimum value for get_max_value to 2048 due to a bug seen on some installations
SVN:trunk[1699]
2011-11-30 13:21:38 +00:00
Romain Quetiez
bdebb33822 #488 Replaced mysql extension with mysqli
SVN:trunk[1630]
2011-10-10 15:42:10 +00:00
Denis Flaven
bddfdb4a28 Fixed Trac #468: wrong path to the doc#installationInstructions
SVN:trunk[1571]
2011-09-12 11:22:29 +00:00
Romain Quetiez
a7e937ec58 Regression: the default language was German!
SVN:trunk[1545]
2011-08-31 13:09:50 +00:00
Denis Flaven
bc2a8a8c4a Improved verification to the PHP file upload settings to avoid troubles later... (Trac #284)
SVN:trunk[1544]
2011-08-31 09:03:26 +00:00
Denis Flaven
5d9d44dc5e Fix: detection of the Suhosin extension during the installation and tell the user if the get_max_value is too small.
SVN:trunk[1528]
2011-08-29 11:49:22 +00:00
Denis Flaven
51bd6cdf97 #446 continuing: sanitizing parameters...
SVN:trunk[1451]
2011-08-15 13:55:59 +00:00
Denis Flaven
6859326646 Fixed Trac#446: XSS vulnerabilities... to be tested !
Also fixed the display/download links on documents that were both doing exactly the same thing !

SVN:trunk[1443]
2011-08-11 10:17:03 +00:00
Denis Flaven
c8a1380bef - Fixed the reporting about the previous version
SVN:trunk[1379]
2011-07-28 13:19:58 +00:00
Denis Flaven
46781c349f - Setup tested under IE8
- Added migration code, during the setup, for the hierarchical keys

SVN:trunk[1358]
2011-07-25 14:14:05 +00:00
Denis Flaven
b80cc36fb5 TO BE TESTED: New step in the wizard confirmation of the URL to be used for accessing the application.
SVN:trunk[1348]
2011-07-22 11:55:41 +00:00
Romain Quetiez
a5091d9af0 Fixed regression: magic_quote_runtime could be deprecated with recent versions of PHP (setup)
SVN:trunk[1306]
2011-06-28 15:13:10 +00:00
Denis Flaven
22c6df1a7a Fixed Trac #422 (detection of magic_quotes_runtime)
SVN:trunk[1301]
2011-06-24 14:46:21 +00:00
Denis Flaven
d8c5f26aed Fix for IE8: On IE <button type="submit"> does not submit the form if an onClick action is specified !
SVN:trunk[1215]
2011-04-13 09:53:59 +00:00
Denis Flaven
4fefaa5658 Make sure that we initialize the list of modules with just the default config and not the previous config. Setup now supports removing modules (even if the actual data are NOT removed from the database, yet).
SVN:trunk[1189]
2011-04-07 08:22:57 +00:00
Denis Flaven
089a9fcf4a - Make sure that the data (smaples and structure) from hidden modules are loaded as well. (Symptom: sample EmailNotifications were not loaded)
- Make sure that the "synchrodatasource" file gets loaded as part of the "standard" app modules, even when upgrading "in-place" an existing iTop configuration file.

SVN:trunk[1185]
2011-04-06 18:42:27 +00:00
Denis Flaven
3a0be981d6 Added the detection & logging of APC.
SVN:trunk[1168]
2011-04-04 09:57:35 +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
Romain Quetiez
851b41670e New setup: fixed bug in the HTML (missing Next button on IE8)
SVN:trunk[1159]
2011-03-31 13:03:09 +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
Denis Flaven
6262fa1d26 Fix Trac #336: verification of the directory of the temporary config file was wrong... however the script still assumes that the temporary config file and the final one are stored in the same place... at the root of the iTop installation.
SVN:trunk[1116]
2011-03-08 10:48:35 +00:00
Denis Flaven
3d8ffba2fa Mention that the database user must have the "CREATE VIEW and TRIGGER" privileges for the setup to work fine.
SVN:trunk[1063]
2011-02-03 09:41:32 +00:00
Denis Flaven
78256bae0b - Display PHP errors during setup instead of hiding them ! (Trac #321)
- Set a longer timeout during setup (Trac #314)

SVN:trunk[1042]
2011-01-03 14:56:28 +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
Denis Flaven
d8f2979c5a - Fixed Trac #318 (and #335): added the check of the mandatory DOM extension.
SVN:trunk[994]
2010-11-29 18:27:44 +00:00
Romain Quetiez
9f000c15ff Cosmetic on setup: perform post DB install in the same page as admin account creation, and hide ticket prerequisites module
SVN:trunk[981]
2010-11-26 15:57:11 +00:00
Romain Quetiez
64044e47e1 Modularity: allow a module to execute some specific installation procedures (customize the config file, do something in the database)
SVN:trunk[975]
2010-11-25 17:15:12 +00:00
Romain Quetiez
fcbd9b8911 Improved Web services: opened to services coming from an optional module
SVN:trunk[965]
2010-11-23 16:16:01 +00:00
Denis Flaven
2c4bdf6398 - Fixed the detection of relative path in the config file to make it compatible with *nix
SVN:trunk[963]
2010-11-23 11:54:41 +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
006453678b Fixed Trac#300: each iTop instance now uses its own name for the cookie storing the session ID. Therefore several instances can coexist independently on the same server.
SVN:trunk[913]
2010-10-22 06:09:51 +00:00
Denis Flaven
931075687a Fix for Trac #289: setup now checks that the "setup" directory is writeable.
SVN:trunk[909]
2010-10-20 16:20:52 +00:00
Denis Flaven
4b5a25ea59 Fixed Trac #278: better detection of all PHP mandatory modules.
SVN:trunk[897]
2010-10-19 12:45:48 +00:00
Denis Flaven
ea84314337 - New announcement message at the end of the setup wizard
- Bug fix: The link to Combodo opens in another frame if clicked during the setup, so that it does not stop/break the setup

SVN:trunk[881]
2010-09-16 09:27:56 +00:00
Romain Quetiez
746d2a1597 #267 Fixed a regression due to the change [866]
SVN:trunk[872]
2010-09-14 21:06:43 +00:00
Romain Quetiez
54ebdf332d #109 and #114 Record modules installations in DB
SVN:trunk[826]
2010-09-12 13:28:20 +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