Commit Graph

52 Commits

Author SHA1 Message Date
Raphael Michel
fed389b990 Remove plugins task from travis 2019-06-14 12:21:34 +02:00
Raphael Michel
d5820d74d3 Fix #1025 -- Python 3.7 support (#1245)
* Fix #1025 -- Python 3.7 support

* Upgrade redis-py

* Travis: xenial

* Fix version specifier
2019-04-06 22:58:36 +01:00
Raphael Michel
22369a5559 Fix CI problems with SQLite (#1076)
* Try to re-enable tests on Py3.5

* Add newer SQLite3
2018-11-19 17:57:50 +01:00
Raphael Michel
74e8e73877 Stop testing against Py3.5 2018-11-08 15:44:56 +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
Raphael Michel
409e77cf2f Stop pinning setuptools 2018-10-29 12:42:07 +01:00
Raphael Michel
afd766999c Upgrade to Django 2.1 (#710)
* Upgrade to Django 2.0

* more models

* i18n foo

* Update setup.py

* Fix Sentry exception PRETIXEU-JC

* Enforce slug uniqueness

* Import sorting

* Upgrade to Django 2.1

* Travis config

* Try to fix PostgreSQL failure

* Smaller test matrix

* staticfiles→static

* Include request in all authenticate() calls
2018-08-06 12:48:46 +02:00
Raphael Michel
69d10489b8 Implement OAuth2 provider (#927)
- [x] Application management
  - [x] Link
  - [ ] Tests
- [x] Authorize flow
  - [x] Tests
- [x] Refresh token handling
  - [x] Tests
- [x] Revocation endpoint
  - [x] Tests
  - [x] Mitigate: https://github.com/jazzband/django-oauth-toolkit/issues/585
- [x] API authenticator / permission driver
  - [x] Test
- [x] Enforce organizer restriction
  - [x] Tests
- [x] Enforce scope restriction
  - [x] Tests
- [x] Show current applications to user
  - [x] Revoke
  - [x] Tests
- [x] Log new authorizations
  - [x] notify user
- [x] Ensure other grant types are not available
- [x] Documentation
- [x] check if revoking access toking, then refreshing gets rid of organizer constraint
- [x] Show logentry foo
2018-06-05 12:58:04 +02: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
4262bb801e Travis: Do not build weblate branches 2018-03-12 12:13:42 +01:00
Jakob Schnell
9ab39904e8 Implement automatic spell-check for docs (#688)
* [WIP] Implement automatic spell-check for docs

fixes #663

The only thing unclear to me so far is how the output of `make spelling`
should be checked - is there a possibility to check for a file (i.e.
`_build/spelling/output.txt`) to be empty, and report a failed build
otherwise?

* fix typo in requirements.txt

* add enchant library

* travis should report errors, order spelling wordlist

* change travis.yml to easier troubleshoot build issues

* fixed more typos, added more words

* add more words, fix more typos

* added more words

* added more words

* revert changes to .travis.yml
2017-12-11 11:41:59 +01:00
Raphael Michel
6d1b4b0a39 Re-order travis matrix for better productivity 2017-10-07 18:16:36 +02:00
Raphael Michel
eece5793d6 Fix travis after bbed8e5f 2017-08-01 20:43:28 +02:00
Raphael Michel
c67a53d156 Travis: Check style on 3.6 2017-06-01 14:54:52 +02:00
Raphael Michel
be1cbfeb91 Integrate cartshare tests (#425) 2017-03-12 00:32:33 +01:00
Raphael Michel
af4a2c7184 Run tests on multiple Python versions and databases (#424)
* Test against more python versions

* Add testing on MySQL

* Add testing on PostgreSQL
2017-03-02 11:59:09 +01:00
Raphael Michel
d701133f15 Revert to setuptools 28.6 on CI due to
https://github.com/pypa/setuptools/issues/833
2016-10-29 12:50:26 +02:00
Raphael Michel
090d25aba0 Added examples to i18n documentation, run doctests 2016-09-01 12:36:28 +02:00
Raphael Michel
0cb3761093 Speed up travis CI runs 2016-08-14 18:03:58 +02:00
Raphael Michel
eb110b54a7 Install recent setuptools on travis 2016-07-18 22:57:38 +02:00
Raphael Michel
1cd64f40eb Resolve warnings from modern flake8 2016-03-03 18:35:37 +01:00
Raphael Michel
61d3954a13 Travis: update dependencies 2016-02-09 11:03:05 +01:00
Raphael Michel
79ad8b40ed Added python3.5-style type annotations to pretix.base 2015-11-04 23:39:59 +01:00
Raphael Michel
acc41b41e6 Fixed CI dependency installation 2015-10-18 19:53:31 +02:00
Raphael Michel
73d87de99e Fixed travis caching 2015-09-27 20:54:25 +02:00
Raphael Michel
02c99babaa Use pip 7 caching 2015-09-27 18:49:25 +02:00
Raphael Michel
9ab6cc52c7 Refs #40 -- Removed Python 3.2/3.3 support 2015-08-22 14:23:11 +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
7e1121e870 Upgraded to Travis' new infrastructure 2015-07-19 13:25:55 +02:00
Raphael Michel
219d52f16e Fix travis file 2015-06-02 14:09:53 +02:00
Raphael Michel
4286edfee3 Use py.test for testing 2015-06-02 13:26:04 +02:00
Raphael Michel
f6e8b0ea37 Try to fix travis 2015-05-16 10:38:48 +02:00
Raphael Michel
00250d5c74 Travis was not compressing files 2015-05-16 10:17:34 +02:00
Raphael Michel
8b880e17fd Travis: Install node 2015-05-16 10:03:29 +02:00
Raphael Michel
95c3f28794 Use Makefile in travis 2015-05-16 09:54:06 +02:00
Raphael Michel
d9d0b7366b Do perform compression in tests 2015-05-16 09:52:47 +02:00
Raphael Michel
25fff77be5 Django's new URLconfig style allows us to no longer ignore PEP8s error
E128
2015-03-13 00:07: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
583b029776 Travis is annoying me 2015-02-12 10:50:47 +01:00
Raphael Michel
d68a15b499 Travis CI: Verbose output 2015-02-12 09:29:26 +01:00
Raphael Michel
7a5df55e38 Travis currently likes to fail because the tests do not output anything
for 10 minutes, more often with Python 3.2 than with others. This could be
a problem with our test code, but just as likely a problem with Travis,
so we'll try whether a travis_wait command helps.
2015-02-12 00:43:07 +01:00
Raphael Michel
24beedd232 Use PhantomJS instead of SauceLabs for CI testing 2015-01-15 10:14:44 +01:00
Raphael Michel
b8a9c63b07 Try SauceLabs for Selenium tests 2014-10-18 20:48:36 +02:00
Raphael Michel
e461d47ed2 Test Py3.3 as well 2014-10-07 17:47:23 +02:00
Raphael Michel
421b4d8eca Ignore McCabe 2014-10-07 00:53:03 +02:00
Raphael Michel
c45ea081fa Coverage checks 2014-10-02 10:08:54 +02:00
Raphael Michel
916f8a49b4 Add Django 1.7's check framework to travis config 2014-09-29 22:56:18 +02:00
Raphael Michel
1f737af1c6 Update .travis.yml 2014-09-29 14:43:03 +02:00
Raphael Michel
e0b57344b8 Code checker configuration 2014-09-10 19:42:10 +02:00