Skip to content

Commit

Permalink
Merge pull request #701 from nearbeach/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
robotichead authored Oct 25, 2024
2 parents 4160d47 + 30c6a95 commit dc3a680
Show file tree
Hide file tree
Showing 36 changed files with 503 additions and 240 deletions.
4 changes: 0 additions & 4 deletions NearBeach/management/commands/runscheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ def create_object(scheduled_object, *args, **kwargs):
scheduled_object.last_run = datetime.date.today()
scheduled_object.save()

# TODO: For those repeat tasks, we might need to add the run count :)

return

def run_set_day_of_the_week(self):
# Get today's date and day of the week
todays_date = self.get_today()
Expand Down
32 changes: 32 additions & 0 deletions NearBeach/migrations/0034_alter_tagassignment_object_enum.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 5.0.7 on 2024-10-25 08:00

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("NearBeach", "0033_permissionset_organisation_note"),
]

operations = [
migrations.AlterField(
model_name="tagassignment",
name="object_enum",
field=models.CharField(
choices=[
("requirement", "Requirement"),
("requirement_item", "Requirement Item"),
("project", "Project"),
("task", "Task"),
("kanban_board", "Kanban Board"),
("kanban_card", "Kanban Card"),
("request_for_change", "Request for Change"),
("customer", "Customer"),
("organisation", "Organisation"),
],
default="requirement",
max_length=40,
),
),
]
8 changes: 4 additions & 4 deletions NearBeach/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1846,12 +1846,12 @@ def __str__(self):
class TagAssignment(models.Model):
class ObjectEnum(models.TextChoices):
REQUIREMENT = "requirement", _("Requirement")
REQUIREMENT_ITEM = "RequirementItem", _("Requirement Item")
REQUIREMENT_ITEM = "requirement_item", _("Requirement Item")
PROJECT = "project", _("Project")
TASK = "task", _("Task")
KANBAN = "KanbanBoard", _("Kanban Board")
CARD = "KanbanCard", _("Kanban Card")
REQUEST_FOR_CHANGE = "RequestForChange", _("Request for Change")
KANBAN = "kanban_board", _("Kanban Board")
CARD = "kanban_card", _("Kanban Card")
REQUEST_FOR_CHANGE = "request_for_change", _("Request for Change")
CUSTOMER = "customer", _("Customer")
ORGANISATION = "organisation", _("Organisation")

Expand Down
1 change: 1 addition & 0 deletions NearBeach/static/NearBeach/5246.min.js

Large diffs are not rendered by default.

Binary file added NearBeach/static/NearBeach/5246.min.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions NearBeach/static/NearBeach/9256.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added NearBeach/static/NearBeach/9256.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion NearBeach/static/NearBeach/NearBeach.min.js

Large diffs are not rendered by default.

Binary file modified NearBeach/static/NearBeach/NearBeach.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion NearBeach/static/NearBeach/kanban-information.min.js

Large diffs are not rendered by default.

Binary file modified NearBeach/static/NearBeach/kanban-information.min.js.gz
Binary file not shown.
Loading

0 comments on commit dc3a680

Please sign in to comment.