Joshua Ramon Enslin jrenslin
jrenslin pushed to master at museum-digital/MD_STD 2020-12-08 20:43:21 +01:00
d028ac0176 Remove check for curl init working
jrenslin pushed to master at museum-digital/MD_STD 2020-12-08 11:37:17 +01:00
ddab52b1a5 Add check against curl_init failure in runCurl
jrenslin pushed to master at museum-digital/MD_STD 2020-12-07 15:32:02 +01:00
ada82f07b6 Reduce multipliers in brute force protection
jrenslin pushed to master at museum-digital/MD_STD 2020-12-06 17:08:07 +01:00
cad5b4a6f8 Add missing return statement to disable MD_JAIL::enforce on CLI usage
jrenslin pushed to master at museum-digital/MD_STD 2020-12-05 20:49:41 +01:00
6a7f91ef1d Use shell_exec in exec_edit
jrenslin pushed to master at museum-digital/MD_STD 2020-12-04 21:33:54 +01:00
6db2b4cc1f Add MD_STD::exec_edit to run edit and pipe STDERR to a php exception
jrenslin pushed to master at museum-digital/MD_STD 2020-12-03 12:40:16 +01:00
4c5097701f Add wrapper around levenstein that crops strings to the max allowed
jrenslin pushed to master at museum-digital/MD_STD 2020-12-02 09:40:11 +01:00
886acead63 Stop using cache in MD_STD_CACHE when run from command line
jrenslin pushed to master at museum-digital/MD_STD 2020-12-01 00:06:46 +01:00
35c0fe4723 Require cached contents in MD_STD_CACHE to be 3 chars long
jrenslin pushed to master at museum-digital/MD_STD 2020-11-30 22:36:50 +01:00
a38c3c6fae Let serve_page_through_redis_cache return string
jrenslin pushed to master at museum-digital/MD_STD 2020-11-30 19:20:05 +01:00
57da808a6a Fix class variable comment
jrenslin pushed to master at museum-digital/MD_STD 2020-11-30 19:08:45 +01:00
558ed729dc Add class MD_STD_CACHE
jrenslin commented on issue museum-digital/MD_STD#4 2020-11-23 14:21:49 +01:00
Add static function to check if dangerous functions have been disabled

Essentially this is done as much as necessary.

jrenslin closed issue museum-digital/MD_STD#4 2020-11-23 14:21:49 +01:00
Add static function to check if dangerous functions have been disabled
jrenslin pushed to master at museum-digital/MD_STD 2020-11-23 14:11:07 +01:00
14c7ffb8d4 Fix class comment
jrenslin pushed to master at museum-digital/MD_STD 2020-11-22 23:30:23 +01:00
a16619b78e Add option to set frame-ancestors CSP
jrenslin pushed to master at museum-digital/MD_STD 2020-11-22 17:45:39 +01:00
90997e4eb5 Add function for sending complete CSP headers
jrenslin pushed to master at museum-digital/MDConsole 2020-11-22 15:45:22 +01:00
760e69c72a Remove trailing newlines before end of class definitions
jrenslin pushed to master at museum-digital/MDAllowedValueSets 2020-11-22 15:44:39 +01:00
dd426509b6 Remove trailing newlines before the end of class definitions
jrenslin pushed to master at museum-digital/MD_STD 2020-11-22 15:43:15 +01:00
c60932088d Add missing function comment