Commit graph

3398 commits

Author SHA1 Message Date
Lance Edgar
0135dea360 Add ability for label batch to print only "active" product rows 2016-11-08 11:09:06 -06:00
Lance Edgar
c2c75ba83d Ignore removed rows when refreshing/executing purchase batch 2016-11-07 20:39:32 -06:00
Lance Edgar
1e69fb260c Add support for making new label batch from CSV file 2016-11-07 15:04:41 -06:00
Lance Edgar
2725f55e4a Add support for creating label batch from products query, etc. 2016-11-06 23:30:33 -06:00
Lance Edgar
f6ea37205d Add basic support for label batches, and creating from handheld batch 2016-11-06 20:50:29 -06:00
Lance Edgar
494d53e73a Add Purchase and PurchaseBatch data models, etc.
A bit of refactoring here and there to accommodate some new patterns also.
2016-11-06 12:48:00 -06:00
Lance Edgar
9f971d6013 Tweak signature for util.progress_loop() for simplicity 2016-11-06 12:34:16 -06:00
Lance Edgar
b08ffad0b2 Update changelog 2016-11-04 16:43:55 -05:00
Lance Edgar
e658c2b044 Add importing.FromDjango base class 2016-11-04 16:42:19 -05:00
Lance Edgar
e5310f7256 Tweak console progress a bit 2016-11-04 00:35:21 -05:00
Lance Edgar
fa3130b242 Update changelog 2016-11-01 10:27:55 -05:00
Lance Edgar
a3945b22cc Fix bug in util.progress_loop() when no progress factory provided 2016-11-01 10:26:42 -05:00
Lance Edgar
3720ee56c9 Update changelog 2016-10-31 12:06:16 -05:00
Lance Edgar
00242f48cc Fix bug in customer importer when used via datasync 2016-10-31 12:05:20 -05:00
Lance Edgar
343cffa1be Update changelog 2016-10-27 18:58:32 -05:00
Lance Edgar
804fa389a8 More model import refactoring to support datasync 2016-10-27 16:39:55 -05:00
Lance Edgar
85ec60e933 Fix timing bug when importing new product cost data 2016-10-27 16:15:37 -05:00
Lance Edgar
4eb6389cf1 Refactor some rattail model importers so datasync may leverage them 2016-10-27 15:53:31 -05:00
Lance Edgar
3097312b7f Add basic docs for rattail.importing package
Also `rattail.db.cache` but that's not much..and the importing docs are
hardly polished yet.
2016-10-26 20:47:09 -05:00
Lance Edgar
ca94aa600e Add datasync.watchers.NullWatcher, auto-triggered by 'null' watcher spec
This lets some consumer(s) still process change data, when the changes
are added to the queue by some other process, e.g. filemon.
2016-10-26 19:57:39 -05:00
Lance Edgar
a6ab862651 Improve handling of Albert's invoice when item has no case quantity
Now there is a new "has no case quantity" status for vendor invoice
batch rows, which will be displayed with warning.  The Albert's invoice
parser was tweaked to let case quantity be null, if the source file does
not contain one for an item.
2016-10-26 17:55:22 -05:00
Lance Edgar
738552e7ff Update changelog 2016-10-26 16:10:52 -05:00
Lance Edgar
fa30c21c69 Fix a bug with win32 filemon when watching for locks
We weren't being notified of deleted folders, which the new
`locking_copy()` makes use of.  Old behavior when using locking_copy for
Linux -> Win32 was apparently using a lock 'file' instead of folder..
This change should mean both old and new behavior are supported.
2016-10-26 16:06:53 -05:00
Lance Edgar
1cf154fee8 Add workaround for Employee importer, if no Person is attached
Not real sure I understand what happened, but I think this should fix it...
2016-10-26 10:26:27 -05:00
Lance Edgar
7bd26744c7 Fix permission checks, add 'become root' for web menu in scaffold 2016-10-25 18:14:06 -05:00
Lance Edgar
5eee9ea681 Fix .gitignore filename in project scaffold 2016-10-25 18:13:48 -05:00
Lance Edgar
50a12c9f8b Improve mysql.install(), tweak rsync() in fablib 2016-10-24 16:43:55 -05:00
Lance Edgar
023f870d2d Add some more goodies to fablib.shinken module 2016-10-21 20:51:58 -05:00
Lance Edgar
7b3e4533bb Add ssh.cache_host_key() function for fablib 2016-10-20 17:48:50 -05:00
Lance Edgar
b87fb89e5a Always install some common "build" things with pip 2016-10-20 17:48:08 -05:00
Lance Edgar
d26cb37fa1 Handle the default site specially, when deploying for apache
Fix the name for apache 2.4 and don't enable
2016-10-20 17:47:26 -05:00
Lance Edgar
97d2a60386 Add fablib.agent_sudo() function 2016-10-20 01:17:32 -05:00
Lance Edgar
f7907ad696 Tweak some things in fablib 2016-10-20 01:14:24 -05:00
Lance Edgar
cac869d770 Pass apache_version context when deploying apache site 2016-10-19 19:05:04 -05:00
Lance Edgar
d48e145a91 Add deploy.apache_conf() for fablib 2016-10-19 16:53:13 -05:00
Lance Edgar
e83f87afdc Add deploy.apache_site() for fablib 2016-10-19 16:43:25 -05:00
Lance Edgar
243d971e95 Add postfix.set_relayhost() in fablib 2016-10-19 16:43:08 -05:00
Lance Edgar
8484382ec6 Add get_ubuntu_version() and apt.install_emacs() in fablib 2016-10-19 16:42:44 -05:00
Lance Edgar
9b3a217e58 Update changelog 2016-10-19 13:52:56 -05:00
Lance Edgar
42a9d21eda Add basic fablib.apache module 2016-10-19 13:45:55 -05:00
Lance Edgar
70e5e3541d Add postfix.alias() function in fablib 2016-10-19 13:45:40 -05:00
Lance Edgar
3e54d0a2d9 Accept extra context when deploying mako template via fablib 2016-10-19 13:45:15 -05:00
Lance Edgar
a97fa3277b Tweak some docs per strange sphinx warnings..
Not sure what's up with this but got the warnings on a fresh buildbot.
2016-10-19 03:08:09 -05:00
Lance Edgar
c764113185 test commit 2016-10-18 20:17:48 -05:00
Lance Edgar
c9508edd25 test commit 2016-10-18 20:16:32 -05:00
Lance Edgar
db0cd4ee3e Add postgresql.install() convenience function in fablib 2016-10-18 20:12:46 -05:00
Lance Edgar
09279c4198 Stop granting all perms to 'admin' role
Now in Tailbone a user with 'admin' role can elevate to root, and that
will give them all perms.  But let the 'admin' role have perms of its
own during normal operation.
2016-10-18 16:54:03 -05:00
Lance Edgar
8010847e23 Add fablib support for installing certbot on debian 7 wheezy 2016-10-17 18:35:49 -05:00
Lance Edgar
07447821fb Tweak how SQL is executed in fablib.mysql
Hopefully this makes us safe in all regards...?
2016-10-17 17:22:03 -05:00
Lance Edgar
6465dc119c Fix bug in deploy.certbot_account() fablib function 2016-10-17 15:44:25 -05:00