1
0
mirror of https://github.com/gamaio/lobli.git synced 2024-12-22 19:52:40 +00:00
Commit Graph

65 Commits

Author SHA1 Message Date
alopexc0de
052a0a751c
Put link data into a list instead of storing seperate values for everything.
This is silly to store everything seperatly when I can just query and get an array for everything that I need.
2014-07-25 17:48:46 -04:00
alopexc0de
adfcc57e00
Redis-only version of lob.li - Almost complete.
This version removes all the mysql stuff and uses a redis db for everything.
2014-07-25 17:41:51 -04:00
alopexc0de
e52c236e47
Add link age select box.
The vast majority of short links are only used once and forgotten about.
This gives people a choice to have links that expire (default 24 hours after creation).
This is also the first time that we use either coloumn other than the center one.
2014-07-24 21:30:01 -04:00
alopexc0de
c1f5a2eee8
Add linkage css and make input box 47px tall instead of % 2014-07-24 21:25:40 -04:00
alopexc0de
09280b93fa
Add rudimentary AJAX call for the stat table.
This might be temporary as I might decide to do the logic for this to happen on this page totally.
2014-07-24 21:23:29 -04:00
alopexc0de
173b977aaf
Fix my stupidity when naming my directories.
My naming convention put caps on everything and I was calling them without such capital letters
Which breaks on pretty much any OS other than Windows...
2014-07-24 20:41:14 -04:00
alopexc0de
e068995839
Align the page head to top of navbar 2014-07-22 22:05:35 -04:00
alopexc0de
f0f858950d
Move Redis connection to db.php and change shorten icon.
Since I will be using Redis from multiple files, the connection to the server should be in the same file as the other DB connection.
This icon looks a little bit better I think.
2014-07-22 22:02:17 -04:00
alopexc0de
4a66e9aa3b
Change user agent of isonline 'bot' to look more bot-like.
This is purely asthetic. I may implement a robots.txt parser for this in the future if it doesn't spend
    too much time parsing through to follow robots.txt rules. This also isn't technically a crawler
    as it only checks if the remote server is online
2014-07-22 15:54:40 -04:00
alopexc0de
9cabd24d19
Add forgotten semicolon on line 52.
I was wondering why my script had suddenly stopped working and thought it was
    a Redis problem.
Turns out that I was getting PHP parse errors and didn't check the logs
2014-07-22 13:08:15 -04:00
alopexc0de
c02e6d6f28
Add Regis caching
This is very basic where I check the Regis table to see if a short link exists
If not, query the mysql server and pull that result into Regis as linkID and link
I might make some modifications to this
2014-07-20 19:42:00 -04:00
alopexc0de
064739de36
Delete signtest now that I'm sure everything works 2014-07-20 14:34:18 -04:00
alopexc0de
5033c0a67f
This is a test file that I will also sign.
Hoping this goes well...
2014-07-20 14:32:08 -04:00
alopexc0de
c24391db9e
Small CSS tweaks, add more contrast to elements.
Trying to make it look a bit less cluttered and still have high contrast.
This works rather well I think.
And fix the revert mistake I just did when trying to commit this the last time
    I did this... >.>
2014-07-20 14:26:58 -04:00
alopexc0de
e6247ad601
Small CSS tweaks, add more contrast to elements.
Trying to make it look a bit less cluttered and still have high contrast.
This works rather well I think.
2014-07-20 14:21:46 -04:00
alopexc0de
285633c34f
Small CSS tweaks, add more contrast to elements.\n\nTrying to make it look a bit less cluttered and still have high contrast. This works rather well I think. 2014-07-20 14:18:02 -04:00
alopexc0de
1a3391e487 Move to simpler color scheme
The original background was a little, "busy". This has been traded in favour
	of a light green background and better matching colors for links & navbar
2014-07-20 00:23:18 -04:00
alopexc0de
b98d46c5dd Make the navbar slightly bigger
Shouldn't I have this in a responsive way or something?
2014-07-14 23:30:02 -04:00
alopexc0de
92140f083a Add the Montserrat google cdn font to relevant pages
I think I'm going to require a head file that has all this needed info
2014-07-14 18:37:43 -04:00
alopexc0de
3f501132d0 Move from Verdana font to the Montserrat font
Yay for being no longer OS dependant for the font! :3
2014-07-14 18:34:32 -04:00
alopexc0de
f5528007a1 Make the background a brighter color
This appears to be easier to see, but doesn't look as nice as the old one
	located in Include/img/body.copy.jpg
