Commit graph

64 commits

Author SHA1 Message Date
Jakob Ackermann
ccb0841a50 Merge pull request #12281 from overleaf/jpa-tweak-event-segmentation-filter
[web] tweak analytics event segmentation filter

GitOrigin-RevId: e00fef0ac74edfd7fbace33bf9289f1c6f905b57
2023-03-20 09:03:16 +00:00
Eric Mc Sween
75abea72b0 Merge pull request #11492 from overleaf/em-rate-limiter
Move all remaining rate limiters to rate-limiter-flexible

GitOrigin-RevId: 163ab2aebecb281057e552dc75591dd02028990c
2023-01-31 09:03:44 +00:00
Miguel Serrano
8b723c5363 Merge pull request #11160 from overleaf/msm-replace-uuid-crypto
Replace `uuid`/`node-uuid` with `node:crypto`

GitOrigin-RevId: 1be4f09c4681edac7e8bc58af3b5726d0d5ee322
2023-01-18 15:07:58 +00:00
Miguel Serrano
900c5b29cb Loose regex filter for analytics events (#10329)
Allows `Date` objects being sent as attribute values
and spaces in event segmentation values

GitOrigin-RevId: ce3bf5023941a011ba612e9a3a17b92f76f9860b
2022-11-08 09:03:31 +00:00
Alasdair Smith
47b3b72076 Merge pull request #9938 from overleaf/revert-9935-revert-9901-as-td-cm6-perf-editing-sessions
Bring back reporting of CM6 perf measurement in editing sessions

GitOrigin-RevId: 236c6e23f09a2ddaebf1c231ed77404c4b64179d
2022-10-13 08:04:05 +00:00
Alasdair Smith
82f0792e68 Merge pull request #9935 from overleaf/revert-9901-as-td-cm6-perf-editing-sessions
Revert "Connect CM6 perf measurement to editing sessions"

GitOrigin-RevId: b9793b47d6965a5026c0f770105abb9e07a09a59
2022-10-12 08:04:14 +00:00
Alasdair Smith
980b62aa39 Merge pull request #9901 from overleaf/as-td-cm6-perf-editing-sessions
Connect CM6 perf measurement to editing sessions

GitOrigin-RevId: 04d846fb012477994c069da0630306ea7cf57723
2022-10-12 08:03:43 +00:00
Jakob Ackermann
daa9302fd3 Merge pull request #8895 from overleaf/jpa-allow-empty-segmentation-val
[web] allow empty event segmentation values again

GitOrigin-RevId: a02fd5085697bf7e2f2d4a5c2dc93dfebcd6e140
2022-07-19 08:03:04 +00:00
Timothée Alby
8f41431719 Merge pull request #8620 from overleaf/ta-analytics-attributes-validate
Ignore Invalid Analytics Attributes

GitOrigin-RevId: 6e3ffc1dcc6088966480ad0704a988174e4fd3fb
2022-07-08 08:03:10 +00:00
Jakob Ackermann
b19c56ccaf Merge pull request #8396 from overleaf/jpa-split-test-mongo-user
[web] implement split test assignment based on mongo user

GitOrigin-RevId: d3e2dff6a5e925cfd0426e9ebfeb7b64dc803f42
2022-06-16 08:03:20 +00:00
Eric Mc Sween
e0d91eaa26 Merge pull request #7906 from overleaf/em-downgrade-logs
Downgrade all INFO logs to DEBUG

GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
2022-05-17 08:05:26 +00:00
June Kelly
4e11fa73cb Merge pull request #7106 from overleaf/ab-analytics-controller-async
Convert AnalyticsController to async/await

GitOrigin-RevId: a38194b2970a15b06fe6a3d95048681d7927bfc3
2022-03-24 14:58:47 +00:00
June Kelly
9702346edc Merge pull request #6628 from overleaf/jk-heartbeat-editor-type-metadata
Add editor metadata to editing-session pings

GitOrigin-RevId: f42be772c13f71380d59bae7c447645fe0e16a17
2022-03-02 09:02:34 +00:00
Alexandre Bourdin
fa6bc3fc7b Merge pull request #5777 from overleaf/ab-utm-term-content
Track utm_content param and replace utm_term in utm-tags property

GitOrigin-RevId: 868274a3dc4f44705f1e8340592ee05acc471b19
2021-11-23 09:02:43 +00:00
Eric Mc Sween
5fc6d7dcb3 Merge pull request #5740 from overleaf/em-gcp-logging-web
Improve GCP logging for web

GitOrigin-RevId: b304c87a3fe46c29189f665eb3daf22c23d6eb8f
2021-11-11 09:03:09 +00:00
Alexandre Bourdin
05c1ecdde0 Merge pull request #5679 from overleaf/ab-utm-tracking-fix
UTM Tracking

GitOrigin-RevId: 8e9f8372affce72b35f47786de40def77c08a514
2021-11-09 09:05:05 +00:00
Alexandre Bourdin
115436925c Merge pull request #5668 from overleaf/revert-5595-ab-utm-tracking
Revert "UTM Tracking"

GitOrigin-RevId: dbed61448496ff8e990eb9a3712831ef1a3376fe
2021-11-03 09:04:26 +00:00
Alexandre Bourdin
69c751ce39 Merge pull request #5595 from overleaf/ab-utm-tracking
UTM Tracking

GitOrigin-RevId: 9fff6dad166875c94dbfad80770e9ad32f883418
2021-11-03 09:03:58 +00:00
Eric Mc Sween
e5676a9643 Merge pull request #5648 from overleaf/em-revert-gcp-logging-web
Revert "Improve GCP logging for web"

GitOrigin-RevId: 92d446baf62108da1df92146eec12a2fe69d30ee
2021-11-02 09:03:29 +00:00
Eric Mc Sween
641b10cceb Merge pull request #5632 from overleaf/em-gcp-logging-web
Improve GCP logging for web

GitOrigin-RevId: 1198fab2e821a55563058171cfa435605216e337
2021-11-02 09:03:22 +00:00
Jakob Ackermann
a6f05109a3 Merge pull request #5352 from overleaf/jpa-no-var
[misc] fix eslint violations for `no-var`

GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
2021-10-27 08:03:00 +00:00
Alexandre Bourdin
2037adf808 Add new scheduled-jobs queue dedicated to delayed jobs (#5496)
* Add new scheduled-jobs queue dedicated to delayed jobs

* Extract createScheduledJob and enqueue to a dedicated QueueHandler

* Queues cleanup & refactoring (review suggestions)

GitOrigin-RevId: f7b9380388430e878def83cd44e7d086d0fb92ad
2021-10-26 08:03:17 +00:00
Eric Mc Sween
fdb5386b85 Merge pull request #5547 from overleaf/em-ta-analytics-proxy-fix
Fix how AnalyticsProxy generates the URL

GitOrigin-RevId: 272e7ea92d1aa41f7390d39c590336a23dba3708
2021-10-22 08:04:20 +00:00
Jakob Ackermann
358e8b7424 Merge pull request #5349 from overleaf/jpa-no-depreacted-api
[misc] fix eslint violations for node/no-depreacted-api

GitOrigin-RevId: 0f7d64984da9e789c4ab95381db34afb89fa1a94
2021-10-21 08:03:18 +00:00
Alexandre Bourdin
121ee4b72e Merge pull request #5460 from overleaf/ab-skip-invalid-identify
Skip identify event when analyticsId is invalid

GitOrigin-RevId: 1fd9c54f59ad0b6196875f9826021e95752eddf0
2021-10-15 08:03:16 +00:00
Timothée Alby
e56abc42df Merge pull request #5156 from overleaf/ta-registration-properties-cleanup
Registration Sources User Properties Cleanup

GitOrigin-RevId: 114f8a8a2102b6a1045594aef96d25aa530f9f9b
2021-10-05 08:03:41 +00:00
Timothée Alby
7c384d5f26 Merge pull request #5330 from overleaf/ab-analytics-middleware-passport-id
Fix passport user id reference in analytics ID middleware

GitOrigin-RevId: 7d237a6f358b5632c672aafd6e1e72ab53d8650f
2021-10-05 08:03:37 +00:00
Jakob Ackermann
ca8b55def3 Merge pull request #5325 from overleaf/ab-identify-fix
Skip identify job when userId and analyticsId are the same ObjectID

GitOrigin-RevId: 150ac4aab6a33887c0b5ffba8c66cb9ec83f5c88
2021-10-04 08:03:41 +00:00
Alexandre Bourdin
4d2b6563d8 Merge pull request #5290 from overleaf/ab-undefined-analytics-id
Fix case where analyticsId is unset for user with legacy sessions

GitOrigin-RevId: c98a6e492aad7821967b7f48b8a282f8d6569335
2021-10-01 08:03:33 +00:00
Alexandre Bourdin
92f34757f7 Merge pull request #5302 from overleaf/ta-identify-identity
Skip Identify Job When userId Equal analyticsId

GitOrigin-RevId: 11eac0905dd0060df3556484db7ba301aba55375
2021-10-01 08:03:26 +00:00
Alexandre Bourdin
4d7e6d2707 Merge pull request #5080 from overleaf/ab-queues-bq-mp-retry
Split analytics queues into topics to retry failed insertions for each platform independently

GitOrigin-RevId: 4dacbf898359b4039b64ae07ee2dc1f8986d430b
2021-10-01 08:03:15 +00:00
Alexandre Bourdin
01588adec7 Merge pull request #5278 from overleaf/ab-analytics-id-old-sessions-fix
Backfill analyticsId for old sessions

GitOrigin-RevId: daecec07cf3cf0d40cab8c875528f7ebd667bd8b
2021-09-30 08:03:34 +00:00
Timothée Alby
9e5dae3443 Merge pull request #5153 from overleaf/ta-registration-properties
Rework Referrer-From User Property

GitOrigin-RevId: f1b91616e2a9b93f3c3944890d96e735c563c237
2021-09-24 08:03:02 +00:00
Alexandre Bourdin
dd018be499 Merge pull request #5064 from overleaf/ab-analytics-smoke-check
Add null check for smoke test user in analytics manager

GitOrigin-RevId: 2ece12f1a674943577ecee272435df535225ec9e
2021-09-13 08:03:17 +00:00
Alexandre Bourdin
3577f25ba2 Merge pull request #5051 from overleaf/ab-web-mono-analytics-id
Analytics ID Support (v2)

GitOrigin-RevId: 707f62697f6566d8aad22e424684d97f7bc147df
2021-09-13 08:03:14 +00:00
Alexandre Bourdin
5b8de28250 Merge pull request #5050 from overleaf/revert-4639-ab-web-mono-analytics-id
Revert "Analytics ID support"

GitOrigin-RevId: cc5da762ba1bafcbcea65ed0dd86342896b6d1eb
2021-09-10 08:04:47 +00:00
Alexandre Bourdin
6dd641e0e6 Merge pull request #4639 from overleaf/ab-web-mono-analytics-id
Analytics ID support

GitOrigin-RevId: 820a6c0f4d19f046f6c791ce4dc64dbc80748924
2021-09-10 08:04:31 +00:00
June Kelly
8b9d202518 Merge pull request #4655 from overleaf/jel-gallery-event
Fix onclick event propagation

GitOrigin-RevId: bfcc3840e1768ed0f91e5fefbaee1738e36f6752
2021-08-13 12:57:55 +00:00
Alexandre Bourdin
9468e5cb4f Merge pull request #4338 from overleaf/ab-session-manager
Extract functions from AuthenticationController to SessionManager

GitOrigin-RevId: 86870ce03a762e1a837dcf493759e8851e759883
2021-07-28 12:36:22 +00:00
Jakob Ackermann
5e773ce950 Merge pull request #4101 from overleaf/ae-settings-module
Migrate from `settings-sharelatex` to `@overleaf/settings`

GitOrigin-RevId: 9a298ba26382180c1351683c5fddc9004418c1e6
2021-07-08 02:08:28 +00:00
Alexandre Bourdin
40c7f2dae1 Merge pull request #4219 from overleaf/ab-group-subscription-user-property
Send group subscription user property

GitOrigin-RevId: d1033ab4e0b5061b9d4a781e319d6b690f7e6154
2021-07-06 02:05:54 +00:00
Alexandre Bourdin
a0dd439e2c Merge pull request #4256 from overleaf/ab-analytics-manager-nullcheck-userid
Add null checks on userId to all AnalyticsManager functions

GitOrigin-RevId: ca4d50c9309aadf0145fd5135bbdecb7d297ea6f
2021-06-25 02:06:12 +00:00
Timothée Alby
0ed07ec0b6 Merge pull request #4214 from overleaf/ta-inbound-register
Track Inbound Properties on Registration

GitOrigin-RevId: b7ff041ef6a2401683bdbf55756f332d78768f11
2021-06-22 02:07:34 +00:00
Shane Kilkelly
c0d3b776e2 Merge pull request #4166 from overleaf/sk-analytics-rate-limit
Analytics: add rate-limiter to analytics api
GitOrigin-RevId: c58843a2c693b5276e962cc23d701b960e82f186
2021-06-12 02:08:27 +00:00
Alexandre Bourdin
e2d116e8be Merge pull request #4149 from overleaf/ab-user-registration-properties
Track registration sources as user properties

GitOrigin-RevId: 1c1346d092808aff49c89c1659f42674506a919d
2021-06-11 02:05:50 +00:00
Jakob Ackermann
95c83866c5 Merge pull request #4112 from overleaf/tm-private-api-basic-auth
Add requireBasicAuth middleware and refactor httpAuth to use it

GitOrigin-RevId: 7f68c0dc4a40102bfe4a97711def517e465ec7fd
2021-06-01 02:05:46 +00:00
Timothée Alby
7957c2eae7 Merge pull request #4050 from overleaf/ta-set-user-property
Send 'created-at' User Property

GitOrigin-RevId: 2a6c8356f0a64ffbc55eac485bb80c38b326f683
2021-05-20 02:05:08 +00:00
Alf Eaton
1be43911b4 Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Jessica Lawshe
517485d7ea Merge pull request #3914 from overleaf/jel-graphs-cached-licenses
Use cached affiliation data

GitOrigin-RevId: b8ae2b871cc1f3a11e61dd449b4d1ddc7835860d
2021-04-27 02:09:28 +00:00
Alf Eaton
1ebc8a79cb Merge pull request #3495 from overleaf/ae-prettier-2
Upgrade Prettier to v2

GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00