Skip to content

Fix multiple issues, Add notice to Non Javascript Users, Make client not send the secret to the server when viewing pastes#5

Merged
ComputerTech312 merged 5 commits intoComputerTech312:mainfrom
Juliaria08:clientleak
Sep 22, 2023
Merged

Fix multiple issues, Add notice to Non Javascript Users, Make client not send the secret to the server when viewing pastes#5
ComputerTech312 merged 5 commits intoComputerTech312:mainfrom
Juliaria08:clientleak

Conversation

@Juliaria08
Copy link
Copy Markdown
Collaborator

Fixing multiples issues at once.

This commit adds a notice for users that use browsers which don't
contain javascript or have javascript disabled in their browsers to
inform them that ElitePaste won't work without javascript.
We are using django which has jinja capabilities so make use of them
The client was accidentally sending the secret to the server when
reading messages, this commit makes it so that doesn't happen.
@Juliaria08
Copy link
Copy Markdown
Collaborator Author

I know I probably should have split the commits up, but I was too lazy to do it afterwards.

The secret is in the url and that's more of a developement like page but
it's good to show the data.
@ComputerTech312
Copy link
Copy Markdown
Owner

I think we should leave out the Jinja template option for now, but the other features seem great. If you could reverse the Jinja template code, but leave the other new features.

@Juliaria08
Copy link
Copy Markdown
Collaborator Author

Juliaria08 commented Sep 21, 2023 via email

@ComputerTech312
Copy link
Copy Markdown
Owner

Ok, I'll later do it. El 21 de septiembre de 2023 20:44:53 CEST, Colby @.***> escribió:

I think we should leave out the Jinja template option for now, but the other features seem great. If you could reverse the Jinja template code, but leave the other new features.

Sounds good.

@Juliaria08
Copy link
Copy Markdown
Collaborator Author

I reverted jinja templates.
@ComputerTech312 Do tests again and let's see :)

@Juliaria08 Juliaria08 changed the title Fix multiple issues, Add notice to Non Javascript Users, Use Jinja templates and Make client not send the secret to the server when viewing pastes Fix multiple issues, Add notice to Non Javascript Users, Make client not send the secret to the server when viewing pastes Sep 22, 2023
@ComputerTech312
Copy link
Copy Markdown
Owner

Tested and accepted.

@ComputerTech312 ComputerTech312 merged commit 6fff64c into ComputerTech312:main Sep 22, 2023
@Juliaria08 Juliaria08 deleted the clientleak branch September 22, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants