Commit graph

38 commits

Author SHA1 Message Date
Gidi Kroon
6a5266c6b8 Add Vary header in case of content negotiation
Sometimes we return different content depending on whether JSON, XML or
HTML was requested in the Accept request header. The Vary response
header should list that header in these cases, to allow caching
frameworks to determine what to cache.
2023-06-25 03:22:41 +02:00
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Josh Soref
afad4f13e8 spelling: subscribed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
39607b20e2 Convert custom profile field URL values to rel="me" links 2022-12-18 23:24:59 -05:00
07f7585e40 Remove DI dependency in Profile\Profile module 2022-12-18 22:49:18 -05:00
ae76fa1174 Remove unused first parameter from BaseProfile::getTabsHTML
- Add expected Profile::load call to Profile\Photos module
2022-12-01 08:03:35 -05:00
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
eb6b03b555 Add new OStatus\PortableContacts module class
- Retain existing route /poco for backward compatibility
- Remove unsupported links to /poco/{nickname} route
2022-11-14 13:48:46 -05:00
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI 2022-10-20 22:59:39 +02:00
d47d78f2d4 old boot.php functions replaced in src/module (4) 2022-10-19 09:23:12 -04:00
fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
4ef7f42257 Issue 11470: Check for removed account 2022-05-28 16:21:41 +00:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
8bdd90066f
Make BaseModule a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +01:00
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
dfb043ce60 Add Exception for empty User::getOwnerDataById(0 return case in Protocol\ActivityPub\Transmitter::getProfile()
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-882781552
- Add try-catch blocks to all references of Protocol\ActivityPub\Transmitter::getProfile()
2021-07-27 16:46:08 -04:00
2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
07d2dfcd60 Some more "convertForUriId" replacements 2021-07-10 12:58:48 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
a2556e7c67 Remove leading space in displayed public tags in profile page 2021-01-23 15:55:21 -05:00
fbd0cefdf7 Add translation to Yourself option in view as select in profile
- Address https://github.com/friendica/friendica/issues/9682
2020-12-20 02:08:17 -05:00
ab3106a129 Move "View As" form at the bottom of the profile page 2020-07-28 11:40:14 -04:00
5df5e9521b The tag table is now really used 2020-04-26 15:24:58 +00:00
7d111e2a6f Duplicated fields renamed 2020-04-25 07:29:02 +00:00
af817b2ad5 Add cache and CORS headers to ActivityPub endpoints 2020-04-05 18:02:38 -04:00
ee6cceba30 Clarify the effect of "net-publish" 2020-02-16 15:39:44 +00: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
a42104ce43 Use profile.about instead of profile.pdesc for profile description 2020-02-09 02:36:19 -05:00
46c4bfe580 Restore base profile URL behavior
- Add new profile-specific route
2020-01-26 14:21:20 -05:00