1
0
Fork 0
friendica_2020-09-1_sharedH.../src/Module
Philipp cba656383e
Adhere feedback
- rename hooks.config.php to strategies.config.php
- change all corresponding classes and tests
2023-07-21 22:42:24 +02:00
..
ActivityPub Centralize Vary header declaration in ActivityPub::isRequest 2023-07-08 22:24:01 -04:00
Admin Adhere feedback 2023-07-21 22:42:24 +02:00
Api Add fields to Report entity 2023-07-09 18:32:42 -04:00
Blocklist/Domain
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 Apply suggestions from code review 2023-02-19 11:12:48 +01:00
DFRN
Diaspora spelling: protocol 2023-03-26 16:14:16 -04:00
Filer
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 Fix WSOD when creating a report using PHP8.x 2023-07-15 14:41:29 +02:00
Notifications Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
OAuth
OStatus
Post The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Profile Merge pull request #13264 from MrPetovan/task/hide-blocklist 2023-07-09 21:26:59 +02:00
Search Decouple conversation creation from rendering 2023-07-08 16:57:52 -04: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
AccountManagementControlDocument.php
Acctlink.php
Apps.php
Attach.php spelling: permission 2023-03-26 16:14:16 -04:00
BaseAdmin.php
BaseApi.php Don't perform BasicAuth on public endpoints 2023-04-08 19:17:57 +00:00
BaseModeration.php
BaseNotifications.php spelling: with 2023-03-26 16:14:16 -04:00
BaseProfile.php
BaseSearch.php Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
BaseSettings.php
Bookmarklet.php
Circle.php Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Contact.php Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Credits.php
Delegation.php Remove support for user.parent-uid = 0 2023-05-29 18:32:21 -04:00
Directory.php
Feed.php
FollowConfirm.php
Friendica.php Hide blocklist from anonymous users on closed registration nodes 2023-07-09 08:23:35 -04:00
FriendSuggest.php
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
Manifest.php
NodeInfo110.php
NodeInfo120.php
NodeInfo210.php Apply suggestions from code review 2023-02-19 11:12:48 +01:00
NoScrape.php
Oembed.php
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
PermissionTooltip.php Replace "group" with "circle" in the rest of the code 2023-05-27 22:01:45 -04:00
Photo.php
Proxy.php Use "Exception" 2023-02-26 22:43:45 +00:00
PublicRSAKey.php
RandomProfile.php
README.md
ReallySimpleDiscovery.php
Register.php Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Response.php
RobotsTxt.php spelling: disallowed 2023-03-26 20:03:51 -04:00
Smilies.php
Statistics.php
Theme.php
ThemeDetails.php
ToggleMobile.php
Tos.php
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.