friendica/src/Module
2023-08-09 20:29:45 +00:00
..
ActivityPub Centralize Vary header declaration in ActivityPub::isRequest 2023-07-08 22:24:01 -04:00
Admin Merge pull request #13246 from nupplaphil/feat/addons 2023-07-23 06:58:46 -04:00
Api Improvements for Youtube posta via API 2023-08-01 14:27:56 +00:00
Blocklist/Domain Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
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 Decouple conversation creation from rendering 2023-07-08 16:57:52 -04:00
Debug Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00: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 Merge pull request #13264 from MrPetovan/task/hide-blocklist 2023-07-09 21:26:59 +02:00
Media Simplify image url 2023-05-17 20:30:45 +00:00
Moderation Merge remote-tracking branch 'upstream/develop' into more-privacy 2023-07-16 09:41:55 +00:00
Notifications Escape HTML in system messages 2023-08-02 16:59:08 +02:00
OAuth Reformatted code 2023-07-23 20:20:46 +00:00
OStatus Apply suggestions from code review 2023-01-08 13:00:58 +01:00
Post The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Profile Escape HTML in display names for inclusion in syndication link tags 2023-08-02 16:59:46 +02:00
Search Improved logging 2023-08-03 20:36:19 +00:00
Security spelling: repository 2023-03-26 16:14:16 -04:00
Settings Dedicated circle name for groups 2023-06-25 20:37:11 +00:00
Special Fix exception module not setting the HTTP response code 2023-07-09 22:45:46 -04:00
Update Decouple conversation creation from rendering 2023-07-08 16:57:52 -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 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 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -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
Circle.php Issue 13289: Ensure to not respect deactivated connector networks 2023-07-22 10:49:42 +00:00
Contact.php Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Credits.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Delegation.php Remove support for user.parent-uid = 0 2023-05-29 18:32:21 -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 Unify "Capability" 2023-07-26 21:44:31 +02:00
FriendSuggest.php Happy New Year 2023! 2023-01-01 09:36:24 -05:00
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 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 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 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 The twitter addon is no import connector anymore 2023-08-09 20:29:45 +00:00
NodeInfo120.php The twitter addon is no import connector anymore 2023-08-09 20:29:45 +00:00
NodeInfo210.php The twitter addon is no import connector anymore 2023-08-09 20:29:45 +00: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 Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00: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 Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04: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 Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00: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 The twitter addon is no import connector anymore 2023-08-09 20:29:45 +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 Rework Module\ToggleMobile to check for local links 2023-07-26 19:11:39 +02:00
Tos.php Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
Welcome.php Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Xrd.php Centralize Vary header declaration in ActivityPub::isRequest 2023-07-08 22:24:01 -04: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.