friendica-github/src/Module
2023-05-01 04:01:11 +00:00
..
ActivityPub Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Admin Fix php-lint issue 2023-03-28 19:42:16 +02:00
Api Issue 13041: API activities for reshared posts are now performed on the original posts 2023-05-01 04:01:11 +00: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 New hook "support_probe" 2023-04-27 05:24:47 +00:00
Conversation spelling: private 2023-03-26 20:04:18 -04: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 spelling: protocol 2023-03-26 16:14:16 -04:00
Filer Happy New Year 2023! 2023-01-01 09:36:24 -05:00
HTTPException spelling: javascript 2023-03-26 16:13:07 -04:00
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 spelling: javascript 2023-03-26 16:13:07 -04:00
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 Only share from federated posts 2023-04-22 10:40:58 +00:00
Profile Skip nonexistent contacts in Pofile/Contacts 2023-03-27 21:31:54 -04:00
Search spelling: construct 2023-03-26 16:03:22 -04:00
Security spelling: repository 2023-03-26 16:14:16 -04:00
Settings spelling: uploaded 2023-03-26 16:14:16 -04: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 Fix: Force baseUrl being a string 2023-04-15 14:17:30 +00:00
WellKnown spelling: relay 2023-03-26 20:04:18 -04:00
About.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
AccountManagementControlDocument.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Acctlink.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Apps.php Convert Content\Nav to dynamic object 2023-01-11 09:01:24 -05:00
Attach.php spelling: permission 2023-03-26 16:14:16 -04:00
BaseAdmin.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseApi.php Don't perform BasicAuth on public endpoints 2023-04-08 19:17:57 +00:00
BaseModeration.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
BaseNotifications.php spelling: with 2023-03-26 16:14:16 -04:00
BaseProfile.php Replace remaining mentions of "Status" by "Conversations" or "Posts" 2023-01-11 09:01:29 -05:00
BaseSearch.php Filter contact search by blocked remote domains 2023-04-20 07:43:17 -04:00
BaseSettings.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
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 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Delegation.php spelling: additional 2023-03-26 16:03:22 -04:00
Directory.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Feed.php Fix: Forum posts from some contacts weren't distributed 2023-01-11 21:55:32 +00:00
FollowConfirm.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Friendica.php Cast the base URL as string in /friendica/json 2023-03-12 17:55:57 -04:00
FriendSuggest.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Group.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hashtag.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
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 Fix: Force baseUrl being a string 2023-04-15 14:17:30 +00: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 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
NodeInfo120.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
NodeInfo210.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
NoScrape.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Oembed.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
OpenSearch.php Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Owa.php spelling: public 2023-03-26 20:04:18 -04:00
ParseUrl.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
PermissionTooltip.php Apply suggestions from code review 2023-04-14 20:56:43 +02:00
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 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
RandomProfile.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
README.md fixing text 2019-05-01 20:17:15 +02:00
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 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
RobotsTxt.php spelling: disallowed 2023-03-26 20:03:51 -04:00
Smilies.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Statistics.php Nodeinfo data has moved to key values 2023-01-18 05:04:37 +00:00
Theme.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
ThemeDetails.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
ToggleMobile.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Tos.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Welcome.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Xrd.php Fix: Force baseUrl being a string 2023-04-15 14:17:30 +00: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.