7e3e8f37e2
FIX: Do not display auth warnings when duplicating events
...
Closes #326 .
2020-01-13 22:13:37 +00:00
5210afc772
Combine client authorisation information in rig detail ( #373 )
...
* Combine client authorisation information in rig detail
* Fix stuff for CI
pep8 compliance
migration
2019-11-26 17:26:32 +00:00
David Taylor
35997aa882
Add API hook for logging risk assessment completion ( #341 )
2019-07-28 23:08:18 +01:00
David Taylor
faa4573f6d
Add dash to date range
2019-07-14 23:15:13 +01:00
David Taylor
7babaee44c
Add link to pre-filled risk assessment form
2019-07-14 23:09:44 +01:00
David Taylor
b269069b6a
Improve embedding style
2019-06-20 00:56:11 +01:00
David Taylor
7e06b5a162
Increase height of forum embeds
2019-06-20 00:29:10 +01:00
David Taylor
f616857131
Merge pull request #328 from nottinghamtec/django2
...
Upgrade to Django 2
2018-04-02 21:36:10 +01:00
Johnathan Graydon
3c605d2976
Fix pep8
2018-03-25 15:30:05 +01:00
Johnathan Graydon
9720066fd7
Remove checked in by on event duplication
...
Will close #327
2018-03-25 15:30:05 +01:00
David Taylor
8872084cab
Import URL functions from django.urls
2018-03-24 23:58:39 +00:00
Johnathan Graydon
7dff951f28
Fix null person on authorisation request
...
Will close #319
2018-03-24 23:54:03 +00:00
David Taylor
f9389e3996
PEP8 all the things
2017-09-22 14:57:14 +01:00
David Taylor
a88f4d0cb2
Fix paperwork printing
2017-09-04 23:19:22 +01:00
David Taylor
3035320e82
Run through 2-to-3 converter. This is not in a working state
2017-09-04 23:19:22 +01:00
Tom Price
c6b7bbc219
Change to just using online auth for internal clients.
...
This effectively reverts 067e03b .
2017-05-23 18:19:02 +01:00
David Taylor
4d316c7a4a
Stop authorisation information being duplicated with an event
2017-05-18 18:02:44 +01:00
David Taylor
0a45b047a2
Add warnings when editing an event that has already been sent to a client
2017-05-18 17:34:49 +01:00
David Taylor
f8aaf9f36e
Merge branch 'master' into feature/online-auth
...
# Conflicts:
# RIGS/rigboard.py
# RIGS/test_functional.py
# RIGS/urls.py
# requirements.txt
2017-05-12 20:53:00 +01:00
David Taylor
0d726b2b60
Fix paperwork printing
2017-05-10 20:25:41 +01:00
David Taylor
286e4314f5
Require users to have nottinghamtec.co.uk address before allowing them to send messages to clients
2017-05-10 15:39:13 +01:00
Tom Price
1710c3f01f
Send HTML confirmation emails.
...
Also tidy up the PDF and some of the source.
2017-05-09 18:43:27 +01:00
Tom Price
f57ac3acb1
Add sending of html email for the request
2017-05-09 18:35:29 +01:00
Tom Price
331dab20f7
Add basic tracking of when an event authorisation request was sent.
...
Designed and requested by Ross because he can't remember if he's push a button...
2017-04-19 18:14:36 +01:00
Tom Price
430862b24d
Add tracking of who sent the link
2017-04-11 15:52:38 +01:00
Tom Price
6e78f16c33
Add changes suggested by DT
2017-04-11 11:45:08 +01:00
Tom Price
82b6f1cbf8
Fix string formatting issue.
...
I used python 3 syntax, we aren't yet using python 3...
2017-04-10 23:43:42 +01:00
Tom Price
067e03b757
Remove Event.purchase_order in favour of a simple EventAuthorisation object.
2017-04-10 23:16:50 +01:00
Tom Price
391d9ef28f
Update PDF templates and enable sending of PDF via email.
...
PDFs now state QUOTE, INVOICE or RECEIPT.
Single copy and all but INVOICE includes terms of hire.
2017-04-10 22:45:27 +01:00
Tom Price
7fd0c50146
Add sending of emails to clients.
...
Add email sending methods.
Add TEC side sending of emails.
2017-04-10 20:39:19 +01:00
Tom Price
3b2aa02ae5
Add success notification emails.
...
Enable RevisionMixin for EventAuthorisation.
Add signal receivers for RIGS.
Expand RIGS into an explicitly defined app to support signals.
2017-04-10 19:16:45 +01:00
Tom Price
1670b190c2
Add tests for the client side authorisation
2017-04-10 18:11:49 +01:00
Tom Price
e65e97b1a3
Client facing authorisation procedures.
...
Add forms, views, templates and URLs.
Remove created at in favour of the built in versioning as that's much more accurate.
Switch to a OneToOneField with EventAuthorisation -> event as a result of this.
Move validation from models to forms where it probably belongs.
Provide more descriptive errors.
Add success page for authorisation.
2017-04-07 02:14:33 +01:00
David Taylor
0ae7bcaf7c
Explicitly define height in oembed JSON
2017-03-10 15:26:00 +00:00
David Taylor
b939bc5a64
Do not display "not saved" message when the event has been saved
2016-10-23 14:05:25 +01:00
Johnathan Graydon
6fc89727f2
Stop PO number from duplicating when copying event
...
Would close #256
2016-10-21 15:48:54 +01:00
David Taylor
5949ff74ec
Added javascript cookie check, if blocked, login in new tab
2016-10-08 22:55:27 +01:00
David Taylor
b93a716a3b
Added unit tests
2016-10-08 20:37:01 +01:00
David Taylor
0d92c3812a
Tidied up python
2016-10-08 19:56:56 +01:00
David Taylor
f0bb4c5b02
Move exemption to urls.py (cleaner)
2016-10-06 13:13:09 +01:00
David Taylor
4660322964
Remove hardcoded URL
2016-10-06 13:04:33 +01:00
David Taylor
59efc2c485
Fixed JSON
2016-10-06 12:59:37 +01:00
David Taylor
69b0ff9fae
Made embed page, with clickjacking protection turned off
2016-10-06 12:52:33 +01:00
David Taylor
a02087bf2a
Fixed fail
2016-10-04 21:11:43 +01:00
David Taylor
585f909d3f
Escape JSON
2016-10-04 21:05:07 +01:00
David Taylor
64f3842a13
Added iframe to embed
2016-10-03 23:02:19 +01:00
David Taylor
6370679b62
Initial proof of concept
2016-10-03 22:45:57 +01:00
David Taylor
1681ab8fee
Allowed linking to specific views/dates on the calendar - closes #153
2016-02-29 20:35:53 +00:00
David Taylor
0eb820000c
Merge branch 'master' into duplicate-event
2015-08-27 23:59:50 +01:00
David Taylor
26d671ea0d
EventDuplicate now presents an edit view before saving
2015-08-16 19:31:35 +01:00