friendica/src/Module
Hypolite Petovan aac5d41fd6
Escape HTML characters in profile RSS titles
Thanks to @r1pu5u for the tip left through the `security.txt` contact address!
2024-03-12 20:42:00 +00:00
..
ActivityPub
Admin Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
Api Fixes API-Issues #13985 and #13986 2024-03-12 03:12:36 +00:00
Blocklist/Domain
Calendar Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
Contact Avoid duplicated post button on the contact conversation page (#13867) 2024-02-01 19:47:43 +01:00
Conversation Issue 13909: Filter channels by network (#13924) 2024-02-20 07:11:26 +01:00
Debug Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
DFRN
Diaspora
Filer
HTTPException
Item
Media Image handling reworked, new image formats added (#13900) 2024-02-17 07:45:41 +01:00
Moderation Avoid problems with an empty domain in the blocklist (#13919) 2024-02-19 07:22:19 +01:00
Notifications
OAuth Issue 13949: Block access via OAuth 2024-02-29 22:03:57 +00:00
OStatus [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
Post
Profile Escape HTML characters in profile RSS titles 2024-03-12 20:42:00 +00:00
Search
Security
Settings Check form security token in /settings/userexport module (#13929) 2024-02-22 21:08:32 +01:00
Special
Update Issue 13844: User defined channels based on the network 2024-02-04 07:14:57 +00:00
User Image handling reworked, new image formats added (#13900) 2024-02-17 07:45:41 +01:00
WellKnown Use centralized functions for tag string handling 2024-01-28 06:32:55 +00:00
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
BaseSearch.php
BaseSettings.php
Bookmarklet.php
Circle.php
Contact.php
Credits.php
Directory.php
Feed.php
FollowConfirm.php
Friendica.php
FriendSuggest.php
Hashtag.php
HCard.php
Help.php
Home.php
Install.php
Invite.php
Magic.php [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
Maintenance.php
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php
NoScrape.php
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
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php Update src/Module/Register.php 2024-01-30 15:28:49 +01:00
Response.php
RobotsTxt.php
Smilies.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php Deprecate use of [*] BBCode tag for list items in favor of [li] 2024-02-09 20:33:42 -05:00
Welcome.php
Xrd.php

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.