-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
1,139 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Question | ||
about: Ask a question about Thoth | ||
title: '' | ||
labels: question | ||
assignees: '' | ||
|
||
--- | ||
|
||
**My question relates to** | ||
Please mark with an "x": | ||
- [ ] Thoth APP (graphical interface) | ||
- [ ] Thoth GraphQL API | ||
- [ ] Thoth Export API | ||
- [ ] Something else | ||
|
||
|
||
**My question is** | ||
Write your question here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "thoth" | ||
version = "0.7.1" | ||
version = "0.7.2" | ||
authors = ["Javier Arias <[email protected]>", "Ross Higman <[email protected]>"] | ||
edition = "2018" | ||
license = "Apache-2.0" | ||
|
@@ -16,11 +16,11 @@ maintenance = { status = "actively-developed" } | |
members = ["thoth-api", "thoth-api-server", "thoth-app", "thoth-app-server", "thoth-client", "thoth-errors", "thoth-export-server"] | ||
|
||
[dependencies] | ||
thoth-api = { version = "0.7.1", path = "thoth-api", features = ["backend"] } | ||
thoth-api-server = { version = "0.7.1", path = "thoth-api-server" } | ||
thoth-app-server = { version = "0.7.1", path = "thoth-app-server" } | ||
thoth-errors = { version = "0.7.1", path = "thoth-errors" } | ||
thoth-export-server = { version = "0.7.1", path = "thoth-export-server" } | ||
thoth-api = { version = "0.7.2", path = "thoth-api", features = ["backend"] } | ||
thoth-api-server = { version = "0.7.2", path = "thoth-api-server" } | ||
thoth-app-server = { version = "0.7.2", path = "thoth-app-server" } | ||
thoth-errors = { version = "0.7.2", path = "thoth-errors" } | ||
thoth-export-server = { version = "0.7.2", path = "thoth-export-server" } | ||
clap = "2.33.3" | ||
dialoguer = "0.7.1" | ||
dotenv = "0.9.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Support | ||
|
||
## Thoth wiki | ||
The Thoth team actively contributes to its [Wiki](../../wiki), if you have a question about book metadata we might have an entry about it. | ||
|
||
Our wiki also includes the [Thoth User Manual](../../wiki/Thoth-User-Manual). | ||
|
||
## Asking quality questions | ||
> This section has been borrowed from Titus Wormer's [remarkjs support document](https://github.com/remarkjs/.github/blob/main/support.md) | ||
Questions can go to [GitHub discussions](https://github.com/thoth-pub/thoth/discussions). | ||
|
||
Help us help you! | ||
Spend time framing questions and add links and resources. | ||
Spending the extra time up front can help save everyone time in the long run. | ||
Here are some tips: | ||
|
||
* [Talk to a duck](https://rubberduckdebugging.com)! | ||
* Don’t fall for the [XY problem](https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem/66378#66378) | ||
* Search to find out if a similar question has been asked | ||
* Try to define what you need help with: | ||
* Is there something in particular you want to do? | ||
* What problem are you encountering and what steps have you taken to try | ||
and fix it? | ||
* Is there a concept you don’t understand? | ||
* Screenshots can help, but if there’s important text such as code or error | ||
messages in them, please also provide those as text | ||
* The more time you put into asking your question, the better we can help you |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "thoth-api-server" | ||
version = "0.7.1" | ||
version = "0.7.2" | ||
authors = ["Javier Arias <[email protected]>", "Ross Higman <[email protected]>"] | ||
edition = "2018" | ||
license = "Apache-2.0" | ||
|
@@ -9,8 +9,8 @@ repository = "https://github.com/thoth-pub/thoth" | |
readme = "README.md" | ||
|
||
[dependencies] | ||
thoth-api = { version = "0.7.1", path = "../thoth-api", features = ["backend"] } | ||
thoth-errors = { version = "0.7.1", path = "../thoth-errors" } | ||
thoth-api = { version = "0.7.2", path = "../thoth-api", features = ["backend"] } | ||
thoth-errors = { version = "0.7.2", path = "../thoth-errors" } | ||
actix-web = "3.3.2" | ||
actix-cors = "0.5.4" | ||
actix-identity = "0.3.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "thoth-api" | ||
version = "0.7.1" | ||
version = "0.7.2" | ||
authors = ["Javier Arias <[email protected]>", "Ross Higman <[email protected]>"] | ||
edition = "2018" | ||
license = "Apache-2.0" | ||
|
@@ -16,7 +16,7 @@ maintenance = { status = "actively-developed" } | |
backend = ["diesel", "diesel-derive-enum", "diesel_migrations", "futures", "actix-web"] | ||
|
||
[dependencies] | ||
thoth-errors = { version = "0.7.1", path = "../thoth-errors" } | ||
thoth-errors = { version = "0.7.2", path = "../thoth-errors" } | ||
actix-web = { version = "3.3.2", optional = true } | ||
argon2rs = "0.2.5" | ||
isbn2 = "0.4.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ALTER TABLE series | ||
DROP COLUMN series_description, | ||
DROP COLUMN series_cfp_url; | ||
|
||
-- We cannot drop individual enum values - we must drop the type and recreate it | ||
-- | ||
-- Delete publications with about-to-be-dropped types | ||
DELETE FROM publication WHERE publication_type IN ('AZW3', 'DOCX', 'FictionBook'); | ||
ALTER TABLE publication ALTER publication_type TYPE text; | ||
DROP TYPE publication_type; | ||
CREATE TYPE publication_type AS ENUM ( | ||
'Paperback', | ||
'Hardback', | ||
'PDF', | ||
'HTML', | ||
'XML', | ||
'Epub', | ||
'Mobi' | ||
); | ||
ALTER TABLE publication ALTER publication_type TYPE publication_type USING publication_type::publication_type; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ALTER TABLE series | ||
-- Description of the series | ||
ADD COLUMN series_description TEXT CHECK (octet_length(series_description) >= 1), | ||
-- Call for proposals URL | ||
ADD COLUMN series_cfp_url TEXT CHECK (series_cfp_url ~* '^[^:]*:\/\/(?:[^\/:]*:[^\/@]*@)?(?:[^\/:.]*\.)+([^:\/]+)'); | ||
|
||
ALTER TYPE publication_type ADD VALUE IF NOT EXISTS 'AZW3'; | ||
ALTER TYPE publication_type ADD VALUE IF NOT EXISTS 'DOCX'; | ||
ALTER TYPE publication_type ADD VALUE IF NOT EXISTS 'FictionBook'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.