Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/matomo-org/component-network

Network component: manipulate IP addresses (ipv4, ipv6) in PHP used in the Matomo project
https://github.com/matomo-org/component-network

fix travis badge

d31bde2f28d50b5417684cf64915d03aff29075a authored about 4 years ago
Merge pull request #15 from matomo-org/ipv6fullmask

Makes it possible to fully anonymize a IPv6 address

ff654b8fc7778b80279815d06a368f7b41249501 authored over 4 years ago
improve travis build

e69276a92f6b333f1481541642020b4a9891d69e authored over 4 years ago
adds test

7c2dcb11b532b03edf6ea1977ffe289b839b013b authored over 4 years ago
Makes it possible to fully anonymize a IPv6 address

2d04ebbdc377270a3abdf65f73a45fba1e69815c authored over 4 years ago
Merge pull request #14 from matomo-org/rename

Rebrand from Piwik to Matomo

010e49629115e7227bec08c39639e0efeb048905 authored about 5 years ago
run tests on PHP 7.4

c8a726508d720b26aba564f517ebd181c23405c3 authored about 5 years ago
removes coveralls

3328680d20b677a658a193c7351e659e20f5d6cb authored about 5 years ago
Renames Piwik to Matomo

441fd9d81ad41fa031b6f2a0465d9ec21968286b authored about 5 years ago
removes unneeded files from package

223003469a4a2856d97708da311d55a352b151dd authored about 5 years ago
Merge pull request #13 from open-source-contributions/improve_code_covers

Improving tests for IP class

b0510fe0002f0a97725fc848650a3d58a05d40ca authored about 5 years ago
Improving tests for IP class

758130780106c8c565c1e05403f94bc310456d70 authored about 5 years ago
fix repo name

fb847317b79fe41d52f5eb5fd92f197df4538b7d authored about 5 years ago
Merge pull request #10 from robocoder/patch-4

Validate CIDR range is 0..32 (IPv4) or 0..128 (IPv6); ref RFC-4632

3ae3d205b2da56cb67ae4c10adb206ec0ee54957 authored about 5 years ago
Merge pull request #12 from open-source-contributions/test_enhancement

Test enhancement

eb4c9570e5e6d0f2b0c8765f172ab47860ad874f authored about 5 years ago
Test enhancement

1c3063cfdf13d0a2eb3e54d84c49a316e848d230 authored about 5 years ago
Create LICENSE

f54c1027bb04c1393ccea275b44eee1262b46c46 authored almost 6 years ago
remove hhvm build

e635ac39a0d7e52fb78011fdb74918697f90841f authored almost 6 years ago
removes Scrutinizer badge

1f62bfcd527c220317b81f6c90f693ebd7b6d98c authored almost 6 years ago
Fixes #4 and https://github.com/matomo-org/matomo/issues/10373

46b3baf8e03d1a3dcf3fd6cc26dacebf222d19d0 authored almost 7 years ago
Validate CIDR range is 0..32 (IPv4) or 0..128 (IPv6); ref RFC-4632

ded8c90ef5498469fdb277e4bf3e6418d4ce42ff authored almost 7 years ago
Merge pull request #7 from piwik/php7

Run tests for PHP 7

01937da578472da26e2b5cb54dc3c8d34722eeaf authored over 7 years ago
Run tests for PHP 7

7d9c3dc9d50c74893ae4d65dfa342fd50e0ec468 authored over 7 years ago
Merge pull request #6 from piwik/travis

Travis: Use trusty sudoless build infrastructure

f128661ceb2215a3f35678f2b593dab1f19b86f9 authored over 7 years ago
Update .travis.yml

17ed3df10d37c377c722729b9a3edc595bdd6646 authored over 7 years ago
Update .travis.yml

b270d14d9b4ddc9d63bfee4e85f08899a215ef20 authored over 8 years ago
Composer install

033258f8df4931eb142124ac4a01832955c3deb6 authored over 8 years ago
IPv6 reverse lookup does not work on travisu

bf1f63f89ab6bc0a6aea569865bb6e77a34190ac authored over 8 years ago
Remove coveralls as it fails the build

45bfe2ff464e2263dae7e4e7b66c8dd7044e7705 authored over 8 years ago
Remove coveralls as it makes the build fail

see https://travis-ci.org/piwik/component-network/jobs/145445315

