Matthew Barbour
a41e99d1af
Renamed graphics extension to media extension
2019-07-08 08:07:08 -05:00
Matthew Barbour
3859e27839
New Graphics extension
...
Added constants to several extensions
2019-07-08 08:07:02 -05:00
Shish
eb885c443c
trim leading whitespace when logging queries
2019-07-07 19:22:44 +01:00
Shish
1bd7e1a547
better DISABLE_ACCEL
2019-07-07 17:40:24 +01:00
Shish
cf98e4bf43
remove one-positive-tag special case which is slower than the generic build_accurate_search_querylet
2019-07-07 17:13:56 +01:00
Shish
ea802f4a24
Remove build_ugly_search_querylet
...
now that the accurate search doesn't use subqueries, perhaps mysql can
accept it
2019-07-07 16:50:55 +01:00
Shish
bd5ccd2800
remove ancient misleading description of the search code
2019-07-07 16:46:56 +01:00
Shish
98f0375e94
make tracer not-null in installer
2019-07-07 15:57:06 +01:00
Shish
660ee2b249
make composer libs usable from the installer
2019-07-07 15:50:02 +01:00
Shish
b43ad07abe
typo
2019-07-07 15:42:19 +01:00
Shish
1e1ede7db6
log which method was used to wrap db->execute
2019-07-07 15:12:51 +01:00
Shish
3c6b09110a
Cache multiple flexihashes
...
otherwise get_thumb / get_image / get_thumb / get_image / ... will
have 100% cache miss rate
2019-07-07 14:26:45 +01:00
Shish
8ec3690f8e
cache logging was getting hit/miss the wrong way round... forever?
2019-07-07 14:07:11 +01:00
Shish
c8563951ce
tracing instead of cache debug log
2019-07-07 13:58:39 +01:00
Shish
bca74a0db5
drop DEBUG_SQL - all of that info is included in the trace file, fixes #674
2019-07-07 13:52:53 +01:00
Shish
4cadce1de0
merge slow-page-log into tracer, fixes #673
2019-07-07 13:51:19 +01:00
Shish
99646a4b00
bump tracer api
2019-07-07 13:30:50 +01:00
Matthew Barbour
f5a5352511
Correction to negative tag code
2019-07-07 11:17:21 +01:00
matthew
c906df6956
Added iterator_map and iterator_map_to_array
...
Moved the path join/sanitize to pollyfills
2019-07-07 11:11:57 +01:00
Shish
3954f3d296
merge iterable queries with new count_time
2019-07-07 11:11:27 +01:00
matthew
d64603674e
Added ability to use generators with database queries.
...
Adapted bulk actions to use generators.
2019-07-07 11:10:40 +01:00
Matthew Barbour
183f9bb897
Changed the image tag search query to run more efficiently on pgsql
2019-07-07 11:06:45 +01:00
Shish
b01f425a55
GET flag to skip cache
2019-07-07 10:29:00 +01:00
Shish
f4a98e7a9b
GET flag to skip accelerator
2019-07-07 10:29:00 +01:00
Shish
68f3ebb2c6
Consistently say '<Type> Query'
2019-07-07 00:17:39 +01:00
Shish
b285acf70a
tracer-complete needs start time
2019-07-06 23:01:22 +01:00
Shish
8ea78eed6a
have database performance measured in three ways at once, instead of three separate ways
2019-07-06 21:41:48 +01:00
Shish
c682670f64
derp
2019-07-06 10:38:18 +01:00
Shish
ccb9c493d5
s/Context/EventTracer/g
2019-07-05 20:49:47 +01:00
Shish
f0326dc3ab
bootstrap as its own phase
2019-07-05 19:20:37 +01:00
Matthew Barbour
a82fb56063
Added force flag to image deletion event to override trash extension
2019-07-05 18:31:31 +01:00
matthew
1bd9238b17
Additional trash stuff
2019-07-05 18:29:45 +01:00
Matthew Barbour
32d37254f7
New trash extension. For undelete-type stuff.
2019-07-05 18:29:44 +01:00
Matthew Barbour
92bb96049f
Added SCORE sql constants
2019-07-05 17:41:29 +01:00
matthew
639c896a16
Added join_path to cleanly join paths.
...
Added sanitize_path to normalize and deduplicate directory separators.
Changed warehouse_path to be able to scale up the number of octect pairs as much as desired.
2019-07-05 16:43:06 +01:00
Matthew Barbour
aa9ce52f47
Adjustment to DATABASE_TIMEOUT
2019-07-05 16:25:03 +01:00
Matthew Barbour
3fc0ba3a63
Added DATBASE_TIMEOUT constant to allow customizing database wait time
2019-07-05 16:25:03 +01:00
Matthew Barbour
6a6d73168b
Added function to database object for interpreting parameter values to ones that are database-appropriate. Specifically, to turn true/false into the correct values for a bool column.
2019-07-05 16:25:03 +01:00
Matthew Barbour
af263bc2a5
Fix the flv mime type mapping
2019-07-05 16:25:03 +01:00
Matthew Barbour
de6d6a0515
Added new FILE page mode that allows sending files to the browser with these improvements:
...
Reads the file and outputs it in chunks rather than all at once, reducing the amount of memory needed to very little, even for very very large files.
Supports http request ranges so that only parts of the file will be returned if requested. This allows in-browser video players to seek to arbitrary points in the video without needing to download the whole file.
Makes use of flush during send to allow the browser to being receiving file data immediately, allowing streamable video formats to begin playing before the server has finished sending the data. This could also be used in the future to add a transmission rate limiter.
Has early-disconnect detection, to terminate sending file data if the client browser has disconnected or aborted (for instance, a user starts a video, then seeks to near the middle, the first request of data will be terminated rather than continuing to process the file).
2019-07-05 16:25:03 +01:00
Shish
c24a6e9b97
formatting pass
2019-06-21 09:12:44 +01:00
Shish
42a502953b
Merge pull request #663 from sanmadjack/bugfixes
...
Bugfixes and small changes
2019-06-21 09:11:52 +01:00
Matthew Barbour
1370afec72
Moved database driver constants to DatabaseDriver
2019-06-20 10:47:15 -05:00
Matthew Barbour
a2ac9776ff
path tag corrections
2019-06-19 23:28:34 -05:00
Matthew Barbour
c951f7d13e
Adjusted path-to-dir regex to prevent an error
2019-06-19 20:22:41 -05:00
matthew
27574cad76
Merge remote-tracking branch 'upstream/develop' into path_to_tags_enhancements
2019-06-19 20:21:47 -05:00
Matthew Barbour
5eb4a66ab7
Added merged indicator to DataUploadEvent and ImageAddEvent
...
Changed merge process so that the ID of the merged image can make it back through the event chanin
2019-06-19 20:19:38 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
matthew
123089bfbf
Merge remote-tracking branch 'upstream/develop' into bugfixes
...
# Conflicts:
# core/imageboard/image.php
2019-06-18 13:31:04 -05:00
Shish
1d10baa719
only sql-escape if we're going to the database, not the accelerator
2019-06-16 19:25:40 +01:00