-----
- Remove ``Authenticated`` role for ``bda.plone.orders: View Orders``
permission in ``rolmap.xml`` and add ``Vendor`` instead. We really do not
want all authenticated users to be able to see all orders.
[rnix]
- Move page templates to dedicated folder.
[rnix]
- Move invoice related views from ``views.py`` to ``invoice.py``.
[rnix]
- Move order related views from ``views.py`` to ``order.py``.
[rnix]
- Move orders related views from ``views.py`` to ``orders.py``.
[rnix]
- Move general views from ``views.py`` to ``common.py``.
[rnix]
- Ajaxify cancel bookings.
[rnix]
- Fix comment editing in plone 5.
[rnix]
- Only display cancel booking action if booking not already cancelled.
[rnix]
- Fix error in the order detail if the product no longer exists (20).
[rnix]
- Do not exclude reserved bookings by default from billing. This resolves
inconsistenty introduced with
https://github.com/bluedynamics/bda.plone.orders/pull/39 and addressed at
https://github.com/bluedynamics/bda.plone.orders/issues/45.
[rnix]
- Introduce ``ProtectedOrderDataView`` and use as base for ``DirectOrderView``
and ``DirectInvoiceView``.
[rnix]
- Add invoice view.
[rnix]
- Remove duplicate ``Translate`` class from
``bda.plone.orders.browser.contacts``.
[rnix]
- Rename ``OrdersContentView`` to ``ContentViewBase``.
Introduce view configuration properties ``do_disable_border``,
``do_disable_left_column`` and ``do_disable_right_column``.
[rnix]
- Introduce ``OrderDataView`` base class for views dealing with single order
data.
[rnix]
- Add HTML support for order related notification mails.
[rnix]
- Change signature of ``bda.plone.orders.MailNotify.send``. Accepts now
``subject``, ``receiver`` and ``text`` as positional arguments and an
optional ``html`` argument.
[rnix]
- Also handle transaction id and payment state for ``bda.plone.stripe``
payment in ``bda.plone.common.payment_success`` and
``bda.plone.common.payment_failed`` event subscribers.
[rnix]
- orders: rebind notification binder also after datatable has been updated.
[thet]
- Don't fail in ``contacts`` view when searching for non-ascii characters.
[thet]
- Display Toolbar contents in Plone 5 on order related content views.
[rnix]
- Fix export orders form.
[rnix]
- Fix export if stock behavior not applied on buyable
[rnix]
- use MwSt. instead of Ust. in german
[agitator]
- Added item_number to order mails
[agitator]
- Create safe filenames for ``exportorders_contextual``.
[thet]
- Make the current context as base url for ``ajaxurl`` in OrdersTable and BookingsTable.
This way, the current subsites settings are respected, e.g. when rendering state transition dropdowns, which again sends mails and those need the correct sender.
[thet]
- Reimplement ``update_item_stock`` according to transition changes, documented at the table in ``transitions.py``.
[thet]
- If no ``uid`` was given when calling the ``order`` view, redirect to current context and show an error message instead of failing.
[thet]
- In ``bookings`` view, group by buyable per default.
[thet]
- In ``bookings`` view, add ``buyable_comment`` column and combine first name, last name and address information to save space.
[thet]
- Don't include reserved bookings in ``OrderData`` payment information (net, vat) and don't count them when calculating the salaried state for orders.
[thet]
- In mail templates, list reserved items seperately from normal ordered items.
[thet]
- Fix modifications of ``buyable_comment`` in ``orders`` view not being saved.
[thet]
- Translate country code in mail notifications.
[thet]
- On mail notifications, don't try to include delivery_address if no delivery_address template is available.
In some contexts, there is no need for a delivery_address, like booking canceling.
[thet]
- Unicode almost everywhere.
Fixes some ``Unicode Decode Error``.
[thet]
- Add transition actions when state is changed from "Reserved".
Sends out a mail with a notification for the customer and adminitrator, that the item became available and is ordered.
[thet]
- In ``do_transition_for`` on orders, set the state on each booking instead directly on the order.
This way each booking setter is called, e.g. for changing stock items, setting overall order state and so on.
[thet]
- Send out mails when cancelling whole orders or individual bookings from the ``orders`` and ``bookings`` views, not only from the order detail view.
This is done by moving the necessary logic into ``bda.plone.orders.transitions.do_transition_for``.
[thet]
- Add filters for Vendor, Customer, State and Salaried state to the bookings view.
[pcdummy]
- Overhaul order and bookings state and salaried transitions.
[rnix]
- Add filter for order state and salaried to the orders view.
[pcdummy]
- Introduce ``bda.plone.orders.mailnotify.BOOKING_CANCELLED_TITLE_ATTRIBUTE``
which is used to lookup title attribute for booking cancellation
notification.
[rnix]
- Fix sorting on email address in orders table.
[rnix]
- Re-add calculated values for state and salaried on order booking. Needed
for orders view to ensure sorting works.
[rnix]
- Show user filter as "Lastname, Firstname (Username) - Email" instead of
"Username (Firstname, Lastname)", sort the users on Lastname.
[pcdummy]
- Plone 5 update
[agitator]