Commit Graph

11 Commits

Author SHA1 Message Date
2db0ff06ac Fix perennial :atom issue 2023-01-23 15:37:47 +01:00
b40c305af1 Add deleting article with associated translations 2023-01-11 19:11:07 +01:00
403116cd08 Replace uuids with "nanoid"s 2023-01-11 19:01:28 +01:00
536ebdd0bd Add foreign_key_constraint validation to Article and Translation 2023-01-04 15:29:14 +01:00
b1110beeaf Add default values for language in Article and Translation 2023-01-04 15:28:30 +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
5cbf05f650 Add first step of creating an Article 2022-12-27 23:23:16 +01:00
d99105bab1 Fix missing module 2022-12-27 23:09:17 +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