David Taylor
8872084cab
Import URL functions from django.urls
2018-03-24 23:58:39 +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
David Taylor
6944d98c4e
Added paperwork generation date, user & versioning
2015-07-29 22:06:44 +01:00
Tom Price
5bb7283f2d
Merge branch 'vagrant' into hotfixes
2015-07-23 21:08:44 +01:00
David Taylor
5641a998f3
Removed unnecessary variable & updated test
2015-07-19 16:14:40 +01:00
David Taylor
72bf28da53
Removed special characters from paperwork filenames - issue #103
2015-06-29 23:27:10 +01:00
David Taylor
cc22392ef7
Added estimated VAT, as per issue #71
2015-06-29 13:51:37 +01:00
David Taylor
a0467300e3
Fixed ordering of event archive
2015-06-28 20:46:15 +01:00
David Taylor
6763f371d4
Workaround for context bug
2015-05-28 22:41:02 +01:00
David Taylor
ad4784ff15
Explicitly set redirect view permanent/temporary
2015-05-28 19:42:05 +01:00
David Taylor
0c8665d370
Added calendar view
2015-04-19 22:25:59 +01:00
Tom Price
8340fd49d4
Fix for loosing data when there is a form validation error. Issue #42 .
...
Added info message when there is an validation error and items are not shown.
2015-03-31 10:33:57 +01:00
tomtom5152
f013cfb968
Bug fix for #30
2015-03-27 12:21:21 +00:00