eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI
2022-10-20 22:59:39 +02:00
d2da2492b7
old boot.php functions replaced in src/module
2022-10-19 08:53:45 -04:00
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
e6440471ae
Throw an error when the feed is invalid
2022-05-03 08:20:26 +00:00
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
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
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
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
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
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
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
8c03bdada9
parameters now are having a default value and are optional
2019-11-05 21:48:54 +00:00
bd62d548db
Added parameters
2019-11-05 20:22:54 +00:00
f59ea2af55
Replace deprecated defaults() calls by ?? and ?: operators in src/Module/
2019-10-15 09:20:32 -04:00
c5e7abf9c5
Move mod/allfriends to src/Module/AllFriends
2019-05-02 22:03:27 +02:00
41f781c52a
Replace System::httpExit() by HTTPException throwing
2019-05-02 11:37:09 -04:00
07ba1b200c
Add routes for current BaseModules
2019-05-01 21:29:04 +02:00
faff105f86
Fix feed display in browser when using emojis
2018-12-16 22:58:43 -05:00
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
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
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