Philipp
c5cbba3416
Fix boolean value
2019-03-22 23:31:47 -04:00
Philipp Holzer
69fa6161e5
Refactor installer
2019-03-22 23:31:45 -04:00
Hypolite Petovan
385e3a09f2
Add loop to console storage move
...
- Add timestamp to output messages
2019-03-20 00:42:50 -04:00
Hypolite Petovan
7e2e2f425e
Check that provided class implements IStorage in StorageManager::setBackend
...
- Add notice in admin if setting value change failed
- Add notice in console if setting value change failed
2019-03-19 22:42:44 -04:00
Hypolite Petovan
f225a6c51a
Reformat code
...
- Reformat Console\Storage
- Reformat Core\StorageManager
- Simplify logic in Worker\CronJobs
2019-03-19 22:42:05 -04:00
Philipp Holzer
16ff5af221
Fix handling table name during storage move
2019-03-01 18:07:08 +01:00
Philipp Holzer
d1c7815c4e
added whitespace
2019-02-24 12:51:58 +01:00
Philipp Holzer
aae58815a8
Adjust update parameters:
...
-f|--force Force the update command (Even if the database structure matches)
-o|--override Override running or stalling updates
2019-02-24 12:24:09 +01:00
Philipp Holzer
a73235b6ee
Fixing DBA::(re-)connect()
2019-02-23 12:49:56 +01:00
Philipp Holzer
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
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Philipp Holzer
347d959f25
fixing #6652 Manual installer bricked
2019-02-14 17:44:17 +01:00
Philipp Holzer
d6dd74690d
Bugfixing Config output for memcached_hosts[]
2019-02-04 01:19:01 +01:00
Philipp Holzer
90e88d6c35
Bugfixing AutomaticInstallation test
2019-02-04 00:04:16 +01:00
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
Philipp Holzer
be6b229534
1) Refactor App->config[] into Core\Config
2019-02-03 18:54:25 +01:00
Hypolite Petovan
78931afa6f
Fix error message in Console\GlobalCommunityBlock
2019-01-21 11:12:50 -05:00
Hypolite Petovan
7f2dc40601
Fix potential bugs without expected behavior change
...
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
fabrixxm
518f28a7bf
Small fixes
...
- Avoid an intermediate variable
- Use `rawContent()` in `Attach` module
- Small typo
2019-01-21 10:08:09 -05:00
fabrixxm
24d7ffa3fe
Update "storage" console command
...
add support to move data in 'attach' table
2019-01-21 10:00:48 -05:00
fabrixxm
f7b6fef197
Code standards
2019-01-21 09:11:35 -05:00
fabrixxm
682456c7d1
Add move function to storage manager and console command
2019-01-21 09:11:35 -05:00
fabrixxm
4d9d62bcdb
Add 'storage' console command
...
- list registered backend
- set backend
2019-01-21 09:11:34 -05:00
Tobias Diekershoff
6bc865ff4d
Merge pull request #6356 from MrPetovan/task/6355-add-password-rules
...
Add password rules
2019-01-10 10:37:32 +01:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Hypolite Petovan
61664ee659
Update usages of User::updatePassword
...
- Add password rules in mod/settings display
2019-01-01 01:15:52 -05:00
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