NottyNoz
4253d357af
board config cleanup
2023-03-27 16:45:59 +01:00
Shish
689b2b13af
send_event(T) -> T
2023-02-04 20:50:26 +00:00
Shish
fcfeed8413
fix l2 errors
2023-02-03 20:03:04 +00:00
Shish
5a64e8729b
nits
2023-01-11 11:15:26 +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
4ff93c63c3
new php-cs-fixer, new opinions about what is today's preferred format...
2022-10-27 17:21:46 +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
77f7121e26
drop php7.3 support, make use of 7.4 features
2021-03-14 23:43:50 +00:00
Matthew Barbour
72268d529d
Moved user options to separate page, modularized the settings page code so that it can be re-used to simplify and standardize user settings in the same manner as global settings
2021-01-16 14:26:17 -06:00
Matthew Barbour
f497094482
Image to Post - rating
2020-10-26 10:53:03 -05:00
Shish
5816aa3084
execute consistently
2020-10-25 21:34:52 +00:00
Shish
7b3ab71b1e
standard post linking - avoid the word "Image"
2020-10-09 13:51:24 +01:00
Matthew Barbour
9b5d963aa3
Added ImageDownloadingEvent that allows extensions to stop a user from viewing an image or perform other operations on the image before the image is downloaded to the user
2020-06-24 16:55:58 +01:00
Matthew Barbour
6d16c52367
New bulk import/export extension
2020-06-23 15:01:22 +01:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Shish
4e57e04ddf
fix a lot of tests
2020-01-29 20:22:50 +00:00
Shish
41ce16f1b8
ratings works with sqlite (unit tests pass, at least)
2020-01-29 11:30:52 +00:00
Shish
aa1637d128
format
2020-01-29 01:47:43 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
Shish
3631084afd
format
2020-01-26 16:38:26 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
70db0ce5bd
flash_message -> page->flash, with no cookies
2019-12-15 19:47:18 +00:00
Shish
95ef5940fc
consistently use colon parameters
2019-11-27 11:47:38 +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
Shish
55c6854003
formatting
2019-11-02 19:57:34 +00:00
Matthew Barbour
016fb6be65
Small fixes and corrections
2019-11-01 23:47:53 -05:00
Matthew Barbour
3efa76c6a2
Added set_timeout to database and engine
2019-10-18 16:34:12 +01:00
Shish
30698fefdc
remove a bunch of dead variables and things
2019-10-02 11:23:57 +01:00
Shish
a7bddb1dac
get rid of is_admin, fixes #676
2019-09-29 19:01:09 +01:00
Shish
54067f02a4
fix merge
2019-09-29 15:44:59 +01:00
Shish
e6a402cd4e
Merge branch 'custom_ratings' into develop
2019-09-29 14:41:14 +01:00
Shish
f5119b20a3
formatting
2019-09-29 14:32:51 +01:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Matthew Barbour
651b1632b1
Update main.php
2019-09-09 08:13:25 -05:00
Matthew Barbour
4dce3a2f07
Update theme.php
2019-08-14 09:07:45 -05:00
matthew
1e60c8720c
Set unrated and unknown as reserved ratings
2019-08-07 15:50:37 -05:00
Matthew Barbour
0506adbf30
Adjusted rating setting migration
2019-08-07 15:50:37 -05:00
Matthew Barbour
e065c8b789
Set column defaults
2019-08-07 15:50:00 -05:00
matthew
aa5a04fbd3
Further adjusting tests for user config
...
Renamed Rating to ImageRating to prevent test system from trying to make an extension of it
2019-08-07 15:49:59 -05:00
Matthew Barbour
5e87dff033
Adjustments to rating upgrade
2019-08-07 15:49:57 -05:00
Matthew Barbour
40be8f045a
Changed to use user_config extension
2019-08-07 15:49:27 -05:00
Matthew Barbour
68ee4d0e77
Custom rating support, user rating filter settings
2019-08-07 15:49:26 -05:00
matthew
8e3b8a7a1b
Merge remote-tracking branch 'upstream/develop' into custom_ratings
2019-08-07 15:48:17 -05:00
Matthew Barbour
de98e86938
ExtensionInfo conversions what have I done
2019-08-07 15:40:01 -05:00
Matthew Barbour
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
Matthew Barbour
cb1e9c0075
Permissions to constants
2019-08-01 08:07:05 -05:00
matthew
d64603674e
Added ability to use generators with database queries.
...
Adapted bulk actions to use generators.
2019-07-07 11:10:40 +01:00
Matthew Barbour
c4111cc948
Added shortcut-key support to bulk action extension
2019-07-05 18:37:25 +01:00
Shish
c24a6e9b97
formatting pass
2019-06-21 09:12:44 +01:00
Matthew Barbour
1370afec72
Moved database driver constants to DatabaseDriver
2019-06-20 10:47:15 -05:00
Matthew Barbour
a834d1f814
Resolved issue with bulk rater
2019-06-19 23:41:55 -05:00
Matthew Barbour
826c623538
PageMode constants
2019-06-18 21:04:31 -05:00
Matthew Barbour
6f501a6e74
Database driver constants
2019-06-14 13:38:47 -05:00
Matthew Barbour
e854b6d884
Custom rating changes
2019-06-14 09:47:14 -05:00
Matthew Barbour
b522d68736
Custom rating support
2019-06-14 08:05:30 -05:00
Shish
064b24ffc1
formatting pass
2019-06-14 13:47:50 +01:00
Matthew Barbour
b27904a7e0
Changes to bulk actions, passing full ID arrays instead of chunked image arrays
...
Changed the bulk actions to have a separate identifier from the button name
2019-06-12 17:46:24 -05:00
Matthew Barbour
8f73b35fbb
Added OnTagTermParse to rating extension
...
Updated an install step to be pgsql compatible
2019-06-11 09:59:06 -05:00
Matthew Barbour
eb4292316d
Added webp upload and thumbnailing support
...
Bug fixes and consolidation of various thumbnail and resize functionality
Changed resize/rotate extensions to use replace image event
Added content-disposition header to image responses to provide a human-friendly filename when saving
Added more bulk thumbnail regeneration tools
Tweaks to bulk actions to correct totals when batching items
2019-06-09 14:14:04 -05:00
Matthew Barbour
66df295ec1
Bulk action extension
2019-06-05 18:16:15 -05:00
matthew
8741529590
Enabled rating extension for pgsql
2019-06-03 08:58:39 -05:00
Shish
2396ae2ef9
fix a bunch of lints
2019-05-28 20:27:23 +01: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
60a28af000
s/implode/Tag::implode/
2019-02-02 12:07:33 +00:00
Shish
977c3db1e3
PHP7 type annotations
2017-09-21 05:21:42 +01:00
jgen
204ea1d239
And more linting.
2017-03-12 17:13:32 -07:00
Shish
af0aa98649
Merge pull request #586 from im-mi/image-info-tweaks
...
Image info tweaks
2016-09-26 15:21:46 -05:00
im-mi
e6dd1b492c
Sanitize ratings
2016-09-25 15:26:36 -04:00
im-mi
3e52e332de
Only show image rater if user can rate
2016-09-13 02:10:48 -04:00
im-mi
001a1176cc
Show image rating in image info box even when not logged in
2016-09-11 23:42:34 -04:00
im-mi
e110b558b8
Hide the rating editor outside of edit mode
2016-09-11 23:42:34 -04:00
Shish
8c1e3bc92a
mark tests as public
2015-09-26 11:17:13 +01:00
Shish
c337abe280
skip tests for extensions who don't support the current db
2015-09-21 10:05:32 +01:00
Shish
fc2bbefcb9
test all the things
2015-09-20 22:40:04 +01:00
Shish
90cd823ece
fix liveness testing, and comments tests
2015-09-20 20:05:06 +01:00
Shish
9af5995dcc
PHPUnit proof of concept
2015-09-20 20:03:29 +01:00
Shish
e415bd3fca
more database support
2015-08-09 12:20:43 +01:00
Thasan
f2fc69cef4
Fixing "rating=safe" search bug
2014-12-13 03:23:44 +02:00
Daku
24f2741a50
rating_to_name no longer exists
...
was removed in commit eadf1d9e87
2014-06-01 21:56:33 +01:00
jgen
eadf1d9e87
Remove dead code.
2014-04-28 17:18:51 -04:00
jgen
b56e390676
Lots of linting again.
2014-04-28 03:26:35 -04: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
Shish
db5aa56300
remove a bunch of dead code
2014-03-29 11:44:34 +00:00
Shish
7b68d8ebfd
use new-style constructors everywhere
2014-03-22 09:00:59 +00:00
Daku
25c286b71f
add support for using : as a metatag seperator + updated docs
2014-01-02 14:00:24 +00:00
Thasan
b16be279a8
ext\rating documentation
2013-11-06 00:32:27 +02:00
Thasan
fe84c8d9dd
Also checking rating permissions
2013-11-06 00:11:17 +02:00
Thasan
5aa2f823d8
Fixing rating= search
2013-11-05 22:43:46 +02:00
Peter Lejeck
0e4717ecae
Unify two regexes used in rating searches, intersect with user privs
...
Fixes issue with unpriveleged users being able to circumvent the ratings
they could see, just by searching for it. Also makes code much much
prettier.
2013-10-06 04:38:34 -07:00
Shish
7dd929e5a8
remove a whole load of event->user variables that weren't used -- things should be using global user
2012-08-18 19:45:39 +01:00
Shish
67f1c1c51d
store enabled exts in a config file, rather than moving directories around
2012-03-31 18:59:28 +01:00