Shish
641821f6f1
databases??
2024-01-15 22:56:06 +00:00
Shish
5d120cd0c8
[tests] put tests inside transactions
2024-01-15 22:50:43 +00:00
Shish
bb9ab613ce
[everything] bulk set event handler return types to void
2024-01-15 11:52:35 +00:00
Shish
ec35cace6a
[core] replace quarter-arsed CLI interface with Symfony Console
2024-01-11 01:01:39 +00:00
Shish
fd1bb21f9d
bumps
2023-11-11 22:05:28 +00:00
Shish
bce2d55744
Namespaces are one honking great idea—let's do more of those!
2023-01-10 22:44:09 +00:00
Shish
a04bc2e7e4
php8.1 gogogo
2022-10-28 01:45:35 +01:00
Shish
3d9e32e919
new php-cs-fixer
2021-12-14 18:32:47 +00:00
Shish
3bb1566df2
Allow db->set_timeout(null) to disable DB timeouts, see #874
2021-09-22 15:42:41 +01:00
Shish
b4c4de58a2
use get_version instead of get_int for versions
2020-10-29 00:57:58 +00:00
Shish
08b9729c72
more
2020-10-27 22:07:32 +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
607803c04f
Revert "boolinate locked"
...
This reverts commit 533ea85da9
.
2020-10-26 23:42:02 +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
5816aa3084
execute consistently
2020-10-25 21:34:52 +00:00
Matthew Barbour
984c9702ec
The great MIMEing
2020-06-25 00:42:34 +01:00
Shish
8b1b4d257e
stick a blank index.php in data/ just in case somebody left directory-indexing on
2020-03-23 19:56:05 +00:00
Shish
8651cc0d7a
get_int for db_version
2020-01-30 21:11:56 +00:00
Shish
7e43e2e304
split www stuff to index.php and test things to tests/bootstrap.php
2020-01-27 19:28:58 +00:00
Shish
fbe55ea531
remove non-functional locking
2020-01-27 19:27:20 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
c7d90c2df7
nits
2019-11-04 01:04:12 +00:00
Shish
fc7da5114f
fixes
2019-11-03 23:43:35 +00:00
Shish
494ba15a70
log every ext version change
2019-11-03 19:04:57 +00:00
Shish
031c441e47
split DatabaseUpgrade into a separate event from InitExt
2019-11-03 17:21:05 +00:00
Matthew Barbour
3efa76c6a2
Added set_timeout to database and engine
2019-10-18 16:34:12 +01:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Matthew Barbour
73b784266e
Moved user config stuff into an extension
2019-09-29 14:20:40 +01:00
matthew
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
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
ae6126d388
Changed upgrade code to use SCORE stuff
2019-07-08 08:07:10 -05:00
Matthew Barbour
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
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 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
6f501a6e74
Database driver constants
2019-06-14 13:38:47 -05:00
Shish
34b05cca7c
PSR-2. I'm not a huge fan, but ugly consistency beats no consistency...
2019-05-28 17:59:38 +01:00
Shish
5ec3e89884
php7.1 all the things
2019-05-28 17:31:20 +01:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
jgen
8de816d7dd
Some more linting via PHPDoc comments.
2017-03-12 00:18:26 -08:00
Daku
b89dd52b47
bumped the tag char limit to 255
...
there wasn't really much reason to have this so low, and this puts it to the same limit as other booru software
2014-06-19 23:14:11 +01:00
Shish
eb51a9b639
migrate to bcrypt for password storage
2014-05-24 09:47:42 +01:00
jgen
1ca3865a1c
Removing the closing PHP "?>" tag as per style guidelines. (Also see: https://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag )
2014-04-25 22:54:51 -04:00
Daku
4351dc53c5
make sure all existing exts are converted to lowercase
2014-03-08 15:27:39 +00:00
Daku
524ead8344
PostgreSQL doesn't return trimmed results for CHAR columns, so use VARCHAR instead
2014-03-02 21:07:25 +00:00
Shish
38f7555d98
get rid of direct references to Database's engine
2012-06-24 00:57:55 +01:00
Shish
dd505e556e
avoid using magic internal database->db value
2012-06-24 00:27:21 +01:00