friendica-github/src/Module
2024-05-26 20:04:48 +00:00
..
ActivityPub Issue 13812: Public groups with manual request approval 2024-04-08 07:58:45 +00:00
Admin Improve the log level display 2024-05-13 12:34:35 +00:00
Api "Network::unparseURL" is replaced with "Uri::fromParts" 2024-05-14 21:47:57 +00:00
Blocklist/Domain Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Calendar Fix " Call to undefined method Friendica\App::getLoggedInUserNickname" 2024-05-15 06:15:50 +00:00
Contact Issue 14102: Display "channels only" contacts in circles 2024-05-26 16:00:27 +00:00
Conversation Issue 14102: Display "channels only" contacts in circles 2024-05-26 16:00:27 +00:00
Debug Request type set for all HTTP requests 2024-05-12 17:53:21 +00:00
DFRN Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Diaspora Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Filer Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
HTTPException Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Item Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
Media Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
Moderation Some more deprecated function calls are replaced 2024-05-14 19:21:25 +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 Request type set for all HTTP requests 2024-05-12 17:53:21 +00:00
Ping API: Access channels and groups via lists 2024-04-19 21:42:34 +00:00
Post Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
Privacy Escape output of PermissionTooltip module 2024-05-10 11:25:59 -04:00
Profile Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
Search Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Security Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
Settings Respect the "sensitive" flag for summaries 2024-05-15 12:17:06 +00:00
Special Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Update API: Access channels and groups via lists 2024-04-19 21:42:34 +00:00
User Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
WellKnown Use centralized functions for tag string handling 2024-01-28 06:32:55 +00:00
About.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
AccountManagementControlDocument.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Acctlink.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Apps.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Attach.php Fix several vulnerabilities (#13927) 2024-02-22 06:53:52 +01:00
BaseAdmin.php Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
BaseApi.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseModeration.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseNotifications.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseProfile.php Comstants for features 2024-03-24 14:48:23 +00:00
BaseSearch.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseSettings.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Credits.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Directory.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Feed.php Performance improvements when displaying local posts 2024-04-17 19:16:47 +00:00
FollowConfirm.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Friendica.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
FriendSuggest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Hashtag.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
HCard.php Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
Help.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Home.php Provide OpenWebAuth related data 2024-05-26 06:45:26 +00:00
Install.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Invite.php Some more deprecated function calls are replaced 2024-05-14 19:21:25 +00:00
Magic.php Fix remote login issues between Friendica instances 2024-05-26 20:04:48 +00:00
Maintenance.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Manifest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
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
NoScrape.php Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
OpenSearch.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Owa.php Enable "magic" with Hubzilla 2024-05-26 12:44:08 +00:00
ParseUrl.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Photo.php Many deprecated function calls are replaced 2024-05-13 21:37:15 +00:00
PublicRSAKey.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
RandomProfile.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Register.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Response.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
RobotsTxt.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Smilies.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Statistics.php Automatically close the registration when the admin is inactive 2024-03-22 04:19:40 +00:00
Theme.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
ThemeDetails.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
ToggleMobile.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Tos.php Deprecate use of [*] BBCode tag for list items in favor of [li] 2024-02-09 20:33:42 -05:00
Welcome.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Xrd.php OpenWebAuth path is now fetched during probing 2024-05-20 19:46:29 +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.