Tom Slominski
94fa2a3285
Bugfixes.
2016-07-24 12:42:10 +01:00
Савелий Красовский
223cad80a2
VK sharing support + LinkedIn fix.
2016-07-17 23:52:43 +03:00
Tom Slominski
ad89f9ff71
Change the QR code to link to the short URL instead of the long one. Fixes #24 .
2016-01-04 00:46:42 +00:00
Tom Slominski
ef4cf86ebe
Fixes #19
2015-08-20 13:09:56 +01:00
Tom Slominski
ff668004dd
Fixes #18
2015-08-19 13:02:22 +01:00
Tom Slominski
c40f67c435
Expanding the display of errors, with support from Luke Goh.
2015-07-09 00:13:35 +01:00
Tom Slominski
a39920e0ac
Adding a few more comments to the code
2015-03-22 18:54:19 +00:00
Tom Slominski
3998b6c1a6
Superior antispam protection. Instead of duplicating code by checking what method is being used in both index.php and result.php, now the check is performed in index.php and a POST variable is passed to the result.php page. Furthermore, antispam protection is ommitted if the user is logged into YOURLS.
2015-03-22 18:36:25 +00:00
LordBeaver
60ace4dce0
Update result.php
2015-03-21 15:36:43 +03:00
Tom Slominski
80cec994f0
Merging code from the YOURLS master public page
2015-03-08 18:29:27 +00:00
Tom Slominski
d59d213161
Displaying an error if the user tries to shorten an empty link
2015-03-08 18:02:41 +00:00
Tom Slominski
1ebfd49874
Dependency based script loading
2015-03-08 16:04:10 +00:00
Tom Slominski
0f2e159382
Giving users the option not to use reCAPTCHA. If you don't input reCAPTCHA keys, basic spam protection will be enabled, even though its less effective.
2015-03-08 15:30:54 +00:00
Tom Slominski
9ba1309746
New social sharing buttons.
2015-03-08 00:48:16 +00:00
Tom Slominski
509dfc6085
Add dependency system for ZeroClipboard, so it only loads on the results page.
2015-03-07 19:20:32 +00:00
Tom Slominski
0f2d3383a2
Upgrading to new ZeroClipboard, removing jQuery dependency.
2015-03-07 01:12:23 +00:00
Tom Slominski
cee5a1e4b8
Enhanced formatting on the results page
2015-03-07 00:25:50 +00:00
Tom Slominski
afa526c14e
Structural changes to the results page
2015-03-07 00:12:28 +00:00
Tom Slominski
2e0e80e28a
A slightly less shoddy looking reCAPTCHA fail page.
...
Also moving the reCAPTCHA checking code to before the links are added...
2015-03-02 22:51:20 +00:00
Tom Slominski
5b8c5c0510
Check if social sharers are enabled
2015-03-01 21:50:58 +00:00
Tom Slominski
89a74c7137
Actually check if the QR code is enabled before generating it
2015-03-01 21:41:26 +00:00
Tom Slominski
5127f68093
Removing the secret API code for Google reCAPTCHA sounds like a cool idea, right?
2015-03-01 21:14:08 +00:00
Tom Slominski
8e94aa40a0
Correcting broken commit...
2015-03-01 20:25:20 +00:00
Tom Slominski
26dea2e4c4
Merge branch 'master' of https://github.com/LordBeaver/infinity-squared
...
Conflicts:
index.php
result.php
2015-03-01 20:06:24 +00:00
Tom Slominski
4683e2bd3d
Switching to using phpqrcode for QR code generation, as Google is due to shut down it's QR code generation API.
2015-02-24 22:41:58 +00:00
Tom Slominski
fd2b74a5f5
One of my merges might have removed the actual CAPTCHA checking code. Nobody will find out anyway, eh? Eh?
2015-02-24 16:01:40 +00:00
Tom Slominski
af9b2ac48d
Merge branch 'master' into nocaptcha-recaptcha
...
Conflicts:
.gitignore
result.php
2015-02-24 15:38:26 +00:00
Tom Slominski
770f24786b
Merging noCAPTCHA reCAPTCHA
2015-02-24 15:24:27 +00:00
LordBeaver
223d2b4c4a
Update result.php
2015-02-22 10:26:39 +03:00
LordBeaver
8f6bad8843
Update result.php
2015-02-21 22:31:29 +03:00
LordBeaver
9d3d53e525
Update result.php
2015-02-21 22:11:46 +03:00
LordBeaver
665668d253
Update result.php
2015-02-21 21:36:45 +03:00
BestNa.me Labs
27cb9de939
Update result.php
...
Area: reCAPTCHA response check
Title: Fixes ineffective check of reCAPTCHA response
Threat level: Serious
Author: BestNa.me Labs (http://BestNa.me )
Description:
a) Problem: In the original code the check for the reCAPTCHA response was ineffective: a short URL gets generated and inserted into the DB even when the reCAPTCHA question was not answered correctly. To reproduce the problem with the original code, please enter a destination URL, but simply leave the reCAPTCHA question unanswered, and then inspect the DB right after the error message 'The reCAPTCHA wasn't entered correctly ...' has been displayed. The short URL will show up in the DB, though. This behavior (behaviour) has been observed and described by other users before.
b) Fix: Moved the call to yourls_add_new_link (and some associated lines of code) BELOW the check of the recaptcha response.
2015-02-17 17:37:28 +01:00
Tom Slominski
1ff153dad9
Upgrade to Google's no CAPTCHA reCAPTCHA
...
Not tested this very well, but it seems to be working anyway…
2015-01-31 00:01:01 +00:00
Tom Slominski
f5ac64c570
Removing the left over bookmarklet code reduces spam by further 25%, say completely unscientific studies.
2014-01-06 19:34:12 +00:00
Tom Slominski
94bcee59ec
Giving the results a heading
2013-12-31 00:56:00 +00:00
Tom Slominski
14f293a2e1
Final corrections to the goddamn sharing buttons...
2013-12-31 00:54:22 +00:00
Tom Slominski
06f475d075
Have a Tumblr button. I cannot deal with any more social sharing button pain :( But the Tumblr one is relatively easy to use, unlike *cough*Facebook*cough*.
2013-12-31 00:49:52 +00:00
Tom Slominski
bde1a92c19
Added a more meaningful description to the twitter sharer
2013-12-31 00:28:06 +00:00
Tom Slominski
2423d8036f
Moving up some definitions to fix the bookmarklets (thanks Sam Tran!)
2013-11-24 21:35:51 +00:00
Tom Slominski
2b9ab972ce
Hiding flash copy on mobile devices
2013-11-13 16:46:27 +00:00
Tom Slominski
e898da7e6c
reCAPTCHA support
2013-11-02 18:19:38 +00:00
Tom Slominski
8cbc21f60f
A note
2013-11-02 15:32:30 +00:00
Tom Slominski
f770cfa03e
Fixing the social sharers and whipping out some padding for them
2013-11-02 14:50:39 +00:00
Tom Slominski
cf605a9ec5
I've merged some code from YOURLS, but the SATANIC bookmarklets still do not work. Ugh.
2013-11-02 00:44:41 +00:00
Tom Slominski
679dcd0961
New lines at the ends of files
2013-11-01 19:21:45 +00:00
Tom Slominski
718420690b
Sorted out the results page
2013-11-01 19:19:35 +00:00
Tom Slominski
90fbc64d0a
Corrected tabs and comments
2013-11-01 18:45:34 +00:00
Tom Slominski
1ee65b690d
Rudimentary basic two-file structure. This should make the code more readable and easier to edit, but we'll see how we go. It's called two file since only two files here are important. I've split the form and the results page together, and the header.php and footer.php are just additional files so we don't double the code.
2013-11-01 18:15:39 +00:00