nupplaPhil
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
nupplaPhil
18a3d18ba6
Move Authentication methods to class "Authentication"
2019-12-05 23:02:50 +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
6531819971
Merge pull request #7884 from MrPetovan/bug/7834-ignore-reload
...
Restore post reload after (un)ignore
2019-12-02 09:40:31 +01:00
Hypolite Petovan
01b81f7bba
Merge pull request #7885 from nupplaphil/bug/7881_allowed_themes
...
Themes are now saved just once
2019-12-01 08:12:20 -05:00
nupplaPhil
7ebd5e6b15
Themese are now saved just once
2019-12-01 08:43:50 +01:00
Hypolite Petovan
d3c45f9186
Update type hint of System::jsonExit parameter to mixed
...
- Output isn't necessarily an array
2019-11-30 23:15:28 -05:00
Hypolite Petovan
461f7f4bb0
Assume hidewall key may be missing in ACL::getFullSelectorHTML
...
- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-559974588
2019-11-30 10:45:47 -05:00
Hypolite Petovan
3a7ef7893f
Fix typo in ACL::getFullSelectorHTML
2019-11-29 15:55:52 -05:00
Hypolite Petovan
0ff4381305
Ensure the existence of expected default permission keys in ACL::getFullSelectorHTML
...
- Addresses https://sozialwolke.net/display/703b8751-145d-e11f-a923-98e999239905
2019-11-29 11:39:49 -05:00
Michael Vogel
2f2480d88d
Merge pull request #7876 from MrPetovan/task/7308-backport-compose-acl
...
Generalize the Compose ACL to the whole site
2019-11-28 21:24:20 +01:00
Hypolite Petovan
ae3d4f63a3
Use visibility tags input for the default ACL selector
...
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05:00
Hypolite Petovan
11da7f4095
Add new ACL::getContactListByUserId and ACL::getGroupListByUserId methods
2019-11-28 12:33:00 -05:00
Hypolite Petovan
440d3eb9c4
Simplify Theme::getPathForfile to expand its uses
2019-11-28 12:27:16 -05:00
Michael
fdaac8a681
Add "discourse" as protocol
2019-11-24 20:06:47 +00:00
Hypolite Petovan
03bf1dcbd3
Move Object\Image static methods to Util\Images
...
- Optimize imports in modified files
2019-11-02 07:48:45 -04:00
Philipp Holzer
1f368d469f
Move Friendica\Core\NotificationsManager to Friendica\Model\Notify
2019-10-26 02:01:46 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Hypolite Petovan
5dcf6bfc58
Remove extra spaces before closing parentheses in src/
2019-10-16 08:58:09 -04:00
Hypolite Petovan
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
Hypolite Petovan
1cdbf32aa2
Remove duplicate array entry in Core\Logger
2019-10-12 21:10:03 -04:00
Hypolite Petovan
001c9ed259
Fix typo in Core\Authentication
2019-10-11 19:57:04 -04:00
dew-git
811cdcdfcb
Fix security vulnerbilities.
...
Fix possible length extension attack, predicable generators, timing attacks on hash comparision and improved formatting.
2019-10-10 15:21:41 -08:00
Philipp Holzer
a522cf609b
Fix browser language detection (& tests)
2019-10-10 16:39:04 +02:00
Hypolite Petovan
e5fbaf6a00
Add Session::clear method
...
- Replace manual session clear by method in mod/manage
2019-10-06 11:21:54 -04:00
Hypolite Petovan
b62e20c7bf
Code beautification
2019-10-05 08:34:07 -04:00
Hypolite Petovan
445133cb21
Move Module\Search\Acl::contactAutocomplete to Core\Search::searchGlobalContact
...
- Replace broken reference to directory /lsearch module with /search module
2019-10-04 22:19:54 -04:00
Hypolite Petovan
8f20e2054b
Move /acl module to src/
...
- Move Core\ACL::contactAutocomplete to Module\Search\Acl
- Rename module path to /search/acl
2019-10-03 22:40:42 -04:00
Hypolite Petovan
2333526b8a
Merge pull request #7678 from annando/remote-rework
...
Reworked the remote authentication
2019-09-30 09:18:43 -04:00
Philipp Holzer
dc73117a62
code optimization
2019-09-30 14:03:15 +02:00
Philipp Holzer
49e812f3d3
Bugfix GetAllKeys() of Memcache
...
- Abstract Memcache and Memcached implementation
2019-09-30 14:03:15 +02:00
Philipp Holzer
d5dd12b8f8
Add Drone CI
...
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
2019-09-30 14:03:12 +02:00
Michael
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
Michael
6e9026e033
Renamed function, beginning to replace the "remote_user" function
2019-09-28 09:36:41 +00:00
Michael
704cdf1b5a
New function to store the "remote" session value / making the changes work
2019-09-26 04:47:42 +00:00
Michael
ec66553032
Reworked "remote" cookie handling
2019-09-25 22:24:17 +00:00
Michael
d5c37001cd
Empty the "remote" variable, avoid being remote to yourself
2019-09-25 07:02:07 +00:00
Michael
6a376c29d8
Fix session size problems
2019-09-25 05:57:32 +00:00
Michael
5254147ccc
Fix "redir" loop
2019-09-23 22:13:20 +00:00
Hypolite Petovan
32707022bf
Remove GET page parameter access from Core\ACL
2019-09-13 20:06:57 -04:00
Hypolite Petovan
1a81ed8616
Fix notice message when $return is undefined in Core\ACL
2019-09-13 20:06:22 -04:00
Michael
2dbd843ed2
Don't display ignored pending contacts, link to contact request page
2019-09-09 05:29:33 +00:00
Philipp Holzer
8273b88a3e
Add missing getPokeVerbs() method
2019-09-03 16:07:05 +02:00
Philipp
08b6f55a89
Merge pull request #7589 from annando/delivery-counter
...
Fix delivery counter / archive relay contacts
2019-09-03 15:59:49 +02:00
Michael
8947473c71
Contact details are now available when searching for a single contact
2019-09-02 05:33:13 +00:00
Michael
6af4c90dff
Fix delivery counter / archive relay contacts
2019-09-02 03:25:05 +00:00
Hypolite Petovan
ce7ec11d1d
Merge pull request #7570 from nupplaphil/bug/friendica-7298
...
Some code hardenings for semaphore locking
2019-08-29 15:02:07 -04:00
Michael Vogel
cf170c9c02
Fixed count, added to-do
2019-08-28 06:44:37 +02:00
Michael Vogel
9b7432781b
Don't transmit content to already archived contacts
2019-08-27 21:01:11 +02:00
Philipp Holzer
de7c026590
Some code hardenings for semaphore locking
2019-08-26 23:55:54 +02:00