v2.4.3: Feature MobilePay transaction integration (#204)
* [paytool] Add charfield for transactions to member model
* [paytool] Add paytool to url pattern and add WIP handler
* [paytool] Add paytool template
* [paytool] Increment: Rework of old batch, presents nicely and does updates on db
* [paytool] Increment: Add MobilePayment model, parsing, and WIP-changes
* [paytool] Add test fixtures for mobilepay testing
* [paytool] Add path fix of script and auth user for fixture
* [paytool] Add distinct CSV uploader and working paytool
* [paytool] Add charfield for transactions to member model
* [paytool] Add paytool to url pattern and add WIP handler
* [paytool] Add paytool template
* [paytool] Increment: Rework of old batch, presents nicely and does updates on db
* [paytool] Increment: Add MobilePayment model, parsing, and WIP-changes
* [paytool] Add test fixtures for mobilepay testing
* [paytool] Add path fix of script and auth user for fixture
* [paytool] Add distinct CSV uploader and working paytool
* [paytool] Fix MobilePay timestamp and refactor csv import function
* [paytool] Fix duplicated code in *PaymentAdmin
* [paytool] Add unique constraint on Payment foreign key to MobilePayment mapping
* [paytool] Clean up display of CSV imports
* [paytool] Fix django-select2 usage in paytool
* [paytool] Restrict MobilePayment matching to active users
* [paytool] Make member matching case insensitive
* [paytool] Add association of admin user on approved MobilePayment
* [paytool] Add formatted view of amount
* [paytool] Add back admin user in fixture
* [paytool] Refactor feature
* [paytool] Add logging of MobilePayment action
* [paytool] Refactor query into utils and remove unused data in paytool view
* [paytool] Refine user-text in mobilepaytool
* [paytool] Fix py36 datetime.fromisoformat function missing
* [paytool] Add ignore-functionality for MobilePayment processing
* [paytool] Add general tests
* [paytool] Add batch and ignored MobilePayment tests
* [paytool] Refactor timestamp conversion during import
* [paytool] Remove approved_by_admin-field anticipating PR #207
* [paytool] Add min-width to select2 box on paytool
* [paytool] Add named migration for feature
* [paytool] Add member-guess functionality and related tests
* [paytool] Update testdata and add application of member-guess on approved payment and test
* [paytool] Refactor datetime parsing to using Django's own util
* [paytool] Remove old datetime parsing artifacts
* [paytool] Merge mobilepay import and paytool into one page
* [timezone] Use status-choice and improve form
* Improve submission of processed mobilepayments and refine form
* Update testdata-mobilepay.json for status field change
* Remove Mobilepay Django reload script
* Undo automatic reformatting
* Add PaymentAdmin flag for assoc with MobilePayment
* Fix import and add missing comment
* Add multiple_csv_submission test
* Remove autoformatting - again
* Moves duplicated styles into class
This is kinda nitpicking, but more correct imo.
* Add custom widget and optimize admin code
* Move ReadOnlyFemberInput to templates/admin and add italics
* Add mobilepay integration (#1)
* Added mobilepay integration
* PEP8+Logging+Verbosity
* Max line length 120
* Fix py36 timestamp parsing bug
Co-authored-by: cogitantium <[email protected]>
* Add Mobilepay API to MobilePaytool with fixes
* Rework frontend design
* Add undo functionality to MobilePayments with tests and django batch-delete fix
* Restric member_guess to active users
* Add desc sorted timestamp to mobilepaytool and remove customer_name
* Rename url for mobilepaytool and reformat ReadonlyFemberInput
* Fix admin-index url and use unified .select2 css
* Fix dropdown-bug in admin and allow nullable comment
* Update migration to reflect comment changes
* Clean up and fix bugs for mobilepaymentimport
* Remove member_guess from feature
* Rework utils for matching comment to member and mobilepaymentimport-command
* Add 'submit all matches' functionality
* Add check for submit-all-payments, some tests, and fix test fixture
* Fix submit-matched-payments bug and rework frontend
* Apply suggestions from code review
Co-authored-by: Asger Geel Weirsøe <[email protected]>
* Fix indentation error
* Refactor CSS, polish, and cleanup
* Add mobilepaytool.css
* Only send payment mail to fember if adding money
* Recreate migration due to dangling_migration feature
* Fix bug in processed_mobilepayment_query processing mobilepayments with no member
Co-authored-by: Asger Geel Weirsøe <[email protected]>
Co-authored-by: Mathias Jakobsen <[email protected]>
Co-authored-by: Jonas Andersen <[email protected]>