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

69 Commits

Author SHA1 Message Date
alopexc0de
5d41d3adb8
Grab links from list and start redirecting again.
get links:id doesn't work since I moved it into a list.
That break doesn't do anything, removing it.
2014-08-10 18:46:39 -04:00
alopexc0de
41a6684ccc
Add missing parenthesis that I forgot.
Whoops. PHP errors, yay.
2014-08-10 18:44:40 -04:00
alopexc0de
4ad0f8ce74
Change click tracking to sorted set.
Using a sorted set makes it easier to sort from highest to lowest on the stats page.
Minor change how tracking is done on the index and link checking has been updated.
2014-08-10 18:29:17 -04:00
alopexc0de
485f1fa66f
remove diagnostic print_r to test array values.
Checking to see if everything is getting into the array properly in the right place.
2014-08-09 20:32:53 -04:00
alopexc0de
7c71c5744e
Move stat table generation to stats.php.
This page is mostly static and it shouldn't require a call to process just to make a table.
2014-08-09 20:30:10 -04:00
alopexc0de
da266cce1a
Change link expire time to future (in secs)
expire() and setex() store as a countdown from now and doesn't persist it between server reboots and repopulation.
This is fixed by setting the keys to expire at a time in the future
2014-08-09 19:35:09 -04:00
alopexc0de
169fe0fc23
remove misplaced bang that prevented stat gathering from working.
Was getting short link error when attempting to view the stats. This was fixed by checking if getstats was set instead of wasn't set
2014-08-09 19:32:45 -04:00
alopexc0de
9cd6c9ca7e
hide #theLoader by default.
This was commented out for testing of the loading transition when the site does something through AJAX
2014-08-09 19:30:41 -04:00
alopexc0de
469f453605
Fix the Include path on Operating Systems that use a case-sensitive FS (*nix)
Yeah, I thought I fixed this a while ago, but apparently not. Fixed now though
2014-08-09 18:26:50 -04:00
alopexc0de
12df81bd3c
Escape class 'res' for the echo statement. 2014-07-25 20:34:51 -04:00
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
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
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