Commit Graph

  • a6fff2d4e4 Check for a large response body, rather than exact match on the first few bytes. Shane Kilkelly 2015-09-08 11:50:43 +01:00
  • 1c9f9274a9 Remove uneeded and now wrong Sentry error capturing James Allen 2015-09-08 11:48:39 +01:00
  • c6a81c94eb Test the cacheWarm option for preview. Shane Kilkelly 2015-09-08 11:47:43 +01:00
  • b8042ae771 Add an acceptance test that uses a pdf file. Shane Kilkelly 2015-09-08 11:43:19 +01:00
  • 297ad78b1e Add an acceptance test to check the preview endpoint doesn't time out. Shane Kilkelly 2015-09-08 10:32:41 +01:00
  • da5a538095 Fix calls to PersistorManager.getFileStream which were missed in initial refactor. Shane Kilkelly 2015-09-08 09:23:08 +01:00
  • 25b9a9be19 Upgrade Ace to 'package 11.07.15' James Allen 2015-09-07 17:04:05 +01:00
  • 9cfa4b3f84 Don't put docs which are already in s3 through archive job Henry Oswald 2015-09-07 14:07:37 +01:00
  • ae75b855b4 added failing test for trying to archive load of docs which are already in s3 Henry Oswald 2015-09-07 14:06:20 +01:00
  • 5fdb50958e Fix logs dropdown to work with Angular 1.3 James Allen 2015-09-03 13:13:28 +01:00
  • 95db287fef Fix more dropdown menu in project list for new Angular James Allen 2015-09-03 13:01:19 +01:00
  • c64891a61b Fix folder dropdown to work with new Angular James Allen 2015-08-21 20:38:21 +01:00
  • aa06eb55b7 Merge branch 'master' into angular_1.3.15 James Allen 2015-09-03 12:52:08 +01:00
  • c5a8a249c6 add unarchive acceptance tests Henrique Dias 2015-09-03 08:36:32 -03:00
  • da9e7dc7e1 init archive acceptance tests Henrique Dias 2015-09-02 18:47:34 -03:00
  • 7de103af68 fix unit scope error Henrique Dias 2015-09-02 17:00:32 -03:00
  • d2b1243701 split MongoAWS files Henrique Dias 2015-09-02 15:45:29 -03:00
  • 0c16fbed88 add more unit tests Henrique Dias 2015-09-02 15:39:19 -03:00
  • 7446572ed9 Group online users into dropdown menu when more than 3 James Allen 2015-09-02 14:31:52 +01:00
  • 34c8f22dd7 Allow multiple collaborators to be added at once with a list of emails James Allen 2015-09-02 12:20:37 +01:00
  • 639424f664 Don't error on project clone if not root doc is set James Allen 2015-09-01 17:25:13 +01:00
  • 738e33a052 change crypto to always use utf-8 as it works with aws Henry Oswald 2015-09-01 16:52:02 +01:00
  • aaa2a099f1 change acceptance test to use big naught list of strings Henry Oswald 2015-09-01 16:51:10 +01:00
  • 192b0af15a added utf-8 char which fails the archive option Henry Oswald 2015-09-01 15:47:16 +01:00
  • 9b8f11f517 Fix the check for a success response from S3. Shane Kilkelly 2015-09-01 12:25:10 +01:00
  • 82af1be756 Improve testing of error conditions in the FSPersistorManager. Shane Kilkelly 2015-09-01 12:10:30 +01:00
  • edc06c82e5 Correct usage of '==' rather than '=' when checking err.code. Shane Kilkelly 2015-09-01 12:10:05 +01:00
  • 8bbf81f4bc If the S3 service produces an error, handle it. Shane Kilkelly 2015-09-01 11:36:28 +01:00
  • 1abcea1a66 add some unit test Henrique Dias 2015-08-31 18:13:18 -03:00
  • 47fdf3c5c9 Ensure that Filestore responds with 404 when a file does not exist. Shane Kilkelly 2015-08-31 16:47:16 +01:00
  • 03e9d7390f Add in mongo health check end point James Allen 2015-08-31 15:57:26 +01:00
  • 669cb0c085 Merge branch 'master' of github.com:sharelatex/real-time-sharelatex James Allen 2015-08-31 14:04:59 +01:00
  • da28b0fc70 Use updated metrics with unlimited socket config James Allen 2015-08-31 14:04:54 +01:00
  • 738363a6de Set maxSockets to Infinity for all services James Allen 2015-08-31 14:02:03 +01:00
  • 3c70acd560 added metrics into realtime around doc update manager Henry Oswald 2015-08-29 08:26:01 +01:00
  • d79793c34f Monitor get document times James Allen 2015-08-29 08:22:43 +01:00
  • 40704b486e Don't lock up on very long lined documents James Allen 2015-08-28 16:51:52 +01:00
  • 4d60872782 Merge branch 'master' of github.com:sharelatex/filestore-sharelatex Shane Kilkelly 2015-08-28 14:48:25 +01:00
  • 959191ae50 Add an acceptance test for using range header when getting a file. Shane Kilkelly 2015-08-28 14:20:14 +01:00
  • ed980a21e1 Test the FileHandler layer. Shane Kilkelly 2015-08-28 13:50:40 +01:00
  • 64f70eddbd Add cluster.js to .gitignore. Shane Kilkelly 2015-08-28 13:38:54 +01:00
  • 8a631e70f7 Refactor, and log when we have a 'range' header. Shane Kilkelly 2015-08-28 12:16:41 +01:00
  • 387e96ab67 Refactor to make _get_range testable. Shane Kilkelly 2015-08-28 12:02:50 +01:00
  • 97cdc243d3 Parse out the range header and set start and end properties on options. Shane Kilkelly 2015-08-28 11:45:16 +01:00
  • b905d9fba1 Add range-parser dependency. Shane Kilkelly 2015-08-28 11:44:47 +01:00
  • 76506ed91e Pass start/end options down to the S3PersistorManager. Shane Kilkelly 2015-08-28 10:09:41 +01:00
  • d88736e3b5 Pass the start and end options down to fs.createReadStream, and test for same. Shane Kilkelly 2015-08-27 16:12:11 +01:00
  • 57aedefdd3 Begin work towards obeying 'Range' headers, thread the opts down to persistence layer. Shane Kilkelly 2015-08-27 15:21:33 +01:00
  • efff026a79 handle easier propagation Henrique Dias 2015-08-25 16:52:28 -03:00
  • f910e63e90 fix null case Henrique Dias 2015-08-24 12:22:17 -03:00
  • fcbe4aa925 fix inS3 propagation Henrique Dias 2015-08-24 12:19:19 -03:00
  • 1ccba422c8 remove unused function Henrique Dias 2015-08-24 10:55:27 -03:00
  • 98ce03b2f2 replace docs collection to DocstoreHandler Henrique Dias 2015-08-24 10:38:31 -03:00
  • 0aaeb6671e Keep password reset token in session, and strip it from reset page url. Shane Kilkelly 2015-08-24 11:53:33 +01:00
  • 0215b12a5f log memory usage every minute Brian Gough 2015-08-20 17:03:58 +01:00
  • a53e3b80cf if blog or universities site is down don't crash, send 500 Henry Oswald 2015-08-20 16:55:06 +01:00
  • 23bd5d317c A few extra cases which should not be treated as html. Shane Kilkelly 2015-08-20 15:58:36 +01:00
  • ebf754904f More thorough tests for the FileStoreController when downloading .html files. Shane Kilkelly 2015-08-20 15:56:56 +01:00
  • aab7a8713e Catch the case where filename is shorter than the extension length. Shane Kilkelly 2015-08-20 15:56:30 +01:00
  • 85c1704fc5 Test that content-type is set for mobile-safari user-agents. Shane Kilkelly 2015-08-20 14:03:12 +01:00
  • ce248f56d7 Un-break FileStoreControllerTests by mocking out the req.get method. Shane Kilkelly 2015-08-20 12:28:51 +01:00
  • 2dd56d0b32 If we're sending a html file to mobile-safari, do so as plain text. Shane Kilkelly 2015-08-20 12:02:43 +01:00
  • 936b41ff2a Merge branch 'sk-unpublish-buttons' Shane Kilkelly 2015-08-19 15:44:02 +01:00
  • 038c5a33a2 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex Henry Oswald 2015-08-19 12:00:58 +01:00
  • 0e9ec00f85 added stubbed logger in document controller tests Henry Oswald 2015-08-19 11:58:59 +01:00
  • 63580f6a79 remove useClsi2 flag in project collection Henry Oswald 2015-08-19 11:58:41 +01:00
  • a777fcc5a6 changed post to deactivate projects to set params via body rather than query params Henry Oswald 2015-08-19 11:55:35 +01:00
  • 50fc886c94 changed inactive to active as its more effienct query in mongo Henry Oswald 2015-08-19 11:54:30 +01:00
  • 18f75bba79 Generalize this style to all .btn elements under the .template-details-section Shane Kilkelly 2015-08-19 09:59:01 +01:00
  • 04ec45529f restore updates from S3 when exists fix: avoid rearchiving Henrique Dias 2015-08-18 17:11:19 -03:00
  • bea9ee6b19 add gc to filestore Brian Gough 2015-08-18 15:36:07 +01:00
  • 865372d13f Add some whitespace around buttons in template-details. Shane Kilkelly 2015-08-18 14:45:44 +01:00
  • 96619bde8c Move the template-browser code into the 'templates' module. Shane Kilkelly 2015-08-18 14:21:35 +01:00
  • 5dd33ea313 changed back to standard /archive /unarchive Henry Oswald 2015-08-18 14:10:53 +01:00
  • 5765b59e0c added /deactivate and /reactivate endpoints as web will call those also fixed acceptence test Henry Oswald 2015-08-18 13:31:26 +01:00
  • af21e0aec6 add metrics for memory and gc Brian Gough 2015-08-18 12:31:35 +01:00
  • f237f7c3cc remove bug in optional argument handling Brian Gough 2015-08-18 11:23:10 +01:00
  • 518dc17fdc upgrade to mongojs 1.3.0 (use mongodb-core driver) Brian Gough 2015-08-18 09:55:53 +01:00
  • 27c382416a fix whitespace Brian Gough 2015-08-17 15:19:13 +01:00
  • e3e8d80466 remove non-working metrics from graphite Brian Gough 2015-08-17 15:18:57 +01:00
  • d2af7b24a0 remove randomisation to avoid shutdown problems Brian Gough 2015-08-17 15:18:18 +01:00
  • 6b295fde28 Add shane image. Shane Kilkelly 2015-08-17 14:23:36 +01:00
  • 20c3e15f93 fix bulk insert limit Henrique Dias 2015-08-14 19:58:38 -03:00
  • 26c8048729 change mongo stream method (still have a bug in bulk insert limit) Henrique Dias 2015-08-14 19:19:54 -03:00
  • fd4afb3574 Archive changes, care about: versioin, expiresAt and Lock Henrique Dias 2015-08-14 15:07:16 -03:00
  • bb2dbeaa6e Merge branch 'master' of github.com:sharelatex/metrics-sharelatex Brian Gough 2015-08-14 15:49:07 +01:00
  • 577a3759c0 bugfix for memory chunk size Brian Gough 2015-08-14 15:44:24 +01:00
  • b3c030b3ed add memory logger from metrics-sharelatex Brian Gough 2015-08-14 14:47:42 +01:00
  • e577695f07 Merge pull request #5 from sharelatex/memory Brian Gough 2015-08-14 14:47:10 +01:00
  • 46ec20ef9c add memory check and periodic gc Brian Gough 2015-08-13 16:13:09 +01:00
  • d3499acd7b pass options through stating how long ago want to archive from and limit Henry Oswald 2015-08-14 14:11:53 +01:00
  • 70b825fd2a fixed call to ProjectUpdateHandler.markAsOpened and made it async Henry Oswald 2015-08-14 11:27:11 +01:00
  • 66b87df17c added deactivate project endpoint Henry Oswald 2015-08-14 11:26:11 +01:00
  • bec9bf5c87 replace lodash with underscore in this project Henry Oswald 2015-08-14 09:42:27 +01:00
  • 68e970cd69 Merge branch 'master' of https://github.com/sharelatex/web-sharelatex Henry Oswald 2015-08-13 22:51:05 +01:00
  • 21a67ddab4 added deactivate old projects endpoint Henry Oswald 2015-08-13 22:50:39 +01:00
  • 599b9770f4 add un archive endpoint Henry Oswald 2015-08-13 22:48:45 +01:00
  • cf07e2fec5 improve archve doc acceptence tests Henry Oswald 2015-08-13 22:48:17 +01:00
  • ef4e437c3f improve doc manager so it calls get doc recursivly Henry Oswald 2015-08-13 22:47:33 +01:00
  • a0142d4415 added inactive and reactivate project logic Henry Oswald 2015-08-13 22:40:28 +01:00