Commit graph

18280 commits

Author SHA1 Message Date
Eric Mc Sween
7b4f7b4fb0 Upgrade logging and metrics modules
The new versions add the ability to send logs directly to Stackdriver.
2019-10-28 09:31:57 -04:00
Simon Detheridge
e0cf10a886 Fix typo, gague -> gauge 2019-10-28 12:34:04 +00:00
Eric Mc Sween
7be3c208fd Merge pull request #16 from overleaf/em-stackdriver
Add option to log to Stackdriver
2019-10-28 08:32:15 -04:00
Eric Mc Sween
b5f5a62886 Merge pull request #21 from overleaf/em-stackdriver
Stackdriver logging
2019-10-28 08:28:44 -04:00
Ersun Warncke
9319229657 move institutional email check to overleaf-integration
GitOrigin-RevId: 3e08b1e86bb14d90115df5337cab5c36bb6a69fc
2019-10-28 08:36:36 +00:00
Ersun Warncke
3be4883649 block sso registration for institutional sso domains
GitOrigin-RevId: f1ac63cf47bb41bd3f3603e38a50ed43c9f03650
2019-10-28 08:36:29 +00:00
Nate Stemen
9a838bd071 bump build script to 1.1.24 2019-10-25 13:23:13 -04:00
Nate Stemen
3dc7c357a5 add public link to contributing docs 2019-10-25 13:22:58 -04:00
Nate Stemen
bfa4cc0023 bump build script to 1.1.24 2019-10-25 12:59:47 -04:00
Nate Stemen
bec7e7c0e1 replace private link with public one 2019-10-25 12:59:28 -04:00
Nate Stemen
1d3a1d22be bump build script to 1.1.24 2019-10-25 12:50:45 -04:00
Nate Stemen
1620956e2e replace private link with public one 2019-10-25 12:50:33 -04:00
Nate Stemen
aba0d14edd bump build script to 1.1.24 2019-10-25 11:52:54 -04:00
Nate Stemen
4798589213 replace private link with public one 2019-10-25 11:51:58 -04:00
Nate Stemen
1982dfc1cb bump build script to 1.1.24 2019-10-25 11:03:45 -04:00
Nate Stemen
d194beb165 add public link to contributing docs 2019-10-25 11:01:37 -04:00
Eric Mc Sween
7b7b6d0793 2.3.0 2019-10-25 07:17:43 -04:00
Eric Mc Sween
364cdf1fdb 1.9.0 2019-10-25 07:15:35 -04:00
Timothée Alby
4d564d5cf1 Merge pull request #2258 from overleaf/ta-recurly-custom-fields
Recurly Custom Fields Tracking

GitOrigin-RevId: f29f56cf7d0dfa91a8f4152897ba6bd897cb6238
2019-10-25 08:38:57 +00:00
Timothée Alby
61243338be Merge pull request #2284 from overleaf/jel-user-settings
Add type="button" to prevent form submission

GitOrigin-RevId: 747d389ea52f5f32762f98bab3e647b14572c50d
2019-10-25 08:38:50 +00:00
Eric Mc Sween
166211b278 Stackdriver logging
When the environment variable STACKDRIVER_LOGGING is set to true, send
request logs in a format that Stackdriver knows how to interpret. Also,
set the log level accordint to the status code. 4xx responses are logged
as warnings and 5xx responses are logged as errors.
2019-10-24 22:05:12 -04:00
Eric Mc Sween
cb300b79ea Add option to log to Stackdriver
When the environment variable STACKDRIVER_LOGGING is set to true, logs
are sent to Stackdriver in addition to stdout.
2019-10-24 17:15:29 -04:00
Eric Mc Sween
905d65931a Small cleanup, satisfy linter, add prettier 2019-10-24 17:15:29 -04:00
Christopher Hoskin
87ab8b5c64 Merge pull request #135 from overleaf/csh-passthrough-texlive
Pass through TEXLIVE_IMAGE
2019-10-24 17:20:51 +01:00
Christopher Hoskin
e00b4e0c6a Pass through TEXLIVE_IMAGE 2019-10-24 16:58:14 +01:00
Christopher Hoskin
bef93667a5 Bump build script to 1.1.23 2019-10-24 16:57:08 +01:00
Simon Detheridge
07e4eb4dfb Add mechanism to expire old prometheus metrics
Adds a wrapper around the prometheus client, which keeps track of the
last time a metrics was accessed, and removes old ones once they have
not been accessed for a period of time.
2019-10-23 17:07:45 +01:00
Eric Mc Sween
06de9233b8 Merge pull request #2255 from overleaf/em-audit-log
Project audit logs

GitOrigin-RevId: 439add2959be140c4f56ce9b41b9f59d432c494d
2019-10-23 12:59:04 +00:00
Eric Mc Sween
f6e4be616c Merge pull request #2267 from overleaf/em-audit-log-admin
Show project audit logs in admin panel

GitOrigin-RevId: f0dae4621ed8d62c8d0424f5f8f5612dc16c3eb5
2019-10-23 12:58:57 +00:00
Eric Mc Sween
dad0b56813 Merge pull request #2244 from overleaf/em-ownership-transfer-frontend
Project ownership transfer for regular users

