stable

Clone or download

Read-only

Show last update date on Git repositories

Part of story #10408 have a burning parrot git repository list How to test: - forge your url to /plugin/git/<projectname>/ - Repositories will show a "humanized" duration since the last push. - When there has not been any push, the creation date will be used instead. Change-Id: I800b9b672753c5b7b37311731133617bf4405727

Modified Files

Name
M plugins/git/include/GitRepositoryFactory.class.php +13 −6 Go to diff View file
M plugins/git/include/REST/v1/GitRepositoryRepresentation.class.php +10 −3 Go to diff View file
M plugins/git/include/REST/v1/ProjectResource.class.php +12 −2 Go to diff View file
M plugins/git/include/REST/v1/RepositoryRepresentationBuilder.class.php +39 −11 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +2 −1 Go to diff View file
M plugins/git/include/gitPlugin.class.php +2 −1 Go to diff View file
M plugins/git/www/scripts/package-lock.json +5 −0 Go to diff View file
M plugins/git/www/scripts/package.json +1 −0 Go to diff View file
M plugins/git/www/scripts/repositories/po/fr.po +8 −3 Go to diff View file
M plugins/git/www/scripts/repositories/po/template.pot +3 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/GitRepository.vue +25 −9 Go to diff View file
M plugins/git/www/scripts/repositories/src/index.js +8 −3 Go to diff View file
M plugins/git/www/scripts/repositories/src/repository-list-presenter.js +12 −9 Go to diff View file
M plugins/git/www/themes/BurningParrot/css/_git-repositories.scss +35 −21 Go to diff View file
M src/common/REST/v1/GitRepositoryRepresentationBase.class.php +10 −5 Go to diff View file