friendica/src/Module
Michael a440619769 Prevent concurring ping requests 2024-04-10 22:25:14 +00:00
..
ActivityPub Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Admin Show next_try only for the deferred worker job. 2024-03-29 20:27:10 +00:00
Api Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Blocklist/Domain
Calendar Comstants for features 2024-03-24 14:48:23 +00:00
Contact Don't display the "follow/unfollow" vcard-link on pages meant for follow/unfollow 2024-04-07 21:30:39 +00:00
Conversation Don't set posts to seen on channel ping 2024-04-02 21:31:57 +00:00
DFRN
Debug Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
Diaspora
Filer
HTTPException
Item The data for the language display is now fetched on demand 2024-04-05 10:29:27 +00:00
Media
Moderation Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Notifications Prevent concurring ping requests 2024-04-10 22:25:14 +00:00
OAuth Issue 13949: Block access via OAuth 2024-02-29 22:03:57 +00:00
OStatus
Ping Prevent concurring ping requests 2024-04-10 22:25:14 +00:00
Post Comstants for features 2024-03-24 14:48:23 +00:00
Profile Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Search
Security Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Settings Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Special
Update
User Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
WellKnown
About.php
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
BaseAdmin.php Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
BaseApi.php
BaseModeration.php
BaseNotifications.php
BaseProfile.php Comstants for features 2024-03-24 14:48:23 +00:00
BaseSearch.php
BaseSettings.php
Bookmarklet.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Circle.php Issue 13787: Filter in circles editor by contact relation 2024-03-21 12:58:54 +00:00
Contact.php
Credits.php
Directory.php
Feed.php
FollowConfirm.php
FriendSuggest.php
Friendica.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
HCard.php Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Hashtag.php
Help.php
Home.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Install.php
Invite.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Magic.php
Maintenance.php
Manifest.php
NoScrape.php
NodeInfo110.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
NodeInfo120.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
NodeInfo210.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
OpenSearch.php
Owa.php
ParseUrl.php
PermissionTooltip.php
Photo.php Remove photo user id fallback from 2021 2024-02-23 22:41:18 -05:00
Proxy.php Fix the handling of unhandled image types and of animations (#13904) 2024-02-17 15:46:48 +01:00
PublicRSAKey.php
README.md
RandomProfile.php
ReallySimpleDiscovery.php
Register.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Response.php
RobotsTxt.php
Smilies.php
Statistics.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
Welcome.php
Xrd.php

README.md

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.