Commit graph

3398 commits

Author SHA1 Message Date
Lance Edgar 7f6b89f7bb Change BatchMixin.delete_data() method to remove entire folder
instead of trying to delete known files first, just remove it all
2017-03-21 13:12:49 -05:00
Lance Edgar b3e67e3bda Add ModelBase.make_proxy() class method
this hopefully will make for some more terse / readable code..
2017-03-21 13:11:31 -05:00
Lance Edgar bf5619775a Fix typo in project template's setup.py 2017-03-21 13:10:29 -05:00
Lance Edgar 55eb8136fb Add BatchHandler.populate() and should_populate()
..and `populate_batches` attribute
2017-03-21 13:07:33 -05:00
Lance Edgar 68c63cf8bd Make allow_cancel default to false, for util.progress_loop() 2017-03-21 13:06:20 -05:00
Lance Edgar 80f5ccb81e Make util.pretty_hours() accept a seconds arg
..and calculate a timedelta object from that
2017-03-21 13:02:01 -05:00
Lance Edgar 963b9db450 Make filename arg optional for config.batch_filepath()
If not specified, function will now return batch's filedir
2017-03-21 13:01:24 -05:00
Lance Edgar f91f95c5a2 Disable some unused commands
The command logic remains in place, for now...
2017-03-21 13:00:17 -05:00
Lance Edgar d23981ee0c Tweak deployment of Apache site, for better kwargs support 2017-03-19 13:37:03 -05:00
Lance Edgar 7ecefb7082 Add RattailConfig.demo() method
Plus a tweak to new project template
2017-03-19 11:00:27 -05:00
Lance Edgar a3f84df19d Add universal fablib function for cloning PostgreSQL database 2017-03-17 18:45:02 -05:00
Lance Edgar 1383cd799e Refactor how/when mail aliases are created for new system users 2017-03-17 17:49:07 -05:00
Lance Edgar e8901b3cad Provide default logo for Login page in new project template 2017-03-17 15:49:58 -05:00
Lance Edgar ed2b272623 Refactor new project template, to use variations of project name 2017-03-17 11:23:45 -05:00
Lance Edgar 4f4ac9cb4d Update changelog 2017-03-16 15:13:01 -05:00
Lance Edgar 6f09936979 Fix logic for util.hours_as_decimal()
The decimal part of that wasn't working quite right..hopefully is now
2017-03-16 14:52:46 -05:00
Lance Edgar af2c61580f Don't assume datasync URL is configured, within email previews 2017-03-16 11:36:05 -05:00
Lance Edgar 439bb515d2 Update changelog 2017-03-15 13:19:09 -05:00
Lance Edgar 20e8f6c749 Don't cache local data unless supported, for BatchImporter 2017-03-15 13:04:39 -05:00
Lance Edgar 1d6ee88ae4 Add new BatchImporter for sake of product image and similar imports 2017-03-15 12:22:03 -05:00
Lance Edgar af9b84c03e Update changelog 2017-03-13 14:06:26 -05:00
Lance Edgar 3ea4cb689a Add default_dbkey for export-rattail commands 2017-03-13 13:28:29 -05:00
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