Commit Graph

81 Commits

Author SHA1 Message Date
alopexc0de
8112bfa43e Remove forward slashes
This is to hopefully be able to process unps.us/linkid instead of
unps.us/?linkid
2014-05-07 19:17:13 -05:00
Arctic Code
278829a641 Revert "Broke the shortener"
This reverts commit 25ab98ae1c.

Conflicts:
	api/dbsettings.php
2014-04-13 20:17:45 -05:00
Arctic Code
c2fe7d6106 Revert "Move APIKey to different file"
This reverts commit c1c557ed07.

Conflicts:
	api/dbsettings.php
2014-04-13 19:53:02 -05:00
Arctic Code
817bc47362 Revert "Revert "Remove HashPass""
This reverts commit 7ed90e844f.
2014-04-13 19:51:32 -05:00
Arctic Code
7ed90e844f Revert "Remove HashPass"
This reverts commit d1e0f3f567.
2014-04-13 19:51:08 -05:00
Arctic Code
25ab98ae1c Broke the shortener
I broke everything.
2014-04-13 19:50:36 -05:00
Arctic Code
c1c557ed07 Move APIKey to different file 2014-03-27 16:30:41 -05:00
Arctic Code
d1e0f3f567 Remove HashPass
This file has really just been sitting here gathering dust. Currently
there isn't a need to use this, no passwords are stored
2014-03-25 13:37:01 -05:00
Arctic Code
e77fcd1478 Make shortened links bigger and easier to see
I needed a way to fill this space and I recieved some complaints about
the size of the output, it's fairly hard to see.
2014-03-03 09:05:03 -06:00
Arctic Code
3040f69456 Remove Delete link password
This may get reimplemented so that people can delete links if they want to.
Probably as part of the user model.
2014-03-03 08:57:09 -06:00
Arctic Code
10d2b06223 Increase the version by 1 2014-03-03 07:53:16 -06:00
Arctic Code
b7031b3967 Add the missing </div>
This was missing and constrained everything in the navbar-wrapper class
2014-03-03 07:52:38 -06:00
Arctic Code
e3773e95d8 Fix spacing on loading element again
This is very sensitive
2014-03-03 07:51:44 -06:00
Arctic Code
979c2f24ca Remove gradient on h2 text and remove login css
The gradient is distracting and doesn't work on all devices. The login
css takes up space
2014-03-01 21:21:18 -06:00
Arctic Code
9d89dc253c Add linkmod and move the footer right to the absolute bottom
The linkmod is required by process.php for figure out what to do. This is
the lazy way to do this.
2014-03-01 20:59:57 -06:00
Arctic Code
a183fcd1bd Remove delete password div element
Since it doesn't do anything anymore, why not delete it?
2014-03-01 20:50:54 -06:00
Arctic Code
3d04529e5a Remove Delete link option and unps.core.js
Based on statistics, the Delete option is never used, so it's useless
unps.core.js contains code primarly to change submit button to reflect
current selected option
2014-03-01 20:47:27 -06:00
Arctic Code
fe9ed5e198 Use minified Bootstrap and remove report link
Faster loading times with the bootstrap, also report link is lame
2014-03-01 20:39:18 -06:00
Arctic Code
9a7add6584 Remove userpic function and newbg test
The userpic was removed as it relates to the user area of course
and the newbg test was for the darker background. This is no longer
needed
2014-03-01 20:33:14 -06:00
Arctic Code
6ff11e6690 Remove un-needed vex stuff
Since the login button was removed, there isn't a need to bring
up vex, as that was all that it was used for
2014-03-01 20:28:47 -06:00
Arctic Code
9e580751cc Fix spacing of loading animation
This somehow broke when I deleted the ad element. Fixed now
2014-03-01 20:28:02 -06:00
Arctic Code
11876579f8 Remove Google Ads Element 2014-03-01 20:12:32 -06:00
Arctic Code
2052425469 Remove Google Ads
Ads just make it look gross
2014-03-01 20:11:52 -06:00
Arctic Code
db140f58c6 Reduce address space for generated links
There have been roughly only 1000 links made since v3.1
a 7 character alphanumeric address space is huge. My link shortener
should be happy with a 3 or 4 character alphanumeric address space.
2014-02-24 09:57:18 -06:00
Arctic Code
338b72dcd5 Change the loading animation
The glowing shadow was fairly distracting. This also makes the
circle much thinner
2014-02-22 22:13:21 -06:00
Arctic Code
e9a6f7eee2 Revert "Revert "Redesign the navbar to remove unneeded or unused links""
This reverts commit 7a23c16c0b.
2014-02-19 10:28:50 -06:00
Arctic Code
7a23c16c0b Revert "Redesign the navbar to remove unneeded or unused links"
This reverts commit 9ae7422694.
2014-02-19 10:24:28 -06:00
Arctic Code
ddde0fef8d Revert "Attempt to make interface more scalable"
This reverts commit 4091ae8226.
2014-02-19 10:23:56 -06:00
Arctic Code
4091ae8226 Attempt to make interface more scalable
This makes better positions the form element on the page,
removing the need for the dummy element in index.php
2014-02-19 10:22:49 -06:00
Arctic Code
9ae7422694 Redesign the navbar to remove unneeded or unused links
We also commented out the user area. It's nowhere near ready to
have users.
2014-02-19 08:43:37 -06:00
Arctic Code
dd61482338 Change Terms of Service link 2014-02-19 08:41:56 -06:00
Arctic Code
cffa7c43c3 Change the footer to scale better
It feels nicer with a more minimal design. It should also scale
better on mobile devices
2014-02-19 08:41:40 -06:00
Arctic Code
937c469892 Make navbar have lighter background and remove footer
Making a few changes to the footer, this keeps it from breaking up
and stretching on mobile devices.
2014-02-19 08:40:36 -06:00
Arctic Code
3e0d071d49 Fix wrong closing tag 2014-02-16 17:00:42 -06:00
Arctic Code
0f0fde578f Add a loading animation to run when the form gets submitted
This is to show that the page is actually doing something
if the return message doesn't get shown right away for whatever
reason (slow connection, overloaded server, memory leaks, etc)
2014-02-13 12:51:01 -06:00
Arctic Code
53066fac04 Add Google Ads
This hasn't been implemented yet, but it's a work in progress.
I'm planning on only having one ad display on the page under the
message.

