-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [FIX] Skillfarm Overview * [FIX] Last Update not shown * [MISC] Changelog * [FIX] Skill Queue is_active function * [ADD] Add is_active check on skillfarm api * [MISC] Update Pre Commit * [CHANGE] JS progressbar & No Active Skill Training now check via is_active variable * [ADD] skill exctraction checker [FIX] wrong progress bar caclculation for filtered skills * [MISCC] Add missing models * [ADD] Skill Extraction Checcker * [ADD] finish skill checker * [MISC] Update Changelog * [MISC] Update Readme * [ADD] Notification Cooldown * [REMOVE] SkillFarmNotification Model * [ADD] Notification System [REMOVE] Notification Model [ADD] Finished Skill Checker [ADD] is_cooldown property * [ADD] Skillfarm Notification Task * [UPDATE] Update Migration * [MISC] Update README * [FIX] Cyclic Import * [FIX] Empty Queue not be deleted * [ADD] switch activity settings * [REMOVE] remove active filter * [CHANGE] Set default cooldown to 3 days * [ADD] Acitivty Switcher [CHANGE] Add Character forces updates * [FIX] old code delete entry * [UPDATE] CSS Design [ADD] Inactive Table * [UPDATE] More CSS Fixes * [MISC] Update Changelog * [FIX] Cyclic Import * [FIX] Maybe now * [CHANGE] Update only active characters * [CHANGE] Ensure that only set `notification_sent` if sent * [MISC] Update README * Bump to 0.3.1 --------- Co-authored-by: Geuthur <[email protected]>
- Loading branch information
Showing
22 changed files
with
447 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
skillfarm/migrations/0002_skillfarmaudit_last_notification_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 4.2.11 on 2024-10-22 21:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("skillfarm", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="skillfarmaudit", | ||
name="last_notification", | ||
field=models.DateTimeField(blank=True, default=None, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="skillfarmaudit", | ||
name="notification_sent", | ||
field=models.BooleanField(default=False), | ||
), | ||
migrations.DeleteModel( | ||
name="SkillFarmNotification", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from .characterskill import CharacterSkill | ||
from .general import General | ||
from .skillfarmaudit import SkillFarmAudit | ||
from .skillfarmsetup import SkillFarmSetup | ||
from .skillqueue import CharacterSkillqueueEntry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"""Models for Skillfarm.""" | ||
|
||
from django.db import models | ||
|
||
from skillfarm.hooks import get_extension_logger | ||
from skillfarm.managers.skillfarmaudit import SkillFarmManager | ||
|
||
logger = get_extension_logger(__name__) | ||
|
||
|
||
class SkillFarmSetup(models.Model): | ||
id = models.AutoField(primary_key=True) | ||
|
||
character = models.OneToOneField( | ||
"SkillFarmAudit", on_delete=models.CASCADE, related_name="skillfarm_setup" | ||
) | ||
|
||
skillset = models.JSONField(default=dict, blank=True, null=True) | ||
|
||
def __str__(self): | ||
return f"{self.skillset}'s Skill Setup" | ||
|
||
objects = SkillFarmManager() | ||
|
||
class Meta: | ||
default_permissions = () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.