Commit Graph

45 Commits

Author SHA1 Message Date
Raphael Michel
a4d8c810ce Support for right-to-left languages (#1438)
* play around

* Flip things in presale

* Convert backend

* Remove test settings

* Safe getattr
2019-10-15 11:41:23 +02:00
Raphael Michel
45e98546d6 Add open graph tags to event pages 2019-05-16 11:30:25 +02:00
Raphael Michel
67059fe323 Add a simple test mode (#1181)
- [x] Provide data model and configuration toggle
- [x] Allow to delete individual test orders
- [x] Add tests
- [x] Add a prominent warning message to the backend if test mode orders exist (even though test mode is off), as this leads to wrong statistics
- [x] Decide if and how to generate invoices for test orders as invoice numbers cannot be repeated or should not have gaps.
- [x] Decide if and how we expose test orders through the API, since our difference pull mechanism relies on the fact that orders cannot be deleted.
- [x] Decide if and how we want to couple test modes of payment providers?
- [ ] pretix.eu: Ignore test orders for billing
- [ ] Adjust payment providers: Mollie, bitpay, cash, fakepayment, sepadebit

![download](https://user-images.githubusercontent.com/64280/53009081-fe420d80-343a-11e9-8361-b8511c988598.png)
2019-02-20 17:51:26 +01:00
Raphael Michel
777772b89e Remove spaces from locale URLs 2019-02-18 15:12:45 +01:00
Raphael Michel
d798da33ef Add option to add robots=noindex meta tag 2018-10-03 11:15:59 +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
a237078b68 Optional link back to organizer page 2018-04-12 13:58:10 +02:00
Raphael Michel
e7458f3032 Add custom thumbnailer 2018-03-20 11:55:46 +01:00
Tobias Kunze
e7f38abd77 Use rel="noopener" with target="_blank". (#682)
Required reading: https://mathiasbynens.github.io/rel-noopener/
2017-11-13 18:52:15 +01:00
Raphael Michel
9767243a6d Fix #277 -- Embeddable shop (#622)
* Vendor vue.js

* Refactor item_group_by_category to support vouchers

* Widget: Show product list

* Widget: free prices

* Widget: pictures and loading indicator

* Widget: First iframe steps

* Widget: Do not rerender iframe

* Widget: Error handling

* Improve widget

* Widget: localization tech

* Fix invoice style

* Voucher attribute and waiting list

* Add some iframe chrome

* First step to namespaced carts

* More isolation steps

* More cart isolation things

* More cart isolation things

* Mobile stuff

* Show cart on checkout pages

* PayPal and Stripe support

* Enable downloads

* Locale handling

* change text "save URL to this exact page"

* Widget: voucher redemption

* Widget: CSS

* CSS: Responsive

* Widget: CSS improvements

* Widget: Add embedding code generator

* Widget: Error messages and SSL check

* First tests

* Widget: tests

* Don't use IDs in widgets

* Widget: static files caching
2017-10-28 21:54:27 +02:00
Raphael Michel
43fc498297 Prevent some pages from search indexing 2017-09-25 10:04:37 +02:00
Raphael Michel
8123effa65 Add sub-events and relative date settings (#503)
* Data model

* little crud

* SubEventItemForm etc

* Drop SubEventItem.active, quota editor

* Fix failing tests

* First frontend stuff

* Addons form stuff

* Quota calculation

* net price display on EventIndex

* Add tests, solve some bugs

* Correct quota selection in more places, consolidate pricing logic

* Fix failing quota tests

* Fix TypeError

* Add tests for checkout

* Fixed a bug in QuotaForm

* Prevent immutable cart if a quota was removed from an item

* Add tests for pricing

* Handle waiting list

* Filter in check-in list

* Fixed import lost in rebase

* Fix waiting list widget

* Voucher management

* Voucher redemption

* Fix broken tests

* Add subevents to OrderChangeManager

* Create a subevent during event creation

* Fix bulk voucher creation

* Introduce subevent.active

* Copy from for subevents

* Show active in list

* ICal download for subevents

* Check start and end of presale

* Failing tests / show cart logic

* Test

* Rebase migrations

* REST API integration of sub-events

* Integrate quota calculation into the traditional quota form

* Make subevent argument to add_position optional

* Log-display foo

* pretixdroid and subevents

* Filter by subevent

* Add more tests

* Some mor tests

* Rebase fixes

* More tests

* Relative dates

* Restrict selection in relative datetime widgets

* Filter subevent list

* Re-label has_subevents

* Rebase fixes, subevents in calendar view

* Performance and caching issues

* Refactor calendar templates

* Permission tests

* Calendar fixes and month selection

* subevent selection

* Rename subevents to dates

* Add tests for calendar views
2017-07-11 13:56:00 +02:00
Michele Fattoruso
5932558ca2 Fix #300 - Feature/remove flag as language (#542)
* don't use flags to indicate languages #300

* cleaned code

* removed the filter and moved the logic to context.py

* cleaned code

* show the text in the local language

* cleaned code

* changed loop for list comprehension

* fix indentation

* ordered import
2017-07-06 09:13:57 +02:00
Bolutife Lawrence
962cdef69a Fix #379 -- Add logo to event organizers (#431)
* [WIP] Add logo to event organizers.

* Fix indentation issues.

* Refactor code

Refactor code

Refactor code

* Add new migration

* Take files into account for organizer sform (settings form)

* Fix grammer

* Make bootstrap form errors specific to each fieldset

* Display logo on organizer's page

* Fix PR issues

Fix PR issues

Fix PR issues

* Reorder imports

* Remove conflicting migration

* Fix rebase conflict
2017-05-08 17:46:35 +02:00
Raphael Michel
f4672564ce Fix #37 -- Clever displaying of date ranges 2016-12-25 22:51:19 +01:00
Raphael Michel
7f7ee28f92 Move footer linklist to global template instead of event template 2016-10-31 19:07:18 +01:00
Raphael Michel
67b2135eeb Use safelink for global footer links 2016-10-31 19:06:06 +01:00
Tobias Kunze
d54d9a70fb Include site-wide footer link/text 2016-10-31 19:03:41 +01:00
Raphael Michel
2e453bd051 Use the redirect view for the imprint link 2016-09-19 22:17:13 +02:00
Raphael Michel
a43b41c8d6 Actually link flags via static tag 2016-09-14 12:43:51 +02:00
Raphael Michel
4ab819aeed Added custom logo support 2016-07-29 20:53:19 +02:00
Raphael Michel
f779b70deb Improved UI of language switcher 2016-07-11 19:52:49 +02:00
Raphael Michel
0c4368170f Added hook for links in the footer 2016-06-14 13:05:47 +02:00
Raphael Michel
e29f19e96b Fixed #29 -- "Shop is live" flag 2016-02-22 21:53:08 +01:00
Raphael Michel
b26eaaa6c9 Consistent use of static files template tags 2015-12-03 23:23:07 +01:00
Raphael Michel
232c42b265 Added an organizer overview page 2015-10-22 17:45:19 +02:00
Raphael Michel
3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel
651d82c128 Removed a orphaned middot 2015-10-18 14:01:04 +02:00
Raphael Michel
c4638a3402 Enabled asynchronous cart/order actions 2015-10-05 11:33:53 +02:00
Raphael Michel
93d027cec6 Make all orders "guest orders" 2015-10-05 11:24:00 +02:00
Raphael Michel
9e16ad3433 Added lightbox.js for product images 2015-07-26 00:10:27 +02:00
Raphael Michel
d301bb55ba Fixed #77 -- Enabled and improved responsiveness 2015-06-30 19:19:41 +02:00
Raphael Michel
11eb01a92b Added a settings change view for users in the frontend 2015-06-25 20:57:02 +02:00
Raphael Michel
e12ddcc61d Added datetime localization 2015-06-21 23:00:19 +02:00
Raphael Michel
35f5263430 Fixed long address displayed in header 2015-06-16 19:45:24 +02:00
Raphael Michel
e657fe6605 Added configuration options for imprint URL and contact email address 2015-06-15 20:17:18 +02:00
Raphael Michel
8430da34ca Fix text flow in header (fixes #63) 2015-06-03 00:20:22 +02:00
Raphael Michel
50cf108a05 Display user's name correctly 2015-05-28 21:51:10 +02:00
Raphael Michel
7a3051c22d Presale: Add a language switch to the UI 2015-05-08 21:59:08 +02:00
Raphael Michel
cd0e1cb520 Wider usage of the settings framework (#17) 2015-04-01 11:54:56 +02:00
Raphael Michel
f54515ba0a Provide a new API for plugins to add HTML to the <head> of the site 2015-03-15 23:50:30 +01:00
Raphael Michel
8875a6328f Overview over user's orders 2015-03-14 13:55:26 +01:00
Raphael Michel
a78f447750 'powered by pretix' link 2015-03-13 01:48:48 +01:00
Raphael Michel
29cedbaac3 First steps towards payment provider selection 2015-03-06 15:22:09 +01:00
Raphael Michel
077413f41c Restructure our python module. A lot. 2015-02-14 17:55:13 +01:00