Neil Lathwood
f1b50737bb
Docs refactor ( #7389 )
...
* docs: Refactored docs for new layout
* some more changes
* more doc updates
* More doc updates
* small update
* small update
2017-10-02 21:36:22 +01:00
Tony Murray
a410e34115
fix: If session save path is "", php will use /tmp ( #7359 )
2017-09-18 19:22:24 +01:00
Tony Murray
8bacb053c9
fix: slower hardware can hit the schema update response timeout ( #7296 )
...
Update the timeout from 40s to 90s.
2017-09-07 09:28:03 +01:00
Tony Murray
96cc9bfaa0
feature: Improve install process ( #7223 )
...
Fix incorrectly updating session with build-ok before start of schema update
Set a timeout for progress on the schema build 40s (lock wait time is 30s, so must be more than that). Allow the user to restart the process if this timeout is reached.
Animate the progress bar while waiting for the schema update. Stop animation on failure or success.
Properly destroy the session after install. This allows the user to restart if they need to without any tricks.
Move next step buttons to the right.
2017-08-26 19:35:13 +01:00
Daniel Preussker
d3094fa657
security: Security Patch to deal with reported vulnerabilties ( #7164 )
...
* WIP: Security Patch
* Update install.php
Styling fix
* Update install.php
* Update dbFacile.php
* Fix whitespace
2017-08-18 21:29:12 +01:00
Tony Murray
1098529c62
fix: Check session directory is writable before install.php ( #7103 )
...
Drop pear check.
A few html/bootstrap cleanups too.
2017-08-08 20:26:03 +01:00
Tony Murray
f02b551145
feature: Improved install experience ( #6915 )
...
always check that the base sql has been imported.
async db building
After this merge, we could move install.php to the end of the install documentation. Makes a more natural flow.
2017-07-01 21:28:29 +01:00
Tony Murray
5f8729b1a0
refactor: update the default config generated by install.php ( #6914 )
2017-06-29 07:09:22 +01:00
Neil Lathwood
41e7689c77
refactor: DB Updates will now file level lock to stop duplicate updates ( #6469 )
...
* refactor: DB Updates will now file level lock to stop duplicate updates
* scrut fixes
* renamed function from clear_lock() to release_lock()
2017-05-03 14:48:23 +01:00
Tony Murray
b1a414e785
feature: support non-standard unix socket ( #5724 )
...
* Add support for custom MySQL unix-socket
* NULL must be lowercase!
* Naive edit of html/install.php
* fixup
* Refactor dbConnect
Use it everywhere
* $config needs to be global
Don't need to set $database_link
* small cleanups
2017-04-06 22:02:37 +01:00
Neil Lathwood
24a5f6bd37
Db collation standardisation ( #5932 )
...
* initial work to standardise collation
* more updates
* final bits for collation update (famous last words)
* Rename 165.sql to 166.sql
* Update schema version inside 166.sql
* moved schema file 166->171
2017-02-27 18:28:01 +00:00
David Bell
5dd030f438
refactor: Added config option for database port ( #5517 )
2017-01-27 23:16:04 +00:00
Tony Murray
9a33464c52
refactor: Centralize includes and initialization ( #4991 )
2016-11-21 20:12:59 +00:00
Neil Lathwood
cc01969b06
refactor: Default to only using mysqli ( #4915 )
...
* refactor: Default to only using mysqli
* Remove includes/dbFacile.mysql.php
* updated mres() function to remove $config global
2016-11-10 19:40:53 -06:00
Neil Lathwood
d6d28564ae
fix: Removed suggestion in install.php on installing php modules ( #4377 )
2016-09-09 10:26:52 -05:00
Neil Lathwood
9f1930a81e
More more docs ( #4197 )
...
* Updated docs + some small code changes
* Added validating code doc for developers
* Doc updates
* Updates and improvements
2016-08-25 18:40:11 -05:00
Tony Murray
8c639aa5a4
PSR2 Cleanup: /html edition
...
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
laf
2cf3fe160d
Added a message to tell users that install.php is not the final step
2016-08-05 19:52:22 +01:00
Tony Murray
4210d35658
Use the correct closing tag in install.php
2016-08-03 10:06:33 -05:00
laf
c4ffa423a1
Added suggestion to contribute to stats
2016-01-11 21:03:12 +00:00
Arjit Chaudhary
815a3e72e6
Fixes #2724 -- Added mysqli to install.php if PHP 7
2016-01-10 03:23:34 +05:30
nguillaumin
ceb2d15b9d
Fixes #2725 : Wrong suggestion to install PEAR
2016-01-09 22:50:47 +11:00
f0o
5806850bce
Soft-Fail if PEAR doesnt exist
2015-10-01 15:20:46 +00:00
Daniel Preussker
939218865b
Merge pull request #1956 from laf/user-validation
...
Add config option for librenms user + validate.php support
2015-09-22 18:09:28 +00:00
laf
4cc9482dbe
Added support for specifying user in config and then validating install
2015-09-21 21:06:57 +00:00
laf
8980bbc4e3
Changed config db options from double quotes to single
2015-09-21 13:23:09 +00:00
f0o
9ca926b9c6
SQLs are performed up to an execution time of 45s, then a page reload is induced to avoid fcgi/cgi/modphp timeouts.
2015-09-02 15:30:51 +01:00
f0o
501cf5a6ef
Present all output+errors at the end
2015-09-02 15:30:21 +01:00
f0o
574e4c5290
Typo
2015-09-02 15:29:11 +01:00
f0o
ca0f9ea2f9
Avoid useless I/O
2015-09-02 15:29:07 +01:00
f0o
2fd423f9fc
Revert build.sql
...
Make update.php responsive
2015-09-02 15:29:06 +01:00
f0o
19059412da
Make installer more responsive
...
Update each schema in update.php after applying
Packaged new build.sql bundling all updates up to 067
2015-09-02 15:29:02 +01:00
f0o
87677eabeb
Use the persistent MySQL connections in install and build-base
...
Share mysql-connection from install to build-base
2015-09-02 15:28:54 +01:00
laf
a8f0d91aae
Fixed the connection settings being incorrect
2015-08-15 17:33:41 +00:00
Neil Lathwood
0737722cb8
Merge pull request #1667 from miken32/master
...
changes needed to run under a web server subdirectory
2015-08-14 15:05:29 +01:00
Daniel Preussker
409b2efd17
Merge pull request #1647 from laf/issue-12-new
...
Added mysqli support
2015-08-12 22:06:09 +02:00
Michael Newton
f77c712bfc
changes needed to run under web server subdirectory
2015-08-11 14:54:05 -07:00
Neil Lathwood
945ca7f2ea
Revert "changes needed to run under web server subdirectory"
2015-08-11 21:25:23 +01:00
Neil Lathwood
1b6b57b593
Merge pull request #1645 from miken32/master
...
changes needed to run under web server subdirectory
2015-08-11 18:32:53 +01:00
Paul Gear
5d3701e3a6
Update install.php
...
spelling
2015-08-11 08:39:14 +10:00
laf
880cccf57b
Added some docs, update config.php.default and web installer to use mysqli by default
2015-08-09 14:36:31 +00:00
Michael Newton
cc0f449fc9
changes needed to run under web server subdirectory
2015-08-07 11:10:43 -07:00
laf
021ada79cf
Fixed web installer + made the mysql import message stronger
2015-08-07 16:15:56 +00:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
f0o
9ef8f49636
Fix PHP5.3 error
2015-06-15 18:03:16 +00:00
f0o
afded4f6d2
Minor fixes in html/install.php
2015-06-09 16:12:53 +00:00
Mohammad Al-Shami
bdca04563c
Add logic to handle the case where config.php cannot be written for some reason
2015-05-11 00:48:38 +03:00
Mohammad Al-Shami
ed0218dba7
Uncommented second
...
$install_dir = array_pop($cur_dir);
line. Issue was happening because nginx doesn't add a trailing slash to DOCUMENT_ROOT. Simple change to nginx configuration adds that so no need to edit the code here.
Fixed conflict with AUTHORS.md
2015-05-11 00:09:14 +03:00
Mohammad H. Al-Shami
6e27d888c3
Update install.php to prevent creating an empty config.php file
...
I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2015-05-10 16:40:38 +03:00
laf
05ec4d0145
Updated installer
2015-04-30 11:35:43 +01:00