Shish
b859e1fc60
Merge pull request #869 from thoughever/reverse_proxy
...
X-Real-IP support and Varnish PURGE config options
2022-05-01 10:42:54 +01:00
Jessica Stokes
6bc1ec4f81
Allow setting $image->posted
values
2022-04-29 11:21:57 -07: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
jellykells
7b7596167a
add support for x-forwarded-proto header
2021-12-26 00:16:07 +00:00
Shish
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00: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
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
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
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
Laureano Passafaro
8bd781cc8c
CSS and JS files configurable by themes
2021-07-26 12:26:03 +01:00
Shish
faf35cc884
video references image width / height
2021-03-16 01:49:48 +00:00
Shish
89bf741ed4
bump
2021-03-15 00:59:46 +00:00
Shish
7babe9d2a6
format
2021-03-14 23:56:23 +00:00
Shish
45cf45ed77
bump
2021-03-14 23:55:05 +00:00
Shish
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +00:00
Matthew Barbour
e7d11f2310
Converted cron_upload to be able to run per-user, using user API keys
2021-01-16 14:35:04 -06:00
Matthew Barbour
e82b9ea811
Added post peek extension
2021-01-16 14:26:19 -06:00
Matthew Barbour
1b469d9919
Added image dimension data attributes
2021-01-16 14:26:19 -06:00
Matthew Barbour
4f82dce662
Changed image->get_tag_array to sort the array before returning
2021-01-16 14:26:18 -06:00
Matthew Barbour
72268d529d
Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings
2021-01-16 14:26:17 -06:00
Shish
3f5930b4cb
simplify and add tests for upload (and replace) path
2020-10-28 20:51:34 +00:00
Shish
ecafd4e131
Merge branch 'image2post'
2020-10-27 22:42:47 +00:00
Shish
338bbcdbcb
more test passing
2020-10-27 22:19:26 +00:00
Shish
81fe37de50
transactions
2020-10-27 22:03:56 +00:00
Shish
a4ff796b35
remove dead code
2020-10-27 21:51:34 +00:00
Shish
6c223d16bd
use inTransaction() instead of trying to maintain our own state
2020-10-27 21:51:15 +00:00
Shish
8bc44f6cb5
remove redundant install step
2020-10-27 02:17:11 +00:00
Shish
c13835d2ef
transaction for table creation
2020-10-27 02:08:12 +00:00
Shish
2863ff7508
trace
2020-10-27 02:04:02 +00:00
Shish
b6151ce714
???
2020-10-27 01:55:48 +00:00
Shish
3ac7ab2cf3
remove old bool support
2020-10-27 01:50:39 +00:00
Shish
754f0b2f39
strpos
2020-10-27 01:41:07 +00:00
Shish
10f563ee37
boolinate locked
2020-10-27 01:05:12 +00:00
Shish
ee7a4f178c
boolinate video/audio
2020-10-27 00:58:18 +00:00
Shish
ed735e17be
boolinate image
2020-10-27 00:58:18 +00:00
Shish
607803c04f
Revert "boolinate locked"
...
This reverts commit 533ea85da9
.
2020-10-26 23:42:02 +00:00
Shish
ea29e29a06
mostly postgres doesn't need migrating
2020-10-26 23:38:52 +00:00
Shish
533ea85da9
boolinate locked
2020-10-26 23:30:52 +00:00
Shish
aceb3e23f3
remove redundant casts
2020-10-26 23:18:14 +00:00
Shish
56f1fac4c5
Revert "different hack for old sqlite"
...
This reverts commit 634124e17f
.
2020-10-26 22:49:39 +00:00
Shish
634124e17f
different hack for old sqlite
2020-10-26 22:43:47 +00:00
Shish
cc06df171a
Argh, that doesn't work for OTHER versions of sqlite...
...
This reverts commit 55e3cb5d63
.
2020-10-26 22:37:25 +00:00
Shish
55e3cb5d63
compatibility with out-of-date sqlite: use '(1=0)' instead of 'false'
2020-10-26 22:33:11 +00:00
Shish
631cf29424
argh
2020-10-26 17:29:05 +00:00
Shish
08a4a6d41f
pm also used char for postgres
2020-10-26 17:28:21 +00:00
Shish
4d6dc7e98b
standardise_boolean function to ease conversion
2020-10-26 17:03:42 +00:00
Matthew Barbour
e7b109a7f2
Image to Post - Some core files
2020-10-26 10:53:02 -05:00
Matthew Barbour
dbb90c7a99
Updated copyright notice to media-neutral language
2020-10-26 10:53:01 -05:00
Matthew Barbour
8d34fc360c
Added length search to handle #777
2020-10-26 08:58:17 -05:00
Shish
8ad783ff4c
be more snake_case
2020-10-26 00:27:06 +00:00
Shish
5816aa3084
execute consistently
2020-10-25 21:34:52 +00:00
Shish
7cb36da4c6
line up comments
2020-10-25 21:25:38 +00:00
Shish
19a6b39c70
make use of str_starts_with / str_ends_with / str_contains
2020-10-25 19:31:58 +00:00
Shish
c783ff0e8d
polyfills for php8's str_starts_with and str_ends_with
2020-10-25 19:15:13 +00:00
Shish
c8bd5e8d49
clarity for not-emptiness
2020-10-25 13:09:51 +00:00
Shish
0dca09c230
make order querylets a first class citizen instead of a hack
2020-10-25 12:55:36 +00:00
Shish
19d5cfe8b9
make search term parse ID a standard thing
2020-10-25 12:55:36 +00:00
Shish
c11f0dafd0
format
2020-10-24 22:16:18 +01:00
Shish
58a0f060ce
avoid numeric columns
2020-10-24 19:18:40 +01:00
Shish
8ff70134ae
nits
2020-10-24 13:46:57 +01:00
Shish
9b878d98d6
replace xml_tag with HTMLElement
2020-10-24 13:46:57 +01:00
Matthew Barbour
bf2a34c106
Adjusted mime type update statement to include NULLs. Changed get_mime() so that it can return a null in the event of the mime type not being properly set.
2020-10-08 17:41:24 -05:00
Matthew Barbour
6bc8b791d2
Added option to go to next image when an image is deleted
2020-10-08 17:24:21 -05:00
Matthew Barbour
79a2fe23b3
Added support for specifying conflicting extensions
2020-10-08 17:24:14 -05:00
Matthew Barbour
0fc0b8e723
Added get_pairs_iterable to database object
2020-10-08 17:24:09 -05:00
Shish
1ea9ceff85
notify after config updates
2020-10-03 12:54:38 +00:00
Shish
e696357c06
database notification API
2020-10-03 12:54:38 +00:00
Shish
1159ba2fa1
format
2020-09-19 00:18:51 +01:00
Shish
a93c66515b
Merge pull request #749 from sanmadjack/video_transcode
...
Video transcoding
2020-09-16 13:46:18 +01:00
Shish
4131bcbd64
Merge pull request #748 from sanmadjack/image_info
...
Added image info option to admin, changed the info template parser to…
2020-09-16 11:21:31 +01:00
Shish
5d86314fc2
Merge pull request #746 from sanmadjack/resize_types
...
Added "Fit Blur Tall, Fill Wide" resize type
2020-09-16 11:20:28 +01:00
Matthew Barbour
ecd860ec6d
Video transcoding extension, currently just supports changing the video container
2020-08-28 09:52:01 -05:00
Matthew Barbour
65aca09203
Added understanding of video codecs, primarily to allow us to determine whether a file is a webm or not, but also to support my forthcoming video transcoding extension
2020-08-28 09:51:55 -05:00
Matthew Barbour
4c5ef85906
Added image info option to admin, changed the info template parser to not use the url-escaped option
2020-08-28 09:50:36 -05:00
Matthew Barbour
2dedeb06e0
Added "Fit Blur Tall, Fill Wide" resize type
2020-08-28 09:49:24 -05:00
Matthew Barbour
ab008e351d
Added SPEED_HAX criteria to image count shortcuts.
2020-08-28 09:48:10 -05:00
Shish
cbe1f792f9
format
2020-07-07 16:07:23 +00:00
Shish
de26b7f373
don't die if database is missing a MIME type
2020-07-07 16:07:19 +00:00
Shish
926cdc31a8
nicer error for unsupported version
2020-07-06 17:46:20 +01:00
Matthew Barbour
688fb8b04b
Added ability to upload multiple files through a single upload input
2020-06-25 00:42:43 +01:00
Matthew Barbour
7f68ef1cfd
Added option to transcode extension and thumbnailing to choose the color to use to fill in the background when converting an image with an alpha channel to a format without
2020-06-25 00:42:43 +01:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Shish
b893da927f
format
2020-06-24 17:02:24 +01:00
Matthew Barbour
7a009541ce
Added more explicit failure handling to list_files
2020-06-24 16:59:21 +01:00
Shish
c1068f1b2b
bump
2020-06-24 16:14:49 +01:00
Shish
2197b15012
Add core/sanitize_php.php
...
A small number of PHP-sanity things (eg don't silently ignore errors) to
be included right at the very start of index.php and tests/bootstrap.php
2020-06-24 14:54:46 +01:00
Shish
eecd35d175
turn 'Use of undefined constant' into an error
2020-06-24 13:00:46 +01:00
Matthew Barbour
72de50aa71
Added bulk download extension
2020-06-23 15:15:43 +01:00
Matthew Barbour
919a3039c4
Added user API key system
2020-06-23 15:14:04 +01:00
Matthew Barbour
9b9f1d0341
Cleaned up some warnings in bulk import/export extension
...
Added transactions to bulk import
Renamed beginTransaction to begin_transaction for naming consistency
Updated cron uploader to handle bulk import transactions
2020-06-23 15:07:00 +01:00
Matthew Barbour
b937ad6255
Added thumbnail scaling options
...
Changed ffmpeg thumbnailer to instead output a full-size png which is forwarded to the image thumbnailer, to allow it to take advantage of all available scaling options
2020-06-23 15:05:55 +01:00
Matthew Barbour
1fdd5bf575
New private image extension
2020-06-23 15:03:17 +01:00
Matthew Barbour
6d16c52367
New bulk import/export extension
2020-06-23 15:01:22 +01:00
Matthew Barbour
587735a866
Added terabyte support to the shorthand functions
2020-06-23 14:58:41 +01:00