Browse Source

Some improvements

tags/v1.4.4
Ivan Bravo Bravo 10 months ago
parent
commit
1a0298ec60

+ 1
- 1
.github/stale.yml View File

@@ -1,5 +1,5 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale

+ 5
- 0
.github/workflows/ci.yml View File

@@ -4,6 +4,8 @@ on:
push:
branches:
- canary
- feature/*
- hotfix/*
tags:
- v*

@@ -78,6 +80,8 @@ jobs:

- name: Build
working-directory: src
env:
GITHUB_SHA: ${{ github.sha }}
run: yarn build

- name: Release
@@ -86,6 +90,7 @@ jobs:
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
GITHUB_TOKEN: ${{ secrets.TOKEN }}
DREAMLINK_TOKEN: ${{ secrets.DREAMLINK_TOKEN }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
BUILD_OS: ${{ matrix.os-short }}

+ 16
- 10
README.md View File

@@ -11,15 +11,15 @@

# DreamTime

DreamTime allows you to use the power of your computer to to undress photos for free, better than DeepNude.
DreamTime allows you to use the power of your computer to nudify photos for free and better than DeepNude.

![](assets/preview.png)

If you want to share or modify this Software please do it for the same purpose as we do and always release the source code of your modifications. Read the [LICENSE](LICENSE) for more information.
If you want to share or modify this software please do it for the same purpose as we do and always release the source code of your modifications. Read the [LICENSE](LICENSE) for more information.

---

# 💜 Releases
# 🎉 Releases

## Requirements

@@ -37,7 +37,7 @@ If you want to share or modify this Software please do it for the same purpose a
- **6 GB+** of VRAM.
- [Latest NVIDIA drivers.](https://www.nvidia.com/Download/index.aspx)

> 👉 If you do not have an NVIDIA or compatible GPU you can use CPU processing.
> 👉 If you do not have an NVIDIA or compatible GPU you can use CPU processing (slower).

## Download

@@ -47,15 +47,21 @@ If you want to share or modify this Software please do it for the same purpose a

### Mirrors

[![Windows](https://img.shields.io/badge/windows-v1.1.2-0078D6?logo=windows&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.1.2/DreamTime-v1.1.2-windows.exe)
[![Windows](https://img.shields.io/badge/windows-v1.2.1-0078D6?logo=windows&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.2.1/DreamTime-v1.2.1-windows.exe)

[![Ubuntu](https://img.shields.io/badge/ubuntu-v1.1.2-E95420?logo=ubuntu&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.1.2/DreamTime-v1.1.2-ubuntu.deb)
[![Ubuntu](https://img.shields.io/badge/ubuntu-v1.2.1-E95420?logo=ubuntu&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.2.1/DreamTime-v1.2.1-ubuntu.deb)

[![macOS](https://img.shields.io/badge/macos-v1.1.2-999999?logo=Apple&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.1.2/DreamTime-v1.1.2-macos.dmg)
[![macOS](https://img.shields.io/badge/macos-v1.2.1-999999?logo=Apple&logoColor=white&style=for-the-badge)](https://catalina.dreamnet.tech/ipns/QmUvudWPzRa7hgDSVFiwzFzviAZJohTrvHJNhnvytuPv3H/Releases/DreamTime/v1.2.1/DreamTime-v1.2.1-macos.dmg)

## Manual

In each update we add new features that make the program a bit more complex, we invite you to read the manual so you don't miss out and take advantage of all the features:

https://forum.dreamnet.tech/d/32-dreamtime-manual

# DreamNet

We are a community interested in developing decentralized applications free of censorship and adult entertainment. Join our social networks or repositories:
We are a community interested in developing adult entertainment and decentralized applications. Join our social networks:

- [Website](https://dreamnet.tech)
- [GitHub](https://github.com/dreamnettech)
@@ -64,7 +70,7 @@ We are a community interested in developing decentralized applications free of c

## Support

Developing DreamNet applications is time consuming! Help us accelerate development and offer better updates!
Developing our applications is time consuming! Help us accelerate development and offer better updates!

[![patreon](https://img.shields.io/badge/become%20a%20patron-fb6c54?logo=patreon&logoColor=white&style=for-the-badge)](https://www.patreon.com/dreamnet)

@@ -74,7 +80,7 @@ Developing DreamNet applications is time consuming! Help us accelerate developme

## Contact

Do you have any problem? Doubts? or you are simply interested in chatting with the main developer, any email (except SPAM) is welcome:
Problems? Doubts? or you are simply interested in chatting with the main developer, you can contact me at:

`ivan[at]dreamnet.tech`


BIN
assets/preview.png View File


+ 6
- 10
src/assets/css/components/_notification.scss View File

@@ -1,20 +1,16 @@
.notification {
@apply mb-4 p-2 border-2 border-dark-500 rounded-sm;
@apply bg-dark-300 text-sm text-generic-100;
@apply mb-4 py-2 px-4 border-2 border-dark-100 rounded-sm;
@apply bg-transparent text-generic-100 font-bold;

a {
@apply underline;
}

&.is-warning {
@apply text-warning border-warning;
&.notification--warning {
@apply text-warning-400 border-warning;
}

&.is-danger {
@apply bg-danger-500-20 border-danger-500;
}

&.is-transparent {
@apply bg-transparent border-dark-400;
&.notification--danger {
@apply text-danger-400 border-danger;
}
}

+ 2
- 2
src/components/Layout/Jobbar.vue View File

@@ -9,14 +9,14 @@

<div v-show="$nudify.waiting.length > 0" class="section__actions">
<button
v-tooltip="'Forget all'"
v-tooltip="{placement: 'bottom', content: 'Forget all'}"
class="button button--danger button--xs"
@click.prevent="$nudify.forgetAll('waiting')">
<font-awesome-icon icon="trash-alt" />
</button>

<button
v-tooltip="'Stop all'"
v-tooltip="{placement: 'bottom', content: 'Stop all' }"
class="button button--xs"
@click.prevent="$nudify.stopAll('waiting')">
<font-awesome-icon icon="stop" />

+ 8
- 8
src/components/Layout/Navbar.vue View File

@@ -19,17 +19,13 @@
<font-awesome-icon icon="cog" />
</nuxt-link>

<nuxt-link v-if="false" v-tooltip="{placement: 'bottom', content: 'About'}" class="navbar__icon" to="/about">
<font-awesome-icon icon="info-circle" />
</nuxt-link>

<nuxt-link v-if="false" v-tooltip="{placement: 'bottom', content: 'DreamNet'}" class="navbar__icon" to="/dreamnet">
<font-awesome-icon icon="code" />
</nuxt-link>

<a v-tooltip="{placement: 'bottom', content: 'Donate and get benefits!'}" class="navbar__icon" :href="donateUrl" target="_blank">
<font-awesome-icon :icon="['fab', 'patreon']" />
</a>

<a v-tooltip="{placement: 'bottom', content: 'Manual'}" class="navbar__icon" :href="manualURL" target="_blank">
<font-awesome-icon icon="question-circle" />
</a>
</div>
</div>
</template>
@@ -42,6 +38,10 @@ export default {
donateUrl() {
return nucleus.urls?.support?.patreon || 'https://www.patreon.com/dreamnet'
},

manualURL() {
return nucleus.urls?.docs?.manual || 'https://forum.dreamnet.tech/d/32-dreamtime-manual'
},
},
}
</script>

+ 16
- 10
src/components/Nudity/PhotoRun.vue View File

@@ -1,28 +1,34 @@
<template>
<div class="c-photo-run" :style="previewStyle">
<div class="run__content">
<div v-show="run.finished" class="content__item">
<div v-if="run.running" class="content__item">
<p class="text-white">
<span><font-awesome-icon icon="heart" /></span>
<span><font-awesome-icon icon="running" /></span>
<span>{{ run.timer.duration }}s</span>
</p>
</div>

<div v-show="run.running" class="content__item">
<div v-else-if="run.failed" class="content__item">
<p class="text-danger-500">
<span><font-awesome-icon icon="exclamation-circle" /></span>
<span>Error!</span>
</p>
</div>

<div v-else-if="run.finished" class="content__item">
<p class="text-white">
<span><font-awesome-icon icon="running" /></span>
<span><font-awesome-icon icon="heart" /></span>
<span>{{ run.timer.duration }}s</span>
</p>
</div>

<div v-show="run.failed" class="content__item">
<p class="text-danger-500">
<span><font-awesome-icon icon="exclamation-circle" /></span>
<span>Error!</span>
<div v-else class="content__item">
<p class="text-white">
<span><font-awesome-icon icon="clock" /></span>
</p>
</div>

<div v-show="run.finished" class="content__item">
<div v-show="run.finished && !run.failed" class="content__item">
<button v-tooltip="'Save photo'" class="button button--success button--sm" @click.prevent="save">
<font-awesome-icon icon="download" />
</button>
@@ -150,7 +156,7 @@ export default {
},

manualURL() {
return nucleus.urls?.docs?.manual || 'https://forum.dreamnet.tech'
return nucleus.urls?.docs?.manual || 'https://forum.dreamnet.tech/d/32-dreamtime-manual'
},
},


+ 6
- 3
src/electron/src/modules/services/rollbar.js View File

@@ -26,7 +26,7 @@ class RollbarService extends BaseService {
* @type {string}
*/
get accessToken() {
return process.env.ROLLBAR_ACCESS_TOKEN || get(nucleus, 'keys.rollbar_access_token')
return process.env.ROLLBAR_ACCESS_TOKEN || get(nucleus, 'keys.rollbar')
}

