Commit graph

205 commits

Author SHA1 Message Date
Michael
8c901ebd74 Issue-11560: Fix error when creating avatar cache file 2022-05-26 19:06:16 +00:00
Michael
dadebdd061 Change output function 2022-05-25 05:24:31 +00:00
Michael Vogel
e5e509ea21 Calculate totals 2022-05-24 22:32:30 +02:00
Michael
2fbfc0633a Fixed placeholder 2022-05-24 20:12:39 +00:00
Michael
d3709d8497 Delete on invalid 2022-05-24 20:02:54 +00:00
Michael
9da0e637a3 Quit on invalid avatars 2022-05-24 19:47:49 +00:00
Michael
80adad3ad2 Additional method to fetch photo avatars 2022-05-24 19:41:38 +00:00
Michael
077c6ece64 Don't use a newline at the end 2022-05-24 17:51:28 +00:00
Michael
2ead69c7a5 Delete invalid photo data 2022-05-24 17:49:29 +00:00
Michael Vogel
0374f0e523 Use correct placeholder 2022-05-24 19:45:02 +02:00
Michael Vogel
eddfab7122 A space in front of a message looks better 2022-05-24 19:36:48 +02:00
Michael
f764ab7429 Improved messages 2022-05-24 17:33:10 +00:00
Michael
f16cb13dc7 Fixwd class description 2022-05-24 05:58:14 +00:00
Michael
7b91c4f333 Sorting by "id asc" makes more sense. 2022-05-23 15:31:37 +00:00
Michael
68599c7efa Some more code beauty 2022-05-23 12:44:21 +00:00
Michael
299c4df8f4 Convert to tabs 2022-05-23 12:35:44 +00:00
Michael
d658c81107 Code standards 2022-05-23 12:33:25 +00:00
Michael
d6242aacf6 Console command to move avatars to the avatar cache 2022-05-23 12:15:30 +00:00
Hypolite Petovan
419fe67c6c
Merge pull request #11265 from k-alin/6606-k-alin-mysql-unix-socket
Enable MySQL unix socket connection
2022-02-25 10:36:43 -05:00
k-alin
8a10b0c635 add socket to database settings in the autoinstaller 2022-02-25 15:01:02 +01:00
Hypolite Petovan
6a1f9a7fa3 Move unfollow protocol to worker task
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
Philipp
be240ca500
Config Console Show 'NULL' for null-values 2022-02-15 23:10:41 +01:00
Philipp
c588b280d7
Fix all license header & be less aggressive 2022-01-07 00:35:28 +01:00
Balázs Úr
733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
7c38647573
Cleanup namespace 2021-10-27 20:06:04 +02:00
Philipp
2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp
58eea1adaa
Cleanup namespaces 2021-10-26 22:11:10 +02:00
Philipp
b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
Philipp
ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Hypolite Petovan
8af86af3d9 Add new developer test console command 2021-10-26 11:42:22 -04:00
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
Michael
eff4d18209 Force removal from relay list 2020-09-29 05:06:37 +00:00
Michael
60b33cd3b1 Fix a type / add "list" command to relay cli 2020-09-21 07:42:53 +00:00
Michael
144ee09c43 Improved description 2020-09-17 04:36:32 +00:00
Michael
c8f02350b6 Changed class description 2020-09-16 18:38:36 +00:00
Michael Vogel
6c6cfa939d
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-16 20:23:27 +02:00
Michael
178455928a We can now manage relay servers and can send content to them 2020-09-15 17:45:19 +00:00
Michael
50b5483ee1 Ability to set the database version 2020-09-13 15:57:24 +00:00
Hypolite Petovan
e8cae80460 Fix fatal error in storage list console when default backend is used 2020-09-03 16:06:52 -04:00
Tobias Diekershoff
a213619365 removed additional / from comment block 2020-08-29 17:50:15 +02:00
Tobias Diekershoff
321121f213 change the search subcommand so that it fits the documentation 2020-08-26 09:31:21 +02:00
Tobias Diekershoff
3c0968a692 indentation 2020-08-08 15:49:25 +02:00
Tobias Diekershoff
ef0ecf243a fopen error messages 2020-08-08 08:47:21 +02:00
Tobias Diekershoff
1834f24c9f some small stuff 2020-08-08 08:35:34 +02:00
Tobias Diekershoff
afb167602b remove empty line 2020-08-07 12:51:14 +02:00
Tobias Diekershoff
97df01c938 update the test of the help text 2020-08-07 11:49:25 +02:00
Tobias Diekershoff
b191c8c11c spaces instead of tabs here 2020-07-19 09:58:31 +02:00
Tobias Diekershoff
c6c7c4e841 added CSV import/export of server blocklist 2020-07-19 09:49:17 +02:00
Hypolite Petovan
b4910066b6 Rename -q option to -y for user delete console command
- Name was misleading, it isn't quiet mode but non-interactive mode
2020-07-06 15:25:49 -04:00