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
Shish
b568933f45
remove extension metadata comments (we have metadata objects now)
2019-11-02 20:19:09 +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
Shish
7a6741d202
TYPE -> ENGINE
2012-03-14 18:11:46 +00:00
Shish
9e65732ea1
mysql ignores the FK names anyway, so all they were doing was bothering me ~_~
2012-03-11 01:52:25 +00:00
Shish
3c1b20e05b
user classes
2012-02-14 20:38:19 +00:00
Shish
85fb34e20f
allow failed upgrades
2012-02-14 06:33:59 +00:00
Shish
3584f40551
Merge branch 'master' of github.com:shish/shimmie2
2012-02-09 01:07:21 +00:00
Shish
0698b780f9
remove regular Extension, have SimpleExtension take its place, optimise the event system based on SimpleExtension methods
2012-02-08 12:07:01 +00:00
green-ponies (jgen)
2d443f0be9
Mostly just adding the Link to comments.
2012-02-07 21:52:11 -05:00
Shish
37bffe0689
actually, ext-specific DB changes should live in that ext...
2012-02-07 19:26:40 +00:00
Shish
1455956f18
putting foreign key additions into auto-upgrade ext
2012-02-07 19:18:58 +00:00
Shish
0d73aa7692
remove mysql-adodb specific function #2
2011-01-01 19:01:38 +00:00
Shish
da449245de
Convert some Extensions to SimpleExtensions with priorities
2010-05-28 13:06:31 +01:00
Shish
ef43fc1e57
haaaack
2010-01-11 15:19:04 +00:00
Shish
18c0fa7df8
more documentation, and set some extensions to be hidden from the user docs list
2010-01-05 13:13:11 +00:00
Shish
7a60e6fae5
lots of extension docs
2010-01-05 10:11:53 +00:00
Shish
830635c5a9
preliminary image locking
2009-12-30 08:54:04 +00:00
Shish
c9283ef010
make sure all tables are innodb, for foreign keys to work
2009-12-30 08:48:40 +00:00
Shish
bb84a735a2
requestcontext stuff is messy, go back to globals :(
2009-05-11 07:04:33 -07:00