f76f218652
Sanitize HtmlTreeComponent
2023-01-27 12:02:29 +01:00
38b3f0c272
Add hyphenation and a generalized render_public_content function
2023-01-26 21:48:50 +01:00
0089d22da4
Fix issue with "Save and edit"
2023-01-23 15:40:05 +01:00
f0c178cf31
Refactor translation form_component
2023-01-19 22:39:09 +01:00
eff9890fce
Add assign for the article_content
2023-01-19 22:21:11 +01:00
fa7671f972
Add "publish" button to translation form
2023-01-19 13:55:38 +01:00
f47334b281
Fix issue when clicking "Save and edit" with a new translation
2023-01-19 13:54:15 +01:00
c672d6661e
Add wrapper for garnish/2 for phx event
2023-01-19 13:52:38 +01:00
aab04f5ecc
Add public_content to translations table and rename lang to language
2023-01-15 17:55:26 +01:00
483ed9440d
Update some superficial things
2023-01-14 22:05:48 +01:00
a95131bdbb
Add rendering the translation with title tags
2023-01-14 22:04:28 +01:00
3b1c1d04a1
Add listing translation with article
2023-01-14 21:51:04 +01:00
fd2eb5503c
Add "Save and continue" button to Translation form
2023-01-12 20:59:14 +01:00
54d0ad26d5
Fix issue with missing assign in default edit code
2023-01-11 19:07:07 +01:00
403116cd08
Replace uuids with "nanoid"s
2023-01-11 19:01:28 +01:00
e0cd51937a
Fix issues with changed default :current_tunit
2023-01-11 11:34:02 +01:00
24e58c7d96
Update tunit editor
...
Now with fancy new radio-buttons.
2023-01-10 23:20:20 +01:00
e16710664d
Add checking and updating DeepL usage information
2023-01-10 20:06:54 +01:00
33ed533a1a
Update editing translation
2023-01-09 21:35:35 +01:00
71e6a8da60
Update Deepl translation
...
Now getting auth-key from db.
2023-01-09 21:30:20 +01:00
54250a5a95
Fix user/deepl_account relation
2023-01-09 21:09:46 +01:00
f22171cae3
Add apparently forgotten assignment
2023-01-05 22:24:30 +01:00
78160a5bae
Add HtmlDocComponent to render the InternalTree
...
Very basic but promising.
2023-01-05 22:22:44 +01:00
927530c66d
Add raw Deepl module and a progress bar
2023-01-05 22:19:23 +01:00
bafd9c81f7
Replace new.ex and edit.ex with new_edit.ex in translations_live
2023-01-05 22:13:57 +01:00
8de7169217
Add showing tunit boundaries
2023-01-04 14:43:51 +01:00
d589d84b40
Add creating and basic editing of translation
2023-01-04 14:42:13 +01:00
d9022fb0c7
Add dropdown for language of Article
...
And a configuration with the available Deepl source and target languages.
2022-12-30 21:13:59 +01:00
b48274eaef
Add :eph field to %TranslationUnit{} and remove :sibling_with
...
Using :eph from now on to store ephemeral data like :sibling_with. Additionally
added cleaning up :eph before saving to db. And renamed InternalTree.Basic
to InternalTree.RawInternalBasic to make clear that it contains function
for an intermediary tree structure.
2022-12-29 22:09:26 +01:00
b7bd9195b6
Add importing html and save it to Article
...
Additionally defines a wizard logic which is partially unused yet.
2022-12-29 16:43:52 +01:00
bedf8bb005
Update input for authors' description to textarea
2022-12-28 14:33:51 +01:00
c44344cd35
Add "New Article" link to authors index
2022-12-28 14:32:44 +01:00
5cbf05f650
Add first step of creating an Article
2022-12-27 23:23:16 +01:00
9e9c7b5519
Add Translators/deepl_accounts
...
mix phx.gen.live Translators DeeplAccount deepl_accounts\
name:string description:text auth_key:string character_limit:integer\
character_count:integer our_character_count:integer user_id:references:users
2022-12-26 18:51:30 +01:00
f66521dba8
Add Translations
...
mix phx.gen.live Translations Translation translations \
lang:string title:string teaser:text content:map \
date:utc_datetime user_id:references:users \
public:boolean unauthorized:boolean article_id:references:articles
2022-12-26 18:45:40 +01:00
f7f1e1a284
Add Articles
...
mix phx.gen.live Articles Article articles title:string\ /Crucial/git/phoenix-liveview-book
content:text url:string language:string\
date:utc_datetime author_id:references:authors
2022-12-26 18:02:29 +01:00
005a9d9337
Add Authors
...
mix phx.gen.live Authors Author authors name:string description:text homepage_name:string homepage_url:string
2022-12-26 17:12:46 +01:00
ad2f1e8ea0
Add users/authentication with phx.gen.auth
2022-12-26 15:30:06 +01:00