Matthew Barbour
c4111cc948
Added shortcut-key support to bulk action extension
2019-07-05 18:37:25 +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 Barbour
02e2786cca
Added missing constant
2019-07-05 17:39:25 +01:00
matthew
a7188a452b
Fixed issue with setup block checkbox generator
2019-07-05 17:39:15 +01:00
Matthew Barbour
c16d55995b
Added table-building support to SetupBlock to allow easily building cleaner setup controls
2019-07-05 17:38:12 +01:00
Matthew Barbour
9ca800d1c4
Added bulk action support to pools extension
2019-07-05 17:31:27 +01:00
Matthew Barbour
8794258072
pgsql automatically creates indexes on unique columns, so the manually created indexes on those columns are redundant on that database. This will remove tham.
2019-07-05 16:55:36 +01:00
Matthew Barbour
dfeb3bf5df
Added a database upgrade that adds a tag_id,image_id index to image_tags, and lengthens the filename field to 255 characters. 64 was ridiculous.
...
Also added a substr to the filename for the merge code so it won't error when it's a long name
2019-07-05 16:55:25 +01:00
matthew
80e614b53e
Added relationship set event.
...
Adjusted relationship set statements for betteer accuracy
2019-07-05 16:46:03 +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
ac1196dee1
Added lower to tag_categories search
2019-07-05 16:25:03 +01:00
Matthew Barbour
8d567e9553
Changed autocomplete to escape _ and %, lowercase the tags, and also query for tag names that are preceded by categories to address #630
2019-07-05 16:25:03 +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
cb436cc182
Added transaction check before main rollback
2019-07-05 16:25:03 +01:00
Matthew Barbour
ae24b5c2e8
Moved transaction commit to above fastcgi_finish_request to prevent the page refreshing before the transaction actually commits.
2019-07-05 16:25:03 +01:00
Matthew Barbour
1a7fa4663e
Added search_terms to the bulk action event
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
f12e2891e5
Added button element to input[button]-related css statements
2019-07-05 16:25:03 +01:00
Matthew Barbour
a7c978c8d2
Added poster attribute to video element so thumbnail can show until video is loaded
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
ff28f34088
Merge pull request #671 from shish/phpunit-bump
...
bump phpunit to 7.x
2019-07-05 15:58:29 +01:00
Shish
97f8234778
bump phpunit to 7.x
2019-07-05 15:47:47 +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
Shish
7e34a30a2f
Merge pull request #664 from sanmadjack/path_to_tags_enhancements
...
Path to tags enhancements
2019-06-21 08:45:52 +01:00
Matthew Barbour
1370afec72
Moved database driver constants to DatabaseDriver
2019-06-20 10:47:15 -05:00
Matthew Barbour
d128dfa78e
Added lower indexes for postgresql to tags.tag and users.name to speed up queries for them using lower()
2019-06-20 10:07:43 -05:00
Matthew Barbour
a834d1f814
Resolved issue with bulk rater
2019-06-19 23:41:55 -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
921ec9a7bb
Adjusted cron upload for new merged flag, and to make sure tags merge properly
2019-06-19 20:20:52 -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
5a30ce1c83
Reverted removal of latter tag write
2019-06-19 18:59:51 -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
Matthew Barbour
014a4c2cd2
Added extension constant lists to resize and rotate extensions so that they weren't rendering their controls ont he wrong image types
2019-06-18 13:25:45 -05:00
Shish
6313ebc339
LIMIT 1 when fetching a wiki page
2019-06-16 19:39:28 +01:00
Shish
1d10baa719
only sql-escape if we're going to the database, not the accelerator
2019-06-16 19:25:40 +01:00
Shish
e232811e8c
silence errors from a broken client
2019-06-16 19:12:44 +01:00
Shish
6df1190501
Rename Tag/ImgQuerylet to Tag/ImgCondition
...
It was confusing because Tag/ImgQuerylet (an abstract condition to use
as part of image search filtering) were unrelated to Querylet (a
fragment of SQL)
2019-06-16 19:11:16 +01:00
Shish
6b9d18b52e
Parse tags first, then check accelerator, then check database
...
Better than half-assed tag parsing in the accelerator then full parsing
in the database
2019-06-16 19:07:55 +01:00
Matthew Barbour
1fe18e7573
Missed a dir name
2019-06-15 12:52:22 -05:00
Matthew Barbour
8b531c04a2
removed SQLERROR escape from cron uploader, not necessary now that it is individualizing transactions.
...
Change cron uploader to use constants for dir and config names
2019-06-15 12:51:04 -05:00
Matthew Barbour
ab9389007f
Changed key-generation process for cron upload so it doesn't endlessly generate new keys before the user first hits the same buttons in settings.
2019-06-15 11:51:03 -05:00