Comments (3)
i've been able to delete my own posts on my own items
on the "aaaaaaaaaaaaaaaaa...aaa" post i was able to add and then delete my own comment (within 1 minute)
from pjuu.
Sorry for not being clear.
This affects deleting a comment you made on a post made my someone else. The issue is down to using the 'comment.user_username' in the generation of the URL and not the property field I added to the Post representation (not stored in Redis) a few weeks back 'comment.post_author' which is needed to generate the correct URL
These URLs can get a little confusing as a comments URLs are in the form:
/<post_authors_username>/<post_id>/<comment_id>/['upvote', 'downvote', 'delete']
This makes sense for the actions as comments are children of posts. If you look at the URL for creating a comment:
/<post_author>/<post_id>/comment
It makes a little more sense.
This is fixed in the 0.2dev branch (I changed the name from 'new_design'). I will leave this open until testing after platform rebuild on Friday. I will close once I know its gone for good.
from pjuu.
This bug is now fixed as of 0.2dev. Missed closing through commit message. Closing manually.
from pjuu.
Related Issues (20)
- Configure from the environment
- Site redesign
- Next/Prev page links always take you to page 1 HOT 1
- Github flagged Jinja2 security issue HOT 2
- Thumbnail size issue HOT 1
- Move Docker builds HOT 5
- Review error handling in storage sub system
- Storage migration HOT 1
- Opening an image from a post causes a new window HOT 3
- pipenv HOT 1
- Refactor & Asyncio
- Alternative languages HOT 8
- Moderator flags can hide posts HOT 6
- Private followers and following lists
- Dashboard more control
- Single Dockerfile HOT 1
- Arm Support
- work with the fediverse HOT 3
- requirements.txt and python version for developing HOT 2
- Site is using an invalid security certificate HOT 3
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.
from pjuu.