Commit Graph

29 Commits

Author SHA1 Message Date
cd1261418a Added code to redirect the user if they are permitted to access the GLink, and show an error JS alert if they are not 2023-06-19 01:14:18 -05:00
96abdd9852 Added code to check if the user is within the radius for the GLink 2023-06-19 01:13:31 -05:00
22c85234da Sent the requested glink to reqloc.html as a GET variable, so that the Glink can be sent to the PHP file 2023-06-17 13:56:02 -05:00
4bba4f9410 NOT FINISHED: Created a file to process the user's location 2023-06-17 13:55:05 -05:00
d928ad2ce3 Created file to request the user's location to determine if they are allowed to acces the glink 2023-06-17 13:54:31 -05:00
63050a8065 Changed variable names to match HTML document 2023-06-17 13:54:09 -05:00
0b08c1ce9c Added code to hide radius drop-down menu if geo-restriction checkbox was not selected 2023-06-17 13:53:51 -05:00
b7a8602e34 Added code to wait for location to be retrieved before allowing user to submit, and hid the radius drop-down if geo-location wasn't checked 2023-06-15 23:00:21 -05:00
42eff5e0fa Added code to redirect the user to a different page if the GLink they requested is geo-restricted 2023-06-15 18:49:31 -05:00
3d36c2704a Added code to retrieve the user's location and store it in the database 2023-06-15 18:48:36 -05:00
ae036686b8 Added code to fetch the user's location, and send it as a GET/POST variable 2023-06-12 15:29:24 -05:00
70f91c7586 Fixed bug where I accessed the database without opening a session 2023-06-12 15:28:30 -05:00
913d53b757 Added form field to allow user to georestrict the link 2023-06-12 15:28:02 -05:00
8b68547644 Added code to generate a random GLink if the user doesn't submit one 2023-06-09 20:03:30 -05:00
0f85fcf021 Made the Glink field optional 2023-06-09 20:03:01 -05:00
1d4606db27 Added code to redirect the user if the database query returns a URL 2023-06-08 21:36:33 -05:00
116bbe5218 Started working on redirect when user enters a GLink 2023-06-08 10:46:59 -05:00
1b52864952 Added server-side checks to input 2023-06-08 10:46:41 -05:00
92b70e632b Added code to print out the inserted data, and to check if the data was inserted by querying the database for the inserted data 2023-06-08 01:32:30 -05:00
c81937d6a5 Added code to insert data into Cassandra DB 2023-06-06 23:53:32 -05:00
f451850601 DO NOT USE - SWITCHED TO PHP INSTEAD - Added code to make database query 2023-06-06 13:23:27 -05:00
3bc6a56516 Added PHP file to make database queries 2023-06-06 13:22:15 -05:00
536af5f9c5 Removed event parameter from function so that it could be used with the HTML form 'onsubmit' 2023-06-06 13:21:57 -05:00
e5bdf2cc2c Switched to PHP instead of node.js, fixed bug where PHP would not be called regardless of input 2023-06-06 13:21:23 -05:00
8983f0dd80 Started working on database plugin 2023-06-06 10:11:49 -05:00
8c296654a7 Added 'action' to form tag 2023-06-06 10:11:29 -05:00
Aravind142857
ac25e58d84 Stylistic additions 2023-06-06 02:10:32 -05:00
Aravind142857
8d65229f66 fixed errors 2023-06-06 01:48:11 -05:00
Aravind142857
4e3c08d1c4 First commit 2023-06-05 20:06:13 -05:00