Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 258fc75f7e02bf2f627f4094ba512beab5056512
https://github.com/openSUSE/open-build-service/commit/258fc75f7e02bf2f627f40...
Author: Lukas Krause
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
Align behaviour of user `delete!` and `mark_as_spammer!`
Those methods are both setting the `state` of a user to `deleted`
but have slight differences. The `mark_as_spammer!` also deletes
the comments associated with the user, while the `delete!` method
clears the users `realname` and `email`. To keep it simple we
shoud align those and maintain only one.
Commit: 8c1e864d4696750d913fab8d9b428f36d90da2db
https://github.com/openSUSE/open-build-service/commit/8c1e864d4696750d913fab...
Author: Lukas Krause
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
Drop `mark_as_spammer!` method
After aligning it with the `delete!` method there is no need
to keep it.
Commit: 99d367be17bd0557644007749761e09420f36a5f
https://github.com/openSUSE/open-build-service/commit/99d367be17bd0557644007...
Author: Lukas Krause
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M src/api/app/components/delete_confirmation_dialog_component.html.haml
M src/api/app/components/delete_confirmation_dialog_component.rb
M src/api/app/controllers/webui/users_controller.rb
M src/api/app/views/webui/users/index.html.haml
Log Message:
-----------
Add possibility to add `adminnote` when deleting a user in the webui
Give the admins the possibility to add a adminnote to point out
the reasoning of the user deletion e.g. due to spam comments etc.
Commit: 227ad05eeb6f66db7abf44c122436ade04a916da
https://github.com/openSUSE/open-build-service/commit/227ad05eeb6f66db7abf44...
Author: Lukas Krause
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M src/api/app/views/webui/user/_basic_info.html.haml
Log Message:
-----------
Add user deletion link and model to user profile page for admins
Let admins quickly delete a user from the user profile page.
Commit: 42ac53500a3af9a4bf318194a5c97d1a7f304f70
https://github.com/openSUSE/open-build-service/commit/42ac53500a3af9a4bf3181...
Author: Lukas Krause
Date: 2023-09-13 (Wed, 13 Sep 2023)
Changed paths:
M src/api/app/components/delete_confirmation_dialog_component.html.haml
M src/api/app/components/delete_confirmation_dialog_component.rb
M src/api/app/controllers/webui/users_controller.rb
M src/api/app/models/user.rb
M src/api/app/views/webui/user/_basic_info.html.haml
M src/api/app/views/webui/users/index.html.haml
Log Message:
-----------
Merge pull request #14896 from krauselukas/feature/user_deletion_ui
Extend user deletion webui
Compare: https://github.com/openSUSE/open-build-service/compare/98b4a4c7aa1a...42ac53...