Commit Graph

34 Commits

Author SHA1 Message Date
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 25ab98ae1c Broke the shortener
I broke everything.
2014-04-13 19:50:36 -05:00
Arctic Code 10d2b06223 Increase the version by 1 2014-03-03 07:53:16 -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 2052425469 Remove Google Ads
Ads just make it look gross
2014-03-01 20:11:52 -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 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 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 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 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 382242298d Include Vex files
This has a slightly better look than the dropdown menu
2013-12-11 14:20:30 -06: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 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 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 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 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 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 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 b674bdb593 Add Shortv4-2 files, watered down UnPSAPI, and Bootstrap 3 2013-08-11 16:21:53 -05:00