Commit Graph

58 Commits

Author SHA1 Message Date
Eric Mc Sween effccf2d3a Merge pull request #12997 from overleaf/em-git-bridge-pat-messaging
Adapt git bridge messaging to personal access tokens

GitOrigin-RevId: 0b5d5ecbd97814c8b18827fe11e77513c11bab3a
2023-05-16 08:04:36 +00:00
Shane Kilkelly 03af20113f Force add the test file, sigh. 2020-09-24 13:29:39 +01:00
Shane Kilkelly 935770e2ab Add test for reset before pull 2020-09-24 11:24:47 +01:00
Shane Kilkelly 3fac2cc825 Merge pull request #59 from das7pad/tests/cleanup-resources
[tests] cleanup resources
2019-08-01 16:26:51 +01:00
Shane Kilkelly 2492c95c0b Handle a 409 response with code=projectHasDotGit 2019-05-29 10:18:49 +01:00
Jakob Ackermann a333aabfa9 [WLGitBridgeIntegrationTest] adjust the urls for the individual tests
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2019-04-26 23:56:54 +02:00
Shane Kilkelly a517035e2c Refuse to process project-ids that look like they come from v1 2019-03-06 10:16:55 +00:00
Shane Kilkelly 4dc140aced Add integration test to cover imported-but-not-changed projects 2019-01-10 10:21:31 +00:00
Shane Kilkelly c553094a60 Add a test for when migrated-from project is not present 2018-12-03 10:13:10 +00:00
Shane Kilkelly 1a646d3fd0 Add an integration test for migrating repository 2018-11-29 10:22:22 +00:00
Michael Walker 4c237e84f5 Rename disabled project test 2018-02-07 13:27:31 +00:00
Michael Walker 25ccfe28fe Rename protected project test 2018-02-07 13:27:19 +00:00
Michael Walker 994ad9a933 410 is no longer "disabled" 2018-02-07 10:10:09 +00:00
Michael Walker 82c0873743 Report all 4xx from write-latex API as MissingRepositoryException 2018-02-06 14:23:21 +00:00
Michael Walker 5e08f6f5c6 Add a test for cloning disabled projects 2018-02-05 16:11:45 +00:00
Winston Li ad687e5f58 Add failing test for #3705 2017-08-02 20:51:20 +01:00
Winston Li ee61d72e2e Implementation and tests of GC, GcJob, S3 files 2017-02-17 13:44:11 +00:00
Winston Li 6d563ed40e Better javadoc, improve handling of submodules 2016-12-19 12:56:58 +00:00
Winston Li c23c11973a Add test confirming the dangling meta char exception is not thrown anymore (fix #1025) 2016-10-09 08:47:57 +01:00
Winston Li d3eb737120 Ignore .gitignore files on git.overleaf.com repos (fix #1281) 2016-10-08 16:12:20 +01:00
Winston Li 5c878ccc70 Put files in directories that weren't commited 2016-09-06 09:13:09 +01:00
Winston Li 9936fbe3c9 Implement and test the swap job, and add integration test 2016-09-06 09:11:32 +01:00
Winston Li dd5694104d Delete the SnapshotRepositoryBuilder and WLBridgedProject abominations. Set accessed time after update and push. 2016-09-06 09:11:32 +01:00
Winston Li c459cd57af Implement and test SwapJobImpl 2016-09-06 09:11:32 +01:00
Winston Li 8c0937511e Add implementations, implement S3SwapStore (with only tars), FSRepoStore, Tar and File utils, add tests 2016-09-06 09:11:32 +01:00
John Lees-Miller 7cb82f3c18 Add tests for file content API 2016-06-03 16:22:10 +01:00
John Lees-Miller 7ed93bc2cc Log to temp file when running tests 2016-06-03 11:47:25 +01:00
Winston Li 70c963c38f Fix issue with pulling 2 new identical binary files with known name 2015-08-05 19:41:27 +01:00
Winston Li 4fbd6eaabe Fix issue with cloning multiple identical files and add test 2015-08-04 21:14:13 +01:00
Winston Li 34c2d7f613 Add test for f385cffd 2015-08-04 20:32:41 +01:00
John Lees-Miller 3ac0b0c2de avoid NPE if project directory does not exist; fixes #10 2015-04-26 21:00:28 -04:00
Winston Li d697f75c77 pushFailsOnUnexpectedError integration test. 2015-03-10 12:14:10 +00:00
Winston Li a0eb4b0946 pushFailsOnInvalidProject integration test. 2015-03-10 12:02:41 +00:00
Winston Li c36a1de7c3 pushFailsOnInvalidFiles integration test. 2015-03-10 11:49:31 +00:00
Winston Li 105ab215b2 Bye travis. 2015-03-10 00:33:41 +00:00
Winston Li 7e803bb950 pushFailsOnSecondStageOutOfDate integration test. 2015-03-10 00:19:12 +00:00
Winston Li 9245037abf pushFailsOnFirstStageOutOfDate integration test. 2015-03-09 23:56:16 +00:00
Winston Li 4781a78926 canPushFilesSuccessfully integration test. 2015-03-09 23:37:58 +00:00
Winston Li 8f416cfd60 canPullDeletedNestedFiles integration test. 2015-03-09 23:22:40 +00:00
Winston Li 1de56ef76b canPullAModifiedNestedFile integration test. 2015-03-09 23:15:27 +00:00
Winston Li f0f5333161 canPullADeletedBinaryFile integration test. 2015-03-09 23:08:53 +00:00
Winston Li 5e8e042ad2 canPullAModifiedBinaryFile integration test. 2015-03-09 23:02:57 +00:00
Winston Li 60ca2f1788 canPullAModifiedTexFile integration test. 2015-03-09 22:55:00 +00:00
Winston Li 8993702f69 Initial large refactor. 2015-03-09 22:41:55 +00:00
Winston Li e7c1b29008 Change timestamp parsing to include milliseconds. 2015-03-09 21:29:03 +00:00
Winston Li 680c7fabf7 Add stack trace prints and remove bugged git config. 2015-02-22 02:35:02 +00:00
Winston Li ac50c26aef (fix #8) Add better error message for 403 protected projects with integration test and support. 2015-02-20 12:42:04 +00:00
Winston Li 4eda2a81ba Restored broken images and removed print statements. 2015-01-11 17:36:51 +00:00
Winston Li e124a74c2f Fixed bug with git not adding deleted files. 2015-01-11 17:23:49 +00:00
Winston Li a276b7c806 Added integration test for pulling a modified tex file. 2015-01-11 15:54:36 +00:00