Commit Graph

45 Commits

Author SHA1 Message Date
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
Arctic Code
9a3d013be1 Speed up the fade transition on the status box
While it looks kinda nice, some people might not apprecieate that it
takes so much time for the page to pop up and it looks like the page
froze or something.
2013-10-08 17:50:40 -05:00
Arctic Code
cd2cb535d8 Change layout of theme and move most javascript to assets
To change the theme (change to the dark background) go to http://unps.us/?newbg
Other changes include redesigning the form area to make them look like buttons
that automatically resize depending on which one is selected.
2013-10-08 10:47:14 -05:00
Arctic Code
ba57e4eb70 Add autoResize (textarea resizer) jQuery plugin from James Padolsey http://james.padolsey.com
Use James' textarea resizer to automatically grow report text area without scrollbar
2013-10-08 10:44:17 -05:00
Arctic Code
af50c9b571 Replace old elements with one for new navbar
I independently developed a new style while retaining a similar look
which removed the flat metro-like style and added depth. Also included
is the old css (just because I'm a packrat during development and I wasn't
totally sure that my custom style would work right away).
2013-10-08 10:42:05 -05:00
Arctic Code
2c87093fe1 Fix footer padding again 2013-09-26 18:57:34 -05:00
Arctic Code
fed95a9904 Fix footer alignment with new style
I broke the alignment when making my theme. I'll fix it later
2013-09-26 18:53:30 -05:00
Arctic Code
2b53a916b2 Large overhaul to the page elements
This is to work globaly instead of just for the link shortener,
plus it looks a whole lot less "metro-like" and thus better.
2013-09-26 18:44:36 -05:00
Arctic Code
3585991be9 Remove width limit on the row class
This is in attempt to design a good interface.
2013-09-26 18:42:45 -05:00
Arctic Code
a92da646e4 Add a global navbar
This is a upcoming feature, it's going to need a little more work
for the current page selection.
2013-09-26 18:41:42 -05:00
Arctic Code
9b5abf5955 Add hackspace to hosted sites links
I host a friend's hackspace website, had to add it
2013-09-01 19:31:36 -05:00
Arctic Code
c97b864d44 Fix background image link
I forgot to change this during testing
2013-09-01 15:05:03 -05:00
Arctic Code
358fe93ab9 Change login form to dropdown for more minimalistic design
Again, this looks better IMO than having the login form right in the navbar
2013-09-01 15:03:34 -05:00
Arctic Code
eeea8415ec Add background image and make navbar transparent
I think this gives a better design than the gradient that I was using.
2013-09-01 15:02:06 -05:00
Arctic Code
04b1e997f9 Add token error to #error
Sometimes I forget things
2013-08-26 10:52:44 -05:00
Arctic Code
87ee1c8d93 Add the license to the readme
I seriously forgot to include this part... >.<
2013-08-26 10:36:32 -05:00
Arctic Code
c70d8f3c37 Fix typo for one of the bullets
I forgot the -
2013-08-26 10:35:01 -05:00
Arctic Code
354cbd24db Change bootstrap copyright to github fork
eh I guess I'm a bit of a narcissist.
UnPS-Short is licensed under
the Creative Commons Attribution-NonCommercial-ShareAlike 3.0
Unported License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/

Bootstrap is Copyright 2013 Twitter, Inc under the Apache 2.0 license.
2013-08-26 10:34:06 -05:00
Arctic Code
a3806241bd Add simple "Copy to Clipboard"
This will let people copy to clipboard by left-clicking the link
right-click->copy still works
2013-08-26 10:25:23 -05:00
Arctic Code
d3d8302f94 Add http:// to links that aren't http or https
This is for people who forget that first part of the url
2013-08-26 10:12:42 -05:00
Arctic Code
4807406cdf Add #success div to successful actions
This is to fix the alignment and for color coding advantages
2013-08-26 09:33:52 -05:00
Arctic Code
742a2dea2d Add success message div and transparency to div backgrounds
#message messed with the success messages, decided to make a div
for that too
2013-08-26 09:32:46 -05:00
Arctic Code
e5b4fadb10 Add fade effect for messages
This will give all return messages a fade effect to not be as jarring
2013-08-26 09:31:19 -05:00
Arctic Code
ba6e23a78c Add anti-spam measures, change dead links, disable user area
The anti-spam is fairly simple and will only stop basic threats
I coded this with future planning (and to fill the navbar), half
  links don't actually work as of yet
There currently is no user system, login button disabled as a result
2013-08-26 01:36:28 -05:00
Arctic Code
97bc2d354d Remove countdown files
Since the launch, these files are currently just wasting space
2013-08-26 01:34:03 -05:00
Arctic Code
cfe1a23a33 Add red error boxes in return messages
This is continuing development on the interface, they will fade
in the next commit
2013-08-26 01:33:14 -05:00
Arctic Code
c3848688a5 Add key notification 2013-08-11 16:28:02 -05:00
Arctic Code
ab0605354a Merge branch 'master' of github.com:alopexc0de/UnPS-Short 2013-08-11 16:24:25 -05:00
Arctic Code
b674bdb593 Add Shortv4-2 files, watered down UnPSAPI, and Bootstrap 3 2013-08-11 16:21:53 -05:00
Arctic Code
28292f1b2b Fix formatting of readme.md 2013-08-11 16:14:57 -05:00
Arctic Code
02008a0d63 Add needed information to Readme.md 2013-08-11 14:39:35 -05:00
Arctic Code
6194862784 Initial commit 2013-08-11 11:58:09 -07:00