Fixed alert searches. Added Teen Mega World campaigns.

This commit is contained in:
DebaucheryLibrarian 2021-09-17 04:28:48 +02:00
parent 294f15e694
commit 0224c26ca0
16 changed files with 156 additions and 6 deletions

View File

@ -43,11 +43,12 @@
<script> <script>
async function search() { async function search() {
if (this.content === 'actors') { if (this.content === 'actors') {
this.results = await this.$store.dispatch('searchActors', { const { actors } = await this.$store.dispatch('fetchActors', {
query: this.query, query: this.query,
minLength: 1,
limit: 10, limit: 10,
}); });
this.results = actors;
} }
if (this.content === 'entities') { if (this.content === 'entities') {

View File

@ -116,6 +116,7 @@ export default {
::v-deep(.dialog-body) { ::v-deep(.dialog-body) {
padding: 1rem; padding: 1rem;
flex-grow: 1; flex-grow: 1;
overflow-y: auto;
} }
::v-deep(.dialog-section:not(:last-child)) { ::v-deep(.dialog-section:not(:last-child)) {

View File

@ -303,7 +303,8 @@ function initActorActions(store, router) {
const genderFilter = (gender === null && 'gender: { isNull: true }') const genderFilter = (gender === null && 'gender: { isNull: true }')
|| (gender === 'all' && ' ') || (gender === 'all' && ' ')
|| `gender: { equalTo: "${gender}" }`; || (gender && `gender: { equalTo: "${gender}" }`)
|| '';
const ageFilter = age ? ` const ageFilter = age ? `
or: [ or: [
@ -422,7 +423,7 @@ function initActorActions(store, router) {
query, query,
offset: Math.max(0, (pageNumber - 1)) * limit, offset: Math.max(0, (pageNumber - 1)) * limit,
limit, limit,
naturalBoobs, naturalBoobs: naturalBoobs || null,
hasAuth: !!store.state.auth.user, hasAuth: !!store.state.auth.user,
userId: store.state.auth.user?.id, userId: store.state.auth.user?.id,
}); });

View File

@ -247,10 +247,10 @@ function initEntitiesActions(store, router) {
const { entities } = await graphql(` const { entities } = await graphql(`
query SearchEntities( query SearchEntities(
$query: String! $query: String!
$limit:Int = 20, $limit: Int = 20,
) { ) {
entities: searchEntities( entities: searchEntities(
search: $query, search: $query
first: $limit first: $limit
) { ) {
id id

View File

@ -1450,6 +1450,7 @@ exports.up = knex => Promise.resolve()
array_to_string(alias, '') ILIKE ('%' || TRIM(search) || '%') OR array_to_string(alias, '') ILIKE ('%' || TRIM(search) || '%') OR
replace(array_to_string(alias, ''), ' ', '') ILIKE ('%' || TRIM(search) || '%') OR replace(array_to_string(alias, ''), ' ', '') ILIKE ('%' || TRIM(search) || '%') OR
url ILIKE ('%' || search || '%') url ILIKE ('%' || search || '%')
ORDER BY similarity(entities.name, search) DESC, name ASC
$$ LANGUAGE SQL STABLE; $$ LANGUAGE SQL STABLE;
CREATE FUNCTION search_actors(query text, min_length smallint DEFAULT 2) RETURNS SETOF actors AS $$ CREATE FUNCTION search_actors(query text, min_length smallint DEFAULT 2) RETURNS SETOF actors AS $$
@ -1748,6 +1749,7 @@ exports.up = knex => Promise.resolve()
COMMENT ON FUNCTION tags_scenes IS E'@sortable'; COMMENT ON FUNCTION tags_scenes IS E'@sortable';
COMMENT ON FUNCTION search_releases IS E'@sortable'; COMMENT ON FUNCTION search_releases IS E'@sortable';
COMMENT ON FUNCTION search_entities IS E'@sortable';
COMMENT ON FUNCTION search_actors IS E'@sortable'; COMMENT ON FUNCTION search_actors IS E'@sortable';
COMMENT ON FUNCTION search_movies IS E'@sortable'; COMMENT ON FUNCTION search_movies IS E'@sortable';
COMMENT ON FUNCTION search_tags IS E'@sortable'; COMMENT ON FUNCTION search_tags IS E'@sortable';

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 KiB

View File

@ -272,6 +272,86 @@ const banners = [
channel: 'manuelferrara', channel: 'manuelferrara',
tags: ['big-butt'], tags: ['big-butt'],
}, },
{
id: 'analangels_468_80_animated',
width: 468,
height: 80,
type: 'gif',
channel: 'analangels',
tags: ['anal'],
},
{
id: 'analangels_300_250_animated',
width: 300,
height: 250,
type: 'gif',
channel: 'analangels',
tags: ['anal'],
},
{
id: 'analbeauty_468_80_animated',
width: 468,
height: 80,
type: 'gif',
channel: 'analbeauty',
tags: ['anal'],
},
{
id: 'analbeauty_300_250_animated',
width: 300,
height: 250,
type: 'gif',
channel: 'analbeauty',
tags: ['anal'],
},
{
id: 'analbeauty_300_250_tail_animated',
width: 300,
height: 250,
type: 'gif',
channel: 'analbeauty',
tags: ['anal', 'bondage', 'bdsm'],
},
{
id: 'beautyangels_468_80_animated',
width: 468,
height: 80,
type: 'gif',
channel: 'beautyangels',
tags: ['solo'],
},
{
id: 'beautyangels_300_250_69_animated',
width: 300,
height: 250,
type: 'gif',
channel: 'beautyangels',
tags: ['lesbian', '69'],
},
{
id: 'beautyangels_300_250_lesbian_animated',
width: 300,
height: 250,
type: 'gif',
channel: 'beautyangels',
tags: ['lesbian'],
},
{
id: 'teenmegaworld_300_250_animated',
width: 300,
height: 250,
type: 'gif',
network: 'teenmegaworld',
tags: ['solo'],
},
{
id: 'tmwvrnet_468_80_animated',
width: 468,
height: 80,
type: 'gif',
channel: 'tmwvrnet',
tags: ['vr'],
},
{ {
id: 'pornworld_600_120_1', id: 'pornworld_600_120_1',
width: 600, width: 600,
@ -592,6 +672,71 @@ const campaigns = [
url: 'https://enter.spermswallowers.com/track/Mzk3MS4yLjUuMTMuMC4wLjAuMC4w', url: 'https://enter.spermswallowers.com/track/Mzk3MS4yLjUuMTMuMC4wLjAuMC4w',
comment: '$30 per signup', comment: '$30 per signup',
}, },
{
network: 'teenmegaworld',
url: 'https://secure.teenmegaworld.net/track/MzAxNjcxLjUuMS4xLjAuMC4wLjAuMA',
comment: 'recurring',
},
{
banner: 'teenmegaworld_300_250_animated',
network: 'teenmegaworld',
url: 'https://secure.teenmegaworld.net/track/MzAxNjcxLjUuMS4xLjAuMC4wLjAuMA',
comment: 'recurring',
},
{
banner: 'analangels_468_80_animated',
channel: 'analangels',
url: 'https://secure.anal-angels.com/track/MzAxNjcxLjUuMzMuMzMuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'analangels_300_250_animated',
channel: 'analangels',
url: 'https://secure.anal-angels.com/track/MzAxNjcxLjUuMzMuMzMuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'analbeauty_468_80_animated',
channel: 'analbeauty',
url: 'https://secure.anal-beauty.com/track/MzAxNjcxLjUuNDAuNDAuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'analbeauty_300_250_animated',
channel: 'analbeauty',
url: 'https://secure.anal-beauty.com/track/MzAxNjcxLjUuNDAuNDAuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'analbeauty_300_250_tail_animated',
channel: 'analbeauty',
url: 'https://secure.anal-beauty.com/track/MzAxNjcxLjUuNDAuNDAuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'beautyangels_468_80_animated',
channel: 'beautyangels',
url: 'https://secure.beauty-angels.com/track/MzAxNjcxLjUuMjcuMjcuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'beautyangels_300_250_69_animated',
channel: 'beautyangels',
url: 'https://secure.beauty-angels.com/track/MzAxNjcxLjUuMjcuMjcuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'beautyangels_300_250_lesbian_animated',
channel: 'beautyangels',
url: 'https://secure.beauty-angels.com/track/MzAxNjcxLjUuMjcuMjcuMC4wLjAuMC4w',
comment: 'recurring',
},
{
banner: 'tmwvrnet_468_80_animated',
channel: 'tmwvrnet',
url: 'https://secure.tmwvrnet.com/track/MzAxNjcxLjUuNDQuNDQuMC4wLjAuMC4w',
comment: 'recurring',
},
{ {
channel: 'theassfactory', channel: 'theassfactory',
url: 'https://enter.theassfactory.com/track/Mzk3MS4yLjEuMS4wLjAuMC4wLjA', url: 'https://enter.theassfactory.com/track/Mzk3MS4yLjEuMS4wLjAuMC4wLjA',