Commit Graph

32 Commits

Author SHA1 Message Date
Raphael Michel
6d1dea7922 Upgrade to Django 2.2 and modern DRF and py.test (#1246)
* Upgrade django and stuff

* Update to Django 2.2 and recent versions of similar packages

* Provide explicit orderings to all models used in paginated queries

* Resolve naive datetime warnings in test suite

* Deal with deprecation warnings

* Fix sqlparse version
2019-04-07 14:09:49 +01:00
Raphael Michel
944138f7a9 Flake8 update 2019-01-30 09:31:34 +01:00
Raphael Michel
d680937a6c Work around flake8 issues 2019-01-30 08:59:58 +01:00
Raphael Michel
94be46ffdb Fix #978 -- Allow to split names (#1049)
- [x] attendee names
- [x] Invoice address names
- [x] Data migration
- [x] API serializers
  - [x] orderposition
  - [x] cartposition
  - [x] invoiceaddress
  - [x] checkinlistposition
- [x] position API search
- [x] invoice API search
- [x] business/individual required toggle
- [x] Split columns in CSV exports
- [x] ticket editor
- [x] shredder
- [x] ticket/invoice sample data
- [x] order search
- [x] Handle changed naming scheme
- [x] tests
- [x] make use in:
  - [x] Boabee
  - [x] Certificate download order
  - [x] Badge download order
  - [x] Ticket download order
- [x] Document new MySQL requirement
- [x] Plugins
2018-11-05 15:43:21 +01:00
Tobias Kunze
a928fbfafe Config files (#1057)
* Move coveragerc to setup.cfg

* Move pytest.ini to setup.cfg

Closes #1027
2018-10-30 10:12:17 +01:00
Raphael Michel
df2d8925ed Prevent some race conditions 2018-10-29 17:27:12 +01:00
Jakob Schnell
1689925508 Fix #707 -- Setup automated spell-checking for translations (#896)
This will:
  * set up potypo
  * add wordlists, edgecases and phrases
  * fix english typos across the codebase
  * fix german typos and translation
2018-05-27 11:59:10 +02:00
Raphael Michel
c33fc7630e Conformity with latest flake8 version 2017-10-24 12:48:38 +02:00
Raphael Michel
b576a87d61 mark mimetypes as stdlib 2017-06-01 16:20:52 +02:00
Raphael Michel
c67a53d156 Travis: Check style on 3.6 2017-06-01 14:54:52 +02:00
Raphael Michel
c639cd96f5 Moved static files and celery.py 2017-01-04 22:00:28 +01:00
Raphael Michel
503f6dd06f Use consistent flake8 settings everywhere and fix flake8 issues 2016-10-13 22:57:57 +02:00
Raphael Michel
e5314e48a4 Testutils: Do not clutter directory with temporary dirs 2016-09-26 16:00:50 +02:00
Raphael Michel
8d70153a39 Refactored test utilities 2016-09-26 15:58:14 +02:00
Raphael Michel
5031393136 Force isort to treat typing in the py3.5 style, not py3.4 2016-08-13 21:19:36 +02:00
Raphael Michel
2541855948 Fixed missing or unused imports 2016-07-18 23:12:16 +02:00
Raphael Michel
f2f8e285cb Exclude tests/settings.py from flake8 2016-03-03 18:50:56 +01:00
Raphael Michel
1cd64f40eb Resolve warnings from modern flake8 2016-03-03 18:35:37 +01:00
Raphael Michel
101f1c77e0 Refs #44 -- Added optional celery background queue for mails 2015-09-09 23:42:16 +02:00
Raphael Michel
f0c2f2995d Fixed isort settings 2015-07-19 21:13:07 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
bf6dca3e93 Reduced maximum McCabe function complexity by one 2015-06-28 17:12:27 +02:00
Raphael Michel
c6bff238ba Serve static files 2015-05-12 21:48:41 +02:00
Raphael Michel
278a680d7c Exclude vendored code from style checks 2015-03-22 00:09:50 +01:00
Raphael Michel
b8bb71d8a3 Reduce functional complexity (McCabe max 18 → max 12) 2015-03-13 01:04:53 +01:00
Raphael Michel
7c240e5c35 Resolve flake8 style warnings (mostly unused imports) 2015-03-13 00:09:14 +01:00
Raphael Michel
3f7d3711ef New pep8 version added a warning W503 which we will ignore 2015-02-18 10:52:38 +01:00
Raphael Michel
50464140f4 Include tests in flake8 configurations 2014-10-04 22:32:13 +02:00
Raphael Michel
4ff339c620 unittest forces us to break naming conventions, so ignore errors for
them
2014-09-27 14:00:24 +02:00
Raphael Michel
fb07769223 Select correct locale and timezone 2014-09-14 15:10:34 +02:00
Raphael Michel
cd08316f2e Static files management / LessCSS compiler / Bootstrap import 2014-09-10 20:57:04 +02:00
Raphael Michel
e0b57344b8 Code checker configuration 2014-09-10 19:42:10 +02:00