Commit Graph

5512 Commits

Author SHA1 Message Date
Tina_Azure dca146ac7e enable image to switch between full and both, since before it got stuck with a click without alternating. 2022-10-04 21:45:59 +02:00
Tina_Azure de3b090740 Set zoom to "both" by default for undefined cookie state of ui-image-zoom 2022-10-04 21:43:57 +02:00
Your Name 1e07180583 url uploads now don't look like shit 2022-08-14 11:19:35 -05:00
Your Name ae799024b2 removed documentation and added terms \& conditions 2022-08-14 11:16:16 -05:00
Your Name 734318c1c6 Rating extension fixed again
Uploading caused a really nasty bug where uploading an image caused a
php error due to typing issues. Solved that by just type casting upon
pass. Better solution probably needs to be looked into.
2022-08-14 11:09:32 -05:00
Your Name c83e13bd51 where were going, we dont need tests 2022-08-14 10:41:29 -05:00
Your Name 048dd59010 tos extension complete 2022-08-14 10:40:34 -05:00
Your Name 54e200eeba Basic outline for how the blacklist tag done
Images have a tag array associated, take said tag array and make it a var. Then take a user's blacklist (I wonder if the user class has an array space) and make it a var. run array_intersect on both those vars. if anything is in returned array, return true. else return false. access denied and censor images in other areas if tags appear in array
2022-08-04 09:47:59 -05:00
Your Name f038cd72fb Hacky way of getting uploads working implemented
This works by abusing the fact that ratings are technically tags. Upload
a file, add a rating, and then send it off. The tags_for_upload_slot
func then takes the data sent over, explodes it out into individual
instances. Notably, you can put your own data here (i.e. ratings) to
then have them be considered tags. This hack forces ratings to be a
dependency as no code was added to assume otherwise. Take this patch at
your own risk.
2022-08-04 04:29:57 -05:00
Your Name 40f4d76b12 fixed reports to not be blank after reporting 2022-08-03 23:42:30 -05:00
MichaelYick b0c2a13414 merged PR 885 on shimmie2's git, allows for autocomplete in uploads. 2022-07-24 10:55:18 +00:00
MichaelYick afe83412c8 Merge branch 'master' of https://git.snootgame.xyz/MichaelYick/cavepaintings 2022-07-24 10:25:31 +00:00
MichaelYick 964525efae fixed html code issue with forum. no more ugly ";gt" stuff 2022-07-24 10:24:50 +00:00
MichaelYick 83df3edf25 fixed html code 2022-07-24 10:23:12 +00:00
MichaelYick 7d2c48387a thrembobulator added 2022-07-24 10:22:53 +00:00
Shish f57dc61cb7 only hide images if image approbals are enabled 2022-07-10 01:40:04 +01:00
Shish e97198aa10 format 2022-07-09 23:37:43 +01:00
Shish 476808db4b
Merge pull request #863 from jellykells/jellykells/owner_view_unapproved
Allow image owner to view their unapproved images
2022-07-08 22:20:52 +01:00
Shish 836fef790d
Merge pull request #883 from JamesTheSergal/master
fix no handler for 'bulk_download'
2022-07-08 22:18:58 +01:00
Shish 606c1fdedc
Merge pull request #878 from friends-of-the-core/autocomplete-in-more-places
Autocomplete in more places
2022-07-08 22:10:54 +01:00
Shish 25e5fc9c17
Merge pull request #860 from yls4/master
Fixing home page pool link and fixing Notes not displaying due to css
2022-07-08 22:10:38 +01:00
Ruben Rodriguez b2792481fa fix no handler for 'bulk_download'
Shimmie out of the box has bulk downloads enabled for the 'user' and 'base', but perform bulk actions isn't enabled, so it goes to a handler not found page. This fixes that.
2022-07-06 08:57:10 -04:00
Shish c1344958d4 [themes/warm] fix type annotations, fixes #865 2022-05-20 13:10:35 +01:00
Shish 818ea626ca [themes/lite] use block->id rather than trying to generate our own id 2022-05-20 13:08:42 +01:00
Shish c9ce396c9d remove ancient irrelevant comments 2022-05-20 13:06:29 +01:00
Shish b859e1fc60
Merge pull request #869 from thoughever/reverse_proxy
X-Real-IP support and Varnish PURGE config options
2022-05-01 10:42:54 +01:00
Shish 3f553501f9
Merge pull request #876 from friends-of-the-core/preserve-posted-date-on-rotate
Preserve posted date on rotate
2022-05-01 10:24:48 +01:00
Shish 0092572ea7
Merge pull request #875 from friends-of-the-core/pre-set-image-posted
Allow pre-setting `$image->posted` values
2022-05-01 10:24:34 +01:00
Shish 895207bf6b
Merge pull request #877 from friends-of-the-core/reduced-video-thumbnail-memory-usage
Scale thumbnails in ffmpeg to avoid excessive memory use on high-resolution videos
2022-05-01 10:19:26 +01:00
Shish bb99133322
Merge pull request #874 from friends-of-the-core/sort-by-favorites
Allow ordering by favourites in searches
2022-05-01 10:00:18 +01:00
Jessica Stokes d4c45112ee Autocomplete in bulk tag editor, too 2022-04-29 11:44:42 -07:00
Jessica Stokes 335b8a94c4 Allow autocomplete for tagging in addition to tag searching 2022-04-29 11:44:42 -07:00
Jessica Stokes 891c69d94d Scale thumbnails in ffmpeg to avoid excessive memory use on UHD videos 2022-04-29 11:33:22 -07:00
Jessica Stokes 5c79e05f08 Inherit post date when rotating images 2022-04-29 11:29:04 -07:00
Jessica Stokes 6bc1ec4f81 Allow setting `$image->posted` values 2022-04-29 11:21:57 -07:00
Jessica Stokes dfaf9b5a2f Add order:favorites to autocomplete 2022-04-29 11:14:12 -07:00
Jessica Stokes 4b086a8c70 Allow ordering by favorites in searches 2022-04-29 11:12:00 -07:00
Shish 6a248a0a5c
Merge pull request #871 from shish/dependabot/composer/enshrined/svg-sanitize-0.15.0
Bump enshrined/svg-sanitize from 0.14.1 to 0.15.0
2022-02-17 23:02:03 +00:00
dependabot[bot] cefad7a786
Bump enshrined/svg-sanitize from 0.14.1 to 0.15.0
Bumps [enshrined/svg-sanitize](https://github.com/darylldoyle/svg-sanitizer) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/darylldoyle/svg-sanitizer/releases)
- [Commits](https://github.com/darylldoyle/svg-sanitizer/compare/0.14.1...0.15.0)

---
updated-dependencies:
- dependency-name: enshrined/svg-sanitize
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 00:44:22 +00:00
Shish 15f4e79198
Merge pull request #870 from HeCorr/docker-fix
Fix apt errors when running in Docker
2022-02-12 12:35:13 +00:00
HeCorr eead00c601
replace debian:testing-slim image with debian:stable in Dockerfile
fixes some apt errors saying that PHP packages weren't found
2022-02-10 02:25:49 -03:00
thoughever f15407bc75 X-Real-IP support and Varnish PURGE config options
X-Real-IP for core functionality

Global config define REVERSE_PROXY_X_HEADERS

Config host and port for varnish PURGE

config option to specify PURGE protocol

exception in curl purge now shows error code

ipv6 x-real-ip addresses are now validated properly

X-Forwarded-Proto enabled by define
2022-01-20 22:25:22 +00:00
Shish 3061a9d7d5 avoid warning when HTTP_X_FORWARDED_PROTO isn't set 2022-01-01 10:29:32 +00:00
Shish e0f1165b6c
Merge pull request #851 from jellykells/jellykells/wiki_return_not_found
Add option to return 404 code for nonexistent wiki pages
2022-01-01 10:27:27 +00:00
jellykells f83588fdcd always return 404 code for nonexistent wiki pages 2021-12-30 22:06:39 -06:00
jellykells 7b7596167a add support for x-forwarded-proto header 2021-12-26 00:16:07 +00:00
jellykells a0190bff81 run php cs fixer 2021-12-23 22:18:33 -06:00
jellykells 29ed277f6d hide comments made on unapproved images from the comment list 2021-12-23 21:58:55 -06:00
jellykells bdea799766 allow image owner to view their unapproved images 2021-12-23 21:45:44 -06:00
Shish 78349b3ae5 and fix the test 2021-12-21 23:41:04 +00:00