Commit graph

3326 commits

Author SHA1 Message Date
Lance Edgar bc7357e042 Add script() and set_user_password() to postgresql fablib 2017-03-10 18:55:56 -06:00
Lance Edgar 46ac996d96 Update changelog 2017-03-09 11:54:38 -06:00
Lance Edgar 3c47d96afd Use query.count() if no count provided to progress_loop()
..and assuming len(data) doesn't work
2017-03-08 10:49:55 -06:00
Lance Edgar 44323bdfc5 Add 'identity' kwarg for fablib ssh.cache_host_key() 2017-03-08 09:06:38 -06:00
Lance Edgar 50f3a58d22 Fix ownership bug when uploading Mako template file via fabric 2017-03-06 16:08:54 -06:00
Lance Edgar 8b59ed68c3 Detect, warn about invalid cost in KeHE vendor catalog parser 2017-03-06 16:07:54 -06:00
Lance Edgar b7220cfff8 Tweak how we exclude product images from rattail export 2017-03-04 07:40:35 -08:00
Lance Edgar 8026055c22 Update changelog 2017-03-03 15:57:25 -08:00
Lance Edgar 091cb12bee Add Product.discontinued flag to schema 2017-03-03 15:07:26 -08:00
Lance Edgar f34875aafb Update changelog 2017-03-03 11:57:16 -08:00
Lance Edgar 9ca913248f Allow 'frontend' override for apt-get install via fabric
also adds the `apt.add_repository()` function
2017-03-02 18:39:33 -08:00
Lance Edgar ee0c0d4901 Add allow_cancel kwarg for progress_loop() 2017-03-02 18:39:19 -08:00
Lance Edgar fbe9a4016b Update changelog 2017-03-01 13:27:41 -08:00
Lance Edgar 0506dc77c1 Add Product.ingredients to schema 2017-02-27 21:02:46 -08:00
Lance Edgar c7d36d962d Add Product.notes to schema 2017-02-27 20:47:49 -08:00
Lance Edgar 4089d4c5fb Update changelog 2017-02-24 12:14:57 -06:00
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