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