Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Hypolite Petovan 8111ede2e5 Add support for max_id parameter in new Twitter contact API endpoints 1 year ago
..
Admin Replace remaining instances with "allowlist", "denylist" and "blocklist" 11 months ago
Api Add support for max_id parameter in new Twitter contact API endpoints 11 months ago
Contact Update log string in Module\Contact\Poke 1 year ago
Conversation New query for community page 1 year ago
Debug Remove remaining references to cirtual field item.tag 1 year ago
Diaspora Support unlisted public posts 1 year ago
Filer Add license info at Friendica classes 1 year ago
HTTPException Add license info at Friendica classes 1 year ago
Item Remove "hidewall" check from ACL 1 year ago
Notifications Add UID as parameter for notify repository call 1 year ago
Profile File and category aren't using "term" anymore 1 year ago
Search Issue 8514: Make paging for searcg items work again 1 year ago
Security Add license info at Friendica PHP files 1 year ago
Settings Some more forgotten DBA::close 1 year ago
Special Add license info at Friendica classes 1 year ago
Update Expand system.no_auto_update to community, profile statuses and contact conversations pages 1 year ago
WellKnown Add license info at Friendica classes 1 year ago
AccountManagementControlDocument.php Add license info at Friendica classes 1 year ago
Acctlink.php Add license info at Friendica classes 1 year ago
AllFriends.php Add L10n parameter to Pager classes 1 year ago
Apps.php Add license info at Friendica classes 1 year ago
Attach.php Add license info at Friendica PHP files 1 year ago
BaseAdmin.php Add license info at Friendica classes 1 year ago
BaseApi.php Add license info at Friendica classes 1 year ago
BaseNotifications.php Add L10n parameter to Pager classes 1 year ago
BaseProfile.php Add license info at Friendica classes 1 year ago
BaseSearch.php Add node-wide default items per page config 1 year ago
BaseSettings.php "Delegations" is renamed to "Accounts" 1 year ago
Bookmarklet.php Add license info at Friendica classes 1 year ago
Contact.php Rename contact table column to ffi_keyword_denylist 11 months ago
Credits.php Add license info at Friendica classes 1 year ago
Delegation.php Add license info at Friendica classes 1 year ago
Directory.php Fix for "Undefined index: profile_url" 1 year ago
Feed.php Add license info at Friendica classes 1 year ago
FollowConfirm.php cleanup namespace usages for L10n 1 year ago
Followers.php Combine getFollowers and getFollowing into getContacts in ActivityPub\Transmitter 1 year ago
Following.php Combine getFollowers and getFollowing into getContacts in ActivityPub\Transmitter 1 year ago
FriendSuggest.php Add license info at Friendica classes 1 year ago
Friendica.php Add license info at Friendica classes 1 year ago
Group.php Add license info at Friendica PHP files 1 year ago
Hashtag.php Usage of the new tag tables 1 year ago
Help.php Add license info at Friendica classes 1 year ago
Home.php Add license info at Friendica classes 1 year ago
HoverCard.php Clarify the effect of "net-publish" 1 year ago
Inbox.php Add license info at Friendica PHP files 1 year ago
Install.php Add license info at Friendica classes 1 year ago
Invite.php Add license info at Friendica classes 1 year ago
Like.php Improve performance of asynchronous like/update 12 months ago
Magic.php Add license info at Friendica PHP files 1 year ago
Maintenance.php Add license info at Friendica classes 1 year ago
Manifest.php Move manifest JSON from template to array 1 year ago
NoScrape.php Exit with an error if profile info isn't available in Module\NoScrape 11 months ago
NodeInfo.php Add license info at Friendica classes 1 year ago
Objects.php Issue 8700: Resolvable activities 12 months ago
Oembed.php Add license info at Friendica classes 1 year ago
OpenSearch.php Add license info at Friendica classes 1 year ago
Outbox.php Add license info at Friendica PHP files 1 year ago
Owa.php Add license info at Friendica PHP files 1 year ago
Photo.php Issue 8371: Improvements for picture permissions 1 year ago
Pinned.php Add license info at Friendica classes 1 year ago
Proxy.php Add license info at Friendica PHP files 1 year ago
PublicRSAKey.php Add license info at Friendica classes 1 year ago
README.md fixing text 2 years ago
RandomProfile.php Add license info at Friendica classes 1 year ago
ReallySimpleDiscovery.php Add license info at Friendica classes 1 year ago
Register.php Add license info at Friendica classes 1 year ago
RemoteFollow.php Issue 8675: reduce requests of foreign pages 12 months ago
RobotsTxt.php Add license info at Friendica classes 1 year ago
Smilies.php Add license info at Friendica classes 1 year ago
Starred.php Add license info at Friendica classes 1 year ago
Statistics.php Add license info at Friendica classes 1 year ago
Theme.php Add license info at Friendica classes 1 year ago
ThemeDetails.php Add license info at Friendica classes 1 year ago
ToggleMobile.php Add license info at Friendica classes 1 year ago
Tos.php Add license info at Friendica PHP files 1 year ago
Welcome.php remove default from welcome.php 1 year ago
Worker.php Add license info at Friendica classes 1 year ago
Xrd.php Add license info at Friendica classes 1 year ago

README.md

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.