Tobias Diekershoff
7efde8e334
Merge pull request #6209 from MrPetovan/task/move-config-to-php-array
...
Remove util/ folder
2018-12-29 11:43:55 +01:00
Hypolite Petovan
fabc90e9dd
Merge branch '2018.12-rc' into task/move-config-to-php-array
2018-12-27 01:47:53 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
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
Hypolite Petovan
11a0dd4d4c
Remove util directory
2018-11-28 23:10:21 -05:00
Hypolite Petovan
9102a37b37
Move master translation file away from util
...
- Rewrite translation documentation
- Delete unused util/strings.php
- Updated references to util/messages.po and util/strings.php
2018-11-28 22:57:55 -05:00
Hypolite Petovan
c964e193b9
Replace *.ini.php by *.config.php in comments
2018-11-25 01:44:51 -05:00
Hypolite Petovan
98d90e131d
Update install to generate config/local.config.php
2018-11-25 01:44:09 -05:00
Michael
109204032c
Execute database update before post update is called
2018-11-12 10:36:10 +00:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Philipp Holzer
270e817954
Adding force to update routine
...
- Introduced Cache::NEVER Lock (never expiring lock)
- Force flag for dbstructure update
- Moving the business logic to central place in Update class
2018-10-31 14:44:40 +01:00
Philipp Holzer
e876adef8f
Moved the functions update_db and run_update_function to a Friendica\Core\Update class
2018-10-31 14:44:21 +01:00
Philipp Holzer
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
Philipp Holzer
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
Hypolite Petovan
c6f0bea51d
Move $strings from App to Core\L10n
...
- Add L10n::init() call in App constructor
- Improve pushLang/popLang
- Remove no longer needed references to App
2018-10-22 15:58:42 -04:00
Philipp Holzer
248c1b8074
Type hinting & call bugfixing
2018-10-14 10:37:19 +02:00
Philipp Holzer
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
Philipp Holzer
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
Hypolite Petovan
3bccaccede
Merge pull request #5848 from nupplaphil/friendica-5847
...
friendica-5847 Console Cache List command doesn't work
2018-10-07 17:47:51 -04:00
Philipp Holzer
7da6da6666
Bugfixings for getAllKeys()
2018-10-07 22:14:05 +02:00
Philipp Holzer
1ec5c6b284
friendica-5847 Console Cache List command doesn't work
...
- filterPrefix => filterArrayKeysByPrefix()
- Logging failed Executions of getAllKeys and get from Memcached
2018-10-07 10:35:37 +02:00
Philipp Holzer
3f0f3b6ae6
friendica-5847 Console Cache List command doesn't work
...
- Added $prefix to all CacheDriver
- Moved hostname magic to CacheDriver
- Added test for getAllKeys()
2018-10-07 00:27:54 +02:00
Philipp Holzer
31148e25cf
Changing Friendica\App\Mode from static methods to public methods
...
- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
2018-10-06 16:27:20 +02:00
Hypolite Petovan
3ed9e7fe1d
Replace remaining $a->isInstallMode() instances
2018-10-05 20:31:32 -04:00
Philipp Holzer
065340dc32
Creating Friendica\App\Mode for encapsulating the App Mode
2018-10-05 22:36:09 +02:00
Philipp Holzer
fe6e600dc5
Adding "FRIENDICA_URL_PATH" to the automatic installation
2018-10-05 19:42:08 +02:00
Hypolite Petovan
c80045edaf
Remove obsolete lines from Console\Config
2018-09-25 23:00:00 -04:00
Hypolite Petovan
be0f71bedb
Add new Cache console command
2018-09-25 22:59:22 -04:00
Hypolite Petovan
9d0a6f90b6
Update "mrpetovan" email address
...
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Michael
67227570d8
"Does" is now "perform"
2018-08-29 13:06:56 +00:00
Michael
d489712824
The post update version can now be set.
2018-08-29 11:48:40 +00: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
Michael
5037f9c460
Console script to ensure that all post updates are finished
2018-08-10 21:20:25 +00:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Michael Vogel
4bbcb61a9e
We now have a pre update script ( #5425 )
...
* We now have a pre update script
* Some optimized stuff
2018-07-20 15:47:16 -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
050ad68b9f
Improve Console/Config display for array values
...
- Prevent setting a config key that is an array
2018-07-17 02:15:05 -04:00
Hypolite Petovan
763c66dd49
Improve console/config display
...
- Add visual distinction between get/set value
2018-07-16 19:38:18 -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
cd9b864045
Rework App modes
...
- Replace App mode constants with capability-based flags
- Add App->isInstallMode()
- Add file config fallback in (P)Config abstraction
- Removed logger disabling code
2018-07-16 19:38:15 -04:00
Hypolite Petovan
3fc21f0d64
Fix config mentions (no doc)
2018-07-16 19:38:14 -04:00
Hypolite Petovan
e7c3d453c2
Update config console command
2018-07-16 19:38:14 -04:00
Hypolite Petovan
3985a4bc43
Remove extraneous dba::connect calls
2018-07-16 19:38:13 -04:00
Alexandre Alapetite
f980516545
Fix PoToPhp
...
https://github.com/friendica/friendica/pull/5072#issuecomment-389754406
2018-05-17 08:12:55 +02:00
Marcus Müller
64a799198a
[TASK] Automatic installation: Install theme
2018-05-13 12:50:53 +02:00
Philipp Holzer
559250b8b3
Updated help-text
...
accidentaly changed `htconfig.php` (reverted)
2018-05-01 13:21:42 +02:00
Philipp Holzer
95ef07d67b
Updated help-text
2018-05-01 13:14:41 +02:00