azeek21 / chopper Goto Github PK
View Code? Open in Web Editor NEWChop your urls to the shortest. Make more room for important information.
Chop your urls to the shortest. Make more room for important information.
getSession
was not recommended to be used in server according to v4
nextAuth but it was somehow working on dev mode. In production it's giving fetch_failed error
So, i was going to drop auth for this project as I did a mistake while designing this app. making it usable bor signed and non signed was a bad idea or at least my implementation was bad. But hey
Here's the deal, I am going to transfer non signed data AFTER user signs in NOT DURING SINGUP OR SINGIN. Thi should allow me copmlete user singin without checking for weak-*
prefixed cookies and remove the cookies when I am done transfering user data after singin. Sounds promising, needs brainstorming. Going to come back to this.
add pages: invalid url, 404
redesign: index
So that user can regenerate url discarding the older one.
Because of this issue from mongose when user.retires[] array changes if you try to save (update: mongose both saves and updates model with save() method) changes will not be saved/updated. In fact even mongoose save event will not be triggered. Fix in /utils/redirects.txt. change all retries array updates to array.set(index, value) from array = array or array = [...otherArray, item].
Must be caused by react query refetching mechanism. Find a way to disable refetching while url item is being edited.
optinals: limits, timers, passwords
update and deleting redirects.
redirect password authentication seems to be a bit different (think of something)
#19 will be covering automatic test session.
force signing in when user is already signed in by going /api/auth/signin
changes uid and secet to none.
for usability purposes we already are going to have weak-uid
and weak-secret
cookies as soon as user visits website, these cookies will be used to identify user who has not registered yet but wants to use service. With these cookies then we can create and update urls for the user in the database and we will copy all their data to authenticated user as soon as they register or sign up.
post mechanism almost ready, add validations, optimize
backend: fix post handler, db insertion, validation
redirecting: parsing url, qury db with parsed from_ur, redirect to queryresult.to_url
Must be in ./pages/[...fromUrl].ts file.
when tried to write to clipboard with navigator.clioboard.textWrite, navigator us unknown on mobile. Maybe it's also unknown on other devices. Was working on Firefox, Manjaro, Linux.
fix providers array not including google on google merge to github. Add e few another providers if possible, polish, refactor. Add custom pages maybe...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.