Commit graph

5773 commits

Author SHA1 Message Date
Shish
15f4e79198
Merge pull request #870 from HeCorr/docker-fix
Fix apt errors when running in Docker
2022-02-12 12:35:13 +00:00
HeCorr
eead00c601
replace debian:testing-slim image with debian:stable in Dockerfile
fixes some apt errors saying that PHP packages weren't found
2022-02-10 02:25:49 -03:00
thoughever
f15407bc75 X-Real-IP support and Varnish PURGE config options
X-Real-IP for core functionality

Global config define REVERSE_PROXY_X_HEADERS

Config host and port for varnish PURGE

config option to specify PURGE protocol

exception in curl purge now shows error code

ipv6 x-real-ip addresses are now validated properly

X-Forwarded-Proto enabled by define
2022-01-20 22:25:22 +00:00
Shish
3061a9d7d5 avoid warning when HTTP_X_FORWARDED_PROTO isn't set 2022-01-01 10:29:32 +00:00
Shish
e0f1165b6c
Merge pull request #851 from jellykells/jellykells/wiki_return_not_found
Add option to return 404 code for nonexistent wiki pages
2022-01-01 10:27:27 +00:00
jellykells
f83588fdcd always return 404 code for nonexistent wiki pages 2021-12-30 22:06:39 -06:00
jellykells
7b7596167a add support for x-forwarded-proto header 2021-12-26 00:16:07 +00:00
jellykells
a0190bff81 run php cs fixer 2021-12-23 22:18:33 -06:00
jellykells
29ed277f6d hide comments made on unapproved images from the comment list 2021-12-23 21:58:55 -06:00
jellykells
bdea799766 allow image owner to view their unapproved images 2021-12-23 21:45:44 -06:00
Shish
78349b3ae5 and fix the test 2021-12-21 23:41:04 +00:00
Shish
61068bc0d0 crude wiki history 2021-12-21 23:36:30 +00:00
Shish
a7e775de2b allow checking past revisions of wiki pages 2021-12-21 23:06:24 +00:00
=
aca5e7b9bb Fixing PHP Fixer Format 2021-12-20 10:36:14 +00:00
=
79612405e8 Fixing home page Pools link 2021-12-20 10:36:06 +00:00
=
0096a0dfa1 Updates css for imgNotes, notes won't show up otherwise 2021-12-19 18:44:08 -06:00
yls4
463544fb48
Merge branch 'master' into master 2021-12-19 16:49:22 -06:00
=
c062e231a8 Fixing PHP Fixer Format 2021-12-19 16:45:16 -06:00
=
1a22967b97 Fixing home page Pools link 2021-12-19 15:38:09 -06:00
flatanon
3b53ddbbc7 Fix auto_tagger issue with incorrect data type, expected int 2021-12-19 00:28:13 +00:00
flatty
9c05622d6e Fix uploader issue with SHM_FORM 2021-12-19 00:27:50 +00:00
flatanon
db973234ff Fix auto_tagger issue with incorrect data type, expected int 2021-12-18 16:22:40 -06:00
flatty
97424fbce6 Fix uploader issue with SHM_FORM 2021-12-17 23:40:55 -06:00
Shish
217a36a8c5 upload microhtml 2021-12-14 19:10:21 +00:00
Shish
5f771c0138 add the config file 2021-12-14 18:33:53 +00:00
Shish
3d9e32e919 new php-cs-fixer 2021-12-14 18:32:47 +00:00
Shish
b2ceb36499 better deleting of user's uploads 2021-12-13 01:27:49 +00:00
Shish
674a821783 manual publish 2021-12-13 01:07:55 +00:00
Shish
88dcfb607b dependencies happens from workflow_run now 2021-12-13 01:06:46 +00:00
Shish
4d1ba5f9e7 try splitting test and publish 2021-12-13 01:04:47 +00:00
jellykells
1b7e505f19 add global to display_page function 2021-11-21 08:25:41 -06:00
jellykells
e114079b96 add option to return 404 code for nonexistent wiki pages 2021-11-21 08:10:03 -06:00
Shish
bed0db40d7 mark invalid url as user error 2021-11-16 14:55:37 +00:00
Shish
68a128c0ea don't log user errors into the server error log 2021-11-16 14:52:26 +00:00
Shish
3cb0a6a2c0 Merge remote-tracking branch 'holly/master' 2021-11-16 14:44:13 +00:00
Shish
0f708e7a1b derp 2021-11-16 14:43:54 +00:00
HeCorr
6b6bea6bcc add missing colon to version title on extension page 2021-11-11 21:25:04 +00:00
Shish
23d160cb33 argh 2021-11-10 19:46:12 +00:00
Shish
52fa31df3e more handling 2021-11-10 19:42:01 +00:00
Shish
58db685b29 more error handling 2021-11-10 19:33:51 +00:00
Shish
4c4b26f098 write internal errors to error log 2021-11-06 16:46:05 +00:00
Shish
6377ea19cc don't crash if recaptcha repsonse is empty 2021-11-06 16:17:38 +00:00
Shish
34f75cfb22 un-set autocomplete default to empty string rather than null 2021-11-06 16:12:28 +00:00
Shish
6de6287663 add a test to cover multiple non-existent negative tags 2021-10-06 18:06:23 +01:00
Shish
d932178670 don't crash when the user searches with no positive tags and multiple non-existent negative tags 2021-10-06 17:02:29 +00:00
Shish
2d0c942084 fix a surprise string in autocomplete 2021-10-06 17:02:29 +00:00
Shish
679360dd9c turn off timing for now 2021-10-06 17:02:29 +00:00
Shish
3f0a8399d1 clarify some nullables 2021-09-25 13:40:41 +01:00
Shish
e7808096ff format 2021-09-22 16:02:33 +01:00
Shish
3bb1566df2 Allow db->set_timeout(null) to disable DB timeouts, see #874 2021-09-22 15:42:41 +01:00