- django based on templates
- Multilang (static/dynamic)
- Authentication (all-auth)
- Nested comments (django-tree-bread) with crud's on them (htmx)
- Notifications (currently without email notifications)
- news letter (celery)
- unban user (cron)
medsbox's Introduction
medsbox's People
medsbox's Issues
htmx
- tags filter
- categs search
- pagination ?
feedback form: modal +htmx https://djangotricks.blogspot.com/
Profile testing
Image upload via js fetch: ajax in headers but won't seen in view as ajax |=> no raise BadRequest
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
Feedback
- add re-capcha
- capcha field not for testing
SendGrid config
Add comments (Custom vs package)?
Create archive
- view posts per year/month
- custum teml tag
Post: add likes auth only
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
Handle deploy check
- webpack prod (boostrap)
mptt vs treebread
- [X ] compare mptt and tb https://blog.elsdoerfer.name/category/django/
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
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
Template config
Post View with categs links menu for search
Breadcrumbles
context_processor.py
html
tests
Conact Form
- add kwargs to contact Form
- adjust initial in Form init method
- test initials
Dynamic translations
- add model-translations to model
- set admin
- trans Categ
- trans Post
Make categs menu sidebar cached
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
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
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
Full text search
- add vector for ru,en
- add Index (ru,en)
- adjust migrations for triggers (ru,en)
- makemigrations
- migrate
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
Add type checking with mypy
Create a bookmark?
Add cache posts menu
Continius Integration (GitHub Actions)
- github actions
- pre-commit-ci
User model
- username unique
Posts
Start modeling the core functionality
content
when
author
- add model
- test model
- add migration
- add dj admin to the model
Tag Post relations
- views: seacrh
- templates
- tests
Post-Categ search
url + view + templates + tests
Setup test coverage
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
Prepare for Full text search postgres
Testing
- change freezegun to time_machine
Home Page
- - Access for not authenticated users
- For authenticated - may be add a calendar?
- core app
- add test coverage #11
Setup auth
Add bookmarks
Static translations
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
Measure test coverage
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
Sentry integration
Setup and testing profile upload
- webtest (forms with json resp)
- views
- help func for test upload
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
Tag model
- install 3d party model
- migrate
- adjust admin
- create temp tag for all tags
- get gid of unicode slug
Setup flash msg
Post actions bug
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
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.