1
0
Fork 0
Commit graph

34 commits

Author SHA1 Message Date
c88d306a41 Use the correct content type 2022-04-11 06:07:50 +00:00
4a22034be6 Unified output via the "httpExit" function 2022-04-10 08:31:55 +00:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
8bdd90066f
Make BaseModule a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
23b10cf2ae Some removed escapeTags calls 2021-11-05 19:59:18 +00:00
7cdd2d1336 Refactor User::getAvatarUrlForId into getAvatarUrl
- Use user/owner array as parameter instead of uid
- Rename $profile variables to $owner when it's the result of User::getOwnerDataByNick
- Replace Module\Photo::stripExtension with native pathinfo() calls
2021-10-02 19:06:25 -04:00
a91e3f5dbc Issue 10720: Use different path scheme for user avatars 2021-09-17 18:36:20 +00:00
51d549639d Fix profile probing via Pleroma 2021-08-09 06:56:41 +00:00
a26a2a0228 Make the system owner ready for Diaspora 2021-08-05 08:30:44 +00:00
df558d4056 Completely removed argc/argv 2021-07-25 15:23:37 +00:00
09aa496387 Some more places changed to the new contact avatar path format 2021-06-30 16:58:46 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
b12a2c486e Use "getActorName" 2020-08-22 18:52:37 +00:00
7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
f2adec6a7f Add error handling in Module\Xrd
- Address part of https://github.com/friendica/friendica/issues/8475#issuecomment-653912096
2020-07-08 09:14:34 -04:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-29 20:17:48 +01:00
1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
8c03bdada9 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
abe6724629 Added parameter to rawContent 2019-11-05 19:16:26 +00:00
Philipp Holzer
7343ee5108
Move Namespace of ActivityNamespace 2019-10-25 00:41:48 +02:00
Philipp Holzer
dc2858938d
Renamed to ActivityNamespace 2019-10-25 00:32:35 +02:00
Philipp Holzer
2fba7ed477
Rename namespace 2019-10-24 21:40:13 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
f59ea2af55 Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
d8ed2ed76d it is poll, not notify 2019-06-19 18:32:38 +00:00
4ab772ed67 Issue 6477: Automatically repair self contact avatar 2019-06-19 17:05:29 +00:00
Philipp
2628da422a
Merge pull request #7068 from MrPetovan/task/7047-theme-error-page
Themed error page redux
2019-05-02 21:15:29 +02:00
41f781c52a Replace System::httpExit() by HTTPException throwing 2019-05-02 11:37:09 -04:00
9774c95b80 Remove duplicate $baseurl template variable
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
2ae4b9f7e9
Last refactoring :-) / refactor due feedback 2019-05-01 19:17:52 +02:00
8581fbb40f
refactor caused by feedback 2019-05-01 18:25:07 +02:00