Commit graph

491 commits

Author SHA1 Message Date
Michael
e826a4dafd We now use a constant 2021-03-08 18:57:19 +00:00
Michael
409a8322a8 Issue 9996: "bd" is a date field it cannot be empty 2021-03-08 18:50:50 +00:00
Michael
d2c734c025 Issue 9986: Improve contact search 2021-03-06 21:52:26 +00:00
Michael
d78345e694 Issue 9968: Avoid blocking update calls 2021-03-06 16:52:36 +00:00
Michael
5f48d6497e Fix slow queries 2021-03-01 22:19:47 +00:00
Michael
a1e2794c64 Avoid lock problems, fix foreign key problems with contact-relation 2021-02-28 17:56:56 +00:00
Michael Vogel
1935ec566a Avoid endless loop with the MagicLink 2021-02-21 20:51:00 +01:00
Michael
312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Hypolite Petovan
2ef4972782 Fix capitalization of Contact::magicLinkById calls 2020-12-22 01:01:43 -05:00
Michael
a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
Michael
297118f902 Archive/Unarchive at ActivityPub delivery 2020-12-12 16:45:23 +00:00
Michael
e17ca9cc35 Check for remote default avatars as well 2020-12-07 07:14:09 +00:00
Michael
a49a35f459 Centralized fetching of the default avatar 2020-12-07 06:43:43 +00:00
Michael
9f96f3ef34 Moved updating personal contacts to updatecontact 2020-12-04 05:53:11 +00:00
Michael
ccc07b06de Issue 9329: prevent "Expression #1 of SELECT list is not in GROUP BY clause" 2020-11-30 20:44:21 +00:00
Michael
5f1ea39bad Display posts that are reshared by the contact 2020-11-29 20:42:03 +00:00
Michael
bda5d43f1e New "remote self" option: Native Reshare 2020-11-28 22:53:58 +00:00
Michael
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Michael
3ffd40c7da OnePoll reworked, improved "failed" behaviour 2020-11-22 14:42:24 +00:00
Michael
303aaa00ca Mode switch for insert 2020-11-19 19:34:48 +00:00
Hypolite Petovan
93380b8471 Suppress notice while logging in Model\Contact
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-716042132
2020-11-17 17:57:37 -05:00
Michael
0384bf3e76 Relay code reworked to support AP delivery 2020-11-15 23:28:05 +00:00
Michael
43749c3069 The "attach" field is now deprecated 2020-11-07 08:22:59 +00:00
Michael
da370c44ba Added lock for contacts, improved logging 2020-10-30 17:26:12 +00:00
Michael
33575a94fa Follow/Unfollow contact with a single click 2020-10-20 03:49:58 +00:00
Michael
bb676f780c Changed documentation 2020-10-06 20:36:57 +00:00
Michael
5580b148a6 Added description 2020-10-06 19:51:51 +00:00
Michael
5998c3995e Issue-9358 (now for real) commenting and updating on contact now work 2020-10-06 18:47:23 +00:00
Michael
d504789c34 Reduce the amount of contact updates 2020-10-03 10:52:34 +00:00
Philipp
97f07b7518
Merge pull request #9334 from annando/endless-scroll
Endless scrolling for searches and contact comments
2020-10-01 23:04:56 +02:00
Michael
88a0e976da Endless scrolling for searches and contact comments 2020-09-30 19:14:13 +00:00
Michael
5dd426f526 Added option to stay on the local machine when clicking on a contact link 2020-09-30 17:30:26 +00:00
Tobias Diekershoff
317196b6e2
Merge pull request #9324 from annando/endless-contact
Endless scrolling on contact page
2020-09-30 07:19:16 +02:00
Michael
887732b605 Endless scrolling on contact pages 2020-09-29 20:47:19 +00:00
Michael
eff4d18209 Force removal from relay list 2020-09-29 05:06:37 +00:00
Michael
0b1a97ca9c Contact posts: Only display reshared posts when they are the causer 2020-09-28 15:20:08 +00:00
Michael
9c675c3f01 Fix the key fields in the self contacts 2020-09-26 20:59:28 +00:00
Michael
84a9a5b174 Fixes several notices 2020-09-19 03:16:26 +00:00
Michael
04b6f00ca9 Simplifications 2020-09-02 07:14:01 +00:00
Michael
a2e4a0170b Changed field origin 2020-09-02 03:13:10 +00:00
Michael
cbf1e5c699 New field "manually-approve" for contact table 2020-09-02 03:02:50 +00:00
Michael
9cf6a8e945 ActivityPub accounts don't need a "poll" endpoint 2020-08-23 07:37:14 +00:00
Michael
e9d6fb9aaa Store the cached avatars at the public contact 2020-08-21 18:41:48 +00:00
Michael
b82f22aa0e Fix missing field 2020-08-19 08:20:31 +00:00
Michael
3d1829ede5 Don't poll locally / user self data 2020-08-19 05:18:19 +00:00
Michael
29494ea721 Avoid local network requests 2020-08-19 04:11:20 +00:00
Michael
ce2af84cba Use a constant for the contact photos / dom't cache them 2020-08-18 22:18:48 +00:00
Michael
d9fc0ae0ea Using a constant value for the default avatar 2020-08-18 20:30:24 +00:00
Michael
45be80b05e Display reshared ("announced") messages of a user on their page 2020-08-11 16:40:01 +00:00
Michael
7b13b7e9c8 Reworked "getIdForURL" 2020-08-07 13:49:59 +00:00
Michael
f09d9bc9cc Remove url caching, locking cleanup 2020-08-06 18:53:45 +00:00
Michael
ecfbc7027e Unused "use" removed 2020-08-06 05:52:22 +00:00
Michael
e295dc4f93 Avoid double probing and unneeded contact updates 2020-08-06 04:51:20 +00:00
Michael
4acf7cc38f Fix: Always search contacts with uid 2020-08-05 14:57:49 +00:00
Hypolite Petovan
307af4a4fd
Merge pull request #8973 from annando/contact-group
New class for group related contact actions
2020-08-05 10:30:45 -04:00
Michael
4e5a3ab0f1 Added checked for URL change 2020-08-05 12:53:02 +00:00
Michael
187dbc09ac Avoid double probing 2020-08-05 12:36:04 +00:00
Michael
2280f52945 Only query the last item on public contacts 2020-08-05 08:24:01 +00:00
Michael
3a4be3d5f4 Fill "last-item" with an empty date when bo date had been provided 2020-08-05 08:06:47 +00:00
Michael
fd62629285 Probe for the date of the last item 2020-08-05 06:50:51 +00:00
Michael
1d44e544cf New class for group related contact actions 2020-08-04 18:22:19 +00:00
Michael
a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Hypolite Petovan
a74c547af4 Move ContactRelation class to Contact\Relation
- Update references in GContact
2020-08-03 13:38:26 -04:00
Michael
ff7b72cca3 Renamed function 2020-08-02 13:37:43 +00:00
Michael
bb1517a74c Random profiles now moved away from "gcontact" as well 2020-08-02 08:07:31 +00:00
Michael
0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael
dcf6926a08 Some indentation 2020-07-30 21:23:54 +00:00
Michael Vogel
43b4841fa6
Update src/Model/Contact.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-07-30 22:39:09 +02:00
Michael Vogel
113e8d910b
Update src/Model/Contact.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-07-30 22:39:01 +02:00
Michael
cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
Michael
7441bd90c8 Possibly fix a fatal error 2020-07-29 19:48:26 +00:00
Michael
4fbec33af0 Asynchronous contact relation check 2020-07-29 15:39:45 +00:00
Michael
b79bb0d2cb Fetch photo fields, ensuring that they are filled 2020-07-28 12:58:19 +00:00
Michael
5b884e8348 Changed function name 2020-07-27 10:22:02 +00:00
Michael
6ab82eaa49 Ensure that cached avatar fields are set 2020-07-27 10:11:12 +00:00
Michael
18617f6c48 Fetch followers/followings of contacts 2020-07-26 07:34:33 +00:00
Michael
9b86f40a5f Store avatar cache fields only when needed 2020-07-25 11:48:52 +00:00
Michael
1532f0d529 New field "failed" for gserver, gcontact and contact 2020-07-19 01:15:57 +00:00
Michael
caf548e1a7 Fix fetching contacts 2020-07-16 03:52:18 +00:00
Michael
b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
Michael
6d3949d54a Changed default value 2020-07-15 17:29:52 +00:00
Michael
e374aecc46 Changed parameter order for "getbyURLForUser" 2020-07-15 17:22:12 +00:00
Michael
fc0312451d Changed parameter order for getByURL 2020-07-15 17:06:48 +00:00
Michael
d9c6a46ffe Replaced "getDetailsByURL" with "getByURL/getByURLForUser" 2020-07-15 04:42:04 +00:00
Hypolite Petovan
32a8f5003f Add provision for result containing only connector profiles in Contact::getDetailsByURL 2020-07-11 09:18:18 -04:00
Michael
52bb1ff0f1 Some more replaced logger 2020-06-28 17:35:56 +00:00
Hypolite Petovan
50d05cec83 Ensure url property of Probe::uri result is used authoritatively
- Some profile URLs aren't canonical and need to be updated during probe
2020-06-26 12:52:39 -04:00
Michael
019a9d44c5 New function to fetch contact data by url 2020-06-26 05:28:25 +00:00
Michael
8707ced2f7 Hopefully fixes notice "Undefined index: gravity" 2020-06-16 20:30:25 +00:00
Michael Vogel
aedbb0d627
Merge pull request #8753 from MrPetovan/bug/fatal-errors
Remove dependency to App in Contact::createFromProbe
2020-06-12 06:58:20 +02:00
Hypolite Petovan
a5a7855d39 Remove dependency to App in Contact::createFromProbe
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906
2020-06-10 10:36:42 -04:00
Hypolite Petovan
be41095936 Add probe data return if Contact::getDetailsByURL didn't yield a result in Contact::getDetailsByAddr 2020-06-10 09:56:01 -04:00
Michael
0e9331a1ff Avoid unneeded database calls when showing posts of contacts 2020-06-09 22:38:06 +00:00
Michael
e379698227 Issue 8675: reduce requests of foreign pages 2020-06-01 21:52:31 +00:00
Michael
327cdf21ce Some more "baseurl" improvements 2020-05-24 20:40:00 +00:00
Michael
e27915a819 Centralized gsid generation 2020-05-22 10:10:24 +00:00