Commit Graph

45 Commits

Author SHA1 Message Date
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 64d181c1cc Code style 2021-09-24 04:35:27 +00:00
Michael 0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
Michael 9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael 5d61599964 Fix notices
See https://github.com/friendica/friendica/issues/9749#issuecomment-774666356
and https://github.com/friendica/friendica/issues/9747#issuecomment-785262156
2021-04-10 16:19:22 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael 1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael 92a8a399de Improved indexes, avoiding SQL errors, improving speed 2021-02-20 20:07:25 +00:00
Michael 5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Michael ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Michael b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael 2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Hypolite Petovan 5abe069cba Remove Widget::accounts in favor of Widget::accounttypes 2020-10-13 22:30:40 -04:00
Hypolite Petovan 9537a6d0f7 Remove unused App->force_max_items property 2020-10-13 07:52:13 -04:00
Hypolite Petovan 4427876c05 Implement correct behavior for min_id in boundary pagination
- The previous behavior of since_id systematically showed the most recent results
2020-10-13 00:11:39 -04:00
Michael 4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
Michael a79f750a9e Fix refresh after comment/like 2020-10-07 04:01:52 +00:00
Michael f255749c6a Issue 9358: liking and commenting on the community page now gives a feedback 2020-10-06 05:18:54 +00:00
Michael 6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
Michael 52e150551e Fix notice "Undefined index: accounttype" 2020-09-28 11:27:48 +00:00
Michael 9586577c5a Restructured code 2020-09-27 05:46:07 +00:00
Michael 08016710d4 Unused code fragment removed 2020-09-27 05:31:39 +00:00
Michael de9cd9881c We don't seem to need the date formatting 2020-09-27 05:27:52 +00:00
Michael 55aa9c1cca Issue 9288: Endless scrolling on the community page 2020-09-27 05:25:32 +00:00
Michael 3efbf1beb7 Fix notice 2020-09-26 18:59:31 +00:00
Michael 4a40a40ed1 Merge remote-tracking branch 'upstream/develop' into hide-sharer 2020-09-26 18:05:15 +00:00
Michael c0ddcfb0cd Hide own contacts 2020-09-26 18:01:10 +00:00
Michael 3ffb90cf07 Improve naming, make widget collapsable 2020-09-26 14:13:14 +00:00
Hypolite Petovan 4657a8c97a
Merge pull request #9280 from annando/account-selector
Account selector for the community page
2020-09-26 08:45:28 -04:00
Michael f936d93730 Moved "selected" check into the template 2020-09-26 12:13:30 +00:00
Michael 5a48002575 Account selector for the community page 2020-09-26 11:05:18 +00:00
Michael b522f20702 Issue 9268: Don't show posts from followers on community page 2020-09-26 09:09:56 +00:00
Michael 3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
Michael d3c6f6de2a New query for community page 2020-03-02 14:59:16 +00:00
Michael ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Hypolite Petovan e0d03615bc Add node-wide default items per page config 2020-02-16 13:04:26 -05:00
Hypolite Petovan d78f66cd09 Replace local_user() by Session::isAuthenticated() where appropriate 2020-02-16 12:50:44 -05:00
Hypolite Petovan 561472b975 Add L10n parameter to Pager classes 2020-02-16 12:50:39 -05:00
Hypolite Petovan 682fb7e4e2 Move community module to src/
- Use boundaries pagination instead of number pages
- Trim down community update module output
- Part of https://github.com/friendica/friendica/issues/4090
2020-02-16 04:41:22 -05:00