Commit graph

42 commits

Author SHA1 Message Date
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
Philipp Holzer
fa78f148c8 AutomaticInstallation - use config file
- added new parameter "-f config file" to `AutomaticInstallation.php`
2018-05-01 13:11:25 +02:00
Philipp Holzer
6cb277b0bb Add Install Mode
- added PHP docBlock to methods
- increased code quality
2018-04-29 18:11:24 +02:00
Philipp Holzer
1ab965c944 Add Install Mode
- merged `friendica/develop` to `nupplaPhil/install_mode`
- content merged `mod/install.php` to `src/Class/`
2018-04-28 15:11:01 +02:00
Philipp Holzer
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
Philipp Holzer
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
Michael
866fbb4d80 Added console command to manually archive contacts 2018-04-23 05:33:47 +00:00
Tobias Diekershoff
f63be91bd5
Revert "Moved .htconfig.php file & extracted Install business logic" 2018-04-21 16:28:22 +02:00
Philipp Holzer
334d392154 Merge remote-tracking branch 'origin/develop' into install_config 2018-04-21 14:23:49 +02:00
Philipp Holzer
346697d771 Moved .htconfig file
Extracted install business functions to new Class `Install.php`
2018-04-21 14:10:53 +02:00
Tobias Diekershoff
4d4ed6fb17
Merge pull request #4863 from MrPetovan/task/4860-add-hidden-input-in-console
Add hidden input in newpassword console
2018-04-20 09:29:17 +02:00
Hypolite Petovan
f65a7b3130 Add hidden password input to Console\NewPassword
- Add Exception when password is empty
2018-04-19 07:51:26 -04: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
Michael
491db963db Changed comments 2018-03-30 19:57:14 +00:00
Michael
2eb4912dbf New functionality to set a password for a given user 2018-03-30 19:17:12 +00:00
Michael
b48df6a828 Avoid the warning of an unitialized variable in .htconfig.php 2018-03-26 20:58:34 +00:00
Hypolite Petovan
11e68b70bb Fix number constant used in Console\PoToPhp 2018-03-24 16:09:19 -04:00
Hypolite Petovan
91eb644743 Fix formatting in Console\PoToPhp 2018-03-24 16:08:56 -04:00
Michael
850d9b4c0b Line feeds fixed, not change in functionality 2018-03-24 18:39:13 +00:00
Hypolite Petovan
d83491ae59 Remove util/global_community_silence
- Update wrong comment block for Console\Maintenance
2018-03-18 23:40:06 -04:00
Hypolite Petovan
3b75ea0028 Remove util/config*
- Update Console\Config help text
2018-03-18 23:36:24 -04:00
Hypolite Petovan
2f1a1debf4 Add DBStructure Console
- Refactor subConsole instantiation
2018-03-18 23:10:56 -04:00
Hypolite Petovan
620e9842e1 Add Typo Console 2018-03-18 19:45:35 -04:00
Hypolite Petovan
9a012ad303 Add po2php console 2018-03-18 19:28:21 -04:00
Hypolite Petovan
c9945ad15b Improve Console\PhpToPo
- Add base option
- Use DIRECTORY_SEPARATOR
- Add error handling
- Remove superfluous display
2018-03-18 19:07:24 -04:00
Hypolite Petovan
da6635898c Add more sub consoles 2018-03-18 13:26:36 -04:00
Hypolite Petovan
52e07a9e6d Remove wrong by reference variable init in Console\DocBloxErrorChecker 2018-03-18 13:26:14 -04:00
Hypolite Petovan
bba12da167 Improve Console\GlobalCommunityBlock
- Add description comment block
- Fix usage description
- Actually use argument
2018-03-18 13:25:47 -04:00
Hypolite Petovan
9b8fb1d550 Add Console classes 2018-03-18 05:11:48 -04:00