Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #1

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

update #1

wants to merge 32 commits into from

Conversation

n01boy
Copy link

@n01boy n01boy commented May 19, 2020

No description provided.

abdonrd and others added 30 commits December 16, 2019 18:38
Node 8 on App Engine is deprecated. 

Node 12 is the latest version, and should be GA soon.
* Auto create browser when disconnected

* Update how to create the renderer

* Remove headless

* Fix linter error

* Remove onRendererCreated callback

* Add missed await
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Move @types/fs-extra to dev dep

* Move @types/express to dev dep

* Remove unused uuid dep

* Update dependencies
* upgrade ava to 3.8.1

* upgrade nodejs version

* add option recursive of mkdirSync

* rerun ci
* Fix intermittent refreshCache refreshes cache test (#381)

* Update FileSystemCache refreshCache test (#381)

Co-authored-by: Ted Kuo <[email protected]>
Base url used as root for relative paths and should contain whole path without query string.
E.g. there is `<link href="styles/widget.css" rel="stylesheet">` on page `https://example.tld/project/`. Relative link will be `https://example.tld/styles/widget.css` but should be `https://example.tld/project/styles/widget.css`
This works even if base url will be `https://example.tld/project/index.html`
* Adds server setup docs for each web server

* Explains expressjs and nginx setup

* Removes apache from server setup for now

* Fixes the nginx sample config

* Adds Apache2 docs

* Fixes typo in apache.md

Co-authored-by: martinsplitt <[email protected]>
* Adds server setup docs for each web server

* Explains expressjs and nginx setup

* Removes apache from server setup for now

* Fixes the nginx sample config

* Adds Apache2 docs

* Fixes typo in apache.md

* Improves server docs

Co-authored-by: martinsplitt <[email protected]>
* Adds test for base href, fixes subfolder href

* Fixes the base href test overmatching

Co-authored-by: martinsplitt <[email protected]>
* Updated memory-cache.ts and added notes to docs and readme

* datastore max logic added

* Added config for datastore caching method, including max number

* Added ability to disable cacheMaxEntries & cacheDurationMinutes by specifying -1 values

* Change datastore and memory cache methods to use the same cacheConfig values as filesystem cache method to unify config methods

* Config instructions updated

* Maximum Cache Entries added to filesystem

* Code formating cleanup - missing semicolons

* filesystem cache changed to single file rather than 3 files in a Dir
Documentation updated to reflect

* Changed to use an expires field instead, in line with filesystem / datastore

* let dirsDate changed to const dirsDate

Co-authored-by: Dave Smart <[email protected]>
Co-authored-by: Martin Splitt <[email protected]>
* Fixes .travis.yml

* Update .travis.yml

* Fix incorrect cache config in travis.yml

* Improves robustness of filesystem cache

Co-authored-by: martinsplitt <[email protected]>
* Add API endpoint to invalidate cached URL

Added an endpoint GET `/invalidate/<url>` to remove entries from
cache.

TODO Fix test cases

* Fix Unit Tests for invalidating cache

* Added ability to pass a mock configuration object for tests
* Fixed unit tests to use cache

Co-authored-by: Martin Splitt <[email protected]>
* Fixes security issue with AppEngine deployments

* Adjusts appengine fix

Co-authored-by: martinsplitt <[email protected]>
* Fixes .travis.yml

* Update .travis.yml

* Fix incorrect cache config in travis.yml

* Fixes failing memory-cache test

Co-authored-by: martinsplitt <[email protected]>
dwsmart and others added 2 commits June 9, 2020 16:34
* Add API invalidate filesystem cache (#420)

* Adds missing attributes to mock_config for 'endpoint for invalidating memory cache...' which was preventing build.

* Updates documentation to reflect invalidate API endpoint added to all cache types (#420)

* test for filesystem cache and invalidate endpoint added (#420)

* leftover console log removed.

* filesystem cache test uses os default temp dir, as per default settings.

* Adds cache removal to filesystem-cache-test & fixes caches & serves test

* Fixes cache removal + caches & serves test

* Code formatting clean up

* Erroneous replace for /render/ left in invalidate function.

* fixes to src/filesystem-cache.ts & src/test/app-test.ts to properly handle invalidate URLs

Co-authored-by: Martin Splitt <[email protected]>
@AVGP AVGP deleted the master branch July 2, 2020 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.