friendica-github/src/Module
2024-08-19 20:01:31 +00:00
..
ActivityPub Count inbound and outbound packets 2024-07-24 20:50:46 +00:00
Admin Issue 14312: fix uimport path / restore POST endpoints 2024-08-03 12:20:56 +00:00
Api Issue 14368: Fix access to the global timeline 2024-08-19 20:01:31 +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 14349: Fix profile page for unrelated contacts 2024-08-11 06:44:24 +00:00
Conversation Set posts "seen" by a worker if too much rows are unseen 2024-06-23 21:33:25 +00:00
Debug Issue 14312: fix uimport path / restore POST endpoints 2024-08-03 12:20:56 +00:00
DFRN Count inbound and outbound packets 2024-07-24 20:50:46 +00:00
Diaspora Count inbound and outbound packets 2024-07-24 20:50:46 +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 Use "post" instead of "rawContent" 2024-07-28 09:58:02 +00:00
Media Fix fatal error on upload 2024-07-20 15:45:05 +00:00
Moderation Merge branch 'stable' into develop 2024-08-17 17:29:18 +02:00
Notifications Issue 14312: fix uimport path / restore POST endpoints 2024-08-03 12:20:56 +00:00
OAuth Issue 14303: Fixes %3f problem with OAuth login 2024-08-03 19:21:29 +00:00
OStatus Count inbound and outbound packets 2024-07-24 20:50:46 +00:00
Ping API: Access channels and groups via lists 2024-04-19 21:42:34 +00:00
Post Issue 14295: Store the return url as hex string 2024-07-14 11:14:37 +00:00
Privacy Escape output of PermissionTooltip module 2024-05-10 11:25:59 -04:00
Profile Fix paging on media pages 2024-06-15 09:04:36 +00:00
Search ACL works again 2024-07-30 14:45:49 +00:00
Security Merge pull request #14340 from annando/issue-14312 2024-08-04 16:58:09 +02:00
Settings Issue 14324: Sanitize profile input 2024-07-28 04:36:16 +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 Add nodeinfo 2.1 and 2.2 2024-06-16 08:38:37 +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 Improved redirect for contact actions 2024-08-06 21:35:59 +00:00
Credits.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Directory.php OpenWebAuth moved to a separate class / Improved authentication handling 2024-05-28 21:59:52 +00:00
Feed.php Statistics: Inbound/Outbound for more protocols 2024-08-05 20:34:17 +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 Support for "nodeDescription" in nodeinfo 2024-06-18 05:19:38 +00:00
NodeInfo121.php Support for "nodeDescription" in nodeinfo 2024-06-18 05:19:38 +00:00
NodeInfo122.php Add nodeinfo 2.1 and 2.2 2024-06-16 08:38:37 +00:00
NodeInfo210.php Add nodeinfo 2.1 and 2.2 2024-06-16 08:38:37 +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 OpenWebAuth moved to a separate class / Improved authentication handling 2024-05-28 21:59:52 +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 OpenWebAuth moved to a separate class / Improved authentication handling 2024-05-28 21:59:52 +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
Stats.php Fix the datetime of the last cron execution 2024-08-06 05:47:41 +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 Return rel=self link for xrd+xml webfinger responses 2024-08-17 23:05:45 +02: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.