c249cf7c60
CHORE: Fix RIGS Sample Data test
...
I blame @mattysmith22 again ...
2019-12-04 20:47:26 +00:00
da384fbae1
CHORE: Delete duplicate risk assessment migration
...
Surprisingly, not my fault, it was @mattysmith22
2019-12-04 20:39:00 +00:00
43b7d5178d
Merge branch 'master' into assets
2019-12-04 20:28:45 +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
b2916c53b5
pep8 compliance, again
2019-10-22 17:34:14 +01:00
Matthew Smith
c8e522d400
Fixed selenium "Object reference chain is too long" exception.
...
It seems like it couldn't translate the value returned by the script
2019-10-18 02:18:27 +01:00
Matthew Smith
52f13a53a0
Added asset database link to the rigs main page.
2019-10-18 02:18:27 +01:00
Matthew Smith
b39f835a38
Fixed asset permissions
2019-10-18 02:18:27 +01:00
Matthew Smith
9495fa2fdb
Merged all sample data generation.
2019-10-16 21:47:45 +01:00
Matthew Smith
85a20dac26
Assets now conforms to pep8
2019-10-14 14:07:06 +01:00
f5fc41ce30
Initial work on asset DB perms
...
Partial #352 .
2019-10-11 17:41:48 +01:00
Matthew Smith
b7e14b7dc3
Added form validation
...
* Asset IDs must be unique
* Asset IDs that are legacy and unchange have no validation applied
* Asset IDs must be alphanumeric
* Values must be >=0
* Lengths, CSAs, Circuits and Cores of cables must all be >0
2019-10-08 22:34:03 +01:00
Matthew Smith
8c60f6cb1d
created separate base for RIGS and assets.
...
Fixed create asset form
2019-10-01 22:46:48 +01: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