]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoold boot.functions replaced in /mod
Michael [Wed, 19 Oct 2022 04:14:42 +0000 (04:14 +0000)]
old boot.functions replaced in /mod

2 years agoFix errors introduced by PR #11997
Michael [Tue, 18 Oct 2022 18:32:20 +0000 (18:32 +0000)]
Fix errors introduced by PR #11997

2 years agoMerge pull request #11996 from Quix0r/fixes/get-relative-time-null-parameter
Hypolite Petovan [Tue, 18 Oct 2022 16:33:51 +0000 (12:33 -0400)]
Merge pull request #11996 from Quix0r/fixes/get-relative-time-null-parameter

Fixed: "Argument 1 passed to Friendica\Util\Temporal::getRelativeDate() must be of the type string, null given"

2 years agoChanged:
Roland Häder [Tue, 18 Oct 2022 16:20:08 +0000 (18:20 +0200)]
Changed:
- re-added `null` again https://github.com/friendica/friendica/pull/11900#discussion_r979248182
- removed null coalescing operator

2 years agoChanged according feedback:
Roland Häder [Sat, 24 Sep 2022 12:11:46 +0000 (14:11 +0200)]
Changed according feedback:
- $posted_date should not allow NULL, instead use `?? ''` instead
- this happened in e.g. 2FA app-specific password listing

2 years agoChanged:
Roland Häder [Sun, 11 Sep 2022 20:46:40 +0000 (22:46 +0200)]
Changed:
- first parameter can be null

2 years agoMerge pull request #11997 from Quix0r/rewrite/gravity-constants
Hypolite Petovan [Tue, 18 Oct 2022 15:31:51 +0000 (11:31 -0400)]
Merge pull request #11997 from Quix0r/rewrite/gravity-constants

Moved GRAVITY_* constants to Item model class

2 years agoOps, code-convention not followed
Roland Häder [Tue, 18 Oct 2022 14:33:33 +0000 (16:33 +0200)]
Ops, code-convention not followed

2 years agoMerge branch 'develop' into rewrite/gravity-constants
Roland Häder [Tue, 18 Oct 2022 14:34:40 +0000 (16:34 +0200)]
Merge branch 'develop' into rewrite/gravity-constants

2 years agoAdded missing `use` statement (again), thanks to @MrPetovan
Roland Häder [Tue, 18 Oct 2022 14:25:26 +0000 (16:25 +0200)]
Added missing `use` statement (again), thanks to @MrPetovan

Yes, we need more unit-testing! Not only to rely on your IDE that it will locate
it for you.

2 years agoAdded missing `use` statement, thanks to @MrPetovan
Roland Häder [Tue, 18 Oct 2022 14:19:11 +0000 (16:19 +0200)]
Added missing `use` statement, thanks to @MrPetovan

2 years agoMerge pull request #12016 from annando/no-eol
Hypolite Petovan [Tue, 18 Oct 2022 14:16:12 +0000 (10:16 -0400)]
Merge pull request #12016 from annando/no-eol

The EOL constant is removed

2 years agoThe EOL constant is removed
Michael [Tue, 18 Oct 2022 12:29:50 +0000 (12:29 +0000)]
The EOL constant is removed

2 years agoMerge pull request #12012 from nupplaphil/feat/move_monolog
Hypolite Petovan [Tue, 18 Oct 2022 11:31:59 +0000 (07:31 -0400)]
Merge pull request #12012 from nupplaphil/feat/move_monolog

Move Monolog to Addons

2 years agoMerge pull request #12014 from annando/usertosession
Hypolite Petovan [Tue, 18 Oct 2022 11:30:21 +0000 (07:30 -0400)]
Merge pull request #12014 from annando/usertosession

The user related functions moved to the session class

2 years agoMerge pull request #12015 from annando/proc-access
Tobias Diekershoff [Tue, 18 Oct 2022 09:14:19 +0000 (11:14 +0200)]
Merge pull request #12015 from annando/proc-access

