Commit Graph

55 Commits

Author SHA1 Message Date
8568c591a9 Update Python Dependencies (#404)
* [requires.io] dependency update

* Server starts...

Various things are broken, but it runs!

* [requires.io] dependency update

* [requires.io] dependency update

* [requires.io] dependency update

* FIX: Broken migrations

* FIX: Update auth framework

* FIX: Correct static use in templates

* FIX: Fix supplier sort

* FIX: Remaining tests

* Revert "Disable password reset as temporary fix to vulnerability (#396)"

This reverts commit e0c6a56263.

# Conflicts:
#	RIGS/urls.py

* FIX: Fix broken newlining in PDFs

Introduced by a change in Django 2.1 'HTML rendered by form widgets no longer includes a closing slash on void elements, e.g. <br>. This is incompatible within XHTML, although some widgets already used aspects of HTML5 such as boolean attributes.'

* FIX: Fix some Django4 deprecation warnings

Why not...

* Refactor dependency file

Should now only include dependencies we actually use, not dependencies of dependencies and unused things

* Add newlines to the paperwork print test event

This will catch the error encountered in 79ec9214f9

* Swap to pycodestyle rather than pep8 in Travis

And eliminate W605 errors

* Bit too heavy handed with the dep purge there...

* Whoops, helps if one installs pycodestyle...

* FIX: Re-add overridden login view

* Better fix for previous commit

* FIX: Bloody smartquotes

Co-authored-by: requires.io <support@requires.io>
2020-03-07 16:21:48 +00:00
ae151ed45e Add assets test suite (#400)
* Started POM and assets test

* FEAT: Adapt unit tests from RIGS to assets

* CHORE: pep8...

* Added Asset Create and Edit forms

* Add non-cable asset creation test

* CHORE: Frickin pep8...

* Add cable asset creation test

* Basic asset create validation testing

* Asset edit tests are here

A bit dodgy in places but par for the course for me :P

* Add access level tests

* Delete unused code

Much less effort way to increase coverage stats :D

* Add delete sample data test for completeness

Chasing that sweet 100% coverage...

* Add supplier list page + tests

Also fix the supplier page not being ordered alphabetically

* Helps if I add the migration...

* Add supplier create/edit tests

* Asset duplicate tests

Also fixed some random bugs

* Asset search tests

* 404 tests and test that everything requires authentication

* Test visibility of form errors

And fix supplier form not displaying errors correctly!

* Fix broken search test


Co-authored-by: Matthew Smith <mattysmith22@googlemail.com>
2020-02-08 13:52:07 +00:00
4f036af85a Create the Asset Database (#363) 2019-12-04 23:14:27 +00:00
David Taylor
5f8a77586a Revert "Add warning"
This reverts commit e5b7fdbae1.
2018-10-07 00:30:00 +01:00
David Taylor
e5b7fdbae1 Add warning 2018-09-13 14:01:44 +01:00
David Taylor
01d2eae7bc More invoice UI improvements - makes colouring consistent - also closes #242 2016-07-10 11:14:24 +01:00
David Taylor
a769486c9c Changed order of invoice menu items to make it more intuitive (now in order of workflow) 2016-05-29 21:37:14 +01:00
David Taylor
83302c4439 Invoice UI improvements. Renamed pages, added description, and added total number of events 2016-05-29 21:30:05 +01:00
David Taylor
db58c113aa Changed font to load over https - #236 2016-05-28 14:52:48 +01:00
Tom Price
54dc29b4b2 Switch to jquery CDN who provide a sha256 hash to validate against.
Advise is now to always use HTTPS for libraries as somebody else manages the certificate it will always validate and it makes sure that a large target doesn't get subject to MITM attack.
2016-03-17 17:18:42 +00:00
Harry Bridge
5d48d75f34 Make protocol-agnostic 2016-03-12 18:17:03 +00:00
Harry Bridge
92beb8bf79 Fixed jquery version 2016-03-12 18:12:39 +00:00
David Taylor
8279bec4bf Removed warning message at top - closes #203 2016-03-10 11:46:28 +00:00
Tom Price
aa76c6c775 Add missing raven js file. 2015-11-10 11:58:07 +00:00
Tom Price
2e1ab96186 Add Sentry logging 2015-11-10 11:06:52 +00:00
Tom Price
0c11da4665 Add a careful reminder about booking rigs 2015-10-06 22:59:05 +01:00
David Taylor
0a55d373f2 Fix logout/login infinite loop
(Since there are now no pages accessible without login, there is no need for the login link to have the "next" parameter)
2015-06-28 22:35:52 +01:00
Tom Price
6bfcbeb8aa Fix for #140 2015-05-31 16:31:38 +01:00
David Taylor
c6d15c5fca Fixed impending static files fail 2015-05-29 02:02:11 +01:00
Tom Price
4846d858aa Prevent modal inception 2015-05-29 01:46:12 +01:00
David Taylor
ceae2acf61 Removed url import all-together 2015-05-28 20:17:58 +01:00
David Taylor
f78ce621d5 Removed "from future" for url imports 2015-05-28 20:07:45 +01:00
David Taylor
f4c882bc95 Fixed moronity 2015-05-28 16:26:27 +01:00
David Taylor
7a0f845284 Added easter egg event tracking 2015-05-28 16:21:47 +01:00
David Taylor
d883f4b66e Implemented project ship 2015-05-27 02:36:30 +01:00
David Taylor
1e61d760fa Add invoice menu icons 2015-05-26 15:47:39 +01:00
David Taylor
67f8ae9fc7 Added various permission checks for links 2015-05-26 03:17:20 +01:00
David Taylor
52550dd86e Added icons to rigboard dropdown 2015-05-24 03:13:57 +01:00
Tom Price
67dbfe8771 Change font to Open Sans and actually import it.
I am a moron.
2015-05-18 23:52:59 +01:00
Tom Price
c96e9ae5b4 Major bugfix with new modal. Minified CSS. 2015-05-18 18:34:18 +01:00
Tom Price
cecc998ebc Merged in hotfixes (pull request #34)
Various Hotfixes
2015-05-18 17:27:54 +01:00
Tom Price
a1e29afbed Add some new buttons #108 2015-05-18 16:12:48 +01:00
Tom Price
b67548f166 Merged in favicon (pull request #4) (at last)
Added favicon and smartphone icon meta tags to template #18
2015-05-18 14:11:18 +01:00
Tom Price
b5fd509e61 Relocate new select scripts to in theory always load before ready() fires #83 2015-04-24 15:09:15 +01:00
David Taylor
66236df979 Made a nice new UI for autocompleting 2015-04-22 13:27:56 +01:00
David Taylor
0c8665d370 Added calendar view 2015-04-19 22:25:59 +01:00
David Taylor
d5bfc57735 Added favicon and smartphone icon meta tags to template 2015-03-31 03:11:00 +01:00
tomtom5152
cc27822b34 Add links to user details to base.
Improve issues with logout not looking correct.
2015-03-25 20:44:58 +00:00
tjp03u
2ae6e305e2 Added analytics code. 2015-03-11 14:57:33 +00:00
tomtom5152
2568517a8f Readded start>end checking. Template improvements
Added descritpions of all error for the user as well as the image.

Added contextual alert boxes for messages in base.

If  start>end start<=>end. Very simple fix, thanks Charlie.
2015-03-05 18:20:43 +00:00
tomtom5152
bbce968478 Added more invoice buttons 2015-01-30 00:25:45 +00:00
tomtom5152
8086d13756 Enabled invoices button 2015-01-30 00:22:48 +00:00
tomtom5152
f913b94345 Started making use of gravatar icons. 2015-01-29 20:02:18 +00:00
root
3df97c9e61 Fixed display issue with the base template 2015-01-29 18:46:21 +00:00
Tom Price
343e34662b Added archive link
Added legacy redirect urls
2015-01-26 16:09:22 +00:00
Tom Price
a87a1ba6bf Fixed conditional user bit on the homepage
Improved text formatting on the base template
2014-12-03 22:39:13 +00:00
Tom Price
91f6bb5557 Updates to AJAX forms and adding autofill function to the event form when adding things via AJAX 2014-12-03 11:17:07 +00:00
Tom Price
c6e792c85b Created index
Minor changes to base template navbar
2014-12-02 16:23:31 +00:00
tomtom5152
9352733629 Working rigboard. Thank fuck... 2014-11-06 03:32:36 +00:00
tomtom5152
1a57535695 Changed finance links 2014-11-05 23:14:24 +00:00