2014-07-14 16:05:30 -04:00
alopexc0de
dfd0b82ca0 Change favicon from the bitmap with alpha to a png
The bitmap version displays weird in firefox, inverting the colors
2014-07-14 15:57:04 -04:00
alopexc0de
591e3de923 Add favicon to website 2014-07-10 16:06:01 -04:00
alopexc0de
f03ab215d1 Linux move weirdness and make theLoader always visible for debug
theLoader will not stay visible, this will be changed at a later date
2014-07-04 17:32:42 -04:00
alopexc0de
1d6a2a569c Linux move weirdness
I can't remember if I changed anything in this file, but it should be working last I checked
2014-07-04 17:31:52 -04:00
alopexc0de
ab4010b41f Work on tracking function
It doesn't quite work yet, but it should soon
2014-07-04 17:30:48 -04:00
alopexc0de
d9d8338a3d Linux move weirdness, also remove the invisible padding icon
Having it evenly spaced is just causing a headache. The space at the end on other devices is okay for me
2014-07-04 17:29:35 -04:00
alopexc0de
2692bdf753 Moved from windows to linux - Git is acting weird
The files changed totally apparently, even though no actual changes were made
2014-07-04 17:28:17 -04:00
alopexc0de
27f70868b3 Move seperator into process.php and test shorten function 2014-07-03 15:20:44 -04:00
alopexc0de
c2dbb861d0 Add link tracking and require tracking function
Nothing special here. I think I'm supposed to echo those tracking functions though
2014-07-03 15:20:13 -04:00
alopexc0de
2164dd856f Update response code list, Add site descriptions, basic link tracking
The link tracking is very basic, but it doesn't need to be any more complicated
	than it already is
2014-07-03 15:16:57 -04:00
alopexc0de
4c98480648 Change placeholders to empty strings 2014-06-26 20:38:57 -04:00
alopexc0de
d86eb10d1f Move database connection to independant file 2014-06-26 20:38:35 -04:00
alopexc0de
e7f4f22737 Move database connection to independent file 2014-06-26 20:38:07 -04:00
alopexc0de
a4ad01fa86 Add more messages to $messages array and placeholder data
Testing the return messages. All info needs to be defined in one way
	or another before the array. Will hold blank strings to be replaced
	on actual return
2014-06-26 19:35:21 -04:00
alopexc0de
fa4c66e8d1 Change submitbtn to type submit, remove placeholder php for messages and smaller jquery
Changes to reflect commit:160af787
2014-06-26 19:33:48 -04:00
alopexc0de
160af78728 Make submit-btn type submit and make ajax jquery smaller
The AJAX in its current state doesn't work if the type is a button,
and removeClass can remove multiple classes
2014-06-26 19:31:37 -04:00
alopexc0de
7728f081e5 New Lob.li icon 2014-06-26 19:29:52 -04:00
alopexc0de
b00033742f Ignore more stuff 2014-06-26 19:29:37 -04:00
alopexc0de
4a570655b1 Add the AJAX loading animation for when data needs to be pulled
The loader is set to display:none; unless given an event through jQuery
2014-06-22 21:21:32 -04:00
alopexc0de
e81d809f36 Remove id="message" and replace it with a better descriptor
This is because on the main pages, there is the #message container which
	has the loader and will be what the AJAX will put the response
	data from here
2014-06-22 21:20:29 -04:00
alopexc0de
a70aca3d64 Remove test messages, add AJAX loader, and form button click event
Interface is complete, I just need to code the backend of this page in
	process.php
2014-06-22 21:16:11 -04:00
alopexc0de
1bb170d04e Modify #message and add loading animation
Slide in and fade loading text for the AJAX loader on the 3 main pages
2014-06-22 21:15:02 -04:00
alopexc0de
8edc7c8296 Add a gitignore for test code 2014-06-22 21:14:05 -04:00
alopexc0de
187900675d Add return code messages to array and remove API stuf
I don't think in its current state, it will be able to shorten links...
	working on that
Will PHP complain at me if I store variable names without actually defining
	the variables yet?
The plan is to recieve the response, explode it, store the variables and
	echo $messages[response code];
2014-06-22 02:04:07 -04:00
alopexc0de
0598e96979 Add onclick for popup link unps.us 2014-06-22 02:00:51 -04:00
alopexc0de
e845309c84 Change keys, remove newlink (TEMP), align copy icon more right
As stated in the comments, I don't feel like rewriting the code to generate
the links, so I'm leaving it as is right now. I will work on it at a later
time
2014-06-22 01:26:46 -04:00
alopexc0de
889312c35f Change spacing on copy glyphicon
Put the copy link icon a little more to the right for better looking spacing
2014-06-22 01:24:59 -04:00
alopexc0de
f94ab2ee01 Add the link processor and begin modifications
Based off of http://lob.li/b7o without API stuff
Making modifications
2014-06-22 01:24:17 -04:00
alopexc0de
253a9fa89b Add the main functions of the app
Mostly the same as http://lob.li/e76 without API stuff
2014-06-22 01:23:02 -04:00