c511dae590
Collect validity information on dependencies we collect. (Will be used to verify preload hint URLs, but isn't yet)
Maks Orlovich
2016-08-29 16:10:28 -04:00
7f44c27b6b
pagespeed-libraries: add jqueryui 1.12.0
Jeff Kaufman
2016-08-29 11:46:18 -04:00
c60c641b60
locking cleanup: convert SharedMemCache to use ScopedMutex
Jeff Kaufman
2016-08-29 11:45:51 -04:00
6ab400cfc9
Add configurable timeout for all RedisCache operations.
Egor Suvorov
2016-08-29 11:23:25 -04:00
6d17fedfed
Make InstawebHandler cleanup its driver by default.
Steve Hill
2016-08-29 10:49:24 -04:00
5805a9b88b
Fix inflating fetch keeping the compressed(!) content-length after it gunzip'd its input. Suspect this is the root cause for travis flakiness.
Maks Orlovich
2016-08-26 16:10:08 -04:00
bc316c2689
Change CreateCentralController to return a managed pointer
Steve Hill
2016-08-26 13:31:22 -04:00
224f364f47
Refactor the way the sed replacements are constructed for hacking debug.conf.template into pagespeed.conf, using gmake functions. Add an ending delimiter to all the sed-patterns for customizing the configuration templates.
Joshua Marantz
2016-08-25 18:55:55 -04:00
fba6fb2915
Add missing gyp changes for gRPC 1.0/protobuf 3.0
Steve Hill
2016-08-25 17:14:47 -04:00
e6b0b62669
Use CURL for non-local stats test. Hopefully will improve error messages with flakes.
Steve Hill
2016-08-25 16:29:37 -04:00
3b434065f0
Hook up statistics for RedisCache.
Egor Suvorov
2016-08-25 16:04:51 -04:00
dfda93522d
caching: don't respect vary when cache-extending either
Jeff Kaufman
2016-08-25 16:03:54 -04:00
4f222b3946
Upgrade protobuf & gRPC to release versions.
Steve Hill
2016-08-25 16:02:03 -04:00
f63cc12e9a
Allow some more slop in image_rewrite stats checks. There is something racy about how we are capturing stats in system tests.
Joshua Marantz
2016-08-25 15:30:55 -04:00
4b7a7cc15e
Make NgxMessageHandler::FileMessage() add data into internal buffer as well (#1255)
Egor Suvorov
2016-08-25 15:10:46 -04:00
ac859adc4e
Make SystemMessageHandler store FileMessage()s to buffer as well.
Egor Suvorov
2016-08-25 14:22:50 -04:00
b029922629
Switch CentralControllerRpcServer to MessageHandler. LOG() macros don't appear to work.
Steve Hill
2016-08-25 13:31:02 -04:00
fd4fda305d
allow gzipped data to be passed back to the user in psx proxy mode fixup the logic for accepting gzip
Jeffrey Crowell
2016-08-25 11:12:51 -04:00
3e31b0c5d6
Make log entries by MockMessageHandler::FileMessage() available to MockMessageHandler::Dump().
Egor Suvorov
2016-08-25 10:13:34 -04:00
23fb7074ae
Add ScheduleRewriteRpcContext.
Steve Hill
2016-08-24 15:06:30 -04:00
ac79f1fb81
Specify max memory and eviction policy for Redis server in run_program_with_redis.sh
Egor Suvorov
2016-08-24 11:31:28 -04:00
7790a7d480
Add ExpensiveOperationRpcContext, the first client side gRPC piece.
Steve Hill
2016-08-23 17:08:25 -04:00
f8f32efb97
Test shm checkpointing. Relies on shm checkpointing implementation in mod_pagespeed. (#930)
Jeff Kaufman
2016-08-23 07:46:20 -04:00
784816de4f
Add configuration file support for load-testing redis.
Joshua Marantz
2016-08-23 00:48:15 -04:00
dc43eed4c3
Introduce TcpServerThreadForTesting::ShutDown(), which serves as destructor.
Egor Suvorov
2016-08-22 18:22:25 -04:00
a91139ead4
cache: checkpoint the shm cache to disk
Jeff Kaufman
2016-08-22 14:44:04 -04:00
a01eda70b5
pagespeed-libraries: add angular_material/1.1.0
Jeff Kaufman
2016-08-22 14:30:24 -04:00
1b8af53912
Add extra checks for Thread::Join()'s invariants.
Egor Suvorov
2016-08-20 20:55:48 -04:00
1bfbb9ffa2
Switch to using EqualsProto in this test, since I want to test even more fields (which I am about to actually set), and this feels like it would scale better (and would be annoying to review in main CL).
Maks Orlovich
2016-08-19 15:40:24 -04:00
acac4a8bc1
Make TcpServerThreadForTesting emit error messages instead of hanging.
Egor Suvorov
2016-08-19 10:41:53 -04:00
96938f395e
CollectDependenciesFilter: Implement handling of media= at top-level
Maks Orlovich
2016-08-19 10:31:40 -04:00
9ff2d6d012
Make Travis run unit tests for external cache servers as well (#1378)
Egor Suvorov
2016-08-18 16:24:35 -04:00
cf06873a88
Refactor SystemRewriteOptionsTest for easier testing of single-integer options.
Egor Suvorov
2016-08-18 13:51:43 -04:00
a6583c0114
Don't include bogus last_modified = 0 in InputInfo when the resource didn't have a last-modified header. (Noticed when storing these in dependencies tables).
Maks Orlovich
2016-08-18 12:40:42 -04:00
0efccd536b
Fix crash with !loaded() resources in CSS dependency collection Josh noticed in loadtest.
Maks Orlovich
2016-08-18 10:15:11 -04:00
0df83712e5
Do CSS indirect dependency collection in CollectDependenciesFilter, not CssFilter. This is cleaner code-wise, and makes it easier to do additional things like properly order dependencies, have different domain policy for preload hints, etc. (It's also not as expensive computationally as I first thought, since the CSS parser has code for just parsing imports) Testcase for this is TEST_F(PushPreloadFilterTest, IndirectCollected)
Maks Orlovich
2016-08-16 17:53:25 -04:00
4aa8e3d267
Create a .cc file for GrpcServerTest::listen_port_
Steve Hill
2016-08-05 14:35:23 -04:00
7a8d8ff452
Refactor system_caches_test.cc so it'll be easier to add Redis tests
Egor Suvorov
2016-08-05 12:03:01 -04:00
244ea2561e
Make dedup_image_filter work in cases where we generate IDs: don't produce duplicate IDs for all the duplicates.
Maks Orlovich
2016-08-04 16:12:12 -04:00
2af2035bbd
rewrite-options: don't turn on CoreFilters just because of query params (#1228)
Jeff Kaufman
2016-08-04 10:44:46 -07:00
7fd0f3ee2f
rewrite-options: don't turn on CoreFilters just because of query params (#1228)
Jeff Kaufman
2016-08-04 10:44:46 -07:00
7fd66dc92c
rewrite-options: don't turn on CoreFilters just because of query params
Jeff Kaufman
2016-08-04 11:25:15 -04:00
a715c52783
Only strip the content-encoding headers in ipro recorder if it is safe to ignore them (eg. don't drop Content-Encoding: gzip if the content is actually gzipped).
Jeffrey Crowell
2016-08-03 11:07:35 -04:00
922b7e757f
rewrite-domains: apply to static assets
Jeff Kaufman
2016-08-02 15:51:40 -04:00
ed5a43ef72
rewrite-domains: add test configuration for rewriting static assets (#1223)
Jeff Kaufman
2016-08-02 11:46:20 -07:00
6a3fed6641
caching: remove min_cache_ttl_ms option
Jeff Kaufman
2016-07-28 06:38:04 -04:00
06323ab4f9
insert-dns-prefetch: test against gstatic
Jeff Kaufman
2016-07-28 06:33:18 -04:00
8d4d798a9a
compiled-javascript: updated to closure compiler v20160713
Jeff Kaufman
2016-07-27 09:52:58 -04:00
eb6f7cf1eb
closure-compiler: unbreak builds
Jeff Kaufman
2016-07-27 09:50:27 -04:00
89efe99ad5
Update closure to v20160713.
Steve Hill
2016-07-26 14:38:18 -04:00
3088e26a63
Add RpcHandler for dealing with gRPC clients.
Steve Hill
2016-07-26 14:31:27 -04:00
9711b52270
set up a test subdir with cc:public (#1215)
Joshua Marantz
2016-06-16 09:54:06 -04:00
6707ec8cfd
pagespeed-libraries: added angularjs 1.2.30 and 1.5.8
Jeff Kaufman
2016-07-26 08:40:58 -04:00
aa85223f2e
Make RedisCache thread-safe.
Egor Suvorov
2016-07-25 15:17:58 -04:00
0535204985
Support srcset in CacheExtender as well.
Maks Orlovich
2016-07-25 13:45:10 -04:00
07a6647b65
respect purge requests when serving ipro requests from ngx_pagespeed (#1193)
Joshua Marantz
2016-05-11 11:08:04 -04:00
e005e5cfb6
Rollback CSS parser changes, as other clients need to be updated to them.
Maks Orlovich
2016-07-25 11:44:33 -04:00
c9c48bb542
Update of JS to some API changes and regen'd. (Export of change from a colleague involved in this stuff)
Maks Orlovich
2016-07-25 11:44:03 -04:00
31c4141c49
Prepare for goog.dom.TagName type change.
Jud Porter
2016-07-25 09:25:53 -04:00
7f6b088fb6Fix#1351: Make AprMemCacheTest and RedisCacheTest tests independent from each other
Egor Suvorov
2016-07-22 15:08:54 -04:00
c15bc21fcd
system-tests: give more information when fetch-until fails
Jeff Kaufman
2016-07-22 09:09:07 -04:00
3b99f98008
Add more tests and improve logging in RedisCache
Egor Suvorov
2016-07-21 19:34:46 -04:00
787239d429
url-valued-attributes: tests for mod_pagespeed/f2f0075
Jeff Kaufman
2016-06-24 16:54:23 -04:00
675c24d2f4
Add InMemoryCache implementation and tests (partially in 74e2f95)
Egor Suvorov
2016-07-21 16:03:06 -04:00
2e44c630db
Refactor run_program_with_memcached.sh and run_program_with_redis.sh
Egor Suvorov
2016-07-21 15:47:26 -04:00