db8f767cc32e605b19f0fa88245cf3362974f9d1 authored over 8 years ago
Support wildcards in IPv6 address ranges (#3)

* Support wildcards in IPv6 addresses

Support analogously to IPv4, '*' can replace a single g...

bd67e3cdafb232d2974f7566b8c8065257bf70b5 authored over 8 years ago
#2 Fixed license in phpdocs

5ab9e61169cb552bffeea60143c6d55f9ed46b18 authored about 10 years ago
Move HHVM out of the allowed failures since it passes

9037fa29509f86767e02ba58a57d4deb1d01a844 authored over 10 years ago
Fixed tests…

1accd21db12987a591f62c347a324e97a29a7314 authored over 10 years ago
Fixed phpdoc

27f7c0b3a483e671ce7d12e072aa69af7a0e8bbc authored over 10 years ago
Simpler travis.yml

ae124999a852e84bee526aba88827ca65497605e authored over 10 years ago
Failure cases now return null instead of false + updated and improved tests

b3c65e1d3b6e848406fdda0263e7598b1be0630e authored over 10 years ago
Extracted IPv4 and IPv6 classes from IP

3992c8d2ac7104187e898887395e4a0246d98df9 authored over 10 years ago
Added IP::anonymize() taken from the IPAnonymizer plugin

47075a60ac1a573d93bb8d7f63578da7d0d26c47 authored over 10 years ago
Added project config files

7293b340db18b430c3212448360e9205f21e7f38 authored over 10 years ago
Renamed the component to "Network"

304d5c3dd14cc08956ddf16563026f03ec4b5878 authored over 10 years ago
Readme documentation

98e903b6268432fcfd8a4fcf77763ccb9bac8735 authored over 10 years ago
Renamed P2N and N2P to `stringToBinaryIP()` and `binaryToStringIP()`

62d5bda379f27b2abae5ce6aaf292a8d1e7bab0a authored over 10 years ago
Readme: IP usage

6c9b8cc009fc7b989b60515434e997dc9bea90d7 authored over 10 years ago
Documentation

a0874668290f5766617603452b99d263fca078b2 authored over 10 years ago
Removed getLastIpFromList() since it's a very specific need to Piwik, it will stay in Piwik

51de246263685df663990e672f8045940d55be04 authored over 10 years ago
Moved IPUtils::isIpInRange() to IP::isInRange()

cd5778f81520fa8f8bad574dfe3e0db3be8d442e authored over 10 years ago
Moved IPUtils::getIPv4FromMappedIPv6() to IP::toIPv4String()

32df46496046e4b38ef2764e968fe2783f620015 authored over 10 years ago
Added tests for isMappedIPv4()

9a048fe4f414e0a07ae06e98d9c1314a73177751 authored over 10 years ago
Removed long2ip as it exists for BC compatibility and it's not even used in Piwik

69400718fa6477c8e3c38bb5c9a54d65871801cc authored over 10 years ago
Removed last dependency to Piwik

26d968126b79e336ff21c756d49090f87b87ee20 authored over 10 years ago
Removed methods moved from IPUtils to IP

67332443940038a0a2fe82c38dd557a717ff0992 authored over 10 years ago
Added IP object (non-static methods)

5ada8274203215dd63d8937c3372961f17a9bf66 authored over 10 years ago
Renamed to IPUtils

7f84a58f0734206898bb4b7b1522c7c0c8f6c6ed authored over 10 years ago
Moved IP to the Piwik\IP namespace

536ffbadeabf2c6c1095c144893855e6a7982b71 authored over 10 years ago
Moved IPTest to the tests/ directory

0790c27f47a37bc4d48459155a4feec2529bfbae authored over 10 years ago
refs #5940 put tests in correct folders, better testsuite names, some tests still fail and I cannot figure out why

cf42f5ead7efb7d1c08f20ee070459f65ca7e6e8 authored over 10 years ago
Moved IP to the src/ directory

e44f019b19249ed8955227a678265e97c03a3f6d authored over 10 years ago
Refs #4200 revised some of class/method docs.

9c29970118669b58cf58394a45801c0880d24a26 authored over 10 years ago
refs #4244 converted more links

f24286bf3da2de7c07eb6a0d3209524f00f69eda authored over 10 years ago
Remove all occurences of @package / @subpackage / @category from core/ files.

refs #4609

96f86efb14715af8739700b1fa01bbce66af5228 authored over 10 years ago
coding style fixes, some PHPStorm inspection fixes, improved readability of code, few refactorings, all as part of our code cleanup strategy

5a7213667108f83e92c74216cb10f5cab6607ba6 authored over 10 years ago
removed lots of trailing whitespace

b4a90a419f509b5a50a0cb4e7ef5ce5df1f4b399 authored over 10 years ago
removed unused variables

67b68be0192bfdd02165b576aff18f6927ce8f98 authored over 10 years ago
Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement to use free/libre instead of open source

47bdc3300b64fe65438fb0fbfea5ff6a80806254 authored over 10 years ago
Refactor class Piwik_Commin to \Piwik\Core\Common

Notice that auto refactoring has created a nested namespace. Not sure this is what we want - so ...

de18c0dd83866e972df481a7e26b9fbb52104536 authored over 10 years ago
Refs #4200, tweaked docs for core/IP.php.

d694f879d08651a054f0d48558ccf6703d7b7438 authored over 10 years ago
Making sure at least WARNING messages are written on screen

4b6b272efae9c16f8ee0f05d1b644f2b7d1b8908 authored over 10 years ago
Applying phpstorm code style PSR refs #3771

1d854d7bb31553524b53961671a8c36e4e05af14 authored over 10 years ago
refs #4123 Removing unused imports (using phpstorm Inspections>Fix feature)

30a1489fba1ad336cfe9e882d157cb1194d0f312 authored over 10 years ago
Mass conversion of all files to the newly agreed coding standard: PSR 1/2

Converting Piwik core source files, PHP, JS, TPL, CSS

More info: http://piwik.org/participate/c...

0d8ead5f9ce13fde538ec75b9717b2e1f957b15a authored over 10 years ago
Refs #3741 PHP Namespace conversion continued: Tracker classes, renaming Unzip to Uncompress, Renaming Tracker/Referer to Tracker/Referrer, and few more

55f6bd63b6557eaa8cc6267dd1657006856cb04a authored over 10 years ago
Removing extra namespace \Core

48358e98aec8138110bf0f8ba662517f7898d255 authored over 10 years ago
Refactor class Piwik_Common to \Piwik\Core\Common

Notice that auto refactoring has created a nested namespace. Not sure this is what we want - so ...

422c3589708fdf38fcfe4fafc9859d992e1cde4c authored over 10 years ago
Remove compat code for PHP < 5.3. inet_pton/inet_ntop are available in Windows in PHP >= 5.3 so we don't need the compat code anymore.

refs #3741, #4113

d9e09f2f458e294c2158af06d8f82c6bcfd4f74d authored over 10 years ago
fixed undefined classes in doc blocks

f3375bca681bb5361c3c0c2af6ccda0fad73c42b authored over 10 years ago
Refs #4059 Work in progress: Conversion to use Namespaces of dozen more classes Removed many Piwik_ functions, in Piwik 2 it is best practise to use the methods calls instead

Todo: finish converting core/ classes + convert plugins/ classes to use \Piwik\Plugin namespace ...

308fb6a528abad16d9d3656074fa261d2cb90933 authored over 10 years ago
refs #4194 marked some classes and methods as API to test doc generation

bb5ca82fc1d6ac29f39e6d55c09abaf0a0bff630 authored over 10 years ago
Refactor Piwik_Config to \Piwik\Core\Config

2 steps required:

1. Refactor > Move > \Piwik\Core\Config (uncheck "Create new File")
2. Refact...

f458eabd129714bbe28feebdeb0dd04f9b044305 authored over 10 years ago
Reformat method visibility according to PSR-2

https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md#45-abs...

8aff1843e2de93483546f115a3031cce273d042b authored over 10 years ago
Extend AnonymizeIP to properly mask IPv6 addresses.

maskLength is now interpreted as "mask level" (0-4) and determines the number of bits to be mask...

a18acec657a72c2275a42d7031dddae406e32a87 authored over 10 years ago
Refs #4200, do not generate docs for CacheFile class, document @api methods in Common, remove unused Common:: var, remove Common::substr and Common::strlen.

90dc4c3af55d90411aa2bdc7bf3d4c0589ad262c authored over 10 years ago
Removing SVN $, since Git does not provide auto properties.

5a3119817e66a292c6d7cdfad4ab156a7f46d6e4 authored over 10 years ago
refs #1713 - merge dev branch to trunk (config class refactoring)

git-svn-id: http://dev.piwik.org/svn/trunk@5951 59fd770c-687e-43c8-a1e3-f5a4ff64c105

c614eb1e53df0ed819f366b84d1eac81ff1be9ff authored over 10 years ago
#2356

git-svn-id: http://dev.piwik.org/svn/trunk@4579 59fd770c-687e-43c8-a1e3-f5a4ff64c105

58d4582b49832d63a520ae39f87203d0af3498ad authored over 10 years ago
refs #2444 - relax isLocalReferer() test so that it's comparable to the Origin: test

git-svn-id: http://dev.piwik.org/svn/trunk@4754 59fd770c-687e-43c8-a1e3-f5a4ff64c105

03a8e7e5f7f77a95c73854a0002a65b66c0c2139 authored over 10 years ago
Safe fail when using these functions before the config file is ready (or reusing code outside of piwik)

git-svn-id: http://dev.piwik.org/svn/trunk@5503 59fd770c-687e-43c8-a1e3-f5a4ff64c105

352ecbe7f5780a9e6356c3357a76b5d72baf0a8a authored over 10 years ago
fixes #2622

git-svn-id: http://dev.piwik.org/svn/trunk@5119 59fd770c-687e-43c8-a1e3-f5a4ff64c105

5df734f65d135e61b637154347456633cb46408f authored over 10 years ago
fixes #2769 plus refactoring

git-svn-id: http://dev.piwik.org/svn/trunk@5431 59fd770c-687e-43c8-a1e3-f5a4ff64c105

4995bb3bfff9447b1428fc54b42c84e8ef9861f7 authored over 10 years ago
Fixes #3458, fixes #3515, improved geoip diagnostics/help & allowed IPv4-mapped IP addresses to be geo-located.

git-svn-id: http://dev.piwik.org/svn/trunk@7469 59fd770c-687e-43c8-a1e3-f5a4ff64c105

8c74b8b69a848a3913981625dcdda80b87c51b83 authored over 10 years ago
add isIPv4() method

git-svn-id: http://dev.piwik.org/svn/trunk@5913 59fd770c-687e-43c8-a1e3-f5a4ff64c105

97c91a6b3cc3f34f7afc763d4f1aacf2e42e8626 authored over 10 years ago
fixes #2622

git-svn-id: http://dev.piwik.org/svn/trunk@5126 59fd770c-687e-43c8-a1e3-f5a4ff64c105

1cd3bbde651af418e117dda7f4bed6319aa32436 authored over 10 years ago
refs #2359 - thanks Julien

git-svn-id: http://dev.piwik.org/svn/trunk@4621 59fd770c-687e-43c8-a1e3-f5a4ff64c105

c5ba83f3268d3349013b8fe9d36d4ecd51ddaab3 authored over 10 years ago
refs #1331, refs #3021 - remove #1331 hacks

git-svn-id: http://dev.piwik.org/svn/trunk@5988 59fd770c-687e-43c8-a1e3-f5a4ff64c105

0a44b74027573bbc6c7d2f362b00bcc82505656e authored over 10 years ago
quoting style

git-svn-id: http://dev.piwik.org/svn/trunk@4629 59fd770c-687e-43c8-a1e3-f5a4ff64c105

a80c6ee8ac3afea4bc0f15c0e22c3752cc586f4a authored over 10 years ago
refs #1713, refs #1331 - this should fix the one click update

git-svn-id: http://dev.piwik.org/svn/trunk@5980 59fd770c-687e-43c8-a1e3-f5a4ff64c105

603c1303bc833049ea03cad20bfda36a642bea93 authored over 10 years ago
fixes #2385

git-svn-id: http://dev.piwik.org/svn/trunk@4623 59fd770c-687e-43c8-a1e3-f5a4ff64c105

d181a4e4081cdf6219f68e4281dbebf898e72c81 authored over 10 years ago
refs #2622 - strtolower converts it to an empty string

git-svn-id: http://dev.piwik.org/svn/trunk@5120 59fd770c-687e-43c8-a1e3-f5a4ff64c105

b27b9ecee7045d0baf8277254443b14f7f000f20 authored over 10 years ago
moved another interface to its own file; fixed/added lot of doc blocks

git-svn-id: http://dev.piwik.org/svn/trunk@6325 59fd770c-687e-43c8-a1e3-f5a4ff64c105

95d84c227e4b3a047037e644046bcc5c028b7c1c authored over 10 years ago
fixes #1111 - add support for IPv6 addresses (tracking, anonymization, and exclusion) fixes #2095 - add new anonymization hook (pre-heuristics) fixes #2055 - optional IP filter when multiple proxies present fixes #1775 - SitesManager: supports CIDR notation for IP exclusion

Notes:
* Installer no longer checks for IPv6, so the related messages should be deleted from tr...

4f90c6668a6bb852ada9c77c8717700f8ee0aa8e authored over 10 years ago