Commit Graph

29 Commits

Author SHA1 Message Date
Philipp Holzer 800694e9b3
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
Philipp Holzer 88bb66371c
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:50 +01:00
Michael f69a601ab1 Wrong wording 2020-01-18 04:52:30 +00:00
Michael 5c0f0c9c19 Improved notices 2020-01-17 07:29:22 +00:00
Michael e5ecfa7c34 Additional accounts can now be created easily 2020-01-17 07:02:59 +00:00
Michael Vogel 8ebc385772 Improved spam protection 2020-01-15 18:55:32 +01:00
Michael 74f4637ff3 Fix fatal errors caused by PR 8019 2019-12-30 01:17:16 +00:00
Philipp Holzer 50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-29 20:17:47 +01:00
Philipp Holzer 8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-29 20:17:43 +01:00
Philipp Holzer fceb4f3823
Refactor dynamic App::getConfig() to static DI::config() 2019-12-29 20:17:40 +01:00
Philipp Holzer 388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01: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
Philipp Holzer 7a2f4dc54e
Make L10n immutable
- Remove Push/Pop
- Add "withLang($lang)" method
2019-12-28 23:12:01 +01:00
Hypolite Petovan babcd24412
[hotfix] Fix syntax error in Module\Register
- Prevents registration
- Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-552070076
2019-11-09 01:09:26 -05: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
Tobias Diekershoff 1377d13055 ypot 2019-11-03 17:37:53 +01:00
Tobias Diekershoff 7ca202baad add a tar pid to the registration form 2019-11-03 17:05:06 +01:00
Hypolite Petovan f59ea2af55 Replace deprecated defaults() calls by ?? and ?: operators in src/Module/ 2019-10-15 09:20:32 -04:00
Hypolite Petovan 4b71fd2442 Replace deprecated calls to App->getBaseURL in Module\Register 2019-10-10 13:13:23 -04:00
Hypolite Petovan 67d374a14f Complete L10n::detectLanguage call parameters in Module\Register 2019-10-10 13:12:55 -04:00
Hypolite Petovan f4d06ebd47 Remove useless theme session variable deletions in modules 2019-10-06 12:08:15 -04:00
Tobias Diekershoff cbaa4d13d1 add server side check about note to admin 2019-10-06 11:57:43 +02:00
Tobias Diekershoff 92ee309591 quotes 2019-10-02 08:28:12 +02:00
Tobias Diekershoff 9a0201e674 require a note to the admin when register policy is set to needs approval 2019-10-02 07:39:42 +02:00
Philipp Holzer eb024a3718
Refactor L10n for testing
- Moving L10n to L10n\L10n
- Adding constructor information
- Adding to factory
- simplify/speedup tests
2019-07-16 16:44:47 +02:00
Hypolite Petovan 9774c95b80 Remove duplicate $baseurl template variable
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
Philipp Holzer 07ba1b200c
Add routes for current BaseModules 2019-05-01 21:29:04 +02:00
Hypolite Petovan 0ccb6afdb5 Add Register module in src/
- Update REGISTER_* constants definition
- Update register template variable name
2019-01-22 22:22:04 -05:00