David Todd
1ad8016e74
We are now version 1.0.2
...
This is from the change to the context menu.
The api key system will move us into the next major version when I get it complete
2014-12-09 14:42:10 -06:00
David Todd
371b00f452
Create the context menu when chrome starts.
...
This should fix a bug I've been experiencing where the context menu would not exist until I uninstall the extension and install it again from the chrome webstore
2014-12-09 14:38:55 -06:00
David Todd
26faf57b8b
Move from beta to version 1.0.1, comment out future API code
...
The chrome extension won't work with the API key code (as I haven't added that to the API yet).
Also included is the current copy of the chrome extension that's on the webstore
2014-10-20 20:42:17 -05:00
David Todd
6a398e6041
Add the Chrome WebStore badge that's on the main page
2014-10-20 20:39:04 -05:00
David Todd
d269b39832
Remove button color changing code from AJAX request
...
It's not needed and doesn't really work anyways.
2014-10-20 20:38:15 -05:00
David Todd
f72ec8f685
Make generated tokens expire now.
...
These don't do anything other than slow down the requests by a little bit. They store no information and are not needed.
2014-10-20 20:36:15 -05:00
David Todd
3cc8511a91
Clean up APIkey stuff and add link stats
...
Link stats is not complete.
Actually, I haven't written any of these API functions yet now that I think about it...
2014-09-19 20:59:07 -04:00
David Todd
4aa2c0b7c0
Add more API functions
...
The primary functions are using a server presented API key, appeneded to
all requests (except testAPIKey and GetNewAPIKey).
Also downloads a new key on startup if not in the storage
2014-09-19 15:35:41 -04:00
David Todd
704a68104d
Add new icons to the extension
...
This is for when the extension encounters something that makes it unable
to communicate to the server. It will disable until the user attempts to
shorten a link again
2014-09-18 21:09:56 -04:00
alopexc0de
fb02307b20
Add link chrome extension
...
I'm also launching the chrome extension today
2014-08-29 20:33:27 -04:00
alopexc0de
6eb32ed84f
Minor mod to API, make chrome extension work with beta
...
@Doridian recommended being able to change expiring time, so I did that
Chrome extension now shortens links with the beta right in the browser
2014-08-29 17:54:26 -04:00
alopexc0de
26d460b173
Re-add body.copy (for update page)
2014-08-29 15:42:17 -04:00
alopexc0de
da6837fdad
Copy of lobli.ico, renamed to favicon.ico
2014-08-29 15:32:01 -04:00
alopexc0de
7972971ee0
Remove placeholder code for resolving, make links resolve, remove token from get on process
...
Fairly straightforward. Commit 298b2606ea
also resolves #1 (http://lob.li/mk6 )
The messages are finally where they belong and link resolution for ids and long urls added - I might want to work on lob.li/linkid in the future too
2014-08-29 15:23:09 -04:00
alopexc0de
298b2606ea
Reload page if token invalid
...
This isn't the most graceful way to do it, but better than nothing I guess.
2014-08-29 14:24:02 -04:00
alopexc0de
cb3008536d
Test for valid token.
...
Whoops. http://lob.li/8pg
While functional in theory, header(location:index.php) will load the index again in the message field with non-functioning javascript
2014-08-29 14:14:49 -04:00
alopexc0de
28e0ce013a
Move token data to token.php
...
Since token requires db.php, I don't require it again. The token is no longer included in a GET request to process.php, use sessions instead.
2014-08-29 14:11:35 -04:00
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
fb5ccdce5e
Change the IF statements to a switch
...
This is to make it easier to add new responses in the future instead of having many different IF statements.
2014-08-29 11:22:37 -04:00
alopexc0de
e395ac49e8
Chrome extension for lob.li.
...
Untested with the API
2014-08-18 20:50:30 -04:00
alopexc0de
ea1a3a4c10
Quick and dirty API for the chrome/firefox extension.
...
Probably buggy, untested.
2014-08-18 20:48:43 -04:00
alopexc0de
b40c3206f8
Remove more title stuff
2014-08-18 20:36:37 -04:00
alopexc0de
6c64f12366
Remove the background image that's nolonger used
2014-08-18 20:35:04 -04:00
alopexc0de
e0f15f6d51
New design for lobli logo and remove backup copy
...
This version of the logo was made in a vector program instead of circles inside gimp, looks brighter too
2014-08-16 19:33:55 -04:00
alopexc0de
ce574e8a32
Add Nginx config for lob.li
...
The magic happens on the try_files. Nothing is super special about this
2014-08-15 19:58:13 -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
0836e64c80
Add some documentation to the migrator.
...
The SQL commands may or may not work for you. They worked for me and did what I wanted.
2014-08-15 18:51:45 -04:00
alopexc0de
f5f143d2e6
Attempt begin resolving links and testing code.
...
This is still incomplete, but should be finished soon
2014-08-15 18:34:46 -04:00
alopexc0de
1846388b01
tell process.php that we want to resolve links, not shorten
2014-08-15 18:33:22 -04:00
alopexc0de
fe5e5f1854
Mysql to Redis migration helper.
...
Pretty hacky way of doing this, fetches needed data from table and adds them to the redis db.
Run it from the command line: $ php redis.php
set your password as needed
2014-08-15 18:31:20 -04:00
alopexc0de
89dda7ae4a
Add lobli links to the linkid field
2014-08-10 21:12:19 -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
9e1035fde3
Change l59 if to or instead of and, remove echo
2014-08-10 19:54:41 -04:00
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