Joshua Ramon Enslin jrenslin
jrenslin pushed to master at museum-digital/MD_STD 2020-12-21 14:50:57 +01:00
d28c245a1a Add wrapper around mkdir, that throws an exception on errors
jrenslin pushed to master at museum-digital/MD_STD 2020-12-14 02:07:24 +01:00
2b4abf6338 Add function for running multiple curl queries simultaneously
jrenslin pushed to master at museum-digital/MD_STD 2020-12-11 14:03:20 +01:00
34c2d57e5b Add function for converting strings to color codes
jrenslin pushed to master at museum-digital/MD_STD 2020-12-09 13:35:09 +01:00
287fb02f8c Pipe STDOUT to /dev/null in MD_STD::exec_edit, actual STDOUT is for
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