Michael
842cbbaf09
Added notifications for follow requests
2021-06-01 21:13:16 +00:00
Michael
3f0937dd42
API: Show activity notifications
2021-06-01 05:51:03 +00:00
Michael
2df14fab3b
Ensure that the public contact exists when a user is created
2021-05-30 12:04:26 +00:00
Michael
b28acc7dad
Improved logging for local probing, avoid worker fork
2021-05-29 11:11:26 +00:00
Michael
785f8124ed
Issue 10306: Improve local delivery
2021-05-26 09:24:37 +00:00
Michael
0c21588ab9
Don't delete local tombstone contacts
2021-05-22 08:25:30 +00:00
Michael
45c2cc3887
API: Account actions
2021-05-14 21:51:32 +00:00
Michael
f5c7f9670f
Remove blanks
2021-05-09 11:54:34 +00:00
Michael
5bb5c44bd9
API: added account related endpoints
2021-05-09 09:35:51 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
8424c78a59
Improved checks when adding contacts
2021-03-25 05:45:16 +00:00
Michael
531ef6e6e2
Issue 10050: Avoid creating new contacts for expired users
2021-03-20 09:56:35 +00:00
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
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
Hypolite Petovan
0b0309ce8f
Remove pager parameter from conversation()
...
- Add getUrlParameter() Javascript function to determine current page
2020-02-13 23:40:00 -05:00
Michael Vogel
e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
...
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
a42104ce43
Use profile.about instead of profile.pdesc for profile description
2020-02-09 02:36:19 -05:00
nupplaPhil
cfd50f9abb
Move Notify::TYPE_INTRO
2020-02-05 21:41:00 +01:00
nupplaPhil
f2271d1692
Fix Contact notification link
2020-01-29 22:48:16 +01:00
Hypolite Petovan
7b0ec6252f
Remove uses of the rest of deprecated profile fields
2020-01-27 23:06:30 -05:00
Hypolite Petovan
8e2910976f
Remove usage of profile.gender
2020-01-27 23:00:18 -05:00
Hypolite Petovan
a607656607
Replace profile tab GET parameter by route
2020-01-27 19:21:18 -05:00
Hypolite Petovan
18cfd8dfaa
Remove references to deprecated profile.is-default and profile.profile-name fields
2020-01-22 19:42:37 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
nupplaPhil
174129af94
add missing namespaces/fix wrong class-names
2020-01-19 16:31:35 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Michael
572a3f1180
And the rest of the new lines
2020-01-19 09:55:28 +00:00
Michael
4e5db36177
Improved formatting
2020-01-19 09:46:31 +00:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Michael
ccc7a71e54
Ensure that local contacts always are DFRN contacts
2020-01-16 06:43:21 +00:00
Matthew Exon
5d0a3be4f6
Implement code review from nupplaphil
2020-01-11 16:01:58 +01:00
Matthew Exon
ae6748a465
Repair missing contact photos
2020-01-09 21:48:37 +01:00
Hypolite Petovan
64c8855407
Allow special groups in default user permissions
...
- Use ACLFormatter in ACL::getDefaultUserPermissions
- Remove ACL::fixACL
- Add return value to Contact::pruneUnavailable
2020-01-05 17:09:14 -05:00
nupplaPhil
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
Philipp
75c74e8562
Merge pull request #8044 from annando/contact-adding
...
Don't add contacts when not needed
2020-01-01 20:38:34 +01:00
Michael
bd6fb64c16
Fixed documentation
2020-01-01 18:57:55 +00:00
Michael
73b82d1455
Don't add contacts when not needed
2020-01-01 17:54:36 +00:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Hypolite Petovan
3c76826793
Merge pull request #8033 from annando/contact-logging
...
Added logging for not created contacts
2019-12-29 21:07:36 -05:00
Michael
4786298da4
Added logging for not created contacts
2019-12-30 01:03:00 +00:00
nupplaPhil
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
nupplaPhil
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
nupplaPhil
2900389696
Remove deprecated App::getUrlPath - process methods to DI::baseUrl()->getUrlPath()
2019-12-29 20:17:46 +01:00
nupplaPhil
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Michael
fab0d9b919
Don't create contacts for unknown networks / improved content fetching
2019-12-28 19:17:48 +00:00
Hypolite Petovan
6501acf0bc
Stop automatically remove newly blocked contacts from their groups
2019-12-24 16:45:08 -05:00
Michael
c4e381fbd7
Issue 7953: Don't show follow/unfollow on the hovercard for the "self" contact
2019-12-16 06:35:29 +00:00
Michael
49767e0555
Issue 7418: connections to forums should now work again
2019-12-09 21:19:20 +00:00
Michael
38db4d2132
Fix a notice
2019-12-08 21:41:26 +00:00
Michael
6728c58535
Mail contacts: Update public via user contact / display owner's posts
2019-12-08 05:19:15 +00:00
Michael
67a0e97f7c
Avoid contact update for non federated networks
2019-11-25 08:49:14 +00:00
Michael Vogel
6ba7b5961c
Merge pull request #7798 from MrPetovan/task/rework-photo-functions
...
Rework photo functions
2019-11-02 21:20:38 +01:00
Hypolite Petovan
5cd8cb7134
Add unfollow link to output of Contact::photoMenu
...
- Add rel and pending keys to output of Contact::getDetailsByURL
- Add rel and pending keys to output of Contact::getDetailsByAddr
2019-11-02 12:48:03 -04:00
Michael
9461446374
Respect "manually-improve" during contact request
2019-11-02 16:24:54 +00:00
Michael
e27ebaee48
Respect "manually improve" during contact request
2019-11-02 16:20:17 +00:00
Hypolite Petovan
03bf1dcbd3
Move Object\Image static methods to Util\Images
...
- Optimize imports in modified files
2019-11-02 07:48:45 -04:00
Philipp Holzer
3897c74deb
Add docs
2019-10-25 00:10:20 +02:00
Philipp Holzer
2fba7ed477
Rename namespace
2019-10-24 21:40:13 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Hypolite Petovan
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
Michael
d9a74bd5dd
Code transitioning from PortableContacts.php to GServer.php
2019-10-03 23:33:41 +00:00
Michael
5eeca432fe
removed unused "f" parameter
2019-09-29 18:59:03 +00:00
Michael
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
Michael
87462ec67f
Don't use the "url" parameter on redir if it points to the same contact
2019-09-24 21:44:37 +00:00
Michael
a2105c5dfe
Changed documentation
2019-09-21 13:19:00 +00:00
Michael
b24ef7247d
Don't update the basepath on local check
2019-09-21 13:17:33 +00:00
Michael
c364a77d63
Always use direct DFRN transport on local contacts
2019-09-21 12:39:07 +00:00
Michael
64f30d3627
Fix: updateFromProbe failed when updating non-federated networks
2019-09-20 21:01:52 +00:00
Michael
358cbe812a
Correction: Must be inverted
2019-09-18 16:37:13 +00:00
Michael
1144863090
Changed "hidewall" behaviour
2019-09-18 05:20:33 +00:00
Michael
4223011a7d
Fix a notice about a missing "pending"
2019-09-11 20:03:29 +00:00
Tobias Diekershoff
3d5d50a25b
Merge pull request #7606 from annando/fix-invalid-url
...
Replace not working "redir" link with a working one
2019-09-10 06:29:55 +02:00
Michael
0a0a961c52
The value is used twice, so use a variable
2019-09-10 04:04:07 +00:00
Hypolite Petovan
91b0f0465f
Merge pull request #7604 from annando/pending-contacts
...
Display pending contacts in the contact list
2019-09-09 13:49:51 -04:00
Michael
2dbd843ed2
Don't display ignored pending contacts, link to contact request page
2019-09-09 05:29:33 +00:00
Hypolite Petovan
69105928f5
Use destination URL when provided in Contact::magicLink
2019-09-06 08:33:19 -04:00
Michael Vogel
046b5a1eac
Fix performance issues due to relay contact requests
2019-09-02 15:11:07 +02:00
Michael
6af4c90dff
Fix delivery counter / archive relay contacts
2019-09-02 03:25:05 +00:00
Michael
74f12baac2
Follow up to #7582 : Only update the contact when needed
2019-08-31 09:27:19 +00:00
Michael Vogel
f293e352ec
Renamed function parameter
2019-08-30 07:59:18 +02:00
Michael Vogel
3b92f7357c
Renamed function
2019-08-30 07:52:21 +02:00
Michael Vogel
438394bc1d
Type hints, corrected wrong documentation
2019-08-30 07:38:42 +02:00
Michael Vogel
481376dd6f
Avoid not performing unarchiving
2019-08-29 08:41:55 +02:00
Michael Vogel
66eab2b44f
Don't handle deleted contacts / removed unneeded parameter
2019-08-29 07:22:29 +02:00
Michael Vogel
503a5be06c
Fixed query (not all duplicates had been found)
2019-08-29 06:55:36 +02:00
Michael Vogel
ef02a1cb7b
Check fpr duplicated contacts upon inserting them
2019-08-29 06:07:07 +02:00
Michael Vogel
40a7d6eb42
Merge remote-tracking branch 'upstream/2019.09-rc' into contact-dba
2019-08-29 04:14:01 +02:00
Michael Vogel
90b9ad8bed
New contact table functions with check for duplicates
2019-08-28 22:27:48 +02:00
Hypolite Petovan
e6f00455f3
Merge pull request #7578 from annando/archive
...
Don't transmit content to already archived contacts
2019-08-28 11:12:00 -04:00
Michael Vogel
96b895bc3a
Changed array name, fixed bug that prevented testing most Diaspora endpoints
2019-08-28 16:54:49 +02:00
Michael Vogel
3c9834922c
Check if the Diaspora endpoint is archived
2019-08-28 16:02:19 +02:00
Michael Vogel
cf170c9c02
Fixed count, added to-do
2019-08-28 06:44:37 +02:00
Philipp Holzer
4733b1e5e0
Fixing PHP Fatal Error for Model\Contact (usage of non available contact)
2019-08-28 01:40:28 +02:00
Michael Vogel
9b7432781b
Don't transmit content to already archived contacts
2019-08-27 21:01:11 +02:00
Michael
7d50a086e0
Issue 7559: Merge contact duplicates
2019-08-26 15:51:56 +00:00
Philipp Holzer
08be92a862
Moved BaseURL to App namespace (because similar type as Arguments/Modules/Modes)
2019-08-15 17:23:00 +02:00
Michael
1a3bf05dfb
Changed "Contact::select" to "Contact::selectToArray"
2019-07-27 15:57:23 +00:00
Michael
2a213c215e
Fix contact issues with fake reshares from Twitter
2019-07-23 04:26:20 +00:00
Michael
e247a14d2b
Added the option to only receive top level posts from people you follow
2019-07-17 21:37:13 +00:00
Michael
9ba3ee13a8
Use an insert to avoid duplicates and for analyzing
2019-07-14 10:22:19 +00:00
Michael
002963f198
Fix wrong variable
2019-07-13 07:29:56 +00:00
Michael
9b8396620b
Fix duplicated contacts due to relay probing
2019-07-13 07:25:01 +00:00
Michael
7dfadf7e7e
Simplify the contact update in "getIdForURL"
2019-07-12 21:07:47 +00:00
Michael
8cbdc7939e
Fetch more comtact data from probing, remove duplicated contacts
2019-07-12 14:55:23 +00:00
Michael
6bb418c5a7
Use "received" instead of "created" when displaying posts in creation order
2019-07-07 21:30:33 +00:00
Michael
dda86f6dfc
Basepath function now uses the contact field
2019-07-05 06:41:48 +00:00
Michael
be0a102333
Simplified the Contact update
2019-07-04 21:19:23 +00:00
Michael
8d6aa9914c
We now handling the contact type
2019-07-04 19:31:42 +00:00
Michael
ef5be9668f
New fields in contact table / don't update on probe
2019-07-04 04:08:55 +00:00
Michael
7b0a9ffd89
Update gcontact when public contact is updated
2019-07-03 05:46:35 +00:00
Michael
1d7154a7d1
Update the gcontact entry when the public contact entry has changed
2019-07-02 09:06:48 +00:00
Michael
ee8baf00ce
Now without array_merge
2019-07-01 22:14:34 +00:00
Michael
9e3aff9ade
Removed comment line
2019-07-01 18:09:40 +00:00
Michael
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
Michael
8838a1f2d1
Avoid overwriting of avatars for feeds
2019-06-28 04:26:49 +00:00
Michael
4db3c79d04
Archive/unarchive the contacts
2019-06-27 05:03:58 +00:00
Michael
bca1dc1ca4
Moving functionality to the contact model
2019-06-24 03:25:01 +00:00
Michael
857469d16a
Constantly updating public contacts
2019-06-23 09:27:40 +00:00
Michael
14c28868eb
Issue 6477: Use the correct content-type to resize the images
2019-06-20 20:09:33 +00:00
Michael
4ab772ed67
Issue 6477: Automatically repair self contact avatar
2019-06-19 17:05:29 +00:00
Hypolite Petovan
14725bbd6a
Fix undefined index addr notices in Model\Contact::getIdForURL
...
- Addresses https://github.com/friendica/friendica/issues/6918#issuecomment-502393030
2019-06-15 17:16:10 -04:00
Philipp
fb63274aaf
Merge pull request #7250 from MrPetovan/bug/6410-normalize-message-button
...
Normalize message button in profile sidebar
2019-06-12 17:56:05 +02:00
Hypolite Petovan
3aebb92cf3
Rework Profile::sidebar profile link conditions
...
- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor
- Remove pseudo-field contact.remoteconnect
2019-06-10 21:56:03 -04:00
Hypolite Petovan
61c79ce9ee
Add new Model\Contact::canReceivePrivateMessages method
2019-06-10 21:29:11 -04:00
Hypolite Petovan
0fbfb7c970
Prevents an endless loop when only the non-public contact is available in Contact::magicLinkByContact
2019-06-10 19:10:39 -04:00
Philipp Holzer
236c0dc248
Check $contact['id']
...
- see https://github.com/friendica/friendica/issues/6918#issuecomment-498043313
2019-06-10 12:36:42 +02:00
Hypolite Petovan
14a78807d7
Use self::isBlocked and self:isBlockedByUser in Model\Contact::addRelationship
2019-05-20 16:34:17 -04:00
Hypolite Petovan
62dfcbb074
Prevent contact relationships with node- or user-level blocked contacts
2019-05-20 15:29:20 -04:00
Hypolite Petovan
ea77f214d7
Add return value to Model\Contact::addRelationship to remove protocol-specific code from it
2019-05-20 15:29:20 -04:00
Hypolite Petovan
3114754f4b
Refactor Model\Contact::addRelationship
...
- Remove unused parameter $item
- Replace q() call with DBA::insert
- Update check on $contact that can only be an array now
- Add moethod doc block
2019-05-20 15:29:20 -04:00
Hypolite Petovan
79cb5b1bae
Add block reason editing in Model\Contact
2019-05-15 19:28:00 -04:00
Michael
f04bb820ad
Magic links should work again
2019-05-10 07:38:10 +00:00
Michael
626709159f
Some cleaning up
2019-05-06 18:46:30 +00:00
Hypolite Petovan
bb8d297ae4
Merge pull request #7097 from nupplaphil/task/mod_after_PR_fixing
...
Fixings for Mod-Refactorings
2019-05-05 20:28:57 -04:00
Philipp Holzer
039f9490dd
Optimized Profile::searchProfiles & Bugfix Contact::getProbeDataFromDatabase
2019-05-05 18:40:36 +02:00
Michael
f3cae4bf0c
Fixes notices
2019-05-05 14:12:43 +00:00
Hypolite Petovan
e17db489ee
Merge pull request #7095 from annando/ap-connect
...
Switching from legacy DFRN connect to ActivityPub
2019-05-05 09:37:43 -04:00
Michael
0efab157c4
Reverted storing the protocol at all the time
2019-05-05 10:36:51 +00:00
Michael Vogel
2365193691
AP: Support of request messages
2019-05-05 11:17:45 +02:00
Philipp
c9cce8492e
Merge pull request #7000 from MrPetovan/task/6999-no-probe-magic-link
...
Remove probing in magic link construction
2019-05-03 08:43:26 +02:00
Michael Vogel
33931ff15e
Corrected order
2019-05-03 08:13:02 +02:00
Michael
b1222e174e
Ensure that an existing contact isn't archived or pending
2019-05-03 05:54:40 +00:00
Michael Vogel
949fd1e8bf
Fixes undefined variable
2019-05-03 06:01:01 +02:00
Philipp Holzer
c5e7abf9c5
Move mod/allfriends to src/Module/AllFriends
2019-05-02 22:03:27 +02:00
Michael
a4dffee5f4
Fix wrong error message when updated a contact
2019-05-02 19:22:43 +00:00
Hypolite Petovan
71546705f8
Add Model\Contact::select method
2019-05-02 09:55:49 -04:00
Michael
28f316b7e4
Replace the legacy DFRN connection process with AP
2019-05-02 13:05:31 +00:00
Hypolite Petovan
49d12b5fae
Remove probing in magic link construction
...
- Use Contact::getProbeDataFromDatabase and Contact::magicLinkByContact instead of Contact::getIdForURL and Contact::magicLinkbyId in Contact::magicLink
- Add default value for $cid parameter in Contact::getProbeDataFromDatabase
2019-04-12 08:50:44 -04:00
Hypolite Petovan
6a2c0b3cc7
Merge pull request #6989 from nupplaphil/task/basePath_baseUrl_fix
...
Automatic BaseURL determination fix
2019-04-11 04:07:20 -04:00
Michael
4e9316fc15
Fix warnings
2019-04-09 17:58:28 +00:00
Michael
8748aff110
Avoid some more warning
2019-04-09 11:44:35 +00:00
Michael
d58147413f
Avoid update of non native contacts, fix most warnings
2019-04-09 11:28:45 +00:00
Michael
84a6e390ab
Fetch data from the given contact number, if already present
2019-04-09 08:47:57 +00:00
Michael
bca7419987
Avoid overwriting existing contacts with bad data
2019-04-09 08:35:29 +00:00
Philipp Holzer
318a3ca785
Create own base URL class which holds the whole base url business logic
2019-04-09 08:31:16 +02:00
Michael
90eea919a4
New contact field "updated", fix warnings
2019-04-09 05:15:23 +00:00
Michael
a2ca14def4
Removed a worker call - this needs more work
2019-04-08 21:35:00 +00:00
Michael
c088249e1b
Update the contact in the background
2019-04-08 21:05:33 +00:00
Michael
f387d85cdb
Fetch profile data from different contact tables when we won't or can't probe via network
2019-04-08 20:41:18 +00:00
Philipp Holzer
083820b107
Moving mod/feedtest to src/Module/Feedtest
2019-03-22 22:55:49 -04:00
Michael
cd0d6cb626
Forums now are working with AP as well
2019-03-14 18:44:41 +00:00
Michael
e89d56be6d
Improved contact update from probe
2019-03-07 00:13:39 +00:00
Tobias Diekershoff
bd7aaacfb0
fixing links in photoMenu
2019-02-26 10:19:08 +01:00
Michael Vogel
fa5525d084
Merge pull request #6726 from MrPetovan/task/6676-fix-implicit-mentions
...
Fix last batch of implicit mentions issues
2019-02-24 15:40:11 +01:00
Hypolite Petovan
b939faf4ef
Add contact removal from all groups when blocked
2019-02-23 17:32:40 -05:00
Hypolite Petovan
7320c5e8e8
Normalize Contact::magicLinkByContact method name
2019-02-23 17:32:10 -05:00
Michael
3450f12cba
Changed log calls
2019-02-21 19:32:31 +00:00
Michael
7939cacc44
The function moved from the user to the contact class
2019-02-10 17:19:10 +00:00
Hypolite Petovan
41edcd1028
Fix bad rebase in Model/Contact
2019-01-21 11:12:52 -05:00
Hypolite Petovan
3c50a11ff1
Fix wrong operators in Model\Item and Model\Contact
2019-01-21 11:12:51 -05:00
Hypolite Petovan
57ab858486
Fix calls to DBA::select missing parameters
2019-01-21 11:12:50 -05:00
Hypolite Petovan
7f2dc40601
Fix potential bugs without expected behavior change
...
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
Hypolite Petovan
3d839bb176
Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
...
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00
Hypolite Petovan
ad9c67663d
Move Contact::Page_* constants to User::PAGE_FLAGS_*
2019-01-21 10:55:37 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
070aa016e0
Update more PHPDoc, including in include/
2019-01-21 10:39:28 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00