GitOrigin-RevId: 70782be0b1c59980dce0ad61ff2a7fbc1dbf0566
2019-10-23 12:58:52 +00:00
Eric Mc Sween
dbefd0366a Merge pull request #2253 from overleaf/ns-remove-enago
remove enago references

GitOrigin-RevId: 2397685f5504558c4a60ac2a6158a191abb8e81c
2019-10-23 12:58:48 +00:00
Eric Mc Sween
03bbd4f698 Merge pull request #2256 from overleaf/ta-event-tracking-cleanup
Event Tracking Cleanup

GitOrigin-RevId: 9c857b5d92f9f40a87c2aec2e76c99a3744fddad
2019-10-23 12:58:44 +00:00
Eric Mc Sween
082f790fb6 Merge pull request #2180 from overleaf/as-clean-up-makefile
Clean up how tests are run in Makefile

GitOrigin-RevId: 9b52ead16392cca09bdf7edc4365f10dc468ccf2
2019-10-23 12:58:39 +00:00
Eric Mc Sween
82ff646904 Merge pull request #133 from overleaf/em-send-output-files-on-timeout
Send output files on timeout
2019-10-23 08:21:24 -04:00
Ersun Warncke
9902edcfbb pr fixes
GitOrigin-RevId: 15a0371c285256b871a9c3e393077af1371d1e5c
2019-10-23 11:41:13 +00:00
Ersun Warncke
432f4d3a06 add/remove entitlement on v1
GitOrigin-RevId: 3171f77c8cb5376b26a8dc77d4f63630964678e0
2019-10-23 11:41:09 +00:00
Miguel Serrano
da7ef92668 Added modules/modules-*.js to sync with public repo (#2278)
GitOrigin-RevId: 86cc5a7f9129fa774faa63b7a52cd5569dda7a5a
2019-10-23 09:05:31 +00:00
Miguel Serrano
472581d714 Added webpack compilation scripts (#651) 2019-10-23 10:20:39 +02:00
Eric Mc Sween
dab6e9aa8e Send output files on timeout
The unconventional use of callbacks to return both an error and data
after compilation created a subtle bug where the output files were
dropped by the LockManager in case of an error such as a timeout.

This prevented the frontend to show error logs when a timeout occurs,
creating confusion among users.

We now attach the output files to the error so that they reach the
controller and are sent back to the web service.
2019-10-22 16:31:37 -04:00
Timothée Alby
480ca112ff Merge pull request #2277 from overleaf/ta-recurly-script-rate-limit
Recurly Script Rate Limit

GitOrigin-RevId: 726580a821daf3b3dc9c49f6739b79ddcae451b8
2019-10-22 12:07:10 +00:00
Alasdair Smith
0def0eaa41 Merge pull request #2261 from overleaf/as-remove-unused-deps
Remove unused vendored dependencies

GitOrigin-RevId: aa4cb3e95f9b19f69adf4eefca06bbcb5e222154
2019-10-22 11:01:49 +00:00
Simon Detheridge
ddb7c4270f Merge pull request #85 from overleaf/revert-81-sk-restricted-users
Revert "Track the `isRestrictedUser` flag on clients"
2019-10-22 10:25:34 +01:00
Brian Gough
45ebc42bf6 Merge pull request #2276 from overleaf/bg-reject-invalid-sessions
reject invalid sessions

GitOrigin-RevId: 5dc59609d01d7ad9bc29f9bf18faee1165d10689
2019-10-22 09:25:33 +00:00
Simon Detheridge
925a8651c1 Revert "Track the isRestrictedUser flag on clients" 2019-10-22 10:17:38 +01:00
Simon Detheridge
c31c2d292d Merge pull request #81 from overleaf/sk-restricted-users
Track the `isRestrictedUser` flag on clients
2019-10-22 09:45:00 +01:00
Brian Gough
8ffaa5b0ca Merge pull request #2271 from overleaf/bg-reject-invalid-sessions
reject invalid sessions with middleware

GitOrigin-RevId: 07ab8829cbed92bbcb90b2c5f2c9d049e05b77cd
2019-10-22 07:46:41 +00:00
Jessica Lawshe
28a4be296f Merge pull request #2251 from overleaf/jel-dashboard-institution-notifications
Institution SSO dashboard notifications

GitOrigin-RevId: c80117c2732fafdc9d09eed69db06a26ad28a663
2019-10-21 16:23:19 +00:00
Timothée Alby
9e651d77b2 Merge pull request #2270 from overleaf/bg-fix-lock-unit-test
add stub for metrics in unit test

GitOrigin-RevId: 2920a192f6bd4c892cead766d7393909bfcf8b12
2019-10-21 14:08:09 +00:00
Timothée Alby
de4205d6a0 Merge pull request #2273 from overleaf/ta-recurly-get-accounts
Add Script to Print CSV of all Paypal Customers

GitOrigin-RevId: 3aab5a29508a6848934a2858e0ce0edb9c7d6e71
2019-10-21 14:08:03 +00:00
Miguel Serrano
d29b3fa1f7 Overleaf CE Hotfix 2.0.1 (#126) 2019-10-21 11:48:01 +02:00