Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Hypolite Petovan
da1416c07f
Move System::httpExit to BaseModule->httpExit
...
- This will ensure headers set in BaseModule->run will be carried in httpExit scenarios
- Deprecate httpExit() method in Core\System
2023-09-24 07:08:15 -04:00
Michael
53e8b21ca3
Fix: Forum posts from some contacts weren't distributed
2023-01-11 21:55:32 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Hypolite Petovan
b83526ad0b
Tighten profile restriction feature
...
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
Philipp Holzer
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI
2022-10-20 22:59:39 +02:00
Michael
d2da2492b7
old boot.php functions replaced in src/module
2022-10-19 08:53:45 -04:00
Roland Häder
eaed3945d1
Changed:
...
- used `$this->getRequestValue($request, 'foo', <bar>)` instead of `$request['foo'] ?? <bar>`
- fixed wrong variable naming
- changed double-quotes to single
- see https://github.com/friendica/friendica/issues/11631#issuecomment-1196410497
2022-07-29 00:38:46 +02:00
Michael
e6440471ae
Throw an error when the feed is invalid
2022-05-03 08:20:26 +00:00
Michael
4a22034be6
Unified output via the "httpExit" function
2022-04-10 08:31:55 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp Holzer
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 Holzer
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
Philipp Holzer
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp Holzer
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Michael
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
Michael
ecf6018b89
Atom feed generation is moved to the feed class
2020-07-17 04:40:20 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp Holzer
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
Michael
8c03bdada9
parameters now are having a default value and are optional
2019-11-05 21:48:54 +00:00
Michael
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
Hypolite Petovan
f59ea2af55
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
2019-10-15 09:20:32 -04:00
Philipp Holzer
c5e7abf9c5
Move mod/allfriends to src/Module/AllFriends
2019-05-02 22:03:27 +02:00
Hypolite Petovan
41f781c52a
Replace System::httpExit() by HTTPException throwing
2019-05-02 11:37:09 -04:00
Philipp Holzer
07ba1b200c
Add routes for current BaseModules
2019-05-01 21:29:04 +02:00
Hypolite Petovan
faff105f86
Fix feed display in browser when using emojis
2018-12-16 22:58:43 -05:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Michael
5f258dac22
Make feeds look more like feeds
2018-11-15 13:21:58 +00:00
Hypolite Petovan
9d0a6f90b6
Update "mrpetovan" email address
...
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Michael
15a857e411
Line endings are converted to unix style
2018-02-09 03:49:49 +00:00
Adam Magness
9b8599b619
Move functions to system
...
move some functions to system
2018-01-27 11:59:10 -05:00
Adam Magness
cd3643d174
Move xml_status and http_status_exit
...
move functions
2018-01-26 23:37:55 -05:00
Hypolite Petovan
a75a27e08f
Add Feed module
...
- Update profile alternate links
2017-12-30 00:32:45 -05:00