David Taylor
1266dd419c
Use KVM based travis
2017-07-02 18:09:29 +01:00
Tom Price
74747e8700
Explicitly specify python runtime.
...
This follows a change to the heroku buildpack which now defaults to 3.6.1
https://devcenter.heroku.com/changelog-items/1178
2017-07-02 17:05:33 +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
3fa9191150
Update requirements.txt
2017-06-19 23:59:19 +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
David Taylor
175807f664
Merge pull request #294 from nottinghamtec/hotfix/spelling
...
Fix spelling in rig authorisation
2017-06-03 20:30:41 +01:00
Johnathan Graydon
abb56af222
Fix spelling in rig authorisation
2017-06-02 12:52:01 +01:00
David Taylor
48139b29cf
Merge pull request #293 from nottinghamtec/feature/use_native_chrome
...
Use chrome natively on Travis, instead of sauce labs
Reduces test times to 2:30, from around 10:00
2017-05-25 14:28:08 +01:00
David Taylor
7ec09fb774
Use chrome natively on Travis, hopefully faster
2017-05-25 14:23:34 +01:00
David Taylor
e37d1c663b
Merge pull request #292 from nottinghamtec/hotfix/event_authorisation_activity_feed
...
Add EventAuthorisation to the activity feed
2017-05-25 13:32:32 +01:00
David Taylor
bdd7f02fe2
Add EventAuthorisation to the activity feed
2017-05-25 13:09:52 +01:00
Tom Price
b4ea818992
Merge pull request #283 from nottinghamtec/feature/online-auth
...
Add online RIGS authorisation
2017-05-24 17:03:21 +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
Tom Price
7fdafd854e
Add payments to invoice PDF
2017-05-23 19:18:19 +01:00
Tom Price
d85ebb63a1
Minor PDF styling fixes
2017-05-23 19:04:57 +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
75a3059c88
Add failing duplicate test
2017-05-18 18:02:29 +01:00
David Taylor
b6e4c0ed14
Merge branch 'master' into feature/online-auth
...
# Conflicts:
# RIGS/test_functional.py
2017-05-18 17:49:54 +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
4e79f00551
Add pound signs to confirmation emails
2017-05-18 17:22:59 +01:00
David Taylor
b4ab29393e
Allow confirmation emails to fail without blocking the interface
2017-05-18 16:42:13 +01:00
David Taylor
703fb8561a
Move font definition into div, doesn’t seem to be picked up in body
2017-05-18 15:32:54 +01:00
David Taylor
f3c020b613
Update email templates to avoid using bootstrap. Should improve speed, and also cross-email-client compatability
2017-05-18 15:27:50 +01:00
Tom Price
4b87b0a196
Add some visual indicators that authorisations have been submitted.
...
This will show teccies and clients that RIGS is processing emails which can take a short while.
Should prevent duplicate sending.
2017-05-17 19:08:51 +01:00
David Taylor
7cc715cedc
Merge pull request #290 from nottinghamtec/hotfix/event-times-dissapearing
...
Hotfix/event times dissapearing
2017-05-16 15:15:50 +01:00
David Taylor
4b032944ac
Fix the time formatting
2017-05-16 14:50:33 +01:00
David Taylor
cb23fd183e
Add failing test
2017-05-16 14:50:18 +01:00
David Taylor
fbc039c274
Fix tests so they can actually run locally (I failed)
2017-05-16 13:58:05 +01:00
David Taylor
b3156dbb0d
Merge pull request #289 from nottinghamtec/feature/chrome-testing
...
Use Chrome for tests, and sauce-labs for CI integration tests
2017-05-15 21:56:09 +01:00
David Taylor
fdce2fa53d
Update selenium, use chrome for tests, and use sauce-labs for CI integration tests
2017-05-15 21:46:00 +01:00
David Taylor
55d24e96cb
Adds basic tests to check that versioning views load successfully
...
More comprehensive tests should be added when versioning.py is updated for the new version of django-reversion
2017-05-15 20:40:03 +01:00
David Taylor
36d258253f
Fix issues caused by dependency upgrades
2017-05-12 21:32:17 +01:00
David Taylor
865bb131a5
Add merge migration
2017-05-12 21:02:48 +01:00
David Taylor
eb1e8935f4
Fix reversion in signals.py
2017-05-12 20:56:01 +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
7a4f5ba8bf
Merge pull request #217 from nottinghamtec/python-deps
...
[WIP] Update Python dependencies
2017-05-12 16:54:55 +01:00
David Taylor
16a993123b
Merge branch 'master' into python-deps
2017-05-12 16:49:14 +01:00
David Taylor
e547e3e858
Delete unused wercker config
2017-05-10 23:54:23 +01:00
David Taylor
ea26823fec
Add dependency badge to README
...
Add dependency badge to README
2017-05-10 23:45:54 +01:00
David Taylor
1f4e53ad27
Add dependency badge to README
2017-05-10 23:40:48 +01:00
David Taylor
374c31e8b4
Fix date/time/datetime field types
2017-05-10 23:03:35 +01:00
David Taylor
0d726b2b60
Fix paperwork printing
2017-05-10 20:25:41 +01:00
David Taylor
38a8ac1eb4
Add failing tests for event paperwork printing
2017-05-10 20:25:14 +01:00
David Taylor
872e5e72f3
Update the requirements.txt file, always a useful thing to do
2017-05-10 20:11:12 +01:00
David Taylor
d916c1ca19
Update all the things, and fix some upgrade issues
2017-05-10 20:05:36 +01:00
David Taylor
9b1cc965c7
Update to Django 1.10
2017-05-10 18:41:17 +01:00