Check the readability before acessing /proc/loadavg

2 years agoCheck the readability before acessing /proc/loadavg
Michael [Tue, 18 Oct 2022 08:02:55 +0000 (08:02 +0000)]
Check the readability before acessing /proc/loadavg

2 years agoApply suggestions from code review
Michael Vogel [Tue, 18 Oct 2022 05:57:59 +0000 (07:57 +0200)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoSIGTERM moved
Michael [Tue, 18 Oct 2022 04:35:06 +0000 (04:35 +0000)]
SIGTERM moved

2 years agoThe user related functions moved to the session class
Michael [Mon, 17 Oct 2022 21:11:00 +0000 (21:11 +0000)]
The user related functions moved to the session class

2 years agoMove Monolog to Addons
Philipp [Mon, 17 Oct 2022 19:25:04 +0000 (21:25 +0200)]
Move Monolog to Addons

2 years agoMerge pull request #12010 from annando/notice
Hypolite Petovan [Mon, 17 Oct 2022 19:13:07 +0000 (15:13 -0400)]
Merge pull request #12010 from annando/notice

Notice and Info is moved

2 years agoThe notice and info have been moved
Michael [Mon, 17 Oct 2022 18:55:22 +0000 (18:55 +0000)]
The notice and info have been moved

2 years agoMerge remote-tracking branch 'upstream/develop' into notice
Michael [Mon, 17 Oct 2022 13:32:10 +0000 (13:32 +0000)]
Merge remote-tracking branch 'upstream/develop' into notice

2 years agoMerge pull request #12007 from annando/more-constants
Philipp [Mon, 17 Oct 2022 12:27:59 +0000 (14:27 +0200)]
Merge pull request #12007 from annando/more-constants

The friendica constants have been moved to the app class

2 years agoFix wrong constant
Michael [Mon, 17 Oct 2022 11:28:54 +0000 (11:28 +0000)]
Fix wrong constant

2 years agoReplace "notice" calls
Michael [Mon, 17 Oct 2022 11:27:32 +0000 (11:27 +0000)]
Replace "notice" calls

2 years agoThe friendica constants have been moved to the app class
Michael [Mon, 17 Oct 2022 10:37:48 +0000 (10:37 +0000)]
The friendica constants have been moved to the app class

2 years agoMerge pull request #12006 from annando/constants
Tobias Diekershoff [Mon, 17 Oct 2022 09:42:13 +0000 (11:42 +0200)]
Merge pull request #12006 from annando/constants

Some more constants are moved to their specific classes

2 years agoUpdated messages.po
Michael [Mon, 17 Oct 2022 09:33:29 +0000 (09:33 +0000)]
Updated messages.po

2 years agoSome more constants are moved to their specific classes
Michael [Mon, 17 Oct 2022 09:24:32 +0000 (09:24 +0000)]
Some more constants are moved to their specific classes

2 years agoMerge pull request #12005 from tobiasd/20221017-de
Michael Vogel [Mon, 17 Oct 2022 06:30:32 +0000 (08:30 +0200)]
Merge pull request #12005 from tobiasd/20221017-de

DE translation update

2 years agoDE translation update
Tobias Diekershoff [Mon, 17 Oct 2022 06:27:48 +0000 (08:27 +0200)]
DE translation update

2 years agoMerge pull request #12004 from annando/priorities
Tobias Diekershoff [Mon, 17 Oct 2022 06:00:14 +0000 (08:00 +0200)]
Merge pull request #12004 from annando/priorities

The priority is now a class constant

2 years agoThe priority is now a class constant
Michael [Mon, 17 Oct 2022 05:49:55 +0000 (05:49 +0000)]
The priority is now a class constant

2 years agoMerge pull request #12003 from annando/linked-posts
Hypolite Petovan [Mon, 17 Oct 2022 00:04:56 +0000 (20:04 -0400)]
Merge pull request #12003 from annando/linked-posts

Detect linked posts and add them as quote

2 years agoMerge remote-tracking branch 'upstream/develop' into linked-posts
Michael [Sun, 16 Oct 2022 21:51:26 +0000 (21:51 +0000)]
Merge remote-tracking branch 'upstream/develop' into linked-posts

2 years agoMerge pull request #12002 from MrPetovan/task/11941-compose-setting
Michael Vogel [Sun, 16 Oct 2022 21:50:37 +0000 (23:50 +0200)]
Merge pull request #12002 from MrPetovan/task/11941-compose-setting

[frio] Add new frio.always_open_compose setting

2 years agoImproved database.sql
Michael [Sun, 16 Oct 2022 21:43:48 +0000 (21:43 +0000)]
Improved database.sql

2 years agoDetect linked posts and add them as quote
Michael [Sun, 16 Oct 2022 21:37:05 +0000 (21:37 +0000)]
Detect linked posts and add them as quote

2 years agoUpdated main translation file after adding strings
Hypolite Petovan [Sun, 16 Oct 2022 17:21:43 +0000 (13:21 -0400)]
Updated main translation file after adding strings

2 years agoAdd new frio.always_open_compose setting
Hypolite Petovan [Sun, 16 Oct 2022 15:49:27 +0000 (11:49 -0400)]
Add new frio.always_open_compose setting

- This setting allows the New Post button to always open the Compose page instead of the modal by default

2 years agoRefactor files related to the Compose page and frio theme settings
Hypolite Petovan [Sun, 16 Oct 2022 15:24:50 +0000 (11:24 -0400)]
Refactor files related to the Compose page and frio theme settings

- Use dependencies instead of most DI calls in Module\Item\Compose
- Group translation strings in a subkey of the template variables array
- Rewrite array initializations in theme/frio/config

2 years agoMerge pull request #12001 from tobiasd/20221016-docsmysql
Hypolite Petovan [Sun, 16 Oct 2022 12:38:58 +0000 (08:38 -0400)]
Merge pull request #12001 from tobiasd/20221016-docsmysql

[docs] note the preference of MariaDB over other MySQL implementation…

2 years ago[docs] note the preference of MariaDB over other MySQL implementation in the install...
Tobias Diekershoff [Sun, 16 Oct 2022 08:14:18 +0000 (10:14 +0200)]
[docs] note the preference of MariaDB over other MySQL implementation in the install docs

2 years agoMerge pull request #12000 from tobiasd/20221015-vagrant
Hypolite Petovan [Sat, 15 Oct 2022 16:23:37 +0000 (12:23 -0400)]
Merge pull request #12000 from tobiasd/20221015-vagrant

updates to the vagrant VM provision and config

2 years agoadopt IP change in the Vagrant docs
Tobias Diekershoff [Sat, 15 Oct 2022 15:33:47 +0000 (17:33 +0200)]
adopt IP change in the Vagrant docs

2 years agochange IP of Vagrant VM
Tobias Diekershoff [Sat, 15 Oct 2022 15:31:57 +0000 (17:31 +0200)]
change IP of Vagrant VM

2 years agoMerge pull request #11999 from annando/quote-uri-id
Hypolite Petovan [Sat, 15 Oct 2022 13:11:22 +0000 (09:11 -0400)]
Merge pull request #11999 from annando/quote-uri-id

Improve quote generation

2 years agoImprove quite generation
Michael [Sat, 15 Oct 2022 13:00:52 +0000 (13:00 +0000)]
Improve quite generation

2 years agoMerge pull request #11995 from annando/quote-uri-id
Hypolite Petovan [Sat, 15 Oct 2022 12:51:24 +0000 (08:51 -0400)]
Merge pull request #11995 from annando/quote-uri-id

New field "quote-uri-id" for quoted posts

2 years agoadded PHP GMP module to the installation section of the Vagrant VM provision
Tobias Diekershoff [Sat, 15 Oct 2022 07:25:11 +0000 (09:25 +0200)]
added PHP GMP module to the installation section of the Vagrant VM provision

2 years agoUpdated database.sql and messages.po
Michael [Fri, 14 Oct 2022 22:48:03 +0000 (22:48 +0000)]
Updated database.sql and messages.po

2 years agoRewrites:
Roland Häder [Mon, 12 Sep 2022 22:09:18 +0000 (00:09 +0200)]
Rewrites:
From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````

2 years agoChanges:
Roland Häder [Mon, 12 Sep 2022 21:38:14 +0000 (23:38 +0200)]
Changes:
- Content\Item versus Model\Item solved (?)

2 years agoFixed:
Roland Häder [Mon, 12 Sep 2022 21:31:36 +0000 (23:31 +0200)]
Fixed:
- Content\Item versus Model\Item is really confusing!

2 years agoChanges:
Roland Häder [Mon, 12 Sep 2022 21:27:54 +0000 (23:27 +0200)]
Changes:
- unified class import, we had these both:

````
use Friendica\Model\Item as ModelItem;
use Friendica\Object\Post as PostObject;
````

In first version the namespace was prefixing class name, in second suffixing it.

2 years agoRewrite:
Roland Häder [Mon, 12 Sep 2022 21:12:11 +0000 (23:12 +0200)]
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints

2 years agoMerge remote-tracking branch 'upstream/develop' into quote-uri-id
Michael [Fri, 14 Oct 2022 22:03:32 +0000 (22:03 +0000)]
Merge remote-tracking branch 'upstream/develop' into quote-uri-id

2 years agoCheck for post existence
Michael [Fri, 14 Oct 2022 22:02:25 +0000 (22:02 +0000)]
Check for post existence

2 years agoMerge remote-tracking branch 'upstream/2022.09-rc' into quote-uri-id
Michael [Fri, 14 Oct 2022 19:11:15 +0000 (19:11 +0000)]
Merge remote-tracking branch 'upstream/2022.09-rc' into quote-uri-id

2 years agorenewed the expiration date for the security.txt file
Tobias Diekershoff [Fri, 14 Oct 2022 18:54:05 +0000 (20:54 +0200)]
renewed the expiration date for the security.txt file

2 years agoprepare the CHANGELOG for 2022.12
Tobias Diekershoff [Fri, 14 Oct 2022 18:52:58 +0000 (20:52 +0200)]
prepare the CHANGELOG for 2022.12

2 years agobump version to 2022.12-dev
Tobias Diekershoff [Fri, 14 Oct 2022 18:52:38 +0000 (20:52 +0200)]
bump version to 2022.12-dev

2 years agoFriendica version 2022.10
Tobias Diekershoff [Fri, 14 Oct 2022 18:49:17 +0000 (20:49 +0200)]
Friendica version 2022.10

2 years agoset the release date for the 2022.10 release in the CHANGELOG
Tobias Diekershoff [Fri, 14 Oct 2022 18:48:08 +0000 (20:48 +0200)]
set the release date for the 2022.10 release in the CHANGELOG

2 years agoMerge pull request #11913 from tobiasd/2022.09-CHANGELOG
Tobias Diekershoff [Fri, 14 Oct 2022 18:40:31 +0000 (20:40 +0200)]
Merge pull request #11913 from tobiasd/2022.09-CHANGELOG

Updates for the CHANGELOG for 2022.09

2 years agoMerge pull request #11990 from annando/share-feed
Tobias Diekershoff [Fri, 14 Oct 2022 06:01:09 +0000 (08:01 +0200)]
Merge pull request #11990 from annando/share-feed

Return the pageinfo when feed is shared

2 years agoReturn the pageinfo when feed is shared
Michael [Fri, 14 Oct 2022 04:43:46 +0000 (04:43 +0000)]
Return the pageinfo when feed is shared

2 years agoadded fix for quoted shares from Twitter to the CHANGELOG
Tobias Diekershoff [Thu, 13 Oct 2022 07:53:58 +0000 (09:53 +0200)]
added fix for quoted shares from Twitter to the CHANGELOG

2 years agoMerge pull request #11989 from annando/quote-again
Philipp [Wed, 12 Oct 2022 06:27:17 +0000 (08:27 +0200)]
Merge pull request #11989 from annando/quote-again

Only add images for non-federated quote shares

2 years agoMerge remote-tracking branch 'upstream/2022.09-rc' into quote-again
Michael [Wed, 12 Oct 2022 05:36:00 +0000 (05:36 +0000)]
Merge remote-tracking branch 'upstream/2022.09-rc' into quote-again

2 years agoOnly add the media for non federated posts
Michael [Wed, 12 Oct 2022 05:34:55 +0000 (05:34 +0000)]
Only add the media for non federated posts

2 years agoMerge pull request #11988 from MrPetovan/bug/notices
Michael Vogel [Wed, 12 Oct 2022 05:26:15 +0000 (07:26 +0200)]
Merge pull request #11988 from MrPetovan/bug/notices

Add missing post keys to retrieve pLink in Model\Event::prepareListForTemplate()

2 years agoAdd missing post keys to retrieve pLink in Model\Event::prepareListForTemplate()
Hypolite Petovan [Wed, 12 Oct 2022 02:08:54 +0000 (22:08 -0400)]
Add missing post keys to retrieve pLink in Model\Event::prepareListForTemplate()

- Address https://github.com/friendica/friendica/issues/11632#issuecomment-1275117722

2 years agoMerge pull request #11987 from annando/quoted-media
Hypolite Petovan [Tue, 11 Oct 2022 23:54:44 +0000 (19:54 -0400)]
Merge pull request #11987 from annando/quoted-media

Fix attached media in quoted posts

2 years agoOnly attach images
Michael [Tue, 11 Oct 2022 21:39:28 +0000 (21:39 +0000)]
Only attach images

2 years agoSimplified code
Michael [Tue, 11 Oct 2022 20:48:47 +0000 (20:48 +0000)]
Simplified code

2 years agoFix attached media in quoted posts
Michael [Tue, 11 Oct 2022 20:10:39 +0000 (20:10 +0000)]
Fix attached media in quoted posts

2 years agoMerge pull request #11983 from MrPetovan/bug/fatal-errors
Philipp [Tue, 11 Oct 2022 15:52:17 +0000 (17:52 +0200)]
Merge pull request #11983 from MrPetovan/bug/fatal-errors

Contact array can be empty in Model\Contact::getAvatarPath

2 years agoContact array can be empty in Model\Contact::getAvatarPath
Hypolite Petovan [Tue, 11 Oct 2022 12:26:00 +0000 (08:26 -0400)]
Contact array can be empty in Model\Contact::getAvatarPath

- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1274195844

2 years agoMerge remote-tracking branch 'upstream/2022.09-rc' into quote-uri-id
Michael [Tue, 11 Oct 2022 05:19:21 +0000 (05:19 +0000)]
Merge remote-tracking branch 'upstream/2022.09-rc' into quote-uri-id

2 years agoMerge pull request #11982 from annando/fix-quote
Hypolite Petovan [Tue, 11 Oct 2022 01:53:19 +0000 (21:53 -0400)]
Merge pull request #11982 from annando/fix-quote

Quoted posts from Twitter now contain media again

2 years agoQuoted posts from Twitter now contain media again
Michael [Mon, 10 Oct 2022 23:18:58 +0000 (23:18 +0000)]
Quoted posts from Twitter now contain media again

2 years agoNew field "quote-uri-id" for quoted posts
Michael [Mon, 10 Oct 2022 22:39:30 +0000 (22:39 +0000)]
New field "quote-uri-id" for quoted posts

2 years agoMerge pull request #11981 from annando/better-quote
Hypolite Petovan [Mon, 10 Oct 2022 13:46:47 +0000 (09:46 -0400)]
Merge pull request #11981 from annando/better-quote

Quote of quotes are visually improved

2 years agoQuote of quotes are visually improved
Michael [Mon, 10 Oct 2022 12:30:07 +0000 (12:30 +0000)]
Quote of quotes are visually improved

2 years agoMerge pull request #11980 from annando/cooldown
Tobias Diekershoff [Mon, 10 Oct 2022 10:17:45 +0000 (12:17 +0200)]
Merge pull request #11980 from annando/cooldown

Use "maxloadavg" when "worker_load_cooldown" is not defined

2 years agoUse "maxloadavg" when "worker_load_cooldown" is not defined
Michael [Mon, 10 Oct 2022 06:01:07 +0000 (06:01 +0000)]
Use "maxloadavg" when "worker_load_cooldown" is not defined

2 years agoadded new API endpoint for events to the CHANGELOG
Tobias Diekershoff [Mon, 10 Oct 2022 05:57:12 +0000 (07:57 +0200)]
added new API endpoint for events to the CHANGELOG

2 years agotypo
Tobias Diekershoff [Mon, 10 Oct 2022 05:36:43 +0000 (07:36 +0200)]
typo

2 years agoMerge pull request #11979 from annando/issue-11853
Hypolite Petovan [Sun, 9 Oct 2022 21:45:33 +0000 (17:45 -0400)]
Merge pull request #11979 from annando/issue-11853

Notices

2 years agoMerge pull request #11978 from annando/quote-simplified
Hypolite Petovan [Sun, 9 Oct 2022 21:26:22 +0000 (17:26 -0400)]
Merge pull request #11978 from annando/quote-simplified

The quote functionality is simplified

2 years agoThe quote functionality is simplified
Michael [Sun, 9 Oct 2022 21:16:36 +0000 (21:16 +0000)]
The quote functionality is simplified

2 years agoMerge pull request #11977 from MrPetovan/bug/11938-exotic-date-time-formats
Michael Vogel [Sun, 9 Oct 2022 15:16:01 +0000 (17:16 +0200)]
Merge pull request #11977 from MrPetovan/bug/11938-exotic-date-time-formats

Add a couple new cases to DateTimeFormat::fix()

2 years agosome updates for the CHANGELOG
Tobias Diekershoff [Sun, 9 Oct 2022 14:01:02 +0000 (16:01 +0200)]
some updates for the CHANGELOG

2 years agoAdd a couple of cases to DateTimeFormat::fix()
Hypolite Petovan [Sun, 9 Oct 2022 13:24:06 +0000 (09:24 -0400)]
Add a couple of cases to DateTimeFormat::fix()

- Reworked method to perform more string replacements and fewer regular expression matches

2 years agoOnly call DateTimeFormat::fix() when there's an Exception
Hypolite Petovan [Sun, 9 Oct 2022 04:23:09 +0000 (00:23 -0400)]
Only call DateTimeFormat::fix() when there's an Exception

- This prevents valid date/time strings to be mangled by fix()

2 years agoMerge pull request #11973 from MrPetovan/task/test-fixDateFormat
Michael Vogel [Sat, 8 Oct 2022 15:11:10 +0000 (17:11 +0200)]
Merge pull request #11973 from MrPetovan/task/test-fixDateFormat

Add tests for DateTimeFormat::fix()

2 years agoMerge pull request #11976 from annando/issue-11975
Hypolite Petovan [Sat, 8 Oct 2022 14:48:57 +0000 (10:48 -0400)]
Merge pull request #11976 from annando/issue-11975

Issue 11975: Don't call the postupdate if the table is missing