overleaf/services
Brian Gough aeb2ce7435 Fix up duplicate filenames during resync (#5742)
* Fix up duplicate filenames during resync

* Unit test for project history resync with duplicate paths

* Decaf cleanup: unnecessary returns

* Decaf cleanup: remove initClass()

* Decaf cleanup: unused variables

* Decaf cleanup: camel case variables

* Support duplicate folder names when traversing project folders

We have some broken projects that contain duplicate folder names. In
order to fix them, we need to be able to find them in the project. The
use of an object to store folders by path meant that only one of the
duplicate folders would be found.

* Keep docupdater up to date when renaming during a resync

Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com>
GitOrigin-RevId: bf3dcdc4c1d4f5418ff9f5e68b255438620349ca
2021-11-12 09:02:56 +00:00
..
chat Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts 2021-11-08 09:03:20 +00:00
clsi Merge pull request #5381 from overleaf/jpa-sqlite-cleanup 2021-10-28 08:03:54 +00:00
contacts Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts 2021-11-08 09:03:20 +00:00
docstore Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts 2021-11-08 09:03:20 +00:00
document-updater Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts 2021-11-08 09:03:20 +00:00
filestore Merge pull request #950 from 6-6-6:main 2021-10-29 08:03:26 +00:00
git-bridge Merge pull request #5477 from overleaf/jk-git-bridge-put-log-upgrade 2021-10-15 08:03:12 +00:00
notifications Merge pull request #5700 from overleaf/jpa-re-generate-build-scripts 2021-11-08 09:03:20 +00:00
real-time Merge pull request #5661 from overleaf/bg-fix-status-on-restart 2021-11-09 09:03:34 +00:00
spelling Merge pull request #5573 from overleaf/jpa-prefer-regex-literals 2021-10-28 08:03:41 +00:00
track-changes Merge pull request #5573 from overleaf/jpa-prefer-regex-literals 2021-10-28 08:03:41 +00:00
web Fix up duplicate filenames during resync (#5742) 2021-11-12 09:02:56 +00:00