Commit graph

216 commits

Author SHA1 Message Date
Michael 3dddea96fa Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact 2021-09-18 20:27:24 +00:00
Philipp Holzer c00da77c67
Add feedback 2021-09-18 12:55:17 +02:00
Philipp Holzer 462f76352e
Add feedback :-) 2021-09-18 12:51:09 +02:00
Philipp Holzer 644f312896
Fix various Notices 2021-09-18 12:51:06 +02:00
Hypolite Petovan 44ec4de14c Use CSRF token as name and value for contact deletion confirm form 2021-09-14 17:28:42 -04:00
Michael 19c3e55ca8 Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact 2021-09-12 12:36:04 +00:00
Michael 9c14eb0c6b Use centralized function to update contact entries 2021-09-10 18:21:19 +00:00
Hypolite Petovan 8b450be09b Move unsecured GET endpoint handlers before security token check in Module\Contact 2021-09-10 12:05:43 -04:00
Hypolite Petovan e9aa27b19f Add form security token to contact actions
- Add token to batch POST actions
- Add token to individual GET actions
2021-09-06 12:30:38 -04:00
Hypolite Petovan d20b53607d Distinguish between public and private contact in contact actions
- Block and ignore is done relating to a public contact (uid = 0)
- Update and drop is done relating to a private contact (uid !=0)
- Method documentation has been improved to precise the contact type it needs
- Public and private contact ids are retrieved before acting on contacts
2021-09-06 11:50:46 -04:00
Hypolite Petovan 5262843e63 Add redirect URL parameter to contact batch
- This allows redirection to the correct contact tab after a batch action
2021-09-05 14:54:51 -04:00
Hypolite Petovan 6e358bfacf Remove user-controlled contact archival feature
- Archival is managed at the system level for failed probing and doesn't make sense for a user to decide on it
2021-09-05 14:54:50 -04:00
Michael 4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
Michael b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael 9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael df558d4056 Completely removed argc/argv 2021-07-25 15:23:37 +00:00
Michael fbac31edc5 Simplyfying code 2021-07-25 05:08:29 +00:00
Michael 2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
Michael afe3c8954c Simplified functionality to load the profile in the sidebar 2021-07-23 12:39:37 +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
Michael d8974c9a2a Function renamed to better reflect the functionality 2021-07-09 06:29:24 +00:00
Michael 377bb78cc2 Set "convertForItem" at more places 2021-07-08 20:01:52 +00:00
Michael 098cd543ea Cleaned code for contact avatars 2021-07-06 10:36:00 +00:00
Hypolite Petovan 0a1f4d81c8 Prevent self block/ignore in Module\Contact 2021-05-04 08:59:13 -04:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 7510e854de Issue 8547: Improve page load speed 2021-03-07 20:15:25 +00:00
Michael d2c734c025 Issue 9986: Improve contact search 2021-03-06 21:52:26 +00:00
Michael 312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael 9f96f3ef34 Moved updating personal contacts to updatecontact 2020-12-04 05:53:11 +00:00
Michael bda5d43f1e New "remote self" option: Native Reshare 2020-11-28 22:53:58 +00:00
Michael 3ffd40c7da OnePoll reworked, improved "failed" behaviour 2020-11-22 14:42:24 +00:00
Michael b52ba79620 Contacts can now be updated from every theme 2020-11-22 08:15:17 +00:00
Michael 46bd1704df Fix notice "Undefined index: network" and warning "strpos(): Empty needle" 2020-10-29 13:28:27 +00:00
Michael 89509f02e4 Move "remote self" to the contact settings 2020-10-24 21:42:49 +00:00
Michael 33575a94fa Follow/Unfollow contact with a single click 2020-10-20 03:49:58 +00:00
Michael 4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
Michael 00974324fe Don't show failed contacts 2020-10-07 20:06:15 +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 bf2ca5fcf9 Issue 9229: Show unfollow with known contacts 2020-09-19 20:47:05 +00:00
Hypolite Petovan 043e04f484 Remove confirm template obsolete uses (except for contacts)
- Remove obsolete explode_querystring() function
- Remove $extra_inputs template variable
2020-09-12 09:09:15 -04:00
Hypolite Petovan 9ea7f7d4ad [frio] Ensure tagsinput library is loaded in pages where new PM can be submitted
- The new private message page loads in a modal, requiring the base page to load them in advance
2020-09-03 10:03:36 -04:00
Michael 2cae485e0d Don't show poll frequency on auto adjust 2020-08-17 17:40:31 +00:00
Michael Vogel f0a0c6b822
Merge pull request #8982 from MrPetovan/task/8918-move-mod-common
Move mod/common.php to src/ Part 3: Add Module\Contact\Contacts class
2020-08-07 20:51:02 +02:00
Hypolite Petovan 18cd4f7412 Add new contact/{id}/contacts[/{type}] route and module
- Rework contact pages tabs
- Add constants for active contact page tab
2020-08-06 22:59:09 -04:00
Hypolite Petovan f5ea07c731 Remove unused App parameter from Module\Contact::getTabsHTML 2020-08-06 22:59:09 -04:00
Michael c89b690156 Removed unused parameter 2020-08-06 19:04:00 +00:00
Hypolite Petovan 4c5fe20018 Remove relationship direction display for non-local user contacts
- [frio] Add profile link on avatar in contact_template
2020-08-04 23:00:15 -04:00
Michael a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Michael 0c4a3330dd Use the public contact 2020-08-03 19:47:46 +00:00
Michael ee1cb93f3a Use the new relation functions 2020-08-03 18:21:56 +00:00
Michael 91c360638a Ensure contact tabs will use the correct id 2020-08-02 13:34:49 +00:00
Michael 0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael 71415094cb Removed unused template variables 2020-07-31 06:00:43 +00:00
Michael ce7f192f35 "id" is not needed as a parameter 2020-07-31 04:28:26 +00:00
Michael 893f6bd692 Use the function from the contact template instead 2020-07-31 03:55:01 +00:00
Michael 71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Michael d5a3ef6c2a Removed unused "use" 2020-07-28 15:04:39 +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 0007da8630 EOL removed 2020-07-23 06:25:01 +00:00
Michael 3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +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 06b992a5dd Add expected whitespace before Widget::unavailableNetworks() output in Module\Contact 2020-06-24 18:49:55 -04: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
Michael 0e9331a1ff Avoid unneeded database calls when showing posts of contacts 2020-06-09 22:38:06 +00:00
Hypolite Petovan 34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
Michael 6bef9fb230 Show the relations of Twitter contacts 2020-03-07 13:05:16 +00:00
Hypolite Petovan 561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -05:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil 41ec7d8370
Replace stylesheet names 2020-02-02 20:56:31 +01:00
nupplaPhil 8632c90327
Fix crepair links 2020-02-02 20:50:53 +01:00
Hypolite Petovan a7dd0173a7 Remove obsolete profile_id parameter in Model\Profile::load 2020-01-27 22:01:12 -05:00
Hypolite Petovan a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
Philipp 09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
Hypolite Petovan 4da90b9378 Add group membership filter widget in contact list 2020-01-23 17:49:55 -05:00
Hypolite Petovan ed3ac36621 Refactor queries in contact module 2020-01-23 17:49:42 -05:00
Hypolite Petovan f6f4cbab9d Remove multi profiles feature
- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
2020-01-22 19:42:33 -05:00
Philipp Holzer d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
Philipp Holzer a9a36fb302
Move L10n::tt() calls to DI::l10n()->tt() calls 2020-01-19 16:31:17 +01:00
Philipp Holzer 5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Philipp b9dba631aa
Merge pull request #8037 from MrPetovan/bug/notices
Replace remaining $a->page by DI::page()
2019-12-30 23:41:23 +01:00
Hypolite Petovan e84ad15569 Replace remaining $a->page by DI::page() 2019-12-30 17:35:01 -05:00
Philipp Holzer 3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
Philipp Holzer 6d7362da41
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:09 +01:00
Philipp Holzer 33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand() 2019-12-29 20:17:51 +01:00
Philipp Holzer e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString() 2019-12-29 20:17:50 +01:00
Philipp Holzer e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-29 20:17:48 +01:00
Philipp Holzer 8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-29 20:17:43 +01:00
Philipp Holzer 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
Hypolite Petovan f000680511
Merge pull request #8021 from nupplaphil/task/mod_openid
Move mod/openid to src\Module\Security\OpenId
2019-12-28 21:39:42 -05:00
Philipp Holzer aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security" 2019-12-27 22:19:28 +01:00
Michael c037e9143c Additionally display the protocol together with the network 2019-12-27 17:24:29 +00:00
Michael 543c8f8459 Use localuser() 2019-12-12 15:57:08 +00:00
Michael 39560218f8 Issue 7659: Display blocked and ignored public contacts as well 2019-12-12 11:58:57 +00:00
Hypolite Petovan ae3d4f63a3 Use visibility tags input for the default ACL selector
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05:00