f20caf4c3a
Refactor DI out from Module\Friendica
2023-07-08 22:24:03 -04:00
6e2ab6c3af
Centralize Vary header declaration in ActivityPub::isRequest
...
- Vary header should be set every time we vary the display based on an HTTP header value
2023-07-08 22:24:01 -04:00
Gidi Kroon
40783db161
Make requested changes
2023-06-25 20:54:04 +02:00
Gidi Kroon
6a5266c6b8
Add Vary header in case of content negotiation
...
Sometimes we return different content depending on whether JSON, XML or
HTML was requested in the Accept request header. The Vary response
header should list that header in these cases, to allow caching
frameworks to determine what to cache.
2023-06-25 03:22:41 +02:00
30e1851747
Cast the base URL as string in /friendica/json
...
- This was causing the data.url key to have no value, which broke the directory integration
2023-03-12 17:55:57 -04:00
f0c29edcde
Adapt BaseURL calls to new UriInterface
2023-02-18 21:12:21 +01:00
1e574d5383
Refactor IManageConfigValues interface
2023-01-03 14:22:04 +01:00
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
10f8631cd9
Replace PostUpdate key-value config entries with key-value pair entries
2022-12-29 21:53:56 +01:00
62a0d55fc8
The friendica constants have been moved to the app class
2022-10-17 10:37:48 +00:00
7d7a5a65e9
Add download feature for domain block list
...
- Add new /blocklist/domain/download route
- Add link on /friendica page
2022-07-27 11:54:50 -04:00
1e890e16ac
Switched maximum database update with currently worked on to "current/max" as
...
this is understandable that update X of maximum Y is applied.
Signed-off-by: Roland Häder <roland@mxchange.org>
2022-06-08 11:48:05 +02:00
d15023fe4b
Unified JSON exit
2022-04-09 11:58:01 +00:00
51b2bf6f70
Avoid returning of the actor when requesting friendica/json
2022-03-28 13:12:45 +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
dfb043ce60
Add Exception for empty User::getOwnerDataById(0 return case in Protocol\ActivityPub\Transmitter::getProfile()
...
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-882781552
- Add try-catch blocks to all references of Protocol\ActivityPub\Transmitter::getProfile()
2021-07-27 16:46:08 -04:00
df558d4056
Completely removed argc/argv
2021-07-25 15:23:37 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
cb5a9ae286
Issue 9363: Display the latest post update version
2020-10-04 20:46:42 +00:00
50b5483ee1
Ability to set the database version
2020-09-13 15:57:24 +00:00
7dbf72e454
We now fetch data with an automatically generated system user
2020-08-22 14:48:09 +00:00
e06d9f20cf
AP: Always sign requests
2020-07-29 05:12:16 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
eb011f47bb
Publish lowercase
2020-01-12 21:13:16 +00:00
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config()
2019-12-29 20:17:40 +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
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
abe6724629
Added parameter to rawContent
2019-11-05 19:16:26 +00:00
9123361d61
added feedback
2019-05-05 10:00:28 +02:00
28d6441d69
add PHP doc
2019-05-04 10:18:41 +02:00
6f787f2422
Move mod/friendica to src/Module/Friendica
2019-05-04 10:14:29 +02:00