Commit graph

23 commits

Author SHA1 Message Date
Roland Häder
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael
a0b99f61ea Use the cached activity function 2022-09-07 19:46:24 +00:00
Michael
da658cbf1d Delete the cache entry when the post is changed or deleted 2022-09-06 21:51:47 +00:00
Michael
6eb9dff807 Pagecache for frequently fetched pages 2022-09-06 06:04:41 +00:00
Michael
eb1f38df22 Issue 11427: id values of OrderedCollections have to contain the page number 2022-04-21 04:29:08 +00:00
Michael
d15023fe4b Unified JSON exit 2022-04-09 11:58:01 +00:00
Michael
344e12c4fc Use $request 2022-04-09 08:17:26 +00:00
Michael
a1e675ded1 use jsonexit 2022-04-09 03:41:24 +00:00
Michael
d7df0825db We now offer an endpoint for featured posts 2022-04-08 21:25:31 +00:00
Michael
9ac24a0f36 More rework to make private communities working 2022-02-16 22:56:55 +00:00
Michael
33edfc6a5f Fix for private communities 2022-02-15 23:51:13 +00:00
Michael
f87b80266c Display followers for followers of private forums 2022-02-08 21:05:15 +00:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
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
Philipp
5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Michael
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Hypolite Petovan
c4fdc7466d Test item psid against PermissionSet::PUBLIC constant instead in ActivityPub\Objects
- Address https://github.com/friendica/friendica/issues/10755#issuecomment-950393419
2021-10-24 23:00:40 -04:00
Philipp
64a336ee8d
Rename method again 2021-10-18 23:32:46 +02:00
Philipp
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
Philipp
62eb16e9ad
Migrate PermissionSet to Depository paradigm 2021-10-07 19:53:38 +02:00
Michael
f62f82df75 Move ActivityPub endpoints to an AP class 2021-07-17 20:28:46 +00:00