Skip to content

Commit

Permalink
fix: prevent anon gens being visible
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Oct 5, 2024
1 parent 5c51ef3 commit c586382
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ SPDX-License-Identifier: AGPL-3.0-or-later

# Changelog

# 4.43.7

* Prevent anon gens being visible at their profile page

# 4.43.6

* Fix returning `done` when a job was restarted.
Expand Down
2 changes: 2 additions & 0 deletions horde/classes/base/waiting_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ def count_processing_gens(self):

def get_generations(self):
generations = []
if self.user.is_anon():
return generations
for procgen in self.processing_gens:
if procgen.fake:
continue
Expand Down
2 changes: 1 addition & 1 deletion horde/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: AGPL-3.0-or-later

HORDE_VERSION = "4.43.6"
HORDE_VERSION = "4.43.7"

WHITELISTED_SERVICE_IPS = {
"212.227.227.178", # Turing Bot
Expand Down

0 comments on commit c586382

Please sign in to comment.