Commit graph

2493 commits

Author SHA1 Message Date
Lance Edgar 16c2ca89c8 Remove some unwanted tests
not really useful, causing headaches with python 3 etc.
2018-02-24 16:52:38 -06:00
Lance Edgar fe60179ba6 Remove rattail.fablib subpackage
this logic was moved to the rattail-fabric project
2018-02-24 16:49:03 -06:00
Lance Edgar a9f4d3675e Fix down revision id for latest migration
not sure what went wrong there exactly...
2018-02-23 14:14:56 -06:00
Lance Edgar 29e10c6a15 Add email attachment MIME type for MS Word .doc files 2018-02-22 13:15:54 -06:00
Lance Edgar 2fea21a42c Add get_email() convenience methods to Vendor model
probably should figure out a way to abstract that somehow, maybe a separate set
of API functions or something?
2018-02-22 12:25:06 -06:00
Lance Edgar b30577828f Don't consider a batch refreshable if it's marked complete 2018-02-22 12:24:53 -06:00
Lance Edgar 1f6112fb04 Add ship_method, notes_to_vendor for Purchase, PurchaseBatch 2018-02-22 11:08:45 -06:00
Lance Edgar 752de8830a Return new batches from ImportHandler.make_batches() 2018-02-19 17:08:40 -06:00
Lance Edgar 4107a6d34f Update changelog 2018-02-15 18:46:17 -06:00
Lance Edgar f4f803a00a Set row count when cloning batch 2018-02-15 12:47:31 -06:00
Lance Edgar cdbb6d29d9 More tweaks for python 3 2018-02-15 12:47:20 -06:00
Lance Edgar 6f9ac892ac Update changelog 2018-02-14 14:10:43 -06:00
Lance Edgar 0ff8631f4d Add some python3 awareness when installing mod_wsgi 2018-02-12 23:34:45 -06:00
Lance Edgar 1f3ade8b1d Always install bcrypt
what the hell, might as well right?
2018-02-12 23:34:21 -06:00
Lance Edgar 8c3411d992 Add 'bcrypt' as dependency
this seems safe enough...
2018-02-12 22:17:12 -06:00
Lance Edgar 45746ff5e0 Remove py-bcrypt as dependency for 'auth' feature
need to add bcrypt instead, but must wait to avoid breaking things
2018-02-12 19:33:21 -06:00
Lance Edgar a70552534a Tweak util.pretty_hours() logic per python 3 2018-02-12 17:43:39 -06:00
Lance Edgar dba3098da8 Use csv.DictWriter from for python 3, instead of custom class
the latter still being needed for python2
2018-02-12 17:42:53 -06:00
Lance Edgar 9235b60e70 Refactor usage of StringIO per python 3 2018-02-12 15:32:18 -06:00
Lance Edgar 2c983984ea Officially remove FormEncode dependency 2018-02-12 14:55:18 -06:00
Lance Edgar e633899998 Ditch older 'progressbar' for newer 'progress' package 2018-02-12 14:55:18 -06:00
Lance Edgar c10b5fb50f Misc. cleanup for Python 3 2018-02-12 14:55:15 -06:00
Lance Edgar 7147030ab2 Refactor unicode() => six.text_type() 2018-02-12 00:09:40 -06:00
Lance Edgar 8d534e0bd3 Refactor sample web view for new batch, per master changes 2018-02-11 21:53:06 -06:00
Lance Edgar 3dd0f85296 Add 'six' to context when rendering email templates 2018-02-10 20:20:20 -06:00
Lance Edgar 3ba6b2e078 Update changelog 2018-02-08 11:25:12 -06:00
Lance Edgar 378cba50e5 Optionally suppress warning from psycopg2 about their packaging changes
still need to look into those, but for now we want things quiet
2018-02-08 11:24:20 -06:00
Lance Edgar c3c7786605 Update changelog 2018-02-07 15:06:46 -06:00
Lance Edgar 08715ed90b Copy "safe MIME text" email encoding workaround from Django
to avoid 'base64' encoding of email body
2018-02-06 14:47:23 -06:00
Lance Edgar 18d7587820 Add support for pool_pre_ping config, for SQLAlchemy engines 2018-02-06 13:10:06 -06:00
Lance Edgar d4c0008849 Add "dry run" to bulk importer logging summary 2018-02-06 11:40:42 -06:00
Lance Edgar a01b5bf8ad Add "(dry run)" to import logging summary, when applicable 2018-02-06 11:26:31 -06:00
Lance Edgar f8dfc35d21 Add EmailHandler logic, with support for recording EmailAttempt 2018-02-06 10:30:47 -06:00
Lance Edgar aaf743e3a1 Add 'force' kwarg to pod.render_document() 2018-02-02 17:05:49 -06:00
Lance Edgar b5d0499db3 Add way to "force versioning" when making new migrations 2018-02-01 16:42:01 -06:00
Lance Edgar 0d022faf60 Update changelog 2018-01-31 18:31:45 -06:00
Lance Edgar 8172e8f7b1 Tweak how rattail import handler makes its session
only leverage "runas" user if present
2018-01-31 17:03:10 -06:00
Lance Edgar 9c15529da4 Fix some logging for "bulk" import handlers
i.e. log warning when relevant
2018-01-30 18:41:10 -06:00
Lance Edgar 1eddc786e7 Update changelog 2018-01-29 17:07:53 -06:00
Lance Edgar ab8f893a9f Add schema migration to fix version table 2018-01-26 14:46:41 -06:00
Lance Edgar b5a3f60b18 Add basic ExcelWriter class, plus xlrd and openpyxl dependencies
maybe not the best idea, but practical for now
2018-01-26 14:06:32 -06:00
Lance Edgar 56f0708d76 Add Brand.confirmed and unique constraint for name
also add `Brand.products` relationship
2018-01-25 16:09:03 -06:00
Lance Edgar d6c506ed6c Don't supply price from batch when printing labels, unless "static prices" 2018-01-25 14:57:11 -06:00
Lance Edgar c94d665ca8 Allow override of most kwargs when sending email
this was to support a scenario where one app needed to reach out to a different
rattail DB, to get settings for a particular email
2018-01-25 12:46:02 -06:00
Lance Edgar 1c19e5178c Update changelog 2018-01-24 18:16:36 -06:00
Lance Edgar b46f0951bb Add cashback field to Trainwreck transaction 2018-01-23 20:08:00 -06:00
Lance Edgar e26101aa4a Add index to Trainwreck item table, for transaction_uuid 2018-01-23 19:49:55 -06:00
Lance Edgar 20b3ba3f4e Accept 'user' kwarg when cloning MySQL database via fabric 2018-01-22 16:28:55 -06:00
Lance Edgar 40614dc2af Update changelog 2018-01-16 13:21:00 -06:00
Lance Edgar 93ac95d589 Revert "Remove a couple steps when cloning Postgres database"
This reverts commit 3cfed219b4.
2018-01-15 16:57:47 -06:00