Commit Graph

54 Commits

Author SHA1 Message Date
c049874e5f FIX: Whoops, undo accidental whitespace change 2020-01-24 00:58:04 +00:00
806b8a3f00 FEAT: Add admin email notif when an account is activated and awaiting approval
No async or time-since shenanigans yet!
2020-01-24 00:56:44 +00:00
b74dfac33d Merge remote-tracking branch 'origin/master' into open 2020-01-23 16:11:11 +00:00
295397b32d CHANGE: Prevent both person and org being left blank for a Rig
Of course, there's no requirement that either of those have any actual contact details...

Closes #276.
2020-01-14 18:10:37 +00:00
f616017423 CHANGE: Remove phone number field from initial registration
Closes #354
2020-01-13 21:07:09 +00:00
0ee393725e FIX: Require login on events and event embeds again
Little too far to the open side there Arona... Whooooooops!
2020-01-11 20:31:05 +00:00
ea12bfa607 Prevent unapproved users logging in through embeds
Test suite doing its job...!
2020-01-11 19:25:50 +00:00
4d722fd5cb Superusers bypass approval check
This should fix the remainder of the tests
2020-01-11 19:16:42 +00:00
479977ef58 CHANGE: New user signups now require admin approval
Given that I intend to reveal much more data to new users this seems necessary...
2020-01-11 18:18:08 +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
bd28d2054e Remove autofocus from form 2019-06-20 00:13:24 +01:00
David Taylor
f9389e3996 PEP8 all the things 2017-09-22 14:57:14 +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
b6e4c0ed14 Merge branch 'master' into feature/online-auth
# Conflicts:
#	RIGS/test_functional.py
2017-05-18 17:49:54 +01:00
David Taylor
4b032944ac Fix the time formatting 2017-05-16 14:50:33 +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
374c31e8b4 Fix date/time/datetime field types 2017-05-10 23:03:35 +01:00
Tom Price
6e78f16c33 Add changes suggested by DT 2017-04-11 11:45:08 +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
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
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
Tom Price
0ee37b1cd3 Fix issues with python2 imports 2016-03-31 12:07:07 +01:00
Tom Price
0a30a99e1f Absolish the captcha from the login page. 2016-01-04 23:37:11 +00:00
Tom Price
0a3a35bf1b Setup useradminform correctly for profiles enabling admins to change passwords. 2015-10-15 13:38:24 +01:00
David Taylor
d2464012ad Added comments to EventItem creation 2015-08-28 00:12:29 +01:00
David Taylor
0eb820000c Merge branch 'master' into duplicate-event 2015-08-27 23:59:50 +01:00
Tom Price
8e478dd7a9 Remove implicit fields as these are not needed in the form definition.
Passes all tests.
2015-08-27 22:46:50 +01:00
David Taylor
91866b3a57 Removed unnecessary username field definition 2015-08-27 01:48:10 +01:00
David Taylor
c7585f6bbb Added missing email field to registration form 2015-08-27 01:36:44 +01:00
David Taylor
26d671ea0d EventDuplicate now presents an edit view before saving 2015-08-16 19:31:35 +01:00
Tom Price
7aa6c05f96 Add missing username field *facepalms* 2015-05-31 23:30:09 +01:00
David Taylor
06f9bf6eec Uncommented captcha 2015-05-24 12:14:43 +01:00
Tom Price
a95dd34bea Working saving of registration data, need this doesn't create the required registration profile though.
Might need to find a way to invoke automatically then just append the new user data to the end.
2015-05-21 16:04:12 +01:00
Tom Price
291e6d5c26 Add recaptcha to password reset form.
This should be all public facing pages covered.
2015-04-25 17:04:15 +01:00
Tom Price
42e8de7d9d Add recaptcha to login page 2015-04-25 16:54:01 +01:00
Tom Price
6b1ac008c5 Add recaptcha field to form 2015-04-25 16:30:42 +01:00
David Taylor
4560be158a Added PO field to event form 2015-04-23 23:58:54 +01:00
David Taylor
94a07c71c7 Fixed issue #61 - caused by typo in 0940d9f 2015-04-19 23:40:12 +01:00
Tom Price
c0522728fe Merge branch 'master' of https://bitbucket.org/nottinghamtec/pyrigs 2015-03-31 16:50:43 +01:00
Tom Price
0940d9f275 Bug fix for incorrectly formatted dates issue #47 2015-03-31 16:40:15 +01:00
Tom Price
ec9b108742 Merged in Registration-Profile-Names (pull request #2)
Added first & last name fields to registration form #43

Don't need to change the template for this. Woo for being lazy :P
2015-03-31 10:55:20 +01:00
Tom Price
c3aa3763a7 Merged in unique-initials (pull request #3). Ignore me with model validation, not a thing due to superclass.
Add unique initial validation #44
2015-03-31 10:53:44 +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
Tom Price
6cdfb826f2 Fix unhelpful error message issue #42 2015-03-31 09:03:45 +01:00
David Taylor
a2be5d00b8 Add unique initial validation 2015-03-31 02:05:50 +01:00
David Taylor
98d0851f58 Added first & last name fields to registration form 2015-03-31 01:41:03 +01:00
tomtom5152
cc85b44ba3 Add rig collected by information issue #25 2015-03-28 17:12:37 +00:00
tomtom5152
f013cfb968 Bug fix for #30 2015-03-27 12:21:21 +00:00
tomtom5152
d70ad24c53 Bugfix for #27 2015-03-26 14:16:03 +00:00
tomtom5152
29edcebb88 Added missing fields to event form and detail 2015-01-28 16:49:10 +00:00