Philipp
dc46af5ea1
Automatically return allowed HTTP methods for OPTIONS per specific endpoint
2022-01-04 20:59:27 +01:00
Philipp
4e67bfed8d
Use Args::getMethod() at various places
2022-01-04 20:59:26 +01:00
Philipp
3092e74a3a
Add OPTIONS endpoint
2022-01-04 20:59:25 +01:00
Philipp
01c1e137f7
Add OPTIONS endpoint
2022-01-04 20:59:24 +01:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
3f6358c85c
Add round
2021-12-10 21:18:43 +01:00
Philipp
39c2282c12
Add Dice logging for Module creation
2021-12-10 21:15:15 +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
238613fd01
Add feedback :)
2021-11-27 12:39:46 +01:00
Philipp
b5d2d32b44
Split and delete ModuleController
...
- $moduleName is part of the argument string => App\Arguments
- $isBackend boolean already part of App\Mode::isBackend()
- $module is now the direct return of App\Router::getModule()
- ModuleController::run() moved to BaseModule::run()
2021-11-27 12:39:45 +01:00
Philipp
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Philipp
68046573a4
Restructure Cache to follow new paradigm
2021-10-26 22:11:06 +02:00
Michael
2aa2c61479
Lock before recreate / fix cache key misspelling
2021-07-25 04:31:48 +00:00
Michael
58a513cb30
Support HTTP OPTIONS requests
2021-06-09 07:27:42 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
db5cd6e66c
API: Mastodon endpoints added as "unimplemented"
2020-11-26 07:02:31 +00:00
Hypolite Petovan
06e3294415
Centralize routes file existence check in App\Router
2020-10-15 21:45:51 -04:00
Hypolite Petovan
df23690a93
Add routes file recompute on last modification time change
2020-10-15 11:45:15 -04:00
Hypolite Petovan
1d0cd7328b
Add dispatch data caching in App\Router
...
- Add new cache key "routerDispatchData"
- Update Dice dependencies since Router constructor signature changed
2020-07-27 02:33:08 -04:00
nupplaPhil
9eca2c98ed
Add license to src\App namespace
2020-02-08 20:42:47 +01:00
nupplaPhil
f9d0e57f91
Fix tests & Router is now using Dependency Injection instead of DI Registry
2020-01-19 22:38:33 +01:00
nupplaPhil
174129af94
add missing namespaces/fix wrong class-names
2020-01-19 16:31:35 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Hypolite Petovan
134d6d18f9
Pass Router parameter to module content method
2019-11-06 22:35:28 -05:00
Michael
8720094b52
Pass the parameters from the router to the modules
2019-11-05 05:03:05 +00:00
Hypolite Petovan
4ee9e21a4f
Make Router::getModuleClass throw exceptions
...
- Add new MethodNotAllowedModule
- Add new Module->determineClass catch blocks
- Update Module and Router tests
2019-10-11 19:59:05 -04:00
Philipp Holzer
0e5cb88888
Add router config
...
- Introduce route.config.php structure
- Adding config loader for routes
- Adapt Module class (separation of duties)
- Add tests
2019-09-29 11:57:27 +02:00
Michael
591ba9c68e
Display pending contacts in the contact list
2019-09-08 19:18:56 +00:00
Hypolite Petovan
c24ca57f21
Add frio-specific /compose module
2019-07-29 20:31:46 -04:00
Hypolite Petovan
1a164b0dc5
Add two-factor app-specific password settings page
...
- Add two-factor app-specific model
- Add link to new page from 2fa settings index page
2019-07-22 07:56:00 -04:00
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00
Hypolite Petovan
9f2529df30
Define expected /fetch module routes
2019-06-14 06:22:01 -04:00
Hypolite Petovan
50e44f46ae
Add profile archive URL pattern to Router
2019-05-25 19:08:43 -04:00
Hypolite Petovan
709eba6ce3
Move /viewcontacts to /profile/{nickname}/contacts[/{type}]
...
- Add contact relationship filter to profile contacts page
- Include feed contacts in contacts page and contact widget
2019-05-20 14:50:09 -04:00
Hypolite Petovan
862159c712
Merge pull request #7165 from nupplaphil/task/mod_dirfind
...
Move mod/dirfind to src/Module/Search/Directory
2019-05-20 14:45:19 -04:00
Hypolite Petovan
0c9b76a585
Merge pull request #7173 from nupplaphil/task/mod_newmember
...
Move mod/newmember to src/Module/Welcome
2019-05-20 14:14:58 -04:00
Philipp Holzer
f97b72eb9f
Move mod/newmember to src/Module/Welcome
2019-05-20 20:12:20 +02:00
Hypolite Petovan
1cd7d50939
Merge pull request #7172 from nupplaphil/task/mod_notice_rm
...
Remove src/Module/Notice
2019-05-20 12:26:28 -04:00
Philipp Holzer
853f5cb92f
Remove src/Module/Notice
...
see https://github.com/friendica/friendica/pull/7159#issuecomment-493744623
2019-05-20 18:22:34 +02:00
Hypolite Petovan
6f0c6e8926
Merge pull request #7160 from nupplaphil/task/mod_probe
...
Move mod/probe to src/Module/Probe
2019-05-19 15:06:13 -04:00
Philipp
a758671a1b
Merge pull request #7154 from MrPetovan/task/refactor-widgets
...
Refactor widgets
2019-05-19 20:52:00 +02:00
Philipp Holzer
5b44fdc202
Split Directory Search as a base for further changes
2019-05-19 05:01:46 +02:00
Philipp Holzer
e00f110ef1
Move mod/dirfind to src/Module/DirFind
2019-05-19 04:28:16 +02:00
Philipp Holzer
492d7abe92
Renamed Diagnostic to Debug and deleted ItemSource (already defined)
2019-05-19 04:24:56 +02:00
Philipp Holzer
48bba87abe
Move mod/probe to src/Module/Probe
2019-05-19 04:24:18 +02:00
Hypolite Petovan
7a13582c67
Merge pull request #7159 from nupplaphil/task/mod_notice
...
Move mod/notice to src/Module/Notice
2019-05-18 22:16:35 -04:00
Hypolite Petovan
ec5c123f41
Merge pull request #7163 from nupplaphil/task/mod_starred
...
Move mod/starred to src/Module/Starred
2019-05-18 22:16:21 -04:00
Hypolite Petovan
596e95917e
Merge pull request #7164 from nupplaphil/task/mod_randprof
...
Move mod/randprof to src/Module/RandomProfile
2019-05-18 22:16:06 -04:00