Commit Graph

103 Commits

Author SHA1 Message Date
Philipp 561aba18e3
Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +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 645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
This reverts commit 89d6c89b67.
2021-11-19 20:18:48 +01:00
Hypolite Petovan 89d6c89b67
Revert "Replace Module::init() with Constructors" 2021-11-19 07:23:23 -05:00
Philipp dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules 2021-11-18 23:23:58 +01:00
Philipp ce578a7745
Replace Module::init() with Constructors 2021-11-17 22:14:33 +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 cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
Michael 359dad4244 Some more "escapeTags" removed 2021-11-06 20:25:21 +00:00
Michael 516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
Michael 57353eb9b0 Changed scope 2021-10-31 04:54:24 +00:00
Philipp 68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Michael d3ebb3ac49 Added missing "break" 2021-10-11 05:51:18 +00:00
Michael 41dc6cea2b Replace the legacy function 2021-10-11 04:33:10 +00:00
Michael ee2b249d00 Empty comments removed 2021-10-10 05:38:49 +00:00
Michael 2c134c5229 q is now completely removed 2021-10-09 21:16:15 +00:00
Michael 0ad904c185 The conversation functionality moved to a class 2021-09-23 21:18:36 +00:00
Michael 473adaf463 Mark, file and starring does now work for all items 2021-08-12 05:28:47 +00:00
Michael 098cd543ea Cleaned code for contact avatars 2021-07-06 10:36:00 +00:00
Michael 6c90005363 Issue 9923: Fix DB Error 1055 2021-05-29 21:28:40 +00:00
Michael 95f741c427 Improve data of shared posts 2021-05-07 06:26:41 +00:00
Michael c9a00fcb1c Issue 10156: Fix endless scroll with filed posts
Fixes #10156
2021-04-20 20:51:09 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael d2c734c025 Issue 9986: Improve contact search 2021-03-06 21:52:26 +00:00
Michael ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael 2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Michael c3d0ab56a5 Issue 9584: Only search posts from federated networks 2020-12-12 19:55:47 +00:00
Hypolite Petovan 4d15cc01e2 Move network module to src/
- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets
2020-10-13 07:52:13 -04:00
Michael d504789c34 Reduce the amount of contact updates 2020-10-03 10:52:34 +00:00
Michael 88a0e976da Endless scrolling for searches and contact comments 2020-09-30 19:14:13 +00:00
Hypolite Petovan c8f385727e
Improve log message language in Module/Search/Index.php
Co-authored-by: Steffen K9 <admin@libranet.de>
2020-09-20 11:19:03 -04:00
Michael 2bd1e8cf65 Corrected comment 2020-09-20 09:38:31 +00:00
Michael 6bdc55e13e Issue 9246: Don't perform fulltext searches on URL 2020-09-20 09:37:05 +00:00
Michael e6884a934c Fix Notice: "Undefined variable: r" 2020-09-19 16:47:00 +00:00
Michael 6020e824a8 Don't set count to 0 2020-09-19 12:07:17 +00:00
Michael 86592daaa1 Include more field in the fulltext search 2020-09-19 10:45:11 +00:00
Michael dfeae25e6d Issue 9231: Speed up full text search 2020-09-19 08:26:50 +00:00
Michael 03157cc2f2 Issue 9165: Make pager work for search 2020-09-17 21:10:59 +00:00
Hypolite Petovan ac90387d82 Fix wrong contact array key reference in Search\Acl
- Addresses https://github.com/friendica/friendica/issues/8877#issuecomment-672189155
2020-08-20 09:23:00 -04:00
Michael a20887a78e Test message removed 2020-08-04 05:46:00 +00:00
Michael 041a96555b Contact search is fixed 2020-08-04 05:44:38 +00:00
Michael cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
Michael 71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Michael b79bb0d2cb Fetch photo fields, ensuring that they are filled 2020-07-28 12:58:19 +00:00
Michael 3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
Michael b8682190de Fix fallback on unknown contact 2020-07-16 04:18:33 +00:00
Michael fc0312451d Changed parameter order for getByURL 2020-07-15 17:06:48 +00:00