Commit graph

25443 commits

Author SHA1 Message Date
Philipp Holzer b9f8762eb3
Use Native Session functions (global "$_SESSION" variable) for Memory class because of the direct usage of the $_SESSION class all around the codebase 2019-12-10 22:29:49 +01:00
Philipp Holzer eca3396851
rename usage 2019-12-10 21:52:23 +01:00
Philipp Holzer 07d2909927
double use 2019-12-10 21:51:06 +01:00
Philipp Holzer ce2610000b
Renaming class 2019-12-10 08:49:33 +01:00
Philipp Holzer 26bd956912
Optimize L10n usage for Session (reduce "App" complexity even more) 2019-12-10 00:56:49 +01:00
Philipp Holzer cad7e534a4
Add phpdoc 2019-12-10 00:50:05 +01:00
Philipp Holzer 555513e4b4
Add Session Management instances (including Depenency Injection)
- Prerequesite for mocking Sessions
- Reduce "App" class complexity
2019-12-10 00:44:56 +01:00
Philipp Holzer 009a8bb939
Initializing SessionHandlers with Dependency Injection 2019-12-09 23:09:18 +01:00
Philipp Holzer 94a8a60841
Add more Cookie tests (create new StaticCookie class for mocking setcookie()) 2019-12-09 22:47:08 +01:00
Philipp Holzer a8b89dc486
Remove copy&paste failure 2019-12-09 21:55:51 +01:00
Philipp Holzer f7e1cfd416
revert wrong import 2019-12-09 21:55:25 +01: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 c45b6d309b
regenerate messages.po 2019-12-05 23:29:18 +01:00
Philipp Holzer afb93ab0fe
move Hook doc 2019-12-05 23:19:27 +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
Philipp Holzer 5bb63e59e0
Move App::internalRedirect to BaseUrl::redirect 2019-12-05 23:02:50 +01:00
Hypolite Petovan 0d744be732
Merge pull request #7906 from nupplaphil/task/add_numeric
[frio] Add numeric field_input
2019-12-05 16:57:51 -05:00
Philipp Holzer 7056639b62
Add numeric field_input to frio 2019-12-05 22:56:00 +01:00
Hypolite Petovan 8ff3ae485d
Merge pull request #7905 from nupplaphil/task/numeric_two_factor
Make Two Factor Field numeric
2019-12-05 16:19:23 -05:00
Philipp Holzer 144d4d9cf5
add non-leecher link 2019-12-05 22:10:04 +01:00
Philipp Holzer c28f1fec51
General usage of type in input fields 2019-12-05 21:42:33 +01:00
Philipp Holzer 47505aceec
double quoted field & use number 2019-12-05 21:13:49 +01:00
Philipp Holzer da3e293e91
Adding doc for new field-type 2019-12-05 20:48:00 +01:00
Philipp Holzer e6da666885
Make Two Factor Field numeric 2019-12-05 20:19:25 +01:00
Hypolite Petovan 0f476498f3
Merge pull request #7903 from annando/add-share-data
Add data for shared posts from the original
2019-12-05 08:43:47 -05:00
Michael 043df55bc5 Make tests happy 2019-12-05 06:46:00 +00:00
Michael 4e77321be8 Replaced all preg calls in the calls with the new function 2019-12-05 06:42:10 +00:00
Michael eeb8bee1b7 Use the new function to fetch shared information 2019-12-05 06:16:27 +00:00
Michael e435102089 Added logging, fixed indentation, call it from DFRN as well 2019-12-05 05:28:28 +00:00
Michael abf841ff79 Handle resharing of items with title via the API 2019-12-05 05:24:29 +00:00
Michael 838a233bfc Handling reshares of Friendica posts with titles via Diaspora 2019-12-05 05:11:14 +00:00
Michael b9619ee89a Put the title in the body 2019-12-04 23:49:07 +00:00
Michael 22c66e1811 Add data for shared posts from the original 2019-12-04 22:57:09 +00:00
Hypolite Petovan 4403aeeda5
Merge pull request #7901 from annando/disable-smart-threading
Changed the option to enable the smart threading with the option to disable this
2019-12-04 15:25:53 -05:00
Michael Vogel 9cf1aea8c9 Changed the option to enable the smart threading with the option to disable this 2019-12-04 21:21:20 +01:00
Tobias Diekershoff 9a4240c3b2
Merge pull request #7898 from annando/ap-announce
Make quoted announces look better / more announce improvements
2019-12-04 11:24:42 +01:00
Michael 8f4f3e00e2 Return more data in the announce object 2019-12-04 09:36:46 +00:00
Michael 276d6fddd1 Function renamed - we don't return an object 2019-12-04 09:15:03 +00:00
Michael ef3664e6d4 Check if reshared item is an AP item 2019-12-04 08:08:48 +00:00
Michael abed3ba906 Remove unused function 2019-12-04 07:13:29 +00:00
Michael d34052b332 Make quoted announces look better / more announce improvements 2019-12-04 07:02:39 +00:00
Tobias Diekershoff d5c017c275
Merge pull request #7897 from MrPetovan/bug/warnings
Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML
2019-12-04 07:15:58 +01:00
Hypolite Petovan f989c331a3 Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML
- Addresses https://github.com/friendica/friendica/issues/7676#issuecomment-560503744
2019-12-03 06:59:51 -05:00
Philipp b152d0557b
Merge pull request #7895 from annando/accordion-jot-nets
[Frio] Optical indicator for connector accordion added
2019-12-03 08:41:13 +01:00
Philipp 0641212187
Merge pull request #7896 from annando/ago-difference
Only show the difference between posting and receive date on difference
2019-12-03 08:40:21 +01:00
Michael 3d701dd459 Only show the difference between posting and receive date when there is a difference 2019-12-03 07:23:01 +00:00
Michael 8130a4d9b2 The padding is only meant for the jot settings 2019-12-03 06:07:36 +00:00
Michael 9d9e6cf27d Optical indicator for connector accordion added 2019-12-03 06:05:44 +00:00
Hypolite Petovan 75d31341c2
Merge pull request #7894 from annando/mutuals-followers
Group selection: Respect "pubmail" and ignore atchived or blocked contacts
2019-12-02 23:06:06 -05:00