22ef6b8e3a
FIX #321 : Authorisation Success emails dated 'None'
2019-11-26 18:18:49 +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
4da8040351
Only display embedded scrollbars when required
2019-10-30 13:16:14 +00:00
David Taylor
1a49bb50e5
Further version history improvements
2019-07-28 23:40:35 +01:00
David Taylor
86b349f60e
Tidy up version history for risk assessments
2019-07-28 23:32:54 +01: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
a18bb07d78
Update views.py
2019-06-20 00:15:16 +01:00
David Taylor
bd28d2054e
Remove autofocus from form
2019-06-20 00:13:24 +01:00
David Taylor
14836f135c
Update subhire form location
...
Requested by Jonny
2019-02-25 21:29:14 +00:00
imgbot[bot]
f1c8dca8c4
[ImgBot] optimizes images ( #339 )
...
*Total -- 680.70kb -> 575.32kb (15.48%)
/RIGS/static/imgs/pyrigs-avatar.png -- 4.79kb -> 2.16kb (54.98%)
/RIGS/static/imgs/404.jpg -- 131.98kb -> 108.89kb (17.49%)
/RIGS/static/imgs/403.jpg -- 155.95kb -> 129.73kb (16.81%)
/RIGS/static/imgs/500.jpg -- 118.90kb -> 100.13kb (15.79%)
/RIGS/static/imgs/401.jpg -- 151.27kb -> 129.03kb (14.7%)
/RIGS/static/imgs/400.jpg -- 104.61kb -> 93.13kb (10.97%)
/RIGS/static/imgs/paperwork/tec-logo.jpg -- 13.21kb -> 12.26kb (7.19%)
2018-08-19 19:08:35 +01:00
David Taylor
f616857131
Merge pull request #328 from nottinghamtec/django2
...
Upgrade to Django 2
2018-04-02 21:36:10 +01:00
David Taylor
66f024e961
Remove un-necessary use of reversion
2018-03-26 19:41:13 +01:00
Johnathan Graydon
06daacf611
Automatically set event to booked when the client authorises it ( #332 )
...
* Automatically set rig to booked when event is authorised
Will close #320
2018-03-26 14:51:42 +01:00
Johnathan Graydon
c74bc945b6
Not error if no person
...
Will close #330
2018-03-26 14:09:51 +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
42450b5a22
User.is_authenticated is no longer callable
2018-03-25 00:28:37 +00:00
David Taylor
8098b33698
Migrate profile to have longer last_name field (Django 2.0 updated AbstractUser model)
2018-03-25 00:20:51 +00:00
David Taylor
1e3c021a76
Add on_delete=models.CASCADE to old migrations
2018-03-24 23:58:54 +00:00
David Taylor
d8f9256252
Add on_delete=models.CASCADE to OneToOneFields
2018-03-24 23:58:54 +00:00
David Taylor
014bab6c1f
Add on_delete=models.CASCADE to all foreign keys. This replicates the previous default behaviour
2018-03-24 23:58:54 +00: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
a26e65073c
Add no sandbox flag
...
See https://github.com/travis-ci/docs-travis-ci-com/pull/1671 for more info
2018-03-24 22:19:10 +00:00
Johnathan Graydon
7e68dfb851
Fix hover text on invoice page
2017-11-29 14:40:11 +00:00
David Taylor
ca9e309b1b
Fix datetime/date check, and add https to calendar URLs
2017-09-25 23:11:00 +01:00
David Taylor
0ccb669019
Add failing test for ICAL end time issue
2017-09-25 22:58:36 +01:00
David Taylor
f17e0e199c
Update bootstrap-select CSS
2017-09-22 21:30:55 +01:00
David Taylor
aee4ccb5a2
Update JS dependencies
2017-09-22 16:33:04 +01:00
David Taylor
f9389e3996
PEP8 all the things
2017-09-22 14:57:14 +01:00
David Taylor
131ff3e612
Fix chromedriver issues, and run headless on travis ( #310 )
...
* Fix chromedriver issues, and run headless on travis
* Explicitly set chrome window size
* Use travis chrome
* Try chrome beta
* Update chromedriver
* Remove virtual display from travis config
2017-09-22 14:24:20 +01:00
David Taylor
4d0da2fdc1
Add missing migration
2017-09-04 23:59:53 +01:00
David Taylor
0aec836b1a
Fix iCal tests
2017-09-04 23:19:22 +01:00
David Taylor
ee930aa86a
Replace assertItemsEqual with assertCountEqual in model tests.
...
While the name is misleading, it does appear that this test does exactly the same as assertItemsEqual: https://docs.python.org/3/library/unittest.html?highlight=assertcountequal#unittest.TestCase.assertCountEqual
2017-09-04 23:19:22 +01:00
David Taylor
a88f4d0cb2
Fix paperwork printing
2017-09-04 23:19:22 +01:00
David Taylor
50c997b568
Fixed profile picture encoding
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
David Taylor
34ffd62436
Add many tests for the versioning backend and interfaces
2017-06-21 03:12:26 +01:00
David Taylor
22c520e841
Refactored versioning.py (and associated templates) to improve readability and testability.
...
Takes inspiration from, but does not use, django-reversion-compare. We do a lot of RIGS-specific stuff that requires a lot of hacking to get working nicely with django-reversion-compare. The main example of this is event-item “many-to-one” fields. The performance difference of my code compared to django-reversion-compare was found to be negligible.
2017-06-21 03:09:46 +01:00
David Taylor
ae4f05a661
Update versioning.py to work with latest django-reversion
2017-06-19 23:53:00 +01:00
David Taylor
c178a293a1
Fix model registration and RevisionMixin lookups. Also much more efficient and DRY now
2017-06-19 23:51:56 +01:00
David Taylor
aebaa16311
Use EventAuthorisation post_save signal for EventAuthorisation email instead of the (now removed) reversion hook
2017-06-19 23:03:13 +01:00
Johnathan Graydon
abb56af222
Fix spelling in rig authorisation
2017-06-02 12:52:01 +01:00
David Taylor
7ec09fb774
Use chrome natively on Travis, hopefully faster
2017-05-25 14:23:34 +01:00
David Taylor
bdd7f02fe2
Add EventAuthorisation to the activity feed
2017-05-25 13:09:52 +01:00
Tom Price
7cb9e97ecb
Fix text on quote paperwork for external clients
...
Actually finish fixing PDF footer formatting.
2017-05-24 16:34:32 +01:00