Philipp
f03c5c7f89
implement feeback
2022-10-25 08:07:42 +02:00
Philipp
b5bc1b0844
Extend IHandleUserSessions
from IHandleSessions
and adapt classes
2022-10-23 20:41:17 +02:00
Philipp
7b3caca276
Update src/Content/Widget.php
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-21 19:35:34 +02:00
Philipp
44a9683008
Move "submanage" Session value into own methods
2022-10-21 19:35:34 +02:00
Philipp
cafb23f8f0
Reduce parentheses
2022-10-21 19:35:34 +02:00
Philipp
d76a2b6ad6
Move DI dependency for Content\Item class
2022-10-21 19:35:32 +02:00
Philipp
37ff477b55
Move DI dependency for App\Conversation class
2022-10-21 19:35:32 +02:00
Philipp
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model
2022-10-21 19:35:32 +02:00
Michael
cfbba97e0a
Fix Error: Uncaught Exception Error: "Class "Friendica\Content\Session" not found"
2022-10-19 19:16:01 +00:00
Hypolite Petovan
058abc0336
Simplify boolean statements in Content\Conversation
2022-10-19 08:05:31 -04:00
Michael
ee1acba9eb
old boot.php functions replaced in /src
2022-10-19 07:56:25 -04:00
Philipp
692566d93b
Fix ERROR IHandleSessions
2022-10-19 08:07:12 +02:00
Philipp
7ac86e49d1
Move Core\Session::get() to DI::session()->get()
2022-10-18 21:10:37 +02:00
Michael
ae82737445
Fix errors introduced by PR #11997
2022-10-18 18:32:20 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
Michael
6f68679375
The EOL constant is removed
2022-10-18 12:29:50 +00:00
Michael
9bac8153ae
Some more constants are moved to their specific classes
2022-10-17 09:24:32 +00:00
Michael
9ffa053c90
Merge remote-tracking branch 'upstream/develop' into linked-posts
2022-10-16 21:51:26 +00:00
Michael
f8f0dfa91a
Detect linked posts and add them as quote
2022-10-16 21:37:05 +00:00
Hypolite Petovan
e556dc3c31
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
2022-10-16 11:49:27 -04:00
Hypolite Petovan
d826fe0a3b
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
2022-10-16 11:48:28 -04:00
Michael
8e1af9277a
Improve quite generation
2022-10-15 13:00:52 +00:00
Roland Häder
ebf3b7e62d
Changes:
...
- Content\Item versus Model\Item solved (?)
2022-10-15 00:44:07 +02:00
Roland Häder
85ed0742cf
Fixed:
...
- Content\Item versus Model\Item is really confusing!
2022-10-15 00:44:07 +02:00
Roland Häder
8f92d1cc8e
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.
2022-10-15 00:44:07 +02:00
Roland Häder
da66730e4f
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
2022-10-15 00:44:06 +02:00
Michael
88aceeb27f
Merge remote-tracking branch 'upstream/2022.09-rc' into quote-uri-id
2022-10-14 19:11:15 +00:00
Michael
c2e57c5c0e
Return the pageinfo when feed is shared
2022-10-14 04:43:46 +00:00
Michael
e69b04d2df
Only add the media for non federated posts
2022-10-12 05:34:55 +00:00
Michael
0e82f64d71
Only attach images
2022-10-11 21:39:28 +00:00
Michael
f1f13db24f
Simplified code
2022-10-11 20:48:47 +00:00
Michael
68d6e11d83
Fix attached media in quoted posts
2022-10-11 20:10:39 +00:00
Michael
a67a364b91
Merge remote-tracking branch 'upstream/2022.09-rc' into quote-uri-id
2022-10-11 05:19:21 +00:00
Michael
747139d186
Quoted posts from Twitter now contain media again
2022-10-10 23:18:58 +00:00
Michael
aeb4645ba6
New field "quote-uri-id" for quoted posts
2022-10-10 22:39:30 +00:00
Michael
028de0e228
Quote of quotes are visually improved
2022-10-10 12:30:07 +00:00
Michael
0d3aa681b4
The quote functionality is simplified
2022-10-09 21:16:36 +00:00
Michael
4a37c978c2
Issue 11969: Simplified share
2022-10-08 09:36:35 +00:00
Michael
33d48f7d55
Use trim
2022-10-07 08:14:04 +00:00
Michael
f340fc6efa
Harmonized regular expression
2022-10-07 08:00:09 +00:00
Michael
f8d4ab1830
Whitespace removed
2022-10-07 07:55:44 +00:00
Michael
ef934db614
Moved the share interpretation
2022-10-07 07:41:03 +00:00
Michael
48182a95fb
Improve quote share ("message_id" added)
2022-10-06 21:50:20 +00:00
Michael
1afbcb2486
Added description
2022-10-02 23:55:33 +00:00
Michael
bf4c5ba84f
Improved URL handling
2022-10-02 20:42:21 +00:00
Michael
54d25ebc91
Fix picture link removal in "getAttachedData"
2022-10-01 22:26:37 +00:00
Michael
1e29c6f705
Ensure not to add the plink
2022-10-01 16:54:11 +00:00
Michael
2d6735a616
Issue 11953: Split a message in parts
2022-10-01 16:37:32 +00:00
Michael
297ddbb8c8
Added support for the "Youtube Shorts" URL
2022-09-26 07:04:35 +00:00
Hypolite Petovan
3e1b6890b7
Fix removing falsy text nodes in HTML::tagToBBCodeSub
...
- This wrongly removed text nodes containing just '0'
2022-09-24 22:03:49 -04:00