friendica/src/Module
Michael Vogel 2cc8fcc4aa
Merge pull request #13880 from MrPetovan/bug/13878-deprecate-star-list
Deprecate use of [*] BBCode tag for list items in favor of [li]
2024-02-11 03:13:28 +01:00
..
ActivityPub Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Admin Use centralized functions for tag string handling 2024-01-28 06:32:55 +00:00
Api "sensitive" is added to the API 2024-02-06 16:30:46 +00:00
Blocklist/Domain Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Calendar Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Contact Avoid duplicated post button on the contact conversation page (#13867) 2024-02-01 19:47:43 +01:00
Conversation Issue 13844: User defined channels based on the network 2024-02-04 07:14:57 +00:00
Debug Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Media Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Moderation The account overview is now grouped by the account type 2024-01-23 22:05:14 +00:00
Notifications Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
OAuth Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
OStatus [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05:00
Post Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Profile "ANY_VALUE" is removed 2024-01-15 16:45:24 +00:00
Search Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Security Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Settings User setting to disable blurring of sensitive pictures (#13883) 2024-02-10 09:50:49 +01:00
Special Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Update Issue 13844: User defined channels based on the network 2024-02-04 07:14:57 +00:00
User Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
BaseAdmin.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Circle.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
FollowConfirm.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Friendica.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Help.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Home.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Install.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Invite.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Magic.php [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05: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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NodeInfo120.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NodeInfo210.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
NoScrape.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Oembed.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
OpenSearch.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Owa.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
ParseUrl.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
PermissionTooltip.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Photo.php Sensitive previews are now blurred 2024-02-06 16:15:58 +00:00
Proxy.php [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices 2024-01-12 08:42:46 -05: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 Update src/Module/Register.php 2024-01-30 15:28:49 +01: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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +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.