Coder Social home page Coder Social logo

medsbox's Issues

Model NewsLetter

  • create model NewsLetter with relations to Post
  • objects to send: newsletter status ready with evt posts in status ready
  • adjust posts admin to limit letter only with status == ready to send in dropdown

Custom nested comments

  • - Model
  • views (htmx)
  • form
  • templates
  • test
  • handle banned
  • polish UI reply form and confirmation button
  • either Mixin (banned) or custom decorator for banned

Conact Form

  • add kwargs to contact Form
  • adjust initial in Form init method
  • test initials

News letter features

  • otherwise: ask to sign up
  • create model NewsLetter with status: pending, ready,sent
  • admin: make available only posts with status READY(to_send)
  • if both post and letter sent with success adjust sent_status
  • add context variable (bool user want_news)
  • menu dropdown with Subscribe (if already subscribed -> no item in menu)
  • create subscribe view
  • add unsubscribe view
  • use htmx for post req
  • add msg as feedback after sub/un-subscribe
  • testing

Home Page

  • - Access for not authenticated users
  • For authenticated - may be add a calendar?
  • core app
  • add test coverage #11

Category model

  • create model based on treebread
  • add class method for default categ == unspecified
  • add mptt like function to cache categs tree
  • test model
  • test template tag
  • migrate model
  • add to admin
  • test admin
  • create method generate UI crumbles with links
  • check creation categ default (diff lang) -BUG
  • make template component for crumbles
  • make template (dropdown) categs
  • make custom temltag ( custom parser +Node) for recus rendering categs
  • add count posts for a given categ

Tag model

  • install 3d party model
  • migrate
  • adjust admin
  • create temp tag for all tags
  • get gid of unicode slug

Testing

  • change freezegun to time_machine

Css misery

  • breadcrumbles not on one line
  • breadcrumbs to the center
  • adjust mobile view for crumbles
  • button to the top
  • class=post_categ__link,id=post_categ
  • correct menu: lang buttons + align all items in menu
  • like buttons and numbers

Full text search

  • add vector for ru,en
  • add Index (ru,en)
  • adjust migrations for triggers (ru,en)
  • makemigrations
  • migrate

static translations i18

  • adjust settings.py
  • add menu option to choose lang
  • change urls for i18
  • install and setup rosetta admin
  • adjust tests for diff langs

Post search on templates

  • search post should take lang pref
  • create search form
  • add template search
  • add public posts template
  • post list view should take lang prefer in consideration
  • add count for results
  • UI if query empty
  • UI if spam/form errors

sending emails to users

  • incorporate a subject that includes days's
  • email tracking (ensure email sent)
  • set the from_mail
  • sendt email via job
  • set up the templ body of the email

New letter (cron)

  • dj-extentions custom class
  • test basic func
  • txt template for email
  • html template for email
  • add css style to html file/ add img?
  • create button/link to subscribe
  • Current: auth active users who wanted to get news letter (may be later a separ func?)
  • mail body(txt file)/mail alternative(html) should contain a full path to a given post object
  • mail should contain a link to unsubscribe
  • test job
  • test final UI in mailtrap
  • add dj messages on success: ubscribe and unsubscribe

Post Views

  • view for public posts
  • add to change draft->public; soft-del -> perm del for collabor's
  • add UI for dev's
  • add Reading Time for each post

Post model

  • create model without postgres search features
  • migrate
  • add managers
  • test managers
  • basic test model
  • setup basic admin
  • create func admin: current staff user can create post only on their behalve
  • FK to letters only for letter object status ready to send(1)
  • add actions to admin page (to_publish)
  • add custom model filter for admin
  • add dj_ckeditor_5 widget to admin
  • add dynamic translations

Profile model

  • create model
  • migrate
  • add custom form
  • add js for resizing
  • separate js (static) in js block
  • create template detail
  • create template delete
  • add profile statistic as chart
  • create extra func for event stripe
  • add field for news letter (auth user may want to get one)
  • add and test manager news
  • add template: UI get news letter
  • add translations
  • fix } line 83 resiz...js
  • fix utils base return
  • mute profile signal in factory

Profile testing

Image upload via js fetch: ajax in headers but won't seen in view as ajax |=> no raise BadRequest

Feedback

  • add re-capcha
  • capcha field not for testing

Admin Post model

  • make link to related categs
  • make only current user (author) in dropdowm choice
  • status as radio fields
  • apply ckeditor
  • add action: mark bunch posts as published
  • filter qs admin (superuser can crud all objects vs is_staff only their own
  • thumbnail top_img
  • admin remove (---) values in FK and Choices fields
  • add rosetta for translations

Posts

Start modeling the core functionality
content
when
author

  • add model
  • test model
  • add migration
  • add dj admin to the model

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.