Commit graph

472 commits

Author SHA1 Message Date
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
Michael
95b4f35a12 Improved server detection / gsid introduced 2020-05-22 04:19:32 +00:00
Michael
b7e25d16e7 Removed usage of "tag" field 2020-05-05 05:11:59 +00:00
Michael
f75009c20c Some more forgotten DBA::close 2020-04-28 07:10:18 +00:00
Hypolite Petovan
7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Michael
6249b674dc Issue 7892: Improve "plink" generation for Diaspora posts 2020-03-25 16:42:53 +00:00
Michael
f27900ad78 Reduce the load of "gfollower" 2020-03-10 21:10:59 +00:00
Hypolite Petovan
07dde8deb8 Remove unused return value of Contact::updateAvatar 2020-03-09 11:39:48 -04:00
Hypolite Petovan
89534b5be3 Ensure non-NULL values in $data array in Contact::updateAvatar
- Throw Exception instead of returning false if contact doesn't exist
- Address https://github.com/friendica/friendica/issues/7998#issuecomment-596271239
2020-03-09 11:13:09 -04:00
Hypolite Petovan
2702732308 Import FriendicaNetwork\HTTPException in Model\Contact 2020-03-09 11:11:06 -04:00
Michael
e14ed2ce35 Issue 8151: Automatic Friend is working again 2020-03-07 23:19:19 +00:00
Hypolite Petovan
dd999164c6 Do not cache Contact::getDetailsByURL result if it doesn't come from the DB
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-592169621
2020-02-29 11:41:33 -05:00
Michael
d03fb89494 Replace "hidewall" with "net-publish" / other "hidewall" stuff 2020-02-20 17:24:41 +00:00
Michael
7ee9aad6ca Some more unneeded settings removed 2020-02-19 19:31:55 +00:00
Michael
f8670b6268 Don't show "delete contact" when there is a follow or unfollow option 2020-02-17 22:25:12 +00:00
Philipp
da124af6ed
Merge pull request #8293 from MrPetovan/task/5562-community-pagination
Improve community pagination
2020-02-16 19:38:49 +01:00
Hypolite Petovan
e0d03615bc Add node-wide default items per page config 2020-02-16 13:04:26 -05:00
Hypolite Petovan
561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -05:00
Michael
ee6cceba30 Clarify the effect of "net-publish" 2020-02-16 15:39:44 +00:00
Michael
3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00