Commit Graph

1458 Commits

Author SHA1 Message Date
120cdb49a6 Added $user_config global based on existing config object for storing user-specific settings.
Added event to the user page so that extensions can hook into it, providing user-specific setting controls
2019-09-29 14:19:52 +01:00
88e6e68d79 Changed omitted related tags (like tagme) to be powered by a setting, allowing any performance-impacting (or just not useful in this context) tags to be omitted
Further tag list performance improvements
TagListConfig constants
2019-09-26 15:46:28 +01:00
33fff87f39 Merge pull request #680 from sanmadjack/ext_info
Proposed extension info change to allow getting info for unloaded ext…
2019-09-26 15:37:16 +01:00
a1c276c840 Fix SQLite underscore searching (#619) 2019-09-14 13:46:39 +10:00
9341c408b9 allow randomness to be limited, because sql's OFFSET N is O(n) 2019-09-08 17:13:20 +01:00
ac6ded877f Added dependency support for extensions
Separated a few extensions that had multiple extension classes in the same file
2019-08-07 16:32:44 -05:00
f4b647b6b8 Updated util for new extension methods 2019-08-07 15:59:06 -05:00
91b46d6598 Moved user config stuff into an extension 2019-08-07 15:49:56 -05:00
68ee4d0e77 Custom rating support, user rating filter settings 2019-08-07 15:49:26 -05:00
8f0aa8a4ca Added $user_config global based on existing config object for storing user-specific settings.
Added event to the user page so that extensions can hook into it, providing user-specific setting controls
2019-08-07 15:48:18 -05:00
de98e86938 ExtensionInfo conversions what have I done 2019-08-07 15:40:01 -05:00
3d1b964812 Proposed extension info change to allow getting info for unloaded extensions 2019-08-07 15:34:11 -05:00
a18589ee0a Help extension
Provides foundation for help pages that are generated from loaded extensions, starting with comprehensive search documentation. Addresses #522
2019-08-05 09:03:49 -05:00
00464d2579 Implemented a nav link generating system so that extension power what shows up in the menus rather than being hard-coded in the themes. 2019-08-05 09:01:20 -05:00
972b68bdd3 Setup constants 2019-08-05 09:00:23 -05:00
fc294bfb3c add tracer_enabled check to the database class to prevent unnecessary memory build-up when tracer isn't outputting.
Globalized tracer_enabled to make it easier to access
2019-08-01 08:15:43 -05:00
c3f2d2e1bd New post titles extension, resolves #19 2019-08-01 08:10:24 -05:00
45df025e7d Bulk action permission constant 2019-08-01 08:09:00 -05:00
cb1e9c0075 Permissions to constants 2019-08-01 08:07:05 -05:00
d57b624079 Merge commit '38cc05c' into develop 2019-07-31 14:58:24 +01:00
a0b1c82d0d function to clear event listeners 2019-07-19 10:25:07 +01:00
c5aba18470 s/is_admin/can(perform_bulk_actions)/ 2019-07-08 20:35:10 +01:00
a0c0b6e3d1 Various fixes 2019-07-08 08:07:11 -05:00
b1db833d51 Added additional media properties to the images table, video, audio, length, and lossless.
Added new event to handle fetching media properties like height, width, and the newly added fields, and admin controls to manually scan files for their properties.
Added a search terms content:video and content:audio to search for images that do (or do not) have those flags.
2019-07-08 08:07:09 -05:00
a41e99d1af Renamed graphics extension to media extension 2019-07-08 08:07:08 -05:00
3859e27839 New Graphics extension
Added constants to several extensions
2019-07-08 08:07:02 -05:00
eb885c443c trim leading whitespace when logging queries 2019-07-07 19:22:44 +01:00
1bd7e1a547 better DISABLE_ACCEL 2019-07-07 17:40:24 +01:00
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
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
bd5ccd2800 remove ancient misleading description of the search code 2019-07-07 16:46:56 +01:00
98f0375e94 make tracer not-null in installer 2019-07-07 15:57:06 +01:00
660ee2b249 make composer libs usable from the installer 2019-07-07 15:50:02 +01:00
b43ad07abe typo 2019-07-07 15:42:19 +01:00
1e1ede7db6 log which method was used to wrap db->execute 2019-07-07 15:12:51 +01:00
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
8ec3690f8e cache logging was getting hit/miss the wrong way round... forever? 2019-07-07 14:07:11 +01:00
c8563951ce tracing instead of cache debug log 2019-07-07 13:58:39 +01:00
bca74a0db5 drop DEBUG_SQL - all of that info is included in the trace file, fixes #674 2019-07-07 13:52:53 +01:00
4cadce1de0 merge slow-page-log into tracer, fixes #673 2019-07-07 13:51:19 +01:00
99646a4b00 bump tracer api 2019-07-07 13:30:50 +01:00
f5a5352511 Correction to negative tag code 2019-07-07 11:17:21 +01:00
c906df6956 Added iterator_map and iterator_map_to_array
Moved the path join/sanitize to pollyfills
2019-07-07 11:11:57 +01:00
3954f3d296 merge iterable queries with new count_time 2019-07-07 11:11:27 +01:00
d64603674e Added ability to use generators with database queries.
Adapted bulk actions to use generators.
2019-07-07 11:10:40 +01:00
183f9bb897 Changed the image tag search query to run more efficiently on pgsql 2019-07-07 11:06:45 +01:00
b01f425a55 GET flag to skip cache 2019-07-07 10:29:00 +01:00
f4a98e7a9b GET flag to skip accelerator 2019-07-07 10:29:00 +01:00
68f3ebb2c6 Consistently say '<Type> Query' 2019-07-07 00:17:39 +01:00
b285acf70a tracer-complete needs start time 2019-07-06 23:01:22 +01:00