Aaron Parecki
693cb9d636
use p3k\timezone library
8 years ago
Aaron Parecki
753407c904
set default config for test suite
8 years ago
Aaron Parecki
f37cb05903
attempt to fix config file reference
8 years ago
Aaron Parecki
898281bbc7
update composer, adds release script
release script builds a zip file for releases
8 years ago
Aaron Parecki
4a08c1fd2f
package for releasing to shared servers
* adds .htaccess files for apache
* adds installation instructions and nginx example
* prevent source folders from being viewed with .htaccess
* adds `index.php` in root folder in case you deploy this whole thing to a subfolder
* updates to work when installed in a subfolder
8 years ago
Aaron Parecki
a69c7a4fc7
remove unused css file
8 years ago
Aaron Parecki
0d8e49ec7c
delete semantic-ui and use simple inline styles
removed semantic-ui and other unused libraries
loading the home page is now only a single HTTP request
8 years ago
Aaron Parecki
e9b044aa7c
move default config inline, check for config file before loading
this allows you to use XRay without creating a config file using its default settings (currently only caching disabled)
8 years ago
Aaron Parecki
876d4696fb
catch non-expanded profile URLs
apparently some people's profile URLs don't get t.co'd
8 years ago
Aaron Parecki
041cc92a8b
add test file
:headdesk:
8 years ago
Aaron Parecki
755fe8c222
fix positive timezones and case-insensitive username check
8 years ago
Aaron Parecki
630b9b98d1
drop 5.6 from travis because it confused the deploy
8 years ago
Aaron Parecki
ebea6869e1
set UTF-8 for mb_substr
attempting to fix in php 5.5
8 years ago
Aaron Parecki
a1e109aee0
add php 5.6 to travis test
8 years ago
Aaron Parecki
0beac036b9
add twitter support
closes #18
8 years ago
Aaron Parecki
db8dba9f23
include published date for Instagram photos
if the photo has a location, the timezone is set on the published date
8 years ago
Aaron Parecki
44b452a8d0
disable tests that make actual http calls
8 years ago
Aaron Parecki
773252559d
parse instagram photos and videos
8 years ago
Aaron Parecki
2f9f80c4e6
remove unused function
8 years ago
Aaron Parecki
3bdafad98e
parse URLs with fragment IDs
If the input URL contains a fragment, finds the DOM tree at that ID and runs the subtree through the mf2 parser.
closes #15
8 years ago
Aaron Parecki
e0fd07731b
add robots.txt and favicon.ico to appengine config
8 years ago
Aaron Parecki
03a7598cf7
only output debug for fatal errors
8 years ago
Aaron Parecki
cf72540881
add blank robots.txt and favicon to avoid 404 errors
8 years ago
Aaron Parecki
1a1215c0be
attempt to catch fatal errors and print a nice message
8 years ago
Aaron Parecki
a7780fb671
set connect timeout
8 years ago
Aaron Parecki
c59ab9a2d6
also check img/video/audio for target URL
8 years ago
Aaron Parecki
ac32522c25
should always return 200
8 years ago
Aaron Parecki
565d50b862
add token fetching and authentication for posts
8 years ago
Aaron Parecki
0fde8190f5
copy production config to config.php
8 years ago
Aaron Parecki
62697ee46b
strict type checking on properties
8 years ago
Aaron Parecki
9006718ca5
add config option to enable caching
8 years ago
Aaron Parecki
1f6de10aba
add tests for validating URL fields
* fields that should be URLs will now be omitted if the value was not a URL, such as when the value is `javascript:alert()`
* makes Mf2 class slightly more self-contained by duplicating the URL helper functions into it
* fixes tests to not cache responses in memcache
8 years ago
Aaron Parecki
648a1e4e96
use released version of php-mf2 now that it is 0.3
8 years ago
Aaron Parecki
5672004535
remove url param since it was not used
8 years ago
Aaron Parecki
4a82561536
fix for h-event parsing
8 years ago
Aaron Parecki
1aa2f01d94
convert hostnames to lowercase
8 years ago
Aaron Parecki
bf6de4de06
only return HTTP 400 on client errors
errors fetching the URL should not result in a 400 response
8 years ago
Aaron Parecki
138cddd158
also return audio property
8 years ago
Aaron Parecki
3edc01d1b7
add test for invitee
8 years ago
Aaron Parecki
6de9be2567
parse h-event
closes #9
8 years ago
Aaron Parecki
abd37849ac
attempt to fix appengine warnings
8 years ago
Aaron Parecki
76c45a9e19
only use memcache if class exists
8 years ago
Aaron Parecki
262d9a66fa
cache the HTTP response
8 years ago
Aaron Parecki
ee5e48e1ef
if there is exactly one item and it's an h-entry, use that
8 years ago
Aaron Parecki
9054b0947c
specific error when there is no content at the URL
8 years ago
Aaron Parecki
1924d1000e
add log messages to debug which case a URL is hitting
8 years ago
Aaron Parecki
2d52b982cb
fix test data
8 years ago
Aaron Parecki
3d29776ae7
add a form to the home page to allow passing in HTML
8 years ago
Aaron Parecki
b7f49a7958
fix should follow redirects check
8 years ago
Aaron Parecki
8dc0caa4d0
use effective URL after following redirects when comparing URLs
8 years ago