Commit graph

126 commits

Author SHA1 Message Date
Hypolite Petovan
81279dad9e Move System::jsonExit to BaseModule->jsonExit
- This will ensure headers set in BaseModule->run will be carried in jsonExit scenarios
- Deprecate jsonExit() method in Core\System
2023-09-24 07:08:15 -04:00
Michael
858151807f Improved logging 2023-08-03 20:36:19 +00:00
Hypolite Petovan
706444bdb2 Decouple conversation creation from rendering
- This allows to separately obtain a list of threads for rendering without having to deal with an already-formed HTML output
2023-07-08 16:57:52 -04:00
Hypolite Petovan
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Hypolite Petovan
4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Josh Soref
7f4b6ed7b3 spelling: construct
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Michael
f542211189 Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
Hypolite Petovan
6e06a7f14c Remove dependency to DI in Search\Acl module 2023-01-01 18:47:44 -05:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Michael
d75cd8a00a The GNU-Social import is removed 2022-12-21 22:21:22 +00:00
Hypolite Petovan
9de6350154 Reorder search to try redirecting to post first
- Pleroma's post page includes the author's feed which wrongly gets picked up as a contact
- Address https://libranet.de/display/0b6b25a8-1563-7ec0-7408-70b986546395
2022-11-24 22:21:51 -05:00
Philipp
7c66073e4b
Add license 2022-11-09 22:29:43 +01:00
Philipp
75360f3b8c
Move mod/mod/msearch & mod/match to src/Module 2022-11-09 22:17:50 +01:00
Philipp
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI 2022-10-20 22:59:39 +02:00
Michael
d47d78f2d4 old boot.php functions replaced in src/module (4) 2022-10-19 09:23:12 -04:00
Michael
fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
Roland Häder
4e5179a7b3
Changes:
- added some missing type-hints
- fixed some documentation (e.g. empty * line between @param and @return/throws)
2022-07-19 18:02:38 +02:00
Philipp
d441b90bda
Respect Forwarded-For headers 2022-06-23 22:42:35 +02:00
Michael
47808ab0e9 Issue 11487: IDN support added 2022-05-11 06:34:25 +00:00
Michael
d15023fe4b Unified JSON exit 2022-04-09 11:58:01 +00:00
Michael
c5337c81e7 Improve contact search speed / assume octet-stream on missing content type 2022-01-27 04:05:11 +00:00
Balázs Úr
733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
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