Commit graph

3860 commits

Author SHA1 Message Date
Lance Edgar 7c481d3481 Add export-rattail command, plus ProductImage support for Rattail->Rattail 2017-02-23 15:06:31 -06:00
Lance Edgar 6c697c1bd1 Fix bug in len(QuerySequence) logic 2017-02-23 13:28:08 -06:00
Lance Edgar 4e50178519 Add basic ProductImage data model with importer
Plus some importer tweaks to accommodate a variation on batch mode
2017-02-23 13:19:14 -06:00
Lance Edgar f9c45c42f5 Add some product flags (kosher, vegan etc.) 2017-02-22 20:10:16 -06:00
Lance Edgar 549e7ceea1 Add batch handler docs, plus various other tweaks 2017-02-22 00:08:55 -06:00
Lance Edgar 21217457c9 Add notes column to BatchMixin
i.e. all batch headers now have notes
2017-02-21 14:26:27 -06:00
Lance Edgar ea2e5058fb Add Role.session_timeout to schema 2017-02-21 13:08:53 -06:00
Lance Edgar ae47952468 Update changelog 2017-02-21 11:39:06 -06:00
Lance Edgar 71828bced5 Add initial data models for customer orders 2017-02-19 14:18:25 -06:00
Lance Edgar a488a70213 Update changelog 2017-02-17 18:25:41 -06:00
Lance Edgar 23c762c6ce Add FreeTDS logging filter, to help cut down on unwanted email noise 2017-02-17 18:22:44 -06:00
Lance Edgar 191c2f0eca Restrict our version of flufl.bounce per its 3.0 release 2017-02-17 17:28:07 -06:00
Lance Edgar 0adfa5a891 Fix str vs. unicode issue for Product model 2017-02-17 17:24:35 -06:00
Lance Edgar 1019ae370d Update changelog 2017-02-16 16:16:55 -06:00
Lance Edgar 16ce5a1708 Fix str() methods for various data models
per py3k effort
2017-02-16 16:15:18 -06:00
Lance Edgar 9ed1a5eaf4 Update changelog 2017-02-15 14:15:22 -06:00
Lance Edgar 0566fc73ff Remove unwanted Object.__str__() method
This was my poor attempt at doing what six does better
2017-02-15 14:07:49 -06:00
Lance Edgar d5f7df7b63 Update changelog 2017-02-14 20:37:37 -06:00
Lance Edgar 949daf5b2c Add User._messages backref for convenience 2017-02-13 19:51:19 -06:00
Lance Edgar 06c63122f2 Add global NOTSET singleton 2017-02-13 19:22:59 -06:00
Lance Edgar 7f7fec4e82 Add ExportMixin and file path getters on config object 2017-02-12 16:07:21 -06:00
Lance Edgar fecf306409 Update changelog 2017-02-11 19:08:34 -06:00
Lance Edgar 207e98417d Add pretty_hours() and hours_as_decimal() to util module 2017-02-11 17:45:39 -06:00
Lance Edgar 2cbbf4a89e Update changelog 2017-02-10 14:42:34 -06:00
Lance Edgar 9c4eeb2341 Remove broken test (which didn't do much anyway) 2017-02-10 12:51:27 -06:00
Lance Edgar f718abdc49 Tweak str() output for DepositLink 2017-02-10 12:46:55 -06:00
Lance Edgar 44e409fa46 Add special importer logic for '_deleted_' flag
If the host data for a given record contains a '_deleted_' flag which is
effectively true (i.e. bool(host_data['_deleted_']) == True) then the
importer will *not* create a new "local" object for the record, but
otherwise will still update any existing local object.  This '_deleted_'
field need not be declared by the importer, support is automatic.
2017-02-10 10:01:40 -06:00
Lance Edgar fcfdbdfc72 Make DepositLink.code a string 2017-02-10 10:01:28 -06:00
Lance Edgar 3f1e043559 Add ProductPrice.active_now() convenience method 2017-02-09 20:41:29 -06:00
Lance Edgar 2b2d738da9 Update changelog 2017-02-09 19:00:29 -06:00
Lance Edgar 025731d8a2 Remove tests for deprecated db.sync module
Need to just get rid of that module at some point..
2017-02-08 15:32:33 -06:00
Lance Edgar 0a59db38e6 Add unit/pack concept to Product schema, make Tax.code a string 2017-02-08 15:28:33 -06:00
Lance Edgar 5ba0018d28 Add RattailConfig.get_store() convenience method 2017-02-04 15:19:51 -06:00
Lance Edgar de61364c8e Add basic str() method for WorkedShift model 2017-02-04 12:25:57 -06:00
Lance Edgar c182ee80e2 Update changelog 2017-02-03 16:54:27 -06:00
Lance Edgar 76d333a346 Add User.is_admin() convenience method 2017-02-02 21:43:27 -06:00
Lance Edgar 997145200b Add vendor column to pricing batch rows
Seems helpful for reference...
2017-02-02 15:33:36 -06:00
Lance Edgar 572a963be1 Add 'warn_only' flag for fablib.ssh.cache_host_key()
Turns out we don't really need to fully connect via SSH, to achieve our
goal of caching the host key..
2017-02-02 12:55:49 -06:00
Lance Edgar dfc39f7d7d Add 'createdb' flag for fablib.postgresql.create_user() 2017-02-01 19:24:49 -06:00
Lance Edgar 20a670204d Update changelog 2017-01-30 17:13:02 -06:00
Lance Edgar 935ad21945 Add set_status_per_diff() for pricing batch handler
Once the price is calculated and diff is known, this part can be shared
2017-01-30 17:07:05 -06:00
Lance Edgar 9ab29ebb66 Add min diff threshold for pricing batches 2017-01-30 16:07:13 -06:00
Lance Edgar 9c78f7b487 Update changelog 2017-01-29 11:33:15 -06:00
Lance Edgar a1c56fd968 Add option for auto-deleting empty batch, when created via filemon
This should help to cut down on batch "noise"
2017-01-25 16:26:44 -06:00
Lance Edgar b6f195b7e1 Add basic support for cloning an existing batch as new batch
This likely needs to be made more robust at some point..for now this
should work okay though.
2017-01-24 21:36:08 -06:00
Lance Edgar 4f7b02d3e6 Only install emacs if it not yet installed
Sometimes a slightly different method of installation has already
happened, in which case we don't want to override that (e.g. Emacs may
already be installed with X support).
2017-01-20 21:18:32 -06:00
Lance Edgar 9c2577f361 Add postgresql.get_version() for fabric, etc.
Always install python-pkg-resources because that seems to need to
stay installed, and was showing up as autoremove candidate
2017-01-17 19:54:38 -06:00
Lance Edgar 31afd9f982 Update changelog 2017-01-12 14:14:27 -06:00
Lance Edgar b4e70d43be Fix CSV handheld batch parser, to allow decimal amounts 2017-01-12 14:13:39 -06:00
Lance Edgar bd39a9b019 Update changelog 2017-01-11 13:08:28 -06:00