Lance Edgar
c631e959b2
Added Product.full_description
convenience attribute.
2013-07-19 15:01:40 -07:00
Lance Edgar
488cb5d9b3
update changelog
2013-07-15 19:56:56 -07:00
Lance Edgar
6b1344738e
Added unicode-aware CSV reader.
2013-07-15 19:55:40 -07:00
Lance Edgar
c12df278ab
update changelog
2013-07-05 11:30:53 -07:00
Lance Edgar
400ccae8e0
Fixed dbsync bug when deleting a CustomerGroup
.
...
Any customer associations which still existed were causing database integrity
errors.
2013-07-05 11:27:30 -07:00
Lance Edgar
c2921b38f7
Added late/mock imports to some win32 code for testing on Linux.
2013-06-19 14:02:19 -07:00
Lance Edgar
4f34e6dddc
Prepare for tests.
...
This doesn't add any actual tests but it should pave the way for that. Tests
may be run like so:
{{{
python setup.py nosetests --with-coverage
}}}
2013-06-19 08:03:42 -07:00
Lance Edgar
844856f425
update changelog
2013-06-17 22:29:28 -07:00
Lance Edgar
e6b70c6abb
Added get_product_by_code()
API function.
2013-06-17 22:27:21 -07:00
Lance Edgar
4e613f2d53
update changelog
2013-06-09 13:38:52 -07:00
Lance Edgar
cb7f07149b
Fixed db.cache
module so as not to require initialization.
2013-06-09 12:56:52 -07:00
Lance Edgar
763a0d3ab1
Added ProductCode
, Product.codes
to data model.
2013-06-09 12:55:57 -07:00
Lance Edgar
312e0b08e8
Added --all
argument to purge-batches
command.
2013-06-09 00:46:22 -07:00
Lance Edgar
3203b42828
Added files.overwriting_move()
convenience function.
2013-06-08 12:57:50 -07:00
Lance Edgar
710ef74664
Added proper init.d support to Linux dbsync daemon.
...
* Added `--pidfile` argument to `dbsync` command.
* Added `configure_dbsync` Fabric command.
2013-06-07 08:40:52 -07:00
Lance Edgar
64f9a994b1
update changelog
2013-06-06 19:48:08 -07:00
Lance Edgar
db539f3b3b
Improved sil.Writer.write_rows()
.
...
This method now allows explicitly specifying the row count, and accepts a
progress factory.
2013-06-06 05:15:47 -07:00
Lance Edgar
9c25411c81
Added Batch.rows
property, deprecated Batch.iter_rows()
.
2013-06-06 05:11:14 -07:00
Lance Edgar
db46bcaf58
Changed Linux file monitor to leverage local code instead of edbob
.
2013-06-06 04:12:41 -07:00
Lance Edgar
e60b7797e9
Fixed make-user
so that the new user account never expires.
2013-06-05 17:54:16 -07:00
Lance Edgar
257dd2a33f
Added avatar image, who knows when that will be useful.
...
This was created in the hopes it could be used to programmatically set the
Windows user "tile" image; but that proved unfruitful.
2013-06-05 07:50:28 -07:00
Lance Edgar
d1f51dce03
Added make-user
command for creating Windows system user account.
2013-06-05 07:50:01 -07:00
Lance Edgar
63054311fd
update changelog
2013-06-04 22:04:41 -07:00
Lance Edgar
4192c058b8
Overhaul of Windows file monitor.
...
This includes:
* "More native" Windows file monitor (i.e. less reliant on `edbob`; current
code is more or less copied from that project).
* Improve base class for services, to handle the case where the Windows event
log is full and can't be written to. (This prevented the file monitor from
starting on a machine where the log was full.)
2013-06-04 21:53:41 -07:00
Lance Edgar
dc3fd2f1c0
Fixed "process elevation check" on Windows XP.
...
This affected the file monitor management commands. Probably the check should
not even happen on Windows XP (?) but the current code seems to work okay...
closes #11
2013-06-02 16:38:34 -07:00
Lance Edgar
d9428c4e0b
Fixed file monitor service registration on Windows with --auto-start
.
...
closes #10
2013-06-02 11:31:15 -07:00
Lance Edgar
331f775512
Added (Linux) file monitor configuration to Fabric script.
...
Also improved `create_user` to allow overwriting some settings.
2013-06-02 11:03:31 -07:00
Lance Edgar
a732804911
Slight overhaul of Linux file monitor.
...
This includes the following:
* "More native" Linux file monitor (i.e. less reliant on `edbob`; current code
is more or less copied from that project).
* Addition of `--pidfile` command argument on Linux.
2013-06-01 20:13:38 -07:00
Lance Edgar
4f96c6a457
Changed home folder of system user account to /var/lib/rattail
.
2013-05-31 23:07:55 -07:00
Lance Edgar
e15bd14436
update changelog
2013-05-22 21:41:55 -07:00
Lance Edgar
5b0182470c
Added temp_path()
function in files
module.
2013-05-22 21:40:43 -07:00
Lance Edgar
4ae4989cb7
Tweaked Fabric release
command.
2013-05-22 18:10:35 -07:00
Lance Edgar
b8a47619fe
update changelog
2013-05-22 18:01:06 -07:00
Lance Edgar
9d49f75e86
Fixed (more) lingering issues from Vendor.contacts
mapping tweak.
2013-05-22 17:55:11 -07:00
Lance Edgar
6fd13b19e5
Fixed lingering issues from Vendor.contacts
mapping tweak.
2013-05-22 17:43:16 -07:00
Lance Edgar
5021206513
update changelog
2013-05-21 22:34:14 -07:00
Lance Edgar
979ede330e
Tweaked some ORM mappings.
...
`Vendor.contacts` and `Vendor.contact` now use the association proxy mechanism,
and `Product.department` and `Product.subdepartment` are configured with
ordering (to help FormAlchemy).
2013-05-18 18:50:25 -07:00
Lance Edgar
722d98d394
Added db.model
module.
...
Currently this just provides a namespace.
2013-05-17 23:24:22 -07:00
Lance Edgar
3623bafac5
Improved repr()
output for Change
class.
2013-05-17 23:23:47 -07:00
Lance Edgar
1ce7fd031e
Improved find_diffs()
function.
...
Now it supports finding records which are present in the remote database but
missing locally. Also fixed a bug with the progress bar, in the event there
are no records.
2013-05-17 12:24:20 -07:00
Lance Edgar
33ea01ad68
Updated repr()
output for model classes.
2013-05-17 12:23:38 -07:00
Lance Edgar
02cc588eb4
update changelog
2013-05-17 09:00:30 -07:00
Lance Edgar
7abef7f7c1
Fixed instances_differ()
function for SQLAlchemy < 0.8.
...
Presumably the use of `Mapper.column_attrs` was not a good idea anyway. I'm
not quite sure what functionality it adds over `.columns`.
fixes #9
2013-05-17 08:54:59 -07:00
Lance Edgar
0128177a4f
Added create_user
Fabric command.
...
This creates the `rattail` user on a Linux environment. Probably needs some
improvement but it's a start.
2013-05-16 18:03:06 -07:00
Lance Edgar
1aca3390b4
Changed some logging instances from INFO to DEBUG.
...
I was just getting tired of the noise.
2013-05-16 07:03:17 -07:00
Lance Edgar
a138dcd45e
update changelog
2013-05-15 23:25:19 -07:00
Lance Edgar
5225b12265
Added db.diffs
module.
2013-05-15 23:21:43 -07:00
Lance Edgar
876bf93a83
Added Session
to rattail.db
module.
...
This required a slight refactor to avoid circular imports.
2013-05-15 23:20:51 -07:00
Lance Edgar
14eab6aaaa
Added mail
module.
...
For now this just delegates to `edbob`.
2013-05-15 23:19:43 -07:00
Lance Edgar
b24cd9b8fa
Tweaked Fabric script to remove egg info before building a release.
2013-05-14 18:52:52 -07:00