Commit Graph

696 Commits

Author SHA1 Message Date
Philipp Holzer e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger() 2019-12-29 20:17:41 +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
Hypolite Petovan a9220aa83b
Merge pull request #8026 from nupplaphil/task/l10n_immutable
Make L10n immutable
2019-12-29 13:54:32 -05:00
Hypolite Petovan 25847c4c71
Merge pull request #8022 from nupplaphil/task/mod_hcard
Move mod/hcard to src\Module\HoverCard
2019-12-28 21:42:01 -05:00
Hypolite Petovan f000680511
Merge pull request #8021 from nupplaphil/task/mod_openid
Move mod/openid to src\Module\Security\OpenId
2019-12-28 21:39:42 -05:00
Philipp Holzer 7a2f4dc54e
Make L10n immutable
- Remove Push/Pop
- Add "withLang($lang)" method
2019-12-28 23:12:01 +01:00
Philipp Holzer 4d545825f0
optimize usage of arguments 2019-12-28 15:28:17 +01:00
Philipp Holzer 97924d39d9
Merge init() and content() 2019-12-28 15:21:58 +01:00
Michael f281725a09 Remove test loggings 2019-12-28 11:17:10 +00:00
Michael 160f931861 Fix: Search for terms and posts is now possible again 2019-12-28 11:15:57 +00:00
Tobias Diekershoff d6274ab6f7
Merge pull request #8023 from MrPetovan/bug/7808-markdown-unescape-chevrons
Fix chevron display in BBCode/Markdown conversion
2019-12-28 08:07:30 +01:00
Hypolite Petovan 424106fd4e Add BBCode to Markdown to HTML raw result in Module\Babel
- Display HTML entities for BBCode to Markdown output
2019-12-27 20:44:24 -05:00
Philipp Holzer 12e223b2ef
fix 2019-12-27 23:51:17 +01:00
Philipp Holzer eeb78d2d29
Move mod/hcard to src\Module\HoverCard 2019-12-27 22:53:09 +01:00
Philipp Holzer aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security" 2019-12-27 22:19:28 +01:00
Philipp Holzer d30e8665e1
Move mod/openid to src\Module\OpenId 2019-12-27 22:16:40 +01:00
Michael c037e9143c Additionally display the protocol together with the network 2019-12-27 17:24:29 +00:00
Michael Vogel c7e4157a5a
Merge pull request #8007 from MrPetovan/task/7984-add-profile-url-search
Add profile url search
2019-12-27 02:19:39 +01:00
Hypolite Petovan a11b47f93d Add profile URL search
- Move post URL search to private method in Module\Search\Index
2019-12-26 20:17:12 -05:00
Hypolite Petovan 016507f346 Use BaseURL::redirect instead of deprecated App->internalRedirect in Search\Index 2019-12-24 17:37:22 -05:00
Hypolite Petovan 1c9cb42d98 Move search term emptiness check before content checks in Search\Index 2019-12-24 17:17:35 -05:00
Hypolite Petovan ec7eb9d83a Rename BaseSearchModule::performSearch to performContactSearch to remove purpose confusion 2019-12-24 17:15:41 -05:00
Hypolite Petovan b610d4e82d Remove group management restrictions on pending and blocked in Module\Group 2019-12-24 16:44:43 -05:00
Tobias Diekershoff 00756737b5 Merge branch 'master' 2019.12 into develop 2019-12-23 20:03:47 +01:00
Michael 1af52dd050 Fix: Newer Friendica servers had been detected as ActivityPub 2019-12-21 13:51:25 +00:00
Hypolite Petovan 33ea5dfe35 Add check for $_REQUEST key existence in Module\Item\Compose
- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-566254464
2019-12-19 07:48:08 -05:00
Philipp 5197833c55
Merge pull request #7930 from MrPetovan/task/7887-api-followers-request
Add POST follow request Mastodon API endpoint
2019-12-18 22:12:52 +01:00
Hypolite Petovan 6e4a428c73
Merge pull request #7907 from nupplaphil/task/reduce_app_deps
Cleanup Session/Authentication
2019-12-14 09:53:40 -05:00
Michael 543c8f8459 Use localuser() 2019-12-12 15:57:08 +00:00
Michael 39560218f8 Issue 7659: Display blocked and ignored public contacts as well 2019-12-12 11:58:57 +00:00
Philipp Holzer 1408908c84
Refactor Session Handling (make it more simple & handler are now handler again) 2019-12-11 20:30:31 +01:00
Hypolite Petovan 9a0a11ed39 Improve Api\Mastodon\Account with data from apcontact
- Original work by @annando
2019-12-11 08:25:45 -05:00
Hypolite Petovan 2d47952921 Add POST follow request Mastodon API endpoint 2019-12-11 08:25:44 -05:00
Hypolite Petovan 1625330e70 Switch Api\Mastodon\FollowRequests to list introductions instead of pending contacts 2019-12-11 08:24:17 -05:00
Hypolite Petovan 0656e9ece4 Update web modules handling introduction to use new model class 2019-12-11 08:24:17 -05:00
Hypolite Petovan c239d218d8 Update Base\Api::login to return the authentication status 2019-12-11 08:24:16 -05:00
Hypolite Petovan 1c69dda2e1
Merge pull request #7926 from annando/api-instance
API: Added endpoints /instance and /instance/peers
2019-12-11 04:07:49 -05:00
Michael 3388274f9a Removed unneeded function 2019-12-11 08:26:18 +00:00
Michael 9296a55dfb Added entities 2019-12-11 06:51:59 +00:00
Michael 4e2804d783 Added some more data 2019-12-10 23:05:25 +00:00
Philipp Holzer b085098b49
Make 2Factor "tel" field instead "number"
- because of missing copy&paste buttons at number
2019-12-10 22:44:45 +01:00
Michael 1958bde4c0 API: Added endpoints /instance and /instance/peers 2019-12-10 21:27:09 +00:00
Hypolite Petovan c6d422a188 Update Module\Help to use anchor words for titles
- Previous anchors are kept for links backward compatibility
2019-12-09 22:50:37 -05:00
Hypolite Petovan 8016cb3cee Add GET /api/v1/follow_requests Mastodon API endpoint 2019-12-09 22:50:36 -05:00
Hypolite Petovan b365ffc3b5 Add API base module 2019-12-09 22:50:36 -05:00
Philipp Holzer 54392fab81
Move Cookie to own class (with tests)
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Philipp Holzer 96555a7385
Refactor "Authentication" class with four main methods:
- withSession() - for auto authentication with Session/Cookie variables
- withOpenId() - for authentication with an OpenID account
- withPassword() - for authentication with Password
- setForUser() - for setting the user auth context of the current session

Refactor "Session" class - contains now "native" Session Management methods
2019-12-05 23:02:51 +01:00
Philipp Holzer 18a3d18ba6
Move Authentication methods to class "Authentication" 2019-12-05 23:02:50 +01:00