friendica/src/Module
2023-07-05 10:12:10 +02:00
..
ActivityPub Make requested changes 2023-06-25 20:54:04 +02:00
Admin "kbin" hos now got an own section in the federation statistics 2023-06-29 08:28:02 +00:00
Api Fix Mastodon API Status->Context endpoint so doesn't return deleted statuses 2023-06-22 21:56:38 -04:00
Blocklist/Domain
Calendar Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Contact Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Conversation Dedicated circle name for groups 2023-06-25 20:37:11 +00:00
Debug
DFRN
Diaspora
Filer
HTTPException
Item Make requested changes 2023-06-25 20:54:04 +02:00
Media Simplify image url 2023-05-17 20:30:45 +00:00
Moderation Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Notifications Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
OAuth
OStatus
Post The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Profile Make requested changes 2023-06-25 20:54:04 +02:00
Search Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Security
Settings Dedicated circle name for groups 2023-06-25 20:37:11 +00:00
Special
Update Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
User Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
WellKnown Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
About.php
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php
BaseAdmin.php
BaseApi.php
BaseModeration.php
BaseNotifications.php
BaseProfile.php
BaseSearch.php Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
BaseSettings.php
Bookmarklet.php
Circle.php Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Contact.php Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Credits.php
Delegation.php Remove support for user.parent-uid = 0 2023-05-29 18:32:21 -04:00
Directory.php
Feed.php
FollowConfirm.php
Friendica.php Make requested changes 2023-06-25 20:54:04 +02:00
FriendSuggest.php
Hashtag.php Rework Hashtag module to avoid undefined key error 2023-05-06 23:55:41 -04:00
HCard.php Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Help.php
Home.php
Install.php Fix: Force baseUrl being a string 2023-04-15 14:17:30 +00:00
Invite.php fixes registration link in invitations 2023-07-05 10:12:10 +02:00
Magic.php Merge remote-tracking branch 'upstream/develop' into lemmy 2023-06-18 17:38:39 +00:00
Maintenance.php
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php
NoScrape.php
Oembed.php
OpenSearch.php Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Owa.php
ParseUrl.php
PermissionTooltip.php Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Photo.php
Proxy.php
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Response.php
RobotsTxt.php
Smilies.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Xrd.php Make requested changes 2023-06-25 20:54:04 +02: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.