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

17 Commits

Author SHA1 Message Date
alopexc0de
f825c6bd29
New token generation and fix output on shorten
This token generation should prevent the same token from being used, also considering using a type of cooldown timer.
Short links were returning as (shortid)$, which didn't work
2014-08-29 14:08:50 -04:00
alopexc0de
b40c3206f8
Remove more title stuff 2014-08-18 20:36:37 -04:00
alopexc0de
cacd80a024
Remove title grabbing.
This thing is just a big pain and isn't really needed, so I'm removing it.
Really the options for getting the title or even the description involved downloading the whole file.
2014-08-15 19:35:35 -04:00
alopexc0de
a2baa09376
Fix the date outputtoday's date 2014-08-10 21:00:38 -04:00
alopexc0de
39baade2e4
Fix check to see if link exists in db or not.
This seemed like the most friendly way to do this since my other option is checking all links:id for the string of the url
2014-08-10 20:37:34 -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
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
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
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
ab4010b41f Work on tracking function
It doesn't quite work yet, but it should soon
2014-07-04 17:30:48 -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
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
e7f4f22737 Move database connection to independent file 2014-06-26 20:38:07 -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