Commit graph

3398 commits

Author SHA1 Message Date
Lance Edgar 4c43563a38 Add initial support for Let's Encrypt / certbot in fablib 2016-10-17 14:54:42 -05:00
Lance Edgar 00eded7fe5 Add add_source() and update() functions to fablib.apt module
Also add `target_release` kwarg to `install()` function.
2016-10-17 14:53:01 -05:00
Lance Edgar 79e8eab2f8 Add fablib.set_timezone() convenience function 2016-10-17 14:49:41 -05:00
Lance Edgar 5787a3861d Add fablib.corepos module, for installing fannie 2016-10-17 11:49:28 -05:00
Lance Edgar 1c073f4585 Add some more convenience to fablib.mysql module
Also fix quoting bug when executing raw SQL
2016-10-17 11:44:08 -05:00
Lance Edgar 6609b94f9c Assume owner name means user:group in fablib.mkdir() 2016-10-17 11:42:35 -05:00
Lance Edgar 018f0a958a Add apt.configure_listchanges() to fablib 2016-10-17 11:18:51 -05:00
Lance Edgar f0de8cb13a Add initial fablib.postfix module
Just sets some basic config etc. for now.
2016-10-16 18:49:33 -05:00
Lance Edgar c5d7643da2 Tweak output of rattail-dev new-batch command
This whole thing still needs quite a bit of help yet...
2016-10-16 03:27:17 -05:00
Lance Edgar 4f6c9b9fce Add department number/name columns to product batch rows 2016-10-16 03:26:36 -05:00
Lance Edgar cb9ea53ac4 Improve default behavior for BatchHandler.refresh_data() 2016-10-16 03:25:28 -05:00
Lance Edgar a75147d8e7 Add util.progress_loop() convenience function
Also refactor `BatchHandler.make_rows()` to use it.
2016-10-16 03:24:05 -05:00
Lance Edgar e097c334b3 Tweak metavar for start-date, end-date importer command args 2016-10-15 17:17:11 -05:00
Lance Edgar 7ddb3d2ce8 Update changelog 2016-10-10 11:37:32 -05:00
Lance Edgar d367272919 Add generic rattail.util.prettify() function 2016-10-09 21:01:32 -05:00
Lance Edgar 37aaba09e8 Add some functions for use with sms-admin utility 2016-10-09 20:09:51 -05:00
Lance Edgar 9f86d88aa7 Tweak TODO comment for web.conf 2016-10-09 02:17:56 -05:00
Lance Edgar 0b46b8c2c2 Remove tests for old adduser command 2016-10-08 14:39:12 -05:00
Lance Edgar e1a4d61137 Tweak how tailbone finds rattail config 2016-10-08 14:28:29 -05:00
Lance Edgar af7aa6626b Remove deprecated commands: adduser, initdb
The make-user command does the same thing now.
2016-10-07 20:14:55 -05:00
Lance Edgar c120a181e5 Overhaul rattail make-user command to support multiple systems
Just 2 for now, rattail and windows.  Probably need a way for custom
projects to support more systems as needed..
2016-10-07 20:07:13 -05:00
Lance Edgar a1b50dd32e Add first version of project template
For use with Pyramid scaffold system, i.e.:

  pcreate -s rattail mynewproject

Note however that the Tailbone project registers the template, this is
*not* done within this (rattail) project because we don't require
Pyramid at this level.
2016-10-07 19:11:42 -05:00
Lance Edgar 7b596ab0cf Add rattail make-uuid command for convenience 2016-10-07 19:04:40 -05:00
Lance Edgar 5d0e0ecfb3 Add rattail make-appdir command for dev/test bootstrap etc. 2016-10-07 19:04:40 -05:00
Lance Edgar 00d9eb496b Add rattail make-config command for dev/test bootstrap etc. 2016-10-07 19:04:36 -05:00
Lance Edgar ee8599559f Add rattail import-sample command for dev/test bootstrap etc. 2016-10-07 19:04:33 -05:00
Lance Edgar adc6588220 Fix chicken vs egg bug when reading db config 2016-10-06 13:03:16 -05:00
Lance Edgar 635adfddd5 Update changelog 2016-10-05 14:55:28 -05:00
Lance Edgar 9336e733a8 Be smarter when caching department data, in some importers
If caching by number, then exclude number-less departments.
2016-10-05 14:46:37 -05:00
Lance Edgar e7cfc483a9 Update changelog 2016-10-04 22:04:07 -05:00
Lance Edgar 98e8ab5183 Add RattailConfig.setdb() method, for ad-hoc settings 2016-10-04 21:57:18 -05:00
Lance Edgar 0525c0e45d Let SQLAlchemy-targeting importer override local cache query 2016-10-04 21:56:48 -05:00
Lance Edgar 7f9a872848 Let import handler's warnings flag get passed to importers 2016-10-04 21:56:28 -05:00
Lance Edgar e1f5452f36 Don't register package on PyPI, per new rules (?)
Apparently that's not required / supported any longer, oh well.
2016-10-04 12:57:19 -05:00
Lance Edgar be2caf036b Update changelog 2016-10-04 12:53:18 -05:00
Lance Edgar f9bba46094 Fix minor bugs with Rattail -> Rattail data importers
These were caught by the tests...imagine that.
2016-10-04 12:51:57 -05:00
Lance Edgar e3c6a63bf5 Update changelog 2016-10-04 12:43:38 -05:00
Lance Edgar d6af73e7d4 Fix optimizations for Rattail -> Rattail data importers
Not sure when this got missed exactly, but only recently caused a
noticeable lag.
2016-10-04 12:42:34 -05:00
Lance Edgar 82383a7bc5 Update changelog 2016-09-28 20:02:42 -05:00
Lance Edgar a30a19c25b Always warn if duplicate keys detected when caching a data model 2016-09-28 20:01:31 -05:00
Lance Edgar 9ddb9e2269 Add Category.code to schema
With unique constraint, but nulls *are* allowed.
2016-09-28 20:01:04 -05:00
Lance Edgar 047c0dfce8 Update changelog 2016-09-27 19:41:45 -05:00
Lance Edgar 4ca9071a02 Fix typo bug 2016-09-27 19:17:00 -05:00
Lance Edgar 21697691b7 Update changelog 2016-09-26 15:14:08 -05:00
Lance Edgar a594916203 Tweak base importer logic to allow for *not* creating new object
Sometimes that's just how it needs to go down...
2016-09-23 13:17:54 -05:00
Lance Edgar 8cd937166b Add "full" model importer support, for sake of SMS -> Rattail 2016-09-21 17:03:36 -05:00
Lance Edgar eb7a28fbd0 Add basic phone number validation logic, tweak email validation 2016-09-18 17:12:33 -05:00
Lance Edgar a5f313579a Add 'refreshable' flag to batch handler
Hopefully a good idea..?
2016-09-18 17:12:17 -05:00
Lance Edgar 51bfcb3a65 Log traceback when error happens for filemon action
In addition to sending the email that is.
2016-09-18 17:11:48 -05:00
Lance Edgar 6ff9a953be Add customization hook for identifying product for vendor catalog row 2016-09-16 15:50:04 -05:00