Skip to content

Commit

Permalink
Merge pull request #148 from sei-vsarvepalli/version-3.0.4
Browse files Browse the repository at this point in the history
VINCE updates 3.0.4
  • Loading branch information
sei-vsarvepalli authored Jun 10, 2024
2 parents 106fbfa + 0439073 commit f7a32f4
Show file tree
Hide file tree
Showing 18 changed files with 1,289 additions and 1,042 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@
CHANGELOG
VINCE Coordination platform code

Version 3.0.4 2024-06-10

* Fixed bug that prevented display of "No data" message in certain circumstances on the VINCE Track case page vendor tab
* Reconfigured code for templated mail preparation to stop bug that derailed the mailer process in certain circumstances
* Fixed code that inappropriately displayed uuid instead of group name on the VINCE Track contact information page


Version 3.0.3 2024-06-04

* Added code to make the tickets section of the reports page load async to reduce loading time
* Reconfigured code for catching recently bounced users when sending templated mail


Version 3.0.2 2024-05-30

* Dependabot update recommendations: `requests` 2.31.0 to 2.32.0
* Reconfigured initiate contact form so internal checkbox hides email addresses & triggers appropriate helptext in textarea
* Rerouted internal verification requests from initiate contact form so resulting tickets are assigned to (second) Authorizer
* Added ability to sort search results on the VINCE Track All Search page


Version 3.0.1 2024-04-29

* Dependabot update recommendations: `idna` 3.4 to 3.7, `Django` 4.2 to 4.2.11, `pydantic` 1.10.2 to 1.10.13, `sqlparse` 0.4.4 to 0.5.0
Expand Down
2 changes: 1 addition & 1 deletion bigvince/settings_.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
ROOT_DIR = environ.Path(__file__) - 3

# any change that requires database migrations is a minor release
VERSION = "3.0.1"
VERSION = "3.0.4"

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pytz==2022.6
PyYAML==5.4.1
qrcode==7.3.1
redis==4.5.4
requests==2.31.0
requests==2.32.0
rsa==4.7.2
s3transfer==0.6.0
segno==1.5.2
Expand Down
18 changes: 17 additions & 1 deletion vince/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@

class AllSearchForm(forms.Form):
searchbar = forms.CharField(max_length=100, label="Keyword(s)", widget=forms.TextInput(), required=False)
datestart = forms.DateField(required=False)
dateend = forms.DateField(required=False)

def __init__(self, *args, **kwargs):
super(AllSearchForm, self).__init__(*args, **kwargs)
self.fields["dateend"].initial = timezone.now


class RolesForm(forms.Form):
Expand Down Expand Up @@ -1947,7 +1953,7 @@ class InitContactForm(forms.ModelForm):
required=False,
label=_("Internal Verification"),
help_text=_(
"By checking this box, an email will not be sent but the email body will be logged in the ticket and should provide justification for why external verification is not needed."
"If this box is checked, an email will not be sent but the email body will be logged in the ticket and should provide justification for why external verification is not needed."
),
)

Expand Down Expand Up @@ -1987,6 +1993,16 @@ def clean_ticket(self):
except:
raise forms.ValidationError("Invalid Ticket Selection. Use only numeric ID of Ticket.")

field_order = [
"contact",
"user",
"internal",
"email",
"subject",
"email_body",
"ticket",
]


class ContactForm(forms.ModelForm):
vtype = forms.ChoiceField(
Expand Down
Loading

0 comments on commit f7a32f4

Please sign in to comment.