* Reapply "[web] Promisify MetricsEmailController and InstitutionHubsController …"
This reverts commit ea14df1395f1dc2fa7d41fc7837849f9686425b5.
* Fix changes to node-fetch: `statusCode` -> `status` (!!)
* Update test
* Handle no-content without throwing (!)
Avoid error `Unexpected end of JSON input` when doing `response.json()` on an empty response when status is 204
Related: https://github.com/node-fetch/node-fetch/issues/165
* Also return `204` when no data in departments_data and roles_data
* Revert "Handle no-content without throwing (!)", and return null instead
This reverts commits 3baa779f7a9e64804e54a276faf865ab9252f336 and 51507a3d763d7006c8b01414a7c79bd3f3b6948b.
* Update tests: `assert_nil`
* Fixup: Update tests: assert null
* Use `fetchJSON` in Institution.fetchV1Data
* Proxy errors from server without throwing 500
GitOrigin-RevId: 9c13e293f3fed3abd2accddd1a9060ed02b96ba2
* add RestoreFileOrigin in overleaf-editor-core
* support source to be an object
* use sourceOrOrigin as param
* rename to originOrSource so the priority is more clear
* get timestamp from version
* fix test
* include version and min_count in getUpdatesFromHistory
* extractOriginOrSource util function
* fix RestoreManagerTests
* [web] show restore file change in history
* make sure two restore operations are not merged
* dont summarize updates for different paths
GitOrigin-RevId: d890484760a7379716e8bd65dd28e353d293492f
* add RestoreFileOrigin in overleaf-editor-core
* support source to be an object
* use sourceOrOrigin as param
* rename to originOrSource so the priority is more clear
* get timestamp from version
* fix test
* include version and min_count in getUpdatesFromHistory
* extractOriginOrSource util function
* fix RestoreManagerTests
GitOrigin-RevId: 0ace05a6ade2794c753a9d0bffb4f858ecc6899a
* [git-bridge] Extracted pom versions to properties
Managing versions as properties is a best practice
with pom files. An advantage in our case is ensuring
dependency groups (as simpleclient) are upgraded
together.
* [git-bridge] Remove '_' as keyword
* [git-bridge] Added formatting with 'fmt-maven-plugin'
* Remove java from .editorconfig
No longer needed as a formatter is now available
* Replace javadoc comments with multiline comments
Replaces "/**" with "/*", which then prevents the formatter
from adding HTML elements to comments
* [git-bridge] Formatted .java files
GitOrigin-RevId: 0997b838cee88c290d824a74444295e26392f26b
[web] Improve the structure of the price elements on the new plans table by using grid display
GitOrigin-RevId: 08052aec5037432af7ad4d4c554e529582d4acfc
This config is superseded by `plansFeatures.js` that is imported by `plansConfig.js` which is directly used in the pug template.
GitOrigin-RevId: ae0a0e1ff7c8a64022ab378d17943fe4a7ed3b35
* running git reset head
* renaming the local-mixins file to _plans_faq
* removed js to rotate the icon
* format:fix
* adding aria-hidden for curly braces
* removing extra tab space
* removing .card.card-body extra class
* introducing accordions-container so that we can use the last-child property to remove the border of the last questions
* creating new website-redesign-ol-tabs class and adding new styles in this class
* adding content for managingYourSubscription and overleafIndividualPlans sections
* adding content in overleaf group plans section
* removing extra section
* running make cleanup_unused_locales
* cleaning after rebase
* deleting extra variable projectLimits
* fixing spaces around curly brackets and some additional changes after rebase
GitOrigin-RevId: 3c2267080825d853e680a0a207cb640226262be2