Hypolite Petovan
bc02ad89d0
Add support for empty session write
...
- Ignored empty data left session intact, leading to unexpected behaviors
2020-08-07 22:50:16 -04:00
Hypolite Petovan
b3dcecf987
Revert "Actually destroy session on logout"
...
This reverts commit 077b57ecb3
.
2020-08-07 22:49:48 -04:00
Hypolite Petovan
077b57ecb3
Actually destroy session on logout
2020-08-06 22:59:09 -04:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp Holzer
673c4537e4
Session - Remove unneeded cookie parameter
2019-12-29 00:03:58 +01:00
Philipp Holzer
1408908c84
Refactor Session Handling (make it more simple & handler are now handler again)
2019-12-11 20:30:31 +01:00
Philipp Holzer
02c40ad1cb
Overwrite constructor of Memory session handling so no session ini-setting in backend/testing environments are possible
2019-12-10 23:35:16 +01:00
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
ce2610000b
Renaming class
2019-12-10 08:49:33 +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
Hypolite Petovan
9162f714e0
Add uri to missing session data logging context in Session handlers
2019-04-11 05:26:37 -04:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Hypolite Petovan
9d0a6f90b6
Update "mrpetovan" email address
...
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Hypolite Petovan
87f638bdc9
Improve CacheSessionhandler
...
- Replace !x() by empty()
- Add return values to read() and destroy()
2018-04-18 23:37:06 -04:00
Hypolite Petovan
3628b62aeb
Add support for Memcached/Improve database cache
...
- Create Cache Driver interface
- Update cache table fields
- Add CacheSessionHandler
2018-03-04 23:13:19 -05:00
Michael
15a857e411
Line endings are converted to unix style
2018-02-09 03:49:49 +00:00
Hypolite Petovan
ae68196e8d
Add new Session classes in src/
2018-02-03 08:40:18 -05:00