Commit graph

123 commits

Author SHA1 Message Date
Hypolite Petovan
f05fecaec1
Merge pull request #10867 from annando/replace-p
replace "p" with higher level database functions
2021-10-13 19:33:59 -04:00
Michael
27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Hypolite Petovan
ca2d0178fc Improve po2php transformation
- Use Geekwright\Po for po file parsing to catch corner case with multi-line message
- Switch from risky double quoted strings to safer single quoted strings in the output file
2021-10-09 15:46:58 -04:00
Hypolite Petovan
5028258c3b Remove exception throwing on null protocol action result in Console\Contact 2021-10-09 02:09:49 -04:00
Michael
9961943b73 Code Style: Replace "AS" with "as" 2021-10-03 10:34:41 +00:00
Hypolite Petovan
797391e1d8 Rework contact termination to separate protocol-level and contact-level
- Mail and Feed contacts are now removed automatically on relationship termination
- Added logging and notice messages for different results
2021-10-02 08:31:59 -04:00
Michael
9c14eb0c6b Use centralized function to update contact entries 2021-09-10 18:21:19 +00:00
Hypolite Petovan
7a8d800024 Add probe support to @user@domain.tld search string format 2021-08-24 12:46:01 -04:00
Philipp
99239e3d99
Fix usage 2021-08-16 23:27:43 +02:00
Philipp
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Philipp
d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp
29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Philipp
b52c9215f6
AutomaticInstallation - Fix last example 2021-08-15 21:36:05 +02:00
Michael
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael
28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Tobias Diekershoff
cfc08cbc11 console autoinstall used parameter U twice
The parameter "-U" was used twice for the database user and for the URL.
As all other database parameters are using the lowercase letter for the
parameter, this was adopted for the dbuser as well.
2021-06-23 18:05:39 +02:00
Michael
84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
fabrixxm
c45a1d1e4d autoinstall: compact output 2021-05-24 15:27:23 +02:00
fabrixxm
613cdf7ee1 autoinstall: handle -f/--file as single config file
as help string says.
2021-05-24 15:21:24 +02:00
Matthew Exon
1ce7c337f5
Simplify test for empty network selection
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-05-04 13:16:00 +02:00
Matthew Exon
312de957f4
Fix assignment statement alignment
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-05-03 20:56:49 +02:00
Matthew Exon
7a8f9f382e
Fix assignment statement alignment
Co-authored-by: Philipp <admin+Github@philipp.info>
2021-05-03 20:56:41 +02:00
Matthew Exon
05481cab3d fix formatting issues 2021-05-03 20:30:44 +02:00
Matthew Exon
ba4492ea81 Add console contact command 2021-05-03 18:00:36 +02:00
Matthew Exon
023fb38a75 Check return values with empty() 2021-05-02 20:05:07 +02:00
Matthew Exon
ac4f62f556 Remove database dependency from user console command 2021-05-02 20:05:07 +02:00
Matthew Exon
19a86fd8f2 Fix console user config set command 2021-05-02 20:05:07 +02:00
Matthew Exon
18762c8e6e When comparing config values, use strict string comparison 2021-05-01 21:46:30 +02:00
Matthew Exon
4858993024 Add error message when setting config to existing value 2021-05-01 21:10:10 +02:00
Philipp
020d893260
Fix PHP-Code-Style 2021-04-28 22:13:00 +02:00
Philipp
d1d5cb2857
Fixed new "user config" console feature
- Replaced "DI::" call with constructor injection
- Added return value for IPConfig::load() and PreloadPConfig::load()
2021-04-28 22:13:00 +02:00
Matthew Exon
5421f53a76 Add "user config" console command to administer user-specific configuration 2021-04-27 19:46:16 +02:00
Hypolite Petovan
53e38b0313
Merge pull request #10166 from mexon/mat/refactor-user-arguments
Refactor user console command to re-use common code
2021-04-26 13:00:07 -04:00
Tobias Diekershoff
2a431b580f Merge branch 'develop' of https://github.com/friendica/friendica into develop 2021-04-26 09:49:48 +02:00
Matthew Exon
471bb53746 Refactor user console command to re-use common code 2021-04-25 19:27:10 +02:00
Hypolite Petovan
d666b6cb42
Merge pull request #10116 from mexon/mat/addon-console-command
Add "addon" console command to enable and disable addons
2021-04-02 14:34:23 -04:00
Matthew Exon
492ac0c387 Remove unneeded parameters to console addon command 2021-04-02 20:17:12 +02:00
Matthew Exon
3545e9cfa8 Add "addon" console command to enable and disable addons 2021-04-02 18:56:24 +02:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
fabrixxm
a861eb65af Storage: small fixes to 'storage move'
- stop command if current storage backend is still "legacy"
- write destination backend name in log
2021-03-12 18:24:45 +01:00
Hypolite Petovan
3c4d3dc2d0 Skip empty message strings in Console\PoToPhp
- Fix issue with empty plurals not displaying the defaut translation string
2021-01-31 08:36:57 -05:00
Michael Vogel
56a77f5275
Merge pull request #9882 from MrPetovan/bug/po2php-plural-conversion
Remove ternary operators from converted .po plural condition
2021-01-31 11:43:25 +01:00
Michael
8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
Hypolite Petovan
3bb10b82a1 Remove ternary operators from converted .po plural condition
- Thanks @sunchaserinfo for most of the work
2021-01-29 20:01:14 -05:00
Michael
4cfcaa82c0 Fix relay handling 2021-01-09 19:19:20 +00:00
Michael
1e27396851 Improved help texts 2020-12-20 16:22:25 +00:00
Michael
246a90b0e6 Replaced tabs with spaces 2020-12-20 14:04:00 +00:00
Michael
6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
Hypolite Petovan
5f148dcb42 Add temporary console command to fix workerqueue row with corrupted parameter data
- It should be reverted just before the 2020.12 release
2020-12-15 00:20:49 -05:00
Michael
61ff99c410 Command line option to check initial values 2020-11-23 18:58:18 +00:00