Commit graph

243 commits

Author SHA1 Message Date
Hypolite Petovan
4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
Philipp
f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Roland Häder
03e09627e4
Used $this->isThreaded() instead as suggested by @MrPetovan 2022-10-26 17:59:07 +02:00
Roland Häder
3c50d5b70f
Changes:
- made code more readable
2022-10-26 01:31:34 +02:00
Roland Häder
2f1336339f
Changes:
- added missing type-hints
- added missing documentation
- changed double-quotes to single
- Setters do ALWAYS return void
2022-10-26 01:29:01 +02:00
Philipp
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model 2022-10-21 19:35:32 +02:00
Michael
11944dda32 old boot.php functions replaced in various places 2022-10-19 07:44:08 -04:00
Philipp
7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +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
Roland Häder
83cbe586ac
Changes
- renamed Item::visibleActivity() to Item::isVisibleActivity() as this returns
  a boolean value
- added some type-hints
- added some documentation
2022-06-30 14:18:13 +02:00
Roland Häder
fd8f4269ff
Reformatted code 2022-06-23 17:30:17 +02:00
Roland Häder
d8ff966d21
Throw IAE again (should never become visible) 2022-06-23 17:30:13 +02:00
Roland Häder
35c78ce14c
Ops, cannot return Thread? 2022-06-23 17:30:12 +02:00
Roland Häder
c2e26b4f49
Changed:
- Introduced InvalidArgumentException (should never come)
- added type-hints
2022-06-23 17:30:12 +02:00
Roland Häder
bff57bb030
Changes:
- added type-hints
- added returned type-hints in interface (I checked all)
2022-06-19 14:00:31 +02:00
Michael
4108704ee3 Fix: Only public posts can be pinned 2022-06-04 06:11:32 +00:00
Michael
fae414fedd Fix local avatar, improve speed for fetching cached photos 2022-05-10 18:18:24 +00:00
Michael
e3692c0105 Replaced check with hardwired path 2022-05-09 04:26:00 +00:00
Michael
f220e26f00 Use new function to check for a local avatar cache file 2022-05-08 10:32:29 +00:00
Michael
d3de2497bc Use gsid for the network name 2022-04-29 07:47:24 +00:00
Michael
d44641e58c Fetch avatar by id 2022-04-29 07:30:13 +00:00
Michael
1326239576 Reduce the amount of queries 2022-04-29 05:32:12 +00:00
Michael
94a8f430e3 Avoid warning " Undefined variable $browsershare" 2022-04-20 12:03:09 +00:00
Michael
62b31900a6 Renamed "share" with "share via" 2022-04-19 21:04:55 +00:00
Michael
75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Michael
13addaf901 Always provide the title variable 2022-03-22 07:07:33 +00:00
Michael
be016b0c45 Prioritize the title over the content warning 2022-03-22 07:00:44 +00:00
Michael
903bc9b679 Improved support for Mastodon style content warnings 2022-03-06 11:49:55 +00:00
Michael
39e820e6a3 Display the post receivers 2022-02-20 19:25:55 +00:00
Michael
c867581530 Store the receivers of a post in the tags 2022-02-19 13:31:49 +00:00
Hypolite Petovan
f2af985350 [frio] Add a conditional browser share button 2022-01-09 12:31:54 -05:00
Hypolite Petovan
18b32b68aa [frio] Add connector-based privacy display 2022-01-09 12:17:52 -05:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael
24ee87224f Replaced deprecated "log" function call 2021-11-03 23:19:24 +00:00
Michael
0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
Philipp
a65fbcebe7
Fixing #10699 (prohibits blocking and ignoreing from the photo menu) 2021-09-12 21:20:12 +02:00
Michael
473adaf463 Mark, file and starring does now work for all items 2021-08-12 05:28:47 +00:00
Michael
c81e81dc8d "getUserId" is now "getLoggedInUserId" 2021-08-09 20:33:46 +00:00
Michael
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael
8f46064430 Using getter/setter functions 2021-07-24 20:34:07 +00:00
Michael
30aad250df App->contact is now removed 2021-07-24 11:49:11 +00:00
Michael
2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
Michael
09aa496387 Some more places changed to the new contact avatar path format 2021-06-30 16:58:46 +00:00
Michael
19aef93560 Unified avatar paths 2021-06-29 20:26:58 +00:00
Michael
050bc673aa Issue 10264: Remote comments for visitors 2021-05-23 10:39:11 +00:00
Hypolite Petovan
cac038639d Capitalize post action translation strings 2021-05-11 16:01:07 -04:00
Tobias Diekershoff
7789ea2507
Merge pull request #10228 from MrPetovan/bug/warnings
[PHP 8] Fix undefined template variables
2021-05-11 06:10:29 +02:00
Hypolite Petovan
10e5630988 Don't assume $a->contact is populated in Object\Post::getCommentBox
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-837238584
- This might reveal some side-effect
2021-05-10 22:03:51 -04:00
Hypolite Petovan
9ef9fc7c14 Skip URL-less mention terms in Object\Post::getDefaultText
- Address https://github.com/friendica/friendica/issues/10167#issuecomment-830859710
- Added logging to troubleshoot deeper issue
2021-05-10 21:50:42 -04:00
Hypolite Petovan
2c6bf754d5 Fix undefined variables in wall_thread.tpl
- Remove unused "num_comments_text" template variable
- Remove unused "item.postops" template variable mention
2021-05-10 18:59:09 -04:00