stable
Clone or download
Read-only
This is part of request #8756 Revoked token should no longer be usable You can configure the number of credentials kept by repo and how long a cached credential can be used. For now, the cache lifetime is configurable but does nothing. Reviewers, do not forget to redeploy (or symlink) Tuleap.pm to /usr/share/perl5/vendor_perl/Apache/Tuleap.pm You can change default values in the database but you need to refresh the SVNRoot file by hand Change-Id: I8b0d6922d3654e71cdef8b2936ac24472100929f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/ldap/include/LDAP_SVN_Apache_ModPerl.class.php | +6 | −3 | Go to diff View file |
M | plugins/ldap/include/ldapPlugin.class.php | +5 | −1 | Go to diff View file |
M | plugins/ldap/tests/LDAP_BackendSVNTest.php | +5 | −4 | Go to diff View file |
M | src/common/autoload.php | +5 | −2 | Go to diff View file |
M | src/common/backend/BackendSVN.class.php | +19 | −2 | Go to diff View file |
M | src/common/event/Event.class.php | +1 | −0 | Go to diff View file |
M | src/common/svn/SVN_Apache_Auth_Factory.class.php | +21 | −9 | Go to diff View file |
M | src/common/svn/SVN_Apache_ModPerl.class.php | +32 | −13 | Go to diff View file |
A | src/common/svn/cache/ParameterDao.php | +32 | −0 | Go to diff View file |
A | src/common/svn/cache/ParameterRetriever.php | +69 | −0 | Go to diff View file |
A | src/common/svn/cache/Parameters.php | +43 | −0 | Go to diff View file |
M | src/db/mysql/database_initvalues.sql | +12 | −6 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +6 | −1 | Go to diff View file |
A | src/db/mysql/updates/2016/201611031112_add_svn_cache_parameter_table.php | +80 | −0 | Go to diff View file |
M | src/utils/svn/Tuleap.pm | +13 | −0 | Go to diff View file |
M | tests/simpletest/common/backend/BackendSVNTest.php | +13 | −12 | Go to diff View file |
M | tests/simpletest/common/svn/SVN_Apache_Auth_FactoryTest.php | +7 | −3 | Go to diff View file |
M | tests/simpletest/common/svn/SVN_Apache_ModPerlTest.php | +25 | −26 | Go to diff View file |
M | tests/simpletest/common/svn/SVN_Apache_SvnrootConfTest.php | +5 | −4 | Go to diff View file |
A | tests/simpletest/common/svn/cache/ParameterRetrieverTest.php | +74 | −0 | Go to diff View file |