friendica/src/Module
2019-12-28 11:17:10 +00:00
..
Admin parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Api/Mastodon Improve Api\Mastodon\Account with data from apcontact 2019-12-11 08:25:45 -05:00
Base Update Base\Api::login to return the authentication status 2019-12-11 08:24:16 -05:00
Contact parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Debug Add BBCode to Markdown to HTML raw result in Module\Babel 2019-12-27 20:44:24 -05:00
Diaspora Don't use the creation date when transmitting to Diaspora 2019-11-22 21:24:02 +01:00
Filer parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
HTTPException parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Item Add check for $_REQUEST key existence in Module\Item\Compose 2019-12-19 07:48:08 -05:00
Notifications parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Profile Additionally display the protocol together with the network 2019-12-27 17:24:29 +00:00
Search Remove test loggings 2019-12-28 11:17:10 +00:00
Settings parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Special Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
TwoFactor Merge branch 'master' 2019.12 into develop 2019-12-23 20:03:47 +01:00
WellKnown Modules separated 2019-11-28 07:07:34 +00:00
AccountManagementControlDocument.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Acctlink.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
AllFriends.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Apps.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Attach.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
BaseAdminModule.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
BaseSearchModule.php Rename BaseSearchModule::performSearch to performContactSearch to remove purpose confusion 2019-12-24 17:15:41 -05:00
BaseSettingsModule.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Bookmarklet.php Use visibility tags input for the default ACL selector 2019-11-28 12:54:53 -05:00
Contact.php Additionally display the protocol together with the network 2019-12-27 17:24:29 +00:00
Credits.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Delegation.php Move Cookie to own class (with tests) 2019-12-08 22:45:34 +01:00
Directory.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Feed.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
FollowConfirm.php Update web modules handling introduction to use new model class 2019-12-11 08:24:17 -05:00
Followers.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Following.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Friendica.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Group.php Remove group management restrictions on pending and blocked in Module\Group 2019-12-24 16:44:43 -05:00
Hashtag.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Help.php Update Module\Help to use anchor words for titles 2019-12-09 22:50:37 -05:00
Home.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Inbox.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Install.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Invite.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Like.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Login.php Move Cookie to own class (with tests) 2019-12-08 22:45:34 +01:00
Logout.php Refactor Session Handling (make it more simple & handler are now handler again) 2019-12-11 20:30:31 +01:00
Magic.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Maintenance.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Manifest.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
NodeInfo.php Fix: Newer Friendica servers had been detected as ActivityPub 2019-12-21 13:51:25 +00:00
Objects.php Make quoted announces look better / more announce improvements 2019-12-04 07:02:39 +00:00
Oembed.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
OpenSearch.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Outbox.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Owa.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Photo.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Pinned.php Pinning: Missing file added 2019-11-09 03:17:18 +00:00
Profile.php Use visibility tags input for the default ACL selector 2019-11-28 12:54:53 -05:00
Proxy.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
PublicRSAKey.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
RandomProfile.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
README.md fixing text 2019-05-01 20:17:15 +02:00
ReallySimpleDiscovery.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Register.php [hotfix] Fix syntax error in Module\Register 2019-11-09 01:09:26 -05:00
RobotsTxt.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Smilies.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Starred.php Changed exceptions 2019-11-05 22:28:12 +00:00
Statistics.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Theme.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
ThemeDetails.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
ToggleMobile.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Tos.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Welcome.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Xrd.php parameters now are having a default value and are optional 2019-11-05 21:48:54 +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.