Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3d3c5c6becbd0d7a57d83ec28f44f5f681d277db
https://github.com/openSUSE/open-build-service/commit/3d3c5c6becbd0d7a57d83e...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/app/mixins/has_relationships.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/bs_request_action.rb
M src/api/app/models/event/base.rb
M src/api/app/models/group.rb
M src/api/app/models/maintenance_incident.rb
M src/api/app/models/review.rb
M src/api/app/models/role.rb
M src/api/app/models/user.rb
M src/api/test/functional/request_events_test.rb
Log Message:
-----------
[api][webui] Update caching of all roles
Uses Rails native caching instead of a number of self-implemented methods.
Commit: 96ff0e9e2ee04387c3a4c523b5bbd63a4a188bc8
https://github.com/openSUSE/open-build-service/commit/96ff0e9e2ee04387c3a4c5...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
A src/api/spec/factories/role.rb
A src/api/spec/models/role_spec.rb
Log Message:
-----------
[ci] Rspec tests for role model
Commit: a02194632f3f32617c6641149acd0593718d0ef3
https://github.com/openSUSE/open-build-service/commit/a02194632f3f32617c6641...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/app/models/role.rb
Log Message:
-----------
[api] Make Role#to_param and alias method of Role#to_s
Both are implemented the same way. So this just makes sense
Commit: d9e16827cfe6f696785601bc8f02955e01b08803
https://github.com/openSUSE/open-build-service/commit/d9e16827cfe6f696785601...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/app/models/role.rb
A src/api/db/migrate/20170320151300_add_updated_at_to_role.rb
M src/api/db/structure.sql
Log Message:
-----------
[api] Add timestamps to role model
Uses rails cache_key method for generating a cachekey for hashed roles. For
this to work we need an updated_at column in the role table.
And since in rails world those two usually come together, we generate both
updated_at and created_at.
Commit: f9381fed1d60160f7809a6af9b8d929159f0e907
https://github.com/openSUSE/open-build-service/commit/f9381fed1d60160f7809a6...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/spec/models/role_spec.rb
Log Message:
-----------
[api] Validation tests for role model
Commit: 9129dcb1689628cde896aa0fc9d3e30e3780467f
https://github.com/openSUSE/open-build-service/commit/9129dcb1689628cde896aa...
Author: Björn Geuken
Date: 2017-03-20 (Mon, 20 Mar 2017)
Changed paths:
M src/api/app/mixins/has_relationships.rb
M src/api/app/models/bs_request.rb
M src/api/app/models/bs_request_action.rb
M src/api/app/models/event/base.rb
M src/api/app/models/group.rb
M src/api/app/models/maintenance_incident.rb
M src/api/app/models/review.rb
M src/api/app/models/role.rb
M src/api/app/models/user.rb
A src/api/db/migrate/20170320151300_add_updated_at_to_role.rb
M src/api/db/structure.sql
A src/api/spec/factories/role.rb
A src/api/spec/models/role_spec.rb
M src/api/test/functional/request_events_test.rb
Log Message:
-----------
Merge pull request #2863 from bgeuken/rolecache
[api][webui] Update caching of all roles
Compare: https://github.com/openSUSE/open-build-service/compare/76c7c1f2c9bd...9129dc...