Something else that needs to be done is a loading animation where
the message will appear as the AJAX processes the request
2014-02-13 12:21:33 -06:00
Arctic Code
d19f7f8ab8 Keep old way to find short links to not break existing ones
I realized that every single existing link created with v4-2.8 or
earlier would break since it relies on the value of $_GET['l'].
This will keep the old links working, and to reduce server load a
little bit, we will exit after those header statements
2014-01-29 01:52:03 -06:00
Arctic Code
b784347291 Change shortened links to reflect last commit on index.php
All future shortened links will be unps.us/?id
2014-01-29 01:45:00 -06:00
Arctic Code
63a2724f86 Remove foreach loop and fix multiple id vulnerability
I found that right after committing the last commit, the last id
entered would be the one finally redirected to. This also slowed
page load time. By grabbing only the very first key of $_GET and
throwing away the rest, the script will only look at the first
string after the '?'

Need to change links to reflect these changes (or it will try to
redirect to 'l' everytime instead of the id)
2014-01-29 01:41:05 -06:00
Arctic Code
b62f922cb1 Make short links two characters shorter
By breaking up the $_GET array and grabbing the key (what used to be l),
ignoring the value, we can shorten links by two more characters.
This is kinda hacky since it does this for multiple get values
-- Still need to test to see what happens with multiple link ids.
I assume it will just go with the first id given
2014-01-29 01:31:27 -06:00
Arctic Code
2749abd20d Fix required files not being found
The files are located a directory up
2013-12-25 20:59:01 -06:00
Arctic Code
b34e2db558 Include more mobile friendly version
Basically exactly the same, but it scales better with almost everything
stripped out
2013-12-25 20:54:37 -06:00
Arctic Code
a9b73c1161 Change the HTML5 declaration back to XHTML1
For some reason, I found that when it's HTML5, it adds a scrollbar,
the only fix I found for it was to just revert back to XHTML1. Oh well XD
2013-12-25 20:32:04 -06:00
Arctic Code
c7f3dc0866 Remove dropdown menu login and replace it with a login link
This is to make Vex actually display the new fade in login box
2013-12-11 14:21:25 -06:00
Arctic Code
382242298d Include Vex files
This has a slightly better look than the dropdown menu
2013-12-11 14:20:30 -06:00
Arctic Code
b7f4803540 Get rid of desktop.ini 2013-11-26 00:00:28 -06:00
Arctic Code
884d6a4f97 Add a terms of service for the link shortener
This is a WIP, but it should be near completion. Basically it's a
standard TOS.
2013-10-30 19:46:22 -05:00
Arctic Code
870047c4a6 Change from HTML4 to HTML5 and include OG image for facebook icon
And another change is that I changed the link to terms.php
2013-10-30 19:45:42 -05:00
Arctic Code
ed46bdad76 Make minor changes to gradient and add shadows behind the h2 2013-10-10 15:52:30 -05:00
Arctic Code
999d9d3623 Replace current checkRemoteFile function with a faster cURL implementation
Instead of downloading the entirity of the file that's there or risking
a HTTP server not being on port 80, I've decided to move with a faster,
more efficient and web browser complient cURL query

UnPS User Agent: UnPS-GAMATechnologies (UnPS WebQuery/4-2.8; +http://unps.us)
2013-10-08 17:54:07 -05:00