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
Shish
d8e3ba6f4d
preliminary work for image locking
2009-01-24 03:59:51 -08:00
Shish
11873e9601
remove EOL whitespace
2009-01-04 11:18:37 -08:00
shish
434fab2dc5
and make the extensions match
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1003 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-23 12:08:19 +00:00
shish
09b2be6830
PHP4 is dead \o/ \o/ \o/ (Part 1, make use of instanceof)
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@994 7f39781d-f577-437e-ae19-be835c7a54ca
2008-08-22 09:41:30 +00:00
shish
980ebd5189
use xml schemas to create tables
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@703 7f39781d-f577-437e-ae19-be835c7a54ca
2008-01-27 15:32:35 +00:00
shish
6f69f52614
comment this out, just to make sure it's not used
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@504 7f39781d-f577-437e-ae19-be835c7a54ca
2007-09-29 22:53:42 +00:00
shish
7a936d41cf
set curl user agent and referrer
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@502 7f39781d-f577-437e-ae19-be835c7a54ca
2007-09-29 22:48:33 +00:00
shish
3084446c2e
goodbye, global config defaults~
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@294 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-16 14:09:12 +00:00
shish
e0d279f347
utf8 support
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@233 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 05:57:24 +00:00
shish
7638c8de70
database schema upgrader
...
git-svn-id: file:///home/shish/svn/shimmie2/trunk@231 7f39781d-f577-437e-ae19-be835c7a54ca
2007-07-06 04:02:24 +00:00