1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 09:14:58 +02:00

33 Commits

Author SHA1 Message Date
Ryan Cramer
1c5f2f7e3c Updates for PHP 8.4 support per processwire/processwire-issues#2000 Also note that these changes require we adjust our minimum required PHP version from 7.0 up to 7.1, with PHP 8.x still recommended. 2024-11-29 13:29:28 -05:00
Ryan Cramer
21949387b4 Various minor updates 2024-03-28 09:01:54 -04:00
Ryan Cramer
d6ba21fcaf Attempt fix for processwire/processwire-issues#1760 2023-06-23 12:43:23 -04:00
Ryan Cramer
4960d8f891 Improve documentation for $session->close(); method, explaining in detail when you might use the method. 2023-03-17 09:39:08 -04:00
Ryan Cramer
b87566d0b3 Minor code improvements and housekeeping for various core classes and modules 2022-09-23 11:19:51 -04:00
Ryan Cramer
5636a81d15 Various pre-merge documentation and housekeeping updates 2022-05-13 10:34:30 -04:00
Ryan Cramer
ee64e114f2 Add “#[\ReturnTypeWillChange]” comments to all InteratorAggregate, Countable and PDOStatement interface classes to stop PHP 8.1 notices per https://php.watch/versions/8.1/internal-method-return-types and processwire/processwire-issues#1467 ... someday when all PHP 5.x support can be dropped these will be converted to PHP 7.1+ return types 2021-12-31 09:19:09 -05:00
Ryan Cramer
48a37bcc5c Fix issue processwire/processwire-issues#957 add IPv6 address support for $session->getIP() method 2021-08-12 12:02:07 -04:00
Ryan Cramer
f39d836bf1 Minor unrelated updates 2021-08-06 14:21:27 -04:00
Ryan Cramer
c81aa1a82a Various minor adjustments 2021-06-11 14:00:55 -04:00
pine3ree
d29ed3eb96 Add PR #187 - add cookie SameSite support and settings (session and other cookies) 2021-05-10 14:46:37 -04:00
Ryan Cramer
7f450dedc7 Add $session->hasLoginCookie() method 2021-03-30 08:08:07 -04:00
Ryan Cramer
2ed6494494 Update Session API var to add a $session->sessionHandler() method that returns an instance to the current WireSessionHandler instance, or null if using PHP file-based sessions. 2020-09-11 14:23:16 -04:00
Ryan Cramer
aaa7ff2994 Improvements to Session class ($session API var) redirect method and addition of $session->location('url'); method which is the same as redirect but with 302 (temporary) redirect implied rather than 301 (permanent). 2020-09-11 08:34:28 -04:00
Ryan Cramer
fd2fdd91f0 Update the $config->sessionFingerprint option to also support fingerprinting of browser http "accept" header, plus update documentation for this to use bitmask examples rather than predefined numbers. 2020-06-05 08:08:50 -04:00
Ryan Cramer
346218a524 Various minor updates 2019-12-03 08:40:08 -05:00
Ryan Cramer
215e2c56e1 Update $input->cookie API variable so that it can now also set cookies (in addition to just getting them). Default cookie settings are controlled from new $config->cookieOptions array. 2019-09-18 11:26:42 -04:00
Ryan Cramer
5f705459a6 Improvements to Session and Notices classes 2019-07-05 11:53:49 -04:00
Ryan Cramer
5235ab2a89 Add $session->getVal() methods which work the same as get() but let you speicfy the fallback value 2019-06-07 12:11:52 -04:00
Ryan Cramer
761c7640c7 Add new $config->sessionForceIP property that lets you override the return value of $session->getIP() 2019-04-19 09:16:58 -04:00
Ryan Cramer
e6bcd3e44c Fix issue processwire/processwire-issues#712 to correct issue with $config->sessionHistory=1; setting not working correctly 2018-09-27 07:39:53 -04:00
Ryan Cramer
42b46152eb Refactoring of SessionLoginThrottle. Prevents it from being too aggressive when TFA is in use, improves clarity of message to user, and adds the ability to log failures. 2018-09-14 12:03:16 -04:00
Ryan Cramer
f61bca5d9f A couple of other minor updates to Session and FieldtypeModule 2018-08-03 12:21:00 -04:00
Ryan Cramer
7b2692f0cd Add new removeAllFor($namespace) method to Session, and improve the multi-IP option in the getIP() method 2018-05-18 09:19:01 -04:00
Ryan Cramer
9b10232b73 Add ability to specify roles that aren't allowed to login, related to processwire/processwire-requests#140 plus while I was in there, did some re-working of login related code in Session class and user management code in ProcessUser.module. 2017-12-13 10:37:39 -05:00
Ryan Cramer
3fc9f69da7 Some minor adjustments and bump version to 3.0.61 2017-04-21 11:27:47 -04:00
Ryan Cramer
c5033e1e42 Add @derixithy PR #58 for additional sessionCookieDomain call 2017-03-30 06:48:02 -04:00
Ryan Cramer
c1f4693ca0 Documentation updates to several core classes 2016-11-22 14:26:41 -05:00
Derixithy
3897df4436 Added support for cookie domain 2016-11-07 20:14:52 +01:00
Ryan Cramer
4060934bae Update Modules/ProcessModules to skip showing configurable modules with no visible configuration fields. Plus a few other small additions. 2016-10-20 06:58:28 -04:00
Ryan Cramer
7f53fbdda0 Minor adjustment to @horst-n PR #14 2016-10-05 10:43:19 -04:00
horst
6e7421214e added support for CLI
without that, PHP throws notices when try to access the $_SERVER['REMOTE_ADDR'], because it is not set in CLI-Environment.
2016-10-03 15:09:50 +02:00
Ryan Cramer
bac5b0de5d Initial commit to new repo (carried over from: https://github.com/ryancramerdesign/ProcessWire/tree/devns) 2016-09-02 14:55:17 -04:00