Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/YOURLS/YOURLS
🔗 The de facto standard self hosted URL shortener in PHP
https://github.com/YOURLS/YOURLS
[skip ci]
faf481fe9279abb18971986b20038cd1c69535aa authored over 9 years ago by ozh <[email protected]>Makes functions-formatting.php covered at 93%
8ef521ea37764e927af77f574a7200ee43494be4 authored over 9 years ago by ozh <[email protected]>
Because
- it hinders unit tests
- it makes code less readable
- it's easier to have compat funct...
To do so, we stop pretending we're in API mode, and we stop pretending we're requesting a partic...
d4cf2d4f7a1f81af1f5d1890c09fd887a630b7d8 authored over 9 years ago by ozh <[email protected]>b5be1a92e974d4ebbd246c2123071d3aef0601b1 authored over 9 years ago by ozh <[email protected]>
- this makes testing impossible once a value has been set
- this prevents the function to be act...
f01c5fdd31451a941ad891c7616b1b747e701900 authored over 9 years ago by ozh <[email protected]>
37dd72228c2b078752e92a14cec1714367c67d90 authored over 9 years ago by ozh <[email protected]>
functions-formatting.php now covered at 83%, not too bad
2bd4be1762b422f8c69d612ea1a159809cb1e086 authored over 9 years ago by ozh <[email protected]>898a4d7046632f22732358b9cf371878a19500fe authored over 9 years ago by ozh <[email protected]>
3b72f9c322d09a5a390aca2856fdab77ea346639 authored over 9 years ago by ozh <[email protected]>
33a3fb631518c0d7c380f4847dcea8d25257816f authored over 9 years ago by ozh <[email protected]>
696e19da607c2381c516f0c750af2379023258af authored over 9 years ago by ozh <[email protected]>
d125e640904992e86921b6d07c646f0651db263d authored over 9 years ago by ozh <[email protected]>
b9070080503e2ac39b2d888334621f5db09ff15d authored over 9 years ago by ozh <[email protected]>
1153e464a8bed1c85e75e3070fa0bc76a419b4b4 authored over 9 years ago by ozh <[email protected]>
functions-plugins.php not at 99.10%, 221 lines out of 223, covered :)
d295898f4e444da00134dc05f14bea3aa01fc368 authored over 9 years ago by ozh <[email protected]>b26af8a69eb897355360bdddd989ce7eb5cc010c authored over 9 years ago by ozh <[email protected]>
f554906ca12091929b3bbe3c8ddd9b0997571349 authored over 9 years ago by ozh <[email protected]>
0071965c1271c8e48776e26fe8a683d56139ac97 authored over 9 years ago by ozh <[email protected]>
This will make testing this function a lot easier, and it makes more sense to die after the func...
f3bc0bd33640bfd1fed92aacfb6dac3b20d375f8 authored over 9 years ago by ozh <[email protected]>faabf0edb4d1823c2aad02a1b58420f43395255a authored over 9 years ago by ozh <[email protected]>
[skip ci]
c6c8942ec0eab2640db15fdf19599f8a82c21e90 authored over 9 years ago by ozh <[email protected]>30198dafd34fee6c773a41b9696bc6a315b46fd1 authored over 9 years ago by ozh <[email protected]>
7737d15c0f6418f67900b6b0f5478a0d8bf75267 authored over 9 years ago by ozh <[email protected]>
Code coverage for functions-plugin.php is at 81% :clap:
695a13944664cb518fb0dc7ecb2483794e773540 authored over 9 years ago by ozh <[email protected]>This will allow easier testing of various cases
2d2f4bcf25ecb710fd503d1611298580af1d37e6 authored over 9 years ago by ozh <[email protected]>It's a leftover from the era when we were loading includes/ files conditionally
c20fbf6e4369493342632d99540b0789f46275ec authored over 9 years ago by ozh <[email protected]>5c34bc4b83dd9e1f80918abf7177a8bfc4bcce2d authored over 9 years ago by ozh <[email protected]>
840c5f2aa865033d213c97c81e0ae7f33b7ae5da authored over 9 years ago by ozh <[email protected]>
5001ee74519c63056cd8079c5bdb2acfde2f090b authored over 9 years ago by ozh <[email protected]>
Also, how about removing test & debug stuff? Duh.
Also,[skip ci] -- http://docs.travis-ci.com/us...
0d17fa5732ccaa9476444506c4fb71a59f4a17dd authored over 9 years ago by ozh <[email protected]>
8458ed8881bc7430db530e645556fbb38b8eaf0e authored over 9 years ago by ozh <[email protected]>
bfc6a82639b0fdaaebd109a7ef4d3da7547b1f16 authored over 9 years ago by ozh <[email protected]>
spl_object_hash() is PHP 5.2+
f678cd588714cd14b682ead36598d9ca6529e039 authored over 9 years ago by ozh <[email protected]>b5b80b0710ff7b9fca6a513ef7603e7f542eb3a5 authored over 9 years ago by ozh <[email protected]>
dcba0fc5d2d7fd282de96371e02c71f5c4500002 authored over 9 years ago by ozh <[email protected]>
return true, false, null, zero, '', []
c76f600f7391b0c2502c5caf0e875d26a2b85f44 authored over 9 years ago by ozh <[email protected]>aafbddec3ca7abe9aedbacd2bc45d9e9cca23c0b authored over 9 years ago by ozh <[email protected]>
I can't think of a good reason not to.
1b9b9de58faa3ff350973c895c8ee97628b7b01f authored over 9 years ago by ozh <[email protected]>Improve lowercasing of scheme & domain
Fixes #1890
379dc7fe9714f2a429059db03bf34afe1272c63d authored over 9 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>28623b2330f8919b3a64092c961255af1d33d101 authored over 9 years ago by ozh <[email protected]>
Fixes #1890
b4b14a860e277b8eb221ff223d3ee5760f7da28f authored over 9 years ago by ozh <[email protected]>I mean, dude. PHP 4. Please.
9c73348aa680bd3648424594f0675247d40681af authored over 9 years ago by ozh <[email protected]>In case a custom DB layer has rewritten the SQL query for instance
60193c64b0d4ec7209082f523def3b2d510b71ce authored over 9 years ago by ozh <[email protected]>This allows for instance an SQLite driver which requires slightly modified tables
fc583182659626d6cc42a1b2137a288f02367fa6 authored over 9 years ago by ozh <[email protected]>e2ddad11eec7bf1471344e610625f264577c2f8b authored over 9 years ago by ozh <[email protected]>
6c6fc5f46e6ffc8fca99ecbb5dcd900e464d6032 authored over 9 years ago by ozh <[email protected]>
Ozh,
I found a problem in Yourls. It's not necessarily a problem with the code, but a problem ...
59382e55c188ec859c8ad79d4eae028691362495 authored over 9 years ago by ozh <[email protected]>168622417d93f21745fce848a8cc6f18c4d5a5ac authored over 9 years ago by ozh <[email protected]>
Smarter domain convention in examples and source
412939f7d027d57b5fbf6ea1f77db142bbcca334 authored over 9 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>See #1777 on YOURLS/YOURLS
35e85a5f5ebf6fa6c2bc280ab1b0438e70bb83cf authored over 9 years ago by ozh <[email protected]>5a64588693edc6dedaad210d1c778ef4b5a6bf9d authored over 9 years ago by ozh <[email protected]>
In config, readmes, editable files: the generic YOURLS install will be http://your-own-domain-he...
7225f8dff1384fe610e7e57b69a1c2036af45c2f authored over 9 years ago by ozh <[email protected]>Fixes #1864
abc7d6c52f6e0ddb8d930d3022f75b46617ee0d8 authored almost 10 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>Update from original
29a58d03ea19398ea2efbf693a191898338453f9 authored almost 10 years ago by BestNa.me Labs <[email protected]>Correction in yourls_die(): 'html_head' should be 'html_footer'
d80c5ac489f92564f203c23768b0c3df4b9e76c1 authored almost 10 years ago by Léo Colombaro <[email protected]>Now checking for html_footer action before the call to yourls_html_footer() (code was checking f...
99fa687d4abade1fd5a4738b95469db5dea7818a authored almost 10 years ago by BestNa.me Labs <[email protected]>Update functions-l10n.php
b0e96e65e2e71194497fb6ac936cbe5791e1b80e authored almost 10 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>´yourls_load_custom_textdomain´ can't read *.po files when ´$path´ is an absolute path on the se...
2436f835cecbcf9d10e316c97d75a45081ff1b82 authored almost 10 years ago by Fredl <[email protected]>d708c2199e9a583ee7d4bab15f55ebe941391c7b authored about 10 years ago by ozh <[email protected]>
254053a63ef679afd115b3ddbfc7078872d73a31 authored about 10 years ago by ozh <[email protected]>
4ebadd0c4351daf1af09cc4c5d5a776a77162ae5 authored about 10 years ago by ozh <[email protected]>
e7eb9f35100eaad354530ac7717dae76183fa457 authored about 10 years ago by ozh <[email protected]>
things would be so much faster if I had an extra arm!
130e27a743c0998234d2f9c67897fac5c8d11499 authored about 10 years ago by ozh <[email protected]>6e0de8294e8033685350ac8cad37373583857487 authored about 10 years ago by ozh <[email protected]>
fa60b2a2a1ac0b40ded3fafe7a07f73a38ed5f67 authored about 10 years ago by ozh <[email protected]>
Valid: something1337:somepath
Invalid: 1337something:somepath
Syntax: phpunit --group something
7ae61ae57b75bcb2f3039753a75a1b88c0c6bd63 authored about 10 years ago by ozh <[email protected]>08e72aa6d12543772851208dba7cdb54cb2bdf11 authored about 10 years ago by ozh <[email protected]>
b0c394a9498d9b2517eb709b8f6dd3573b1cfbfb authored about 10 years ago by ozh <[email protected]>
18f6764682c4c91b390baa98403b9cf42fb0d6b1 authored about 10 years ago by ozh <[email protected]>
28693f801d5154f012e6b61b059732c2fcc17245 authored about 10 years ago by ozh <[email protected]>
Sadly, this may fail for large numbers or large strings. Thanks, unit tests!
b79dd6981eb0c3728452a9e79e1d0cdd5133a07b authored about 10 years ago by ozh <[email protected]>
50% faster and without needing BCMaths extension.
Tested with 20,000,000 random numbers and rand...
ea999dd2a7a2ae23e8fa9062787a20679df8bede authored about 10 years ago by ozh <[email protected]>
953bacf985ce095ada5161cf0905ed7959d8b425 authored about 10 years ago by ozh <[email protected]>
14f434bd04599435e037f494578a456433b4711b authored about 10 years ago by ozh <[email protected]>
bcb477daa7872b3b2b729607d410d2b47c559061 authored about 10 years ago by ozh <[email protected]>
4b72d517a6c2d2f9499cdda426ac9fd5eab5eaf7 authored about 10 years ago by ozh <[email protected]>
It made it impossible to test 5.3+ only PHP syntax. From now on and till the min version require...
2bd055355b94474e16c45b15cc5712485e4199fc authored about 10 years ago by ozh <[email protected]>f91253fb72f493fc17d3808292c03c6f091a286e authored about 10 years ago by ozh <[email protected]>
790353103f76d6c110c82dd07bf1831afa5e558f authored about 10 years ago by ozh <[email protected]>
8654e51c9719de81657b86ae5a93194a55f43542 authored about 10 years ago by ozh <[email protected]>
ddb227767e04d2079de9a833d3f584ec4e56f7a0 authored about 10 years ago by ozh <[email protected]>
10b8249c09e7bc9800d2291e4818c348e13caa07 authored about 10 years ago by ozh <[email protected]>
37f54c79223c21f0ef7cd15ab62992f9205f748e authored about 10 years ago by ozh <[email protected]>
d766f6dc8132c5417f4c600ae54b122dafcd1c1f authored about 10 years ago by ozh <[email protected]>
8ebbc09fce3276926ec8e889e7ba2e8d5e20d57f authored about 10 years ago by ozh <[email protected]>
Die, issue #1783 !
e98e32c72c5508e3616b5bc15f25922c6b190e6b authored about 10 years ago by ozh <[email protected]>Seriously. https://www.google.com/search?q=%22we+have+hacked+this+title%22
3438b0670dbad6edbea97f8fae18e8010e347f5e authored about 10 years ago by ozh <[email protected]>Make readme.html work on IE11. Fixes #1797
1a8ccabf771358c293b428d93a1324128e4e7ab9 authored about 10 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>
d.innerHTML returns `<li class="Tab" id="MoreTab" ...` on IE 11, while
the regex expects `<li id...
Fix domain/subdomain cookie mismatch. Fixes #1673.
a2610427b98b2170e9d89909212be3efc794eb1d authored about 10 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>e87ec0b1945dae47f543b08d24d4cc0fc4ad732a authored about 10 years ago by ozh <[email protected]>
76c993789f264f5d886b517eec2765f870e0b1c6 authored about 10 years ago by ozh <[email protected]>
806098437413c356f1eeeb84065ee509477be010 authored about 10 years ago by ozh <[email protected]>
Search across all fields
1f150ee3ea89169b67b647a0191bac3fb6790a48 authored about 10 years ago by ྅༻ Ǭɀħ ༄༆ཉ <[email protected]>2802526a6bd4a8999d76fe6813992d4fe68855c1 authored about 10 years ago by ozh <[email protected]>