Feature #1063
openrepository auto-update should be called on opening activity
Description
Hello,
I'm using redmine with a remote svn repository, and I do get automatic repository updates on visiting the "Repository" page - but only there.
When just looking at the "Activity" page for a project, no auto-update is performed - so I don't see new changes in the repository.
So maybe '@project.repository.fetch_changesets if Setting.autofetch_changesets?' should be added to the ProjectsController.activity function, too?
Files
Updated by Luca Pireddu over 18 years ago
I would also like to see this feature. Maybe a patch like this would be sufficient?
Updated by Eike Bernhardt over 18 years ago
- File redmine-autoupdate.diff redmine-autoupdate.diff added
One small thing seems to be missing - when you want to use "Overall activity", no project is selected - so @project is Nil.
Attached is a changed patch, which checks if @project is set - not really nice, since no fetching of source changes happens then - but this is enough for me.
Updated by Thomas Löber over 18 years ago
Or you could call Repository.fetch_changesets in case @project is nil.
Updated by Eike Bernhardt over 18 years ago
Thats even better .. see redmine-autoupdate-v2.patch - works for me.
Updated by Nick Phillips about 17 years ago
The patch works for me, as far as it goes, but it really needs to work through subprojects too...
Updated by Dipan Mehta over 13 years ago
+1. This must be integrated.