2021-01-26 11:27:14 +03:00
|
|
|
*node_modules
|
2021-01-20 23:00:00 +03:00
|
|
|
packages/server/.env
|
2022-08-04 15:21:39 +03:00
|
|
|
packages/server/dist
|
2021-01-20 23:00:00 +03:00
|
|
|
packages/frontend/dist
|
2022-10-05 15:59:11 +03:00
|
|
|
packages/frontend/profiler
|
2021-01-20 23:00:00 +03:00
|
|
|
packages/viewer/dist
|
2022-04-07 18:00:09 +03:00
|
|
|
packages/objectloader/dist
|
2022-10-10 16:32:23 +03:00
|
|
|
packages/*/dist
|
|
|
|
packages/*/dist-esm
|
|
|
|
packages/*/dist-cjs
|
2021-01-22 12:43:31 +03:00
|
|
|
*.env
|
2022-03-17 14:08:27 +03:00
|
|
|
*.env.test
|
2023-08-09 16:46:14 +03:00
|
|
|
*.envrc
|
2021-04-23 17:31:50 +03:00
|
|
|
*.crt
|
2020-04-09 13:07:44 +03:00
|
|
|
.nyc_output
|
2020-05-24 22:16:51 +03:00
|
|
|
coverage/
|
2021-03-15 12:47:24 +03:00
|
|
|
.idea
|
2021-01-25 16:40:04 +03:00
|
|
|
|
|
|
|
**/.DS_Store
|
2021-01-29 15:15:29 +03:00
|
|
|
.nvmrc
|
2022-04-07 12:37:30 +03:00
|
|
|
.npmrc
|
2021-02-25 13:24:13 +03:00
|
|
|
|
|
|
|
packages/viewer/example/*.js
|
|
|
|
packages/viewer/example/*.js.map
|
2021-06-07 10:34:30 +03:00
|
|
|
packages/frontend/schema.graphql
|
2021-09-08 13:32:03 +03:00
|
|
|
.tool-versions
|
2021-10-14 17:49:31 +03:00
|
|
|
|
2022-01-13 21:44:25 +03:00
|
|
|
packages/server/reports*
|
|
|
|
|
2022-02-09 21:42:55 +03:00
|
|
|
**/venv/**
|
2022-06-16 12:31:03 +03:00
|
|
|
**/.venv/**
|
|
|
|
*.pyc
|
2022-04-13 10:21:24 +03:00
|
|
|
**/start/
|
|
|
|
|
|
|
|
# Profiler output
|
2022-04-14 10:35:34 +03:00
|
|
|
events.json
|
Rate limit all endpoints (#1213)
* Demonstration of bug to test when middleware added
- Adding middleware, even no-op, causes test to fail
* Make middleware async, but introduce delay.
Revert test back to original.
* Revert tests
* Add a 1ms sleep to the test to reduce likelihood of flakiness
* Rate limiting on all express endpoints using middleware
* Adds all configuration for existing rate limited endpoints
* It is helpful to add the package to yarn first
* Implements respectsLimits using Redis rate limiter
* Fix for test `Should rate-limit user creation`
- if rate limit error, post to `/auth/local/register` will return a 429 status code
* All rate limiting provided by new ratelimiter.ts
* Consolidate typescript interfaces
* Amend signature of function to require source to be passed in, and not try to guess it from the request
* Rename respectsLimits to isWithinRateLimits
* Throw within catch of Promise
* Replace rejectsRequestWithRatelimitStatusIfNeeded throughout code
* Sending rate limit response should deal with other types of error
- Sentry notified of the error
* Express middleware rate limits by a 3 second burst or a daily rate
- Provide action when generating 429 response
* Prevent DOS of Redis
* Add 'Retry-After' for all cases when responding with 429 status code
- default of 1 day, but dynamic based on available information
* Generate rate limiters once, on init
- Improved and consistent handling of exit from functions
- fixed environment variable names
* WIP Refactor rate limiting setup
Co-authored-by: Iain Sproat <iainsproat@users.noreply.github.com>
* WIP: fixed references, now runs but tests fail
* Use getSourceFromRequest where possible
* WIP: unit tests for rate limiter
* Unit tests for ratelimiter
* feat(IFC): WIP IFC parser improvements
* Revert "feat(IFC): WIP IFC parser improvements"
This reverts commit 093089a2c4d107ec4496b38cf470a8a7efd4dd6c.
* refactor authz, rate limiting middleware to global
Co-authored-by: Kristaps Fabians Geikins <fabis94@users.noreply.github.com>
Co-authored-by: Iain Sproat <iainsproat@users.noreply.github.com>
* invites tests fix
* fix(server ratelimiter): export public interfaces
* Unit test for rate limiter use in memory rate limiter
- in memory rate limiter is configured with zero limit by default
* Fixed #1219 (#1221)
* WIP: improve auth test for rate limiting user creation
* ci(circleci config): publishing was broken when main branch was tagged (i.e. for releases) (#1224)
* Gitignore CPU profiles
* All tests are now passing locally
* Fixed an issue in the frontend which was causing the views not to work. Fixed an issue with object selection camera animation where the dolly lerp factor was much too high for smooth animation (#1225)
* feat(structured logging): implements structured logging for backend (#1217)
* each log line is a json object
* structured logging allows logs to be ingested by machines and the logs to be indexed and queried addresses #1105
* structured logging allows arbitrary properties to be appended to each log line, and ingestion of logs to remain robust
* Structured logging provided by `pino` library
* Add `express-pino-logger` dependency
* Remove `debug`, `morgan`, and `morgan-debug` and replace with structured logging
* `console.log` & `console.error` replaced with structured logging in backend
* Remove `DEBUG` environment variable and replace with `LOG_LEVEL`
- Note that there is a test which reads from a logged line on `stdout`. This is not robust, it would be better to use the childProcess.pid to look up the port number.
* Log errors at points we explicitly send error to Sentry
* Amend indentation of a couple of log messages to align indentation with others
* Revert "feat(structured logging): implements structured logging for backend (#1217)" (#1227)
This reverts commit 84cb74e8b3dab22528d5046f2cc6751897e14df8.
* Move error to core/errors
- augmented typescript types moved to type-augmentations
* Added a missing wait in the screenshot generation loop (#1228)
* refactor(server rest api): remove duplicate rate limit requests
* feat(server rate limits): increase rate limits for the upload endpoints
* chore(server rate limits): final cleanup
Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
Co-authored-by: Iain Sproat <iainsproat@users.noreply.github.com>
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@users.noreply.github.com>
Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
Co-authored-by: Alexandru Popovici <alexandrupopoviciioan@gmail.com>
2022-11-29 19:06:11 +03:00
|
|
|
*.cpuprofile
|
2022-04-14 10:35:34 +03:00
|
|
|
|
|
|
|
# Optional eslint cache
|
2022-05-10 11:51:12 +03:00
|
|
|
.eslintcache
|
|
|
|
|
2022-05-19 20:53:07 +03:00
|
|
|
.pnp.*
|
|
|
|
.yarn/*
|
|
|
|
!.yarn/patches
|
|
|
|
!.yarn/plugins
|
|
|
|
!.yarn/releases
|
|
|
|
!.yarn/sdks
|
|
|
|
!.yarn/versions
|
|
|
|
|
2022-05-24 12:12:30 +03:00
|
|
|
*yarn-error.log
|
2022-08-02 13:39:51 +03:00
|
|
|
|
|
|
|
# VSCode log files
|
|
|
|
packages/server/.vscode/*.log
|
2022-08-11 11:00:01 +03:00
|
|
|
|
|
|
|
# ST workspace files
|
|
|
|
./speckle.sublime-project
|
2022-10-05 15:59:11 +03:00
|
|
|
./speckle.sublime-workspace
|
2022-10-25 15:41:00 +03:00
|
|
|
|
|
|
|
# GitGuardian
|
|
|
|
.cache_ggshield
|
2023-05-08 10:47:01 +03:00
|
|
|
|
|
|
|
storybook-static
|
2023-05-19 16:57:28 +03:00
|
|
|
build-storybook.log
|
2023-05-30 12:35:15 +03:00
|
|
|
ensure-tailwind-deps.mjs.lock
|
2023-06-13 13:24:50 +03:00
|
|
|
vite.config.ts.timestamp-*.mjs
|
|
|
|
introspected-schema.graphql
|
2023-12-01 21:23:01 +03:00
|
|
|
|
|
|
|
# Deployment
|
|
|
|
kubeconfig
|
|
|
|
minio-data/
|
|
|
|
postgres-data/
|
|
|
|
redis-data/
|
2024-06-11 14:12:13 +03:00
|
|
|
|
|
|
|
.tshy-build
|