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