/**
@@ -36,11 +36,14 @@ class RollbarService extends BaseService {
return isString(this.accessToken)
}

/**
* @type {string}
*/
get codeVersion() {
try {
return process.env.GIT_SHA || execSync('git rev-parse HEAD').toString().trim()
return process.env.GITHUB_SHA || execSync('git rev-parse HEAD').toString().trim()
} catch (err) {
return null
return process.env.npm_package_version
}
}


+ 1
- 1
src/pages/about.vue View File

@@ -1,6 +1,6 @@
<template>
<div class="about content__body">
<div v-if="alert" class="notification is-warning text-lg" v-html="alert" />
<div v-if="alert" class="notification text-lg" v-html="alert" />

<!-- Offline -->
<section v-if="!$provider.tools.system.online" class="box box--items">

+ 12
- 0
src/pages/index.vue View File

@@ -1,16 +1,28 @@
<template>
<div class="home content-body">
<!-- Global alert -->
<div v-if="alert" class="notification" v-html="alert" />

<!-- Update alert -->
<div v-if="dreamtimeUpdater.available" class="notification notification--warning cursor-pointer" @click="$router.push('/about')">
🎉 {{ $dream.name }} {{ dreamtimeUpdater.latest.tag_name }} is available for download, update now!
</div>

<!-- Quick Upload -->
<nudify-upload />
</div>
</template>

<script>
import { dreamtime as dreamtimeUpdater } from '~/modules/updater'

const { nucleus } = $provider.services

export default {
data: () => ({
dreamtimeUpdater,
}),

computed: {
alert() {
return nucleus.alerts?.index

+ 1
- 1
src/scripts/release.js View File

@@ -217,7 +217,7 @@ async function uploadToDreamLink(filepath, filename) {
let response = await axios.post('http://api.catalina.dreamnet.tech/api/v0/add', formData, {
headers: {
...formData.getHeaders(),
Authorization: `Basic ${process.env.DREAMLINK_AUTH}`,
Authorization: `Basic ${process.env.DREAMLINK_TOKEN}`,
},
timeout: (5 * 60 * 1000),
maxContentLength: Infinity,

Loading…
Cancel
Save