Art4
0e59dba914
Fix code style
2025-01-13 13:31:54 +00:00
Art4
5b4faf811f
Replace Logger with DI::logger() in Model Contact classes
2025-01-13 10:04:49 +00:00
Art4
2c801abb06
Fix errors in Model namespace
2024-12-03 22:46:40 +00:00
Michael
c85d979fea
Preparation for the Bluesky Jetstream firehose
2024-11-24 06:51:00 +00:00
Michael
d867d73a23
Improved block behaviour
2024-10-20 08:33:16 +00:00
Tobias Diekershoff
30a5ef33b0
REUSE src directory
2024-08-24 15:27:00 +02:00
Michael
131e330e61
Issue 14349: Fix profile page for unrelated contacts
2024-08-11 06:44:24 +00:00
Michael
3d267c7b8f
Possibility to mark contacts as "channel only"
2024-03-21 13:20:52 +00:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Michael
e4a37f344e
Individual callstacks are removed from the logger
2023-10-18 19:55:15 +00:00
Michael
ae3925bba5
Visibility is frequency
2023-09-17 17:42:15 +00:00
Michael
aa6eb7fcf1
Visiblity is now frequency
2023-09-16 04:20:38 +00:00
Michael
229e7dcee5
Channel visibility rules can now be set for each contact
2023-09-12 10:55:33 +00:00
Michael
a42ddafbbb
Ensure to store user-contact / display contact relations
2023-05-29 06:41:07 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Philipp
d74e57ef2c
include suggested changes
2022-07-13 00:23:12 +02:00
Philipp
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Roland Häder
8e19998191
Fixes:
...
- more "bool expected but null returned" errors
2022-06-27 13:49:53 +02:00
Roland Häder
7c049abfda
Fixed:
...
- Contact/User::isBlocked() needs to return boolean, but sometimes (strangely)
a NULL can come from database, so let's cast it
This tries to fix:
TypeError: "Return value of Friendica\Model\Contact\User::isBlocked() must be of the type bool, null returned"
2022-06-27 11:39:18 +02:00
Roland Häder
fd8f4269ff
Reformatted code
2022-06-23 17:30:17 +02:00
Roland Häder
b8353a6eb7
Changes:
...
- reformatted some array
- added missing documentation
- added type-hints
- changed double-quotes to single
2022-06-23 17:30:14 +02:00
Michael
c0b3c527d6
Added processing of incoming block notices
2022-04-05 19:14:29 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Hypolite Petovan
f7714c09e6
Fix user-contact rows not being updated in Contact\User::updateByContactUpdate
...
- Add new update function to regenerate potentially outdated user-contact rows
2021-11-21 18:59:37 -05:00
Hypolite Petovan
479458a389
Add missing parameters to Contact::block/unblock
2021-10-09 02:09:01 -04:00
Hypolite Petovan
66fec8944f
Add block and unblock hooks
2021-10-02 17:30:40 -04:00
Michael
2926282f8d
More fields added to "user-contact"
2021-09-13 14:20:20 +00:00
Michael
3eea4b1130
Use "rel" for "self" instead of using a separate field
2021-09-12 19:04:27 +00:00
Michael
eeec6aaeb9
Removed unused "use"
2021-09-11 13:02:36 +00:00
Michael
1e123ace12
Only fetch, not probe
2021-09-11 13:00:12 +00:00
Michael
10cb52bc00
Only add user contacts, alternate way to fetch public contact id
2021-09-11 12:43:46 +00:00
Michael
5113987031
Added update function to add user-contact entry
2021-09-11 07:59:46 +00:00
Michael
f33a98578d
Capitalization
2021-09-10 23:59:33 +00:00
Michael
b170dd765d
Insert and update some more fields
2021-09-10 20:53:10 +00:00
Michael
2486c8031b
update for user-contact is added
2021-09-10 20:22:24 +00:00
Michael
a4b0ab90b1
Insert a user-contact
for every contact
2021-09-10 13:05:16 +00:00
Michael
d267ba999c
We now use the new account-user-view (and fixed the function name)
2021-07-11 09:39:34 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
ffc364f2a4
Reject replies when author is blocked by thread owner in Model\Item::insert
...
- Move user-level item permission to Model\Item::isAllowedByUser
- Add user-level check for comments on top-level item
2020-11-14 10:08:50 -05:00
Michael
a7d75702cc
"Contact\User" class created
2020-08-04 04:47:02 +00:00