1
0
Fork 0
friendica_2020-09-1_sharedH.../src/Module
2023-02-28 11:36:24 -05:00
..
ActivityPub Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Admin Apply suggestions from code review 2023-02-19 11:26:26 +01:00
Api Add new temporal paging to Mastodon Timeline Public and List endpoints 2023-02-28 11:36:24 -05:00
Blocklist/Domain Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Calendar Enable calendar export for public_calendar = true 2023-01-14 10:39:18 -05:00
Contact Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Conversation Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
Debug Apply suggestions from code review 2023-02-19 11:12:48 +01:00
DFRN Some loglevels are adjusted to more reasonablöe levels 2023-02-16 20:47:37 +00:00
Diaspora Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Filer
HTTPException
Item Create specific module to display HTML message when a conversation isn't found in Module\Item\Display 2023-02-04 20:28:04 -05:00
Media
Moderation Update src/Module/Moderation/Users/Blocked.php 2023-02-19 11:27:02 +01:00
Notifications Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
OAuth First implementation of ActivityPub C2S 2023-01-29 14:41:14 +00:00
OStatus Apply suggestions from code review 2023-01-08 13:00:58 +01:00
Post Editing/removing of attached pictures is now possible via web 2023-02-27 07:47:31 +00:00
Profile Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Search Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
Security Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Settings Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Special Ensure arbitrary HTTPException messages are HTML escaped 2023-02-04 20:36:33 -05:00
Update Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
User
WellKnown Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
About.php
AccountManagementControlDocument.php
Acctlink.php
Apps.php Convert Content\Nav to dynamic object 2023-01-11 09:01:24 -05:00
Attach.php
BaseAdmin.php
BaseApi.php Add additional Mastodon timeline sorting date types and data to output 2023-02-28 10:36:11 -05:00
BaseModeration.php
BaseNotifications.php
BaseProfile.php Replace remaining mentions of "Status" by "Conversations" or "Posts" 2023-01-11 09:01:29 -05:00
BaseSearch.php
BaseSettings.php
Bookmarklet.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Contact.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Credits.php
Delegation.php
Directory.php
Feed.php Fix: Forum posts from some contacts weren't distributed 2023-01-11 21:55:32 +00:00
FollowConfirm.php
Friendica.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
FriendSuggest.php
Group.php
Hashtag.php
HCard.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Help.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Home.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Install.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
Invite.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Magic.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Maintenance.php Default maintenance reason to empty string in Module\Maintenance 2023-01-18 21:01:07 -05:00
Manifest.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
NoScrape.php
Oembed.php
OpenSearch.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Owa.php
ParseUrl.php
PermissionTooltip.php
Photo.php C2S: Improve C2S-API, fix inbox endpoint 2023-02-08 20:16:19 +00:00
Proxy.php Use "Exception" 2023-02-26 22:43:45 +00:00
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Register.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Response.php
RobotsTxt.php
Smilies.php
Statistics.php Nodeinfo data has moved to key values 2023-01-18 05:04:37 +00:00
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php
Xrd.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00

Friendica\Module

The Module namespace contains the different modules of Friendica. Each module is loaded through the App.

There are mainly two types of modules:

  • frontend modules to interact with users
  • backend modules to interact with machine requests

Frontend modules

This type of modules mainly needs a template, which are generally located at view/templates/.

A frontend module should extend the BaseModule, especially the content() method.

Backend modules

This type of modules mainly responds either with encoded XML or with JSON output. It isn't intended to respond with human readable text.

A frontend module should extend the BaseModule, especially the rawContent() method.

Routing

Every module needs to be accessed within a route. The routes are defined inside Router->collectRoutes().

Use the given routes as a pattern for further routes.

The routing library and further documentation can be found here.