Commit graph

306 commits

Author SHA1 Message Date
Jakobus Schürz 2636b19171 add blanks, suggested from codereview 2023-10-07 11:06:51 +02:00
Jakobus Schürz c6af5266cd add mention-/showgroup button also to profile/vcard.tpl
update translations
2023-10-07 01:28:23 +02:00
Hypolite Petovan e01040a2e8 Remove $_SERVER superglobal dependency from Profile::addVisitorCookieForHTTPSigner 2023-10-03 19:58:52 -04:00
Hypolite Petovan 56fb9be0f7 Revert "Merge pull request #13463 from MrPetovan/task/imagegrid-improvement"
This reverts commit dd7bea4bd1, reversing
changes made to ce16cd12ec.
2023-09-24 16:24:28 -04:00
Hypolite Petovan fad760f46a Add icon placeholder for images in image grid 2023-09-23 22:20:16 -04:00
Michael 7e73283949 The query condition for active users are unified 2023-09-08 15:01:51 +00:00
Hypolite Petovan e31d90eadb Replace references to profile.name by user.username 2023-08-20 13:59:07 -04:00
Michael 7e322c21b3 Removed unneeded parameter 2023-07-16 16:48:24 +00:00
Michael 08dafd6d70 Use plaintext for names and titles 2023-07-16 07:26:20 +00:00
Hypolite Petovan b268fa60e7 Add explicit parameter to IHandleUserSession->setvisitorContacts
- Convert some remaining $_SESSION references to object calls
- Address part of https://github.com/friendica/friendica/issues/12486#issuecomment-1428489772
2023-03-27 21:31:54 -04:00
Philipp Holzer 29e4f0ea9a
Force correct string casting for BaseUrl 2023-03-19 11:21:17 +01:00
Philipp Holzer f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hypolite Petovan 98f4a68890 Ward against missing hidewall key in profile array in Model\Profile::getVCardHTML
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1335124938
- Add logging to troubleshoot unexpected case
2022-12-02 08:17:06 -05:00
Hypolite Petovan b83526ad0b Tighten profile restriction feature
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
Hypolite Petovan 561f22cdc4 Add title to homepage verified check mark
- Decrease log level for not found Memcached keys
2022-11-08 04:20:19 -05:00
Philipp Holzer baa97febef
hopefully last feedback :) 2022-11-01 00:09:30 +01:00
Philipp Holzer b5d01337d9
Move Follow to /contact namespace 2022-10-31 20:58:27 +01:00
Hypolite Petovan 58d6e7e2bb Create Contact\Unfollow module class 2022-10-31 15:31:44 -04:00
Hypolite Petovan a1e6e13a9f Move remote follow module to profile folder 2022-10-31 15:31:43 -04:00
Hypolite Petovan 9561910e83 Create Profile\UnkMail module class 2022-10-30 10:49:47 -04:00
Hypolite Petovan 3865733e18 Move Model\Profile::getMyUrl to UserSessions 2022-10-30 10:49:47 -04:00
Philipp Holzer b4ffb0bde0
UserSession class [4] - Refactor src/Model/ files 2022-10-20 22:14:50 +02:00
Michael ee1acba9eb old boot.php functions replaced in /src 2022-10-19 07:56:25 -04:00
Philipp Holzer 7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +02:00
Michael fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
Michael 018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
Roland Häder 86ef7c66d3
Changes:
- added some missing type-hints, thanks to @MrPetovan
2022-07-23 23:09:35 +02:00
Roland Häder ba1c1049d6
Changes:
- added some type-hints
- added some documentation
- used self::exists() instead of DBA::exists('user', ['uid' => $uid])
2022-07-23 21:58:00 +02:00
Roland Häder cf8698afe6
This is the correct way:
<?php
if (!isset($foo['account_removed) || $foo['account_removed'])
?>
2022-07-19 18:08:18 +02:00
Roland Häder cb2a052a70
Fixed E_NOTICE, for some strange reason 'account_removed' isn't around? 2022-07-18 23:49:58 +02:00
Roland Häder c6c936a80f
Added more type-hints 2022-06-23 17:30:14 +02:00
Roland Häder 7ec07178c8
Changes:
- added missing type-hints
- added missing documentation
2022-06-18 16:59:23 +02:00
Roland Häder 45b5f67bca Fix for non-existing record system.mobile_theme in config table 2022-06-17 17:18:31 +02:00
Hypolite Petovan 7f711e266f Assume unsettable system.always_my_theme pconfig value is always true
- This was a logged in user setting so it assumes false for anonymous users
2022-05-29 16:13:49 -04:00
Michael 4ef7f42257 Issue 11470: Check for removed account 2022-05-28 16:21:41 +00:00
Philipp Holzer 3033f79529
head fixings 2022-04-08 20:48:57 +02:00
Philipp Holzer 04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
Philipp Holzer e299fc67c8
Introduce "accept_header" as specific argument to the http client 2022-04-02 21:16:53 +02:00
Philipp Holzer 73c3b21665
Move ACCEPT constants to own "enum" class 2022-04-02 20:26:11 +02:00
Michael 2ca51f752d Use appropriate "accept" values 2022-03-30 14:39:53 +00:00
Michael 1fae0123ec Some more "accept" parameters are added 2022-03-29 06:24:20 +00:00
Michael 9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
Philipp Holzer d2229006fc
- Remove redundant code
- Rename some variables
- Add method description
2022-01-04 22:10:36 +01:00
Philipp Holzer 7b3515e706
Fix getBirthdays()
- Formatting optimizations
- Remove redundant ASC
2022-01-04 22:10:36 +01:00
Philipp Holzer 6eab7d9f14
Fix getBirthdays()
- explicit create an array for the template
2022-01-04 21:59:47 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael 24ee87224f Replaced deprecated "log" function call 2021-11-03 23:19:24 +00:00
Philipp Holzer 68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp Holzer 5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00