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
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