Commit Graph

59 Commits

Author SHA1 Message Date
Raphael Michel
e2adf1fdb3 Layout refresh for plugin settings page (#2490)
Co-authored-by: Richard Schreiber <schreiber@rami.io>
2022-03-21 16:42:03 +01:00
Raphael Michel
403b8191e4 Upgrade to Django 3.2 (#2056) 2021-05-07 12:00:30 +02:00
Raphael Michel
a93287207b pretix Community Edition moves to AGPLv3-based license (#2023) 2021-04-12 10:33:47 +02:00
Raphael Michel
af23d6e4bf Upgrade to Django 3.0 and other dependencies (#1568)
* Upgrade Django to 3.0 and other dependencies to recent versions

* Fix otp version contsraint

* Remove six dependency

* Resolve some warnings

* Fix failing tests

* Update django-countries

* Resolve all RemovedInDjango31Warnings in test suite

* Run isort

* Fix import

* Update PostgreSQL version on travis
2020-03-23 15:02:20 +01:00
Raphael Michel
5bb27b29ae Seat statistics: Only use active variations 2020-03-16 16:32:34 +01:00
Raphael Michel
d17f8a71e6 Fix crashes in new statistical feature 2020-03-16 16:12:48 +01:00
Martin Gross
f00012a63e Statistics on sold and unsold seats, as well as potential profi… (#1613)
* Statistics on sold and unsold seats, as well as potential profits

* Rework of seats-stats

* Fix crash when all seats are assigned

* Update src/pretix/plugins/statistics/views.py

Co-Authored-By: Raphael Michel <michel@rami.io>

* Update src/pretix/plugins/statistics/views.py

Co-Authored-By: Raphael Michel <michel@rami.io>

* Update src/pretix/plugins/statistics/views.py

Co-Authored-By: Raphael Michel <michel@rami.io>

* Fix count of sold seats

Co-authored-by: Raphael Michel <mail@raphaelmichel.de>
Co-authored-by: Raphael Michel <michel@rami.io>
2020-03-16 15:20:30 +01:00
Raphael Michel
bb5c7c5ad7 Re-introduce plugin categories 2020-02-08 12:38:43 +01:00
Raphael Michel
97f3fbdb80 Fix legacy field name
Sentry PRETIXEU-S0
2019-02-01 17:20:48 +01:00
Raphael Michel
4dae224d73 Statistics: Ellipsize long product names 2019-02-01 16:48:58 +01:00
Raphael Michel
8abfbba9d0 Refactor cancelling positions and orders in the data model (#1088)
- [x] Data model
- [x] display in order view in backend
- [x] review all usages of OrderPositions.objects
- [x] review all usages of order.positions
- [x] review all other model usages
- [x] review plugins
- [x] plugins backwards-compatible API?
- [x] decide on way forward for REST API
- [x] need to cancel fees
- [x] tests
- [ ] plugins
  - [ ] gdpr
  - [ ] reports
- [x] docs
2019-01-10 16:52:34 +01:00
Raphael Michel
09a9d610f8 Make navigation structure more approachable to new users (#1083)
* Move event selector to sidebar

* Unify navigation

* Fix confusing icons
2018-11-12 11:30:36 +01:00
Raphael Michel
f790148ad3 Statistics: Fix AttributeError with subevents 2018-08-31 11:05:17 +02:00
Raphael Michel
10c7d9a6e1 Statistics: Prevent issues with async script loading 2018-08-17 11:12:19 +02:00
Raphael Michel
5dc100d900 Move dangerous order clause 2018-08-08 09:00:44 +02: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
18a378976b Fix #571 -- Partial payments and refunds 2018-08-06 12:24:36 +02:00
Raphael Michel
edeaa1333b Fix #473 -- Internal name for categories and products (#900)
* Fix #473 -- Internal name for categories and products

* fix pdf renderer
2018-05-11 12:53:25 +02:00
Raphael Michel
ca603f41db New color scheme and UI design 2018-04-25 17:13:20 +02:00
Raphael Michel
a284e0c2f7 Add auditable superuser mode (#824)
* Remove is_superuser everywhere

* Session handling

* List of sessions, relative timeout

* Absolute timeout

* Optionally pseudo-force audit comments

* Fix failing tests

* Add tests

* Add docs

* Rebsae migration

* Typos

* Fix tests
2018-03-28 14:16:58 +02:00
Raphael Michel
03133dc1fd Cache access to cache object 2017-10-18 10:27:57 +02:00
Raphael Michel
a773531003 Statistics: Add subevent selection 2017-08-24 12:53:59 +02:00
Raphael Michel
3428ea2f18 [SECURITY] Fix XSS injection vulnerabilities in question answers, event, quota and product names 2017-08-21 15:14:45 +02:00
Raphael Michel
c719adf235 Fix typo in method name 2017-05-03 17:11:55 +02:00
Raphael Michel
d08a0bdb00 Refs #39 -- New concept of "teams" (#478)
* New models

* CRUD UI

* UI for adding/removing team members

* Log display for teams

* Fix invitations, move frontend

* Drop old models (incomplete)

* Drop more old stuff

* Drop even more old stuff

* Fix tests

* Fix permission test

* flake8 fix

* Add tests fore the new code

* Rebase migrations
2017-05-03 16:55:37 +02:00
Raphael Michel
d224ae3eb0 Fix broken aggregation in orders per product statistics 2017-04-17 21:52:17 +02:00
Raphael Michel
0b167aaa2c Deprecate PluginType 2016-11-03 11:33:44 +01:00
Tobias Kunze
e9c3065e03 Pass required parameter for cache invalidation 2016-10-08 14:40:37 +02:00
Raphael Michel
bcfd1dcf3b Statistics: Adjust label angle to 30° 2016-09-18 19:13:40 +02:00
Raphael Michel
f8ce3523dc Added a donut chart to the quota view
Moved morris.js out of the statistics plugin
2016-09-18 19:11:44 +02:00
Martin Gross
46d87c6964 Tilt Ordered/Paid Statistics Labels in order to show them all (#236)
Alternative would be to set xLabelMargin to something low - but this
would just cause new problems with very, very long names.
2016-09-14 13:02:15 +02:00
Raphael Michel
1fbb1352d9 Moved core plugins to the new URL API 2016-07-31 13:06:06 +02:00
Raphael Michel
6693570995 Statistics plugin: Fixed incorrect timezones 2016-07-25 09:43:00 +02:00
Raphael Michel
8edf9a7034 Redesign empty statistics page 2016-05-07 16:25:27 +02:00
Raphael Michel
02fb27fa5d Externalize more resources, implement Content-Security-Policy headers 2016-04-10 17:30:24 +02:00
Raphael Michel
5cca426cd3 Removed all inline <script> tags 2016-04-10 16:44:49 +02:00
Raphael Michel
89f0c5e461 Be explicit about subdomain_ and maindomain_ urls in plugins 2016-03-24 12:57:19 +01:00
Raphael Michel
d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel
b99f541adf Fixed a ValueError in the statistics plugin 2015-10-06 00:01:14 +02:00
Raphael Michel
2e9157cbef Removed unused imports 2015-10-05 11:24:00 +02:00
Raphael Michel
2ec4cbeceb Changed all core plugin versions to stay in sync 2015-09-08 20:58:24 +02:00
Raphael Michel
eb843be8b7 Statistics: Added a GET parameter to flush the cache 2015-08-15 19:23:20 +02:00
Raphael Michel
5d47abd36a Statistics: Fixed product graph 2015-08-15 18:37:28 +02:00
Raphael Michel
9720cd8fea Cached and fixed statistics 2015-08-15 14:31:09 +02:00
Raphael Michel
8cbaa15bf6 Statistics: Removed extra() clause because it caused several problems 2015-08-15 14:11:53 +02:00
Raphael Michel
a811a44b2a Statistics: Fixed payment statistics 2015-08-15 13:32:16 +02:00
Raphael Michel
07be99976e Statistics: Fixed revenue statistics 2015-08-15 13:11:28 +02:00
Raphael Michel
5d3572fa7b Statistics: Consistent usage of currencies 2015-08-15 12:55:46 +02:00
Raphael Michel
808445371d Statistics: Added a graph for revenue over time 2015-08-15 12:54:30 +02:00
Raphael Michel
0db9fe5199 Statistics: Fixed bar colors 2015-08-15 12:40:35 +02:00