90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation
2019-04-14 14:23:06 +02:00
49def0dc27
Adding ConfigFileSaver and tests
2019-03-24 13:47:35 +01:00
383a6715c3
Added first version of ConfigCacheSaver
2019-03-23 19:34:54 +01:00
Philipp
c5cbba3416
Fix boolean value
2019-03-22 23:31:47 -04:00
69fa6161e5
Refactor installer
2019-03-22 23:31:45 -04:00
a73235b6ee
Fixing DBA::(re-)connect()
2019-02-23 12:49:56 +01:00
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
2019-02-17 20:40:27 +01:00
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
347d959f25
fixing #6652 Manual installer bricked
2019-02-14 17:44:17 +01:00
90e88d6c35
Bugfixing AutomaticInstallation test
2019-02-04 00:04:16 +01:00
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
be6b229534
1) Refactor App->config[] into Core\Config
2019-02-03 18:54:25 +01:00
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
98d90e131d
Update install to generate config/local.config.php
2018-11-25 01:44:09 -05:00
cf39c9df81
Bugfixings
...
- moved testargs.php to util directory
- Switch Environment check before config at automatic install
- checkPHP() is now finding the PHP binary too
- Bugfixing checkPHP() & required returned wrong status
- removing not used $_POST['phpath'] in web installer
2018-10-30 11:30:19 +01:00
f0382ab919
Refactoring Installation
...
- centralized installation
- renamed Core\Install to Core\Installer
- avoid using $a->data[] for states
- removed unnecessary code
2018-10-29 18:44:39 +01:00
248c1b8074
Type hinting & call bugfixing
2018-10-14 10:37:19 +02:00
c32ac7f194
Install Class to methods
...
- Bugfixing Install checks (worked not as expected)
- Changed static methods from Install to class functions
- Added tests
2018-10-13 18:09:53 +02:00
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
fe6e600dc5
Adding "FRIENDICA_URL_PATH" to the automatic installation
2018-10-05 19:42:08 +02:00
Philipp
2838e4ebaf
Automatic Install Tests & Doku ( #5674 )
...
* Automatic Installation Testing
- New dev-library "mikey179/vfsStream"
- created "reload" method for App-Reloads
- ConsoleTest now using virtual directory
- Adding Automatic Installation Tests
- Fixing some probable install-failures
* Updating README for Automatic Installation
* Updating README for Automatic Installation
* Bugfix normal installation
* Fixing copying of config files
2018-08-27 00:15:55 -04:00
Philipp
d7395299fb
Automatic Installation fix ( #5565 )
...
* Automatic Install Config Fix
* new unittest for AutomaticInstallation
* unittest for autoinstall
- removed password check
* removed bak-file
* automatic install
- always save environment variables
- just skip db environment if not `--savedb` is set
* fixed help (options)
* fixed help (options)
* Deleting Auto-Install tests until fix for proper DB restoring
2018-08-20 16:15:39 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Hypolite Petovan
762a786611
Replace direct accesses to App->config by Config::get/set calls
2018-07-16 19:38:16 -04:00
Hypolite Petovan
3fc21f0d64
Fix config mentions (no doc)
2018-07-16 19:38:14 -04:00
Marcus Müller
64a799198a
[TASK] Automatic installation: Install theme
2018-05-13 12:50:53 +02:00
559250b8b3
Updated help-text
...
accidentaly changed `htconfig.php` (reverted)
2018-05-01 13:21:42 +02:00
95ef07d67b
Updated help-text
2018-05-01 13:14:41 +02:00
fa78f148c8
AutomaticInstallation - use config file
...
- added new parameter "-f config file" to `AutomaticInstallation.php`
2018-05-01 13:11:25 +02:00
6cb277b0bb
Add Install Mode
...
- added PHP docBlock to methods
- increased code quality
2018-04-29 18:11:24 +02:00
a97ad9dc42
Add Install Mode (Part 2)
...
- Added constants to class `App`
- Added global App-Mode to `dba:connect()` instead parameter `$install`
2018-04-28 12:36:40 +02:00
6973aaefc2
Add Install Mode
...
- Added $install_mode in Class App instead
- Extracted the install business logic to a new Class Install
- Replaced all $a->module == 'install' with $a->install_mode
2018-04-23 22:56:59 +02:00
Marcus Müller
e2a58a791c
[DOCS] Auto Install: Add description
2018-04-19 10:21:41 +02:00
Marcus Müller
457b86711d
[TASK] Auto install: Rework class
2018-04-18 14:30:42 +02:00
Marcus Müller
1d552b5e66
[TASK] Install script: Add installation class
2018-04-18 11:43:23 +02:00