Commit graph

2826 commits

Author SHA1 Message Date
Shish
0961ad465f shimmie-info is redundant, just be info 2020-10-29 01:02:53 +00:00
Shish
b4c4de58a2 use get_version instead of get_int for versions 2020-10-29 00:57:58 +00:00
Shish
b9e1ce1b8d use the right link 2020-10-28 20:53:20 +00:00
Shish
3f5930b4cb simplify and add tests for upload (and replace) path 2020-10-28 20:51:34 +00:00
Shish
7cb18568e3 During uploads (including replacements), 'data' should be an array of files, fixes #735 2020-10-28 17:06:25 +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
08b9729c72 more 2020-10-27 22:07:32 +00:00
Shish
e8561f6a04 test pages with args properly 2020-10-27 21:19:19 +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
a9f0d764ae remove redundant cast 2020-10-27 00:11:49 +00:00
Shish
0cf35db00c boolinate approval 2020-10-26 23:53:33 +00:00
Shish
607803c04f Revert "boolinate locked"
This reverts commit 533ea85da9.
2020-10-26 23:42:02 +00:00
Shish
73022f06dd php... 2020-10-26 23:32:56 +00:00
Shish
533ea85da9 boolinate locked 2020-10-26 23:30:52 +00:00
Shish
2c8432c643 fix 2020-10-26 23:26:49 +00:00
Shish
0977efa0d9 extra bit for pools 2020-10-26 23:24:25 +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
e6e9d6db1c booleanise private_image 2020-10-26 21:54:43 +00:00
Shish
06cb261aa6 workaround for versions of sqlite which we don't really support 2020-10-26 21:42:06 +00:00
Shish
56f9891828 Revert "Revert "booleanise trash" - found the problem
This reverts commit e61ef97197.
2020-10-26 21:40:26 +00:00
Shish
e61ef97197 Revert "booleanise trash" - works locally, but not with github actions??
This reverts commit 164637188e.
2020-10-26 20:55:27 +00:00
Shish
164637188e booleanise trash 2020-10-26 20:23:55 +00:00
Shish
68cdfc21ee booleanise forum 2020-10-26 20:15:34 +00:00
Shish
a378f7f73b blah 2020-10-26 20:12:58 +00:00
Shish
d3dd2f7738 bump from the start 2020-10-26 19:50:28 +00:00
Shish
6599973b01 also update test 2020-10-26 19:38:51 +00:00
Shish
7820096bd9 skip to latest relationships table 2020-10-26 19:17:11 +00:00
Shish
4ed7a1d529 booleanise pools 2020-10-26 19:12:20 +00:00
Shish
19d85e415d booleanise relationships 2020-10-26 18:55:03 +00:00
Shish
ed64cea8f6 old sqlite does not define true 2020-10-26 18:30:42 +00:00
Shish
3a8817bf57 booleanise tips 2020-10-26 18:22:47 +00:00
Shish
0c8c31b6c9 booleanise blotter 2020-10-26 18:10:34 +00:00
Shish
4a5863b750 argh args 2020-10-26 17:33:40 +00:00
Shish
08a4a6d41f pm also used char for postgres 2020-10-26 17:28:21 +00:00
Shish
f91bdfac02 booleanise private_messages 2020-10-26 17:13:41 +00:00
Shish
7b3555eaa7 fff 2020-10-26 16:56:56 +00:00
Shish
89f5d5524f pg fixes 2020-10-26 16:54:08 +00:00
Shish
006c53f499 conert wiki to use native booleans 2020-10-26 16:52:48 +00:00
Shish
345c64b821 set REQUEST_URI in get-page 2020-10-26 16:26:25 +00:00
Matthew Barbour
ba982e4451 Image to Post - cron upload 2020-10-26 10:53:28 -05:00
Matthew Barbour
b4169821ed Image to Post - transcode video 2020-10-26 10:53:05 -05:00
Matthew Barbour
cef07afcbd Image to Post - bulk add csv 2020-10-26 10:53:04 -05:00
Matthew Barbour
ee30c6d06e Image to Post - artists 2020-10-26 10:53:04 -05:00
Matthew Barbour
d6a2b3840c Image to Post - tag history 2020-10-26 10:53:04 -05:00
Matthew Barbour
2aa4634ef1 Image to Post - tag categories 2020-10-26 10:53:04 -05:00
Matthew Barbour
4e2faa97f9 Image to Post - source history 2020-10-26 10:53:04 -05:00
Matthew Barbour
8d2fe22358 Image to Post - rule34 2020-10-26 10:53:04 -05:00
Matthew Barbour
8910de48c1 Image to Post - relationships 2020-10-26 10:53:04 -05:00
Matthew Barbour
1dcb694f3d Image to Post - not a tag 2020-10-26 10:53:04 -05:00
Matthew Barbour
13582d842f Image to Post - eokm 2020-10-26 10:53:04 -05:00
Matthew Barbour
08d28a2513 Image to Post - bbcode 2020-10-26 10:53:04 -05:00
Matthew Barbour
497df530dd Image to Post - autotagger 2020-10-26 10:53:04 -05:00
Matthew Barbour
cc8f32a65e Image to Post - bulk import export 2020-10-26 10:53:04 -05:00
Matthew Barbour
fb4a1391df Image to Post - pools 2020-10-26 10:53:04 -05:00
Matthew Barbour
3ac5d05a25 Image to Post - notes 2020-10-26 10:53:04 -05:00
Matthew Barbour
a1fc842af6 Image to Post - qr code 2020-10-26 10:53:04 -05:00
Matthew Barbour
fa2a982303 Image to Post - regen thumb 2020-10-26 10:53:04 -05:00
Matthew Barbour
93259db601 Image to Post - report 2020-10-26 10:53:04 -05:00
Matthew Barbour
13ad9d3b6d Image to Post - resize 2020-10-26 10:53:04 -05:00
Matthew Barbour
3fe9774158 Image to Post - rotate 2020-10-26 10:53:04 -05:00
Matthew Barbour
badfaa6400 Image to Post - rss 2020-10-26 10:53:03 -05:00
Matthew Barbour
1520e6cfe3 Image to Post - tag list 2020-10-26 10:53:03 -05:00
Matthew Barbour
df4f2821b2 Image to Post - tips 2020-10-26 10:53:03 -05:00
Matthew Barbour
eecb737501 Image to Post - transcode 2020-10-26 10:53:03 -05:00
Matthew Barbour
e6e4e4c962 Image to Post - trash 2020-10-26 10:53:03 -05:00
Matthew Barbour
e4ab2e5d39 Image to Post - alias editor 2020-10-26 10:53:03 -05:00
Matthew Barbour
3aa1926f72 Image to Post - upload 2020-10-26 10:53:03 -05:00
Matthew Barbour
886d7cfd99 Image to Post - tag edit 2020-10-26 10:53:03 -05:00
Matthew Barbour
21f48456a2 Image to Post - res limit 2020-10-26 10:53:03 -05:00
Matthew Barbour
61250bd3a3 Image to Post - report 2020-10-26 10:53:03 -05:00
Matthew Barbour
456176ac11 Image to Post - random list 2020-10-26 10:53:03 -05:00
Matthew Barbour
f497094482 Image to Post - rating 2020-10-26 10:53:03 -05:00
Matthew Barbour
5371669e54 Image to Post - private 2020-10-26 10:53:03 -05:00
Matthew Barbour
9d7b0db3d3 Image to Post - pm triggers 2020-10-26 10:53:03 -05:00
Matthew Barbour
0db32f2ccc Image to Post - random 2020-10-26 10:53:03 -05:00
Matthew Barbour
bfe95a09e7 Image to Post - numeric score 2020-10-26 10:53:03 -05:00
Matthew Barbour
64649133e2 Image to Post - link 2020-10-26 10:53:03 -05:00
Matthew Barbour
708acd461c Image to Post - hash bans 2020-10-26 10:53:03 -05:00
Matthew Barbour
83f8b61c4e Image to Post - approval 2020-10-26 10:53:03 -05:00
Matthew Barbour
d7c16176d3 Image to Post - mime 2020-10-26 10:53:03 -05:00
Matthew Barbour
dadef22d90 Image to Post - User 2020-10-26 10:53:03 -05:00
Matthew Barbour
a8c39085cb Image to Post - view counter 2020-10-26 10:53:02 -05:00
Matthew Barbour
4f48be8e15 Image to Post - Home 2020-10-26 10:53:02 -05:00
Matthew Barbour
439c3a8320 Image to Post - Index 2020-10-26 10:53:02 -05:00
Matthew Barbour
2b6e28683f Image to Post - Comments 2020-10-26 10:53:02 -05:00
Matthew Barbour
773be88994 Image to Post - bulk actions 2020-10-26 10:53:02 -05:00
Matthew Barbour
77ea8617d7 Image to Post - Admin extension 2020-10-26 10:53:02 -05:00
Matthew Barbour
840e661a42 Image to Post - featured 2020-10-26 10:53:02 -05:00
Matthew Barbour
82e88969d6 Image to Post - favorites 2020-10-26 10:53:02 -05:00
Matthew Barbour
27b2988bd8 Image to Post - Image 2020-10-26 10:53:02 -05:00
Matthew Barbour
52bce9ffd0 Image to Post - media 2020-10-26 10:53:02 -05:00
Matthew Barbour
7e0349164a Image to Post - log_db 2020-10-26 10:53:02 -05:00
Matthew Barbour
769fbecbb0 Image to Post - View 2020-10-26 10:53:02 -05:00
Matthew Barbour
df93e2e5d5 Added support for transcoding from the PPM image format 2020-10-26 08:58:47 -05:00
Matthew Barbour
cb81e46f9e Changing images to posts 2020-10-26 08:58:36 -05:00
Matthew Barbour
8d34fc360c Added length search to handle #777 2020-10-26 08:58:17 -05:00
Matthew Barbour
c05fb2106c Changed video background color to black 2020-10-26 07:28:15 -05:00
Matthew Barbour
91ac271a2b Corrected video aspect ratio issue
Handles #781
2020-10-26 07:28:10 -05:00
Matthew Barbour
45d38d8833 Added more specific upload error message that includes detected mimetype 2020-10-26 07:27:16 -05:00
Shish
ac2652e729 Revert "test removing scoresql_value_prepare now that bools are handled properly upstream"
This reverts commit 3a0f172a8c.
2020-10-26 01:33:46 +00:00
Shish
3a0f172a8c test removing scoresql_value_prepare now that bools are handled properly upstream 2020-10-26 00:33:01 +00: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
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
4ac9ab2ad6 round up number of comment pages instead of rounding down, fixes #755 2020-10-25 18:06:36 +00:00
Shish
723f316512 avoid repeatedly fetching the same user when viewing PM list 2020-10-25 17:05:36 +00:00
Shish
a617ed4331 newlines in tooltips 2020-10-25 13:30:00 +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
03dda8144c pull microcrud update to fix r__size issue 2020-10-25 10:44:30 +00:00
Shish
d19f9cb287 Rephrase ratio search so that it works across databases, fixes #759 2020-10-25 00:57:21 +01:00
Shish
6d074cfef8 defer notes js loading, fixes #737 2020-10-24 23:46:32 +01:00
Shish
0e1f6d0ef0 add tests for parent/child search, to try and trigger #743 2020-10-24 23:32:08 +01:00
Shish
b45bc1d61c cleanup image view counter 2020-10-24 22:33:29 +01:00
MetallicAchu
b8c6736327 Added a list that sorts by total views
Most of the code is stolen from numeric_score and ported in order to be usable here
2020-10-24 22:16:31 +01:00
Shish
c11f0dafd0 format 2020-10-24 22:16:18 +01:00
Shish
69112fdee3 phpunit9 2020-10-24 18:55:07 +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
Shish
c29fe0583f increase database timeout for admin ops 2020-10-15 23:50:09 +00:00
Shish
a51cab58aa make sure extension is not-null for transloads 2020-10-14 16:07:12 +00:00
Shish
3c10d1cfee
Merge pull request #757 from sanmadjack/pull
Adjusted mime type update statement to include NULLs. Changed get_mim…
2020-10-13 01:57:24 +01:00
Shish
7b3ab71b1e standard post linking - avoid the word "Image" 2020-10-09 13:51:24 +01:00
Shish
d00569431b arrow format to link images in logs 2020-10-09 13:47:48 +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
45511cbcda Fixed issue with detecting animated GIFs 2020-10-08 17:24:32 -05:00
Matthew Barbour
49a3277cca Fixed imagemagick thumbnailing issue with metadata-rotated images 2020-10-08 17:24:29 -05:00
Matthew Barbour
59bb8a31a2 Relaxed filename search to allow for non alpha-numeric filenames 2020-10-08 17:24:25 -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
Shish
81af2e99f8 avoid redundant updates in db upgrade 2020-10-03 23:06:09 +00:00
Shish
33d5693c5e use notify 2020-10-03 12:54:38 +00:00
Shish
9be859a01e Link to forum from navigation, not user links, see #753 2020-09-19 00:20:09 +01:00
Shish
1159ba2fa1 format 2020-09-19 00:18:51 +01:00
Shish
6284f3bcb8 Add a link to the forum, see #753 2020-09-19 00:18:45 +01:00
Shish
cae24210cc s/dorum/forum/ - fixes #753 - thanks @psychosoundwave :D 2020-09-18 23:20:42 +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
111c4e3fb5
Merge pull request #747 from sanmadjack/ffmpeg_thumb_temp_file
Added handling to ensure that video thumbnails don't leave temp files…
2020-09-16 11:20:51 +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
2ddfbe69a6 Added handling to ensure that video thumbnails don't leave temp files behind 2020-08-28 09:50:14 -05:00
Matthew Barbour
2dedeb06e0 Added "Fit Blur Tall, Fill Wide" resize type 2020-08-28 09:49:24 -05:00
Matthew Barbour
b8b33eecfe Added lower to filename search 2020-08-28 09:45:51 -05:00
Shish
988bc831b2 no headers 2020-08-26 19:43:11 +00:00
Shish
d5993c02f3 eokm filter 2020-08-23 15:43:16 +01:00
Shish
cb6c9ba987 ffs, php 2020-08-01 21:01:47 +00:00
Shish
49e4c3f9c7 info as part of view ext 2020-07-31 15:50:57 +01:00
Shish
804fc038bf extra info 2020-07-31 15:37:33 +01:00
Shish
446e7e0841 add not-a-tag tests 2020-07-31 15:27:38 +01:00
Shish
b1f37f1ccb another escape 2020-07-31 14:55:30 +01:00
Shish
aeb9829c9a if an admin tries to use a banned tag (eg during a mass-revert), ignore it 2020-07-29 14:03:28 +01:00
Shish
8c713af952 remove custom DB for untags now that we use microcrud 2020-07-23 11:17:23 +01:00
Shish
e0519bb125 r34 theme-specific stuff to theme/script.js 2020-07-23 11:13:33 +01:00
Shish
e6ec2340af fixes for tabular settings 2020-07-23 11:13:33 +01:00
Shish
cbe1f792f9 format 2020-07-07 16:07:23 +00:00
Shish
153aa481da re-add support for $ext in link template 2020-07-07 16:02:29 +00:00
Shish
0362d07cd5 less jquery 2020-07-06 17:51:11 +01:00
Shish
3297e71636 Add image/vnd.microsoft.icon because OSX uses that instead of image/x-icon 2020-06-25 14:54:05 +01:00
Matthew Barbour
35626d3989 Added options and onImageDownloading event handlers to allow resizing and converting images via get arguments 2020-06-25 00:43:13 +01:00
Matthew Barbour
a3a3aba040 Added ImageDownloadingEvent that allows extensions to stop a user from viewing an image or perform other operations on the image before the image is downloaded to the user 2020-06-25 00:43:11 +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
Matthew Barbour
8dd5ad16f3 Bulk import/export adjustment to prevent zip uploader overlap so the test won't bomb 2020-06-24 23:55:54 +01:00
Shish
d14c2ce8ea test fixes 2020-06-24 17:32:06 +01:00
Matthew Barbour
95ef714447 Changed metadata truncation to reflect new filename column length 2020-06-24 17:21:57 +01:00
Shish
b893da927f format 2020-06-24 17:02:24 +01:00
Matthew Barbour
bd9808081e Added false is_content flags to several blocks so that the 404 extension can work properly 2020-06-24 17:01:09 +01:00
Matthew Barbour
9e1aabe17f Added handling for empty archives 2020-06-24 16:59:35 +01:00
Matthew Barbour
e18fe295b4 Added default media engine to for thumbnails
Fixes #729
2020-06-24 16:58:33 +01:00
Matthew Barbour
e61bbbe03d Added object-fit style to video handler poster to allow better scaling when using exact-size-only thumbs 2020-06-24 16:58:20 +01:00
Matthew Barbour
846d978a52 Added mute option to video handler 2020-06-24 16:58:05 +01:00
Matthew Barbour
9b5d963aa3 Added ImageDownloadingEvent that allows extensions to stop a user from viewing an image or perform other operations on the image before the image is downloaded to the user 2020-06-24 16:55:58 +01:00
Matthew Barbour
fc3c6625bd Changed references to /tmp to sys_get_temp_dir 2020-06-24 16:47:22 +01:00
Shish
bb5614c5ef strip auth info from debug info dump 2020-06-24 15:09:53 +01:00
Shish
81417a5031 make info command match help text 2020-06-24 15:00:44 +01:00
Shish
1c216e8d51 formatting 2020-06-24 12:44:35 +01:00
Shish
04987ea70e 'resize' support for static thumbnailer 2020-06-23 15:17:54 +01:00
Matthew Barbour
844ec8b53e Removed stump user config section 2020-06-23 15:15:55 +01:00
Matthew Barbour
72de50aa71 Added bulk download extension 2020-06-23 15:15:43 +01:00
Matthew Barbour
ac63992efa Added BulkActionException to allow clean error feedback from bulk actions 2020-06-23 15:15:10 +01:00
Matthew Barbour
7c32b1f7a8 Fixed issue where enabling bulk selection, then disabling it, resulted in subsequent bulk actions not applying to any items 2020-06-23 15:14:58 +01:00
Matthew Barbour
919a3039c4 Added user API key system 2020-06-23 15:14:04 +01:00
Matthew Barbour
ea34d9b756 Changes and bugfixes for bulk import extension 2020-06-23 15:12:26 +01:00
Matthew Barbour
30f62c2ff8 Fixed transaction issue between cron uploader and bulk import 2020-06-23 15:11:35 +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
835c3b68a1 Added null return option 2020-06-23 15:06:26 +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
8e976fb812 Added "any" search option for private images 2020-06-23 15:03:44 +01:00
Matthew Barbour
dd08b936e3 Added skipped count to bulk import 2020-06-23 15:03:32 +01:00