Commit graph

3661 commits

Author SHA1 Message Date
Lance Edgar e46f4bf01e Do not convert date if already a date 2022-09-06 22:19:01 -05:00
Lance Edgar f7a019ed83 Make past item lookup optional for custorders 2022-09-06 16:44:26 -05:00
Lance Edgar 2950827c63 Add basic per-item discount support for custorders 2022-09-06 16:31:59 -05:00
Lance Edgar b37f63a231 Update changelog 2022-09-06 13:21:29 -05:00
Lance Edgar 365e4a4194 Convert value for more date filters; only add condition if valid
missed these in 187fea6d1b
2022-09-06 13:09:14 -05:00
Lance Edgar c43a4edec7 Move logic for "bulk-delete row objects" into MasterView
i guess so far it has only been needed for batch, but some day surely
it will be needed for something else..?

some of the template logic is still batch only i think..
2022-08-31 20:55:03 -05:00
Lance Edgar b5a519d132 Disable "Delete Results" button if no results, for row grid 2022-08-31 16:41:58 -05:00
Lance Edgar 35728e20be Add default normalize logic for API views
and use common logic for getting field list in traditional Form class
2022-08-30 21:56:46 -05:00
Lance Edgar 960d6279a9 Include WorkOrder.estimated_total for API 2022-08-30 21:14:01 -05:00
Lance Edgar 9ea103c0eb Update changelog 2022-08-30 14:18:57 -05:00
Lance Edgar 12e4b0a139 Expose more attrs for new product batch rows 2022-08-30 13:57:18 -05:00
Lance Edgar 731c2168b0 Improve parsing of purchase order quantities 2022-08-30 11:28:48 -05:00
Lance Edgar ef045607d9 Update changelog 2022-08-30 11:04:26 -05:00
Lance Edgar bb4e98af8d Add uom fields, configurable template for newproduct batch 2022-08-30 10:58:13 -05:00
Lance Edgar 6ea8a02b57 Add 'warning' flash messages to old jquery base template 2022-08-27 23:36:09 -05:00
Lance Edgar 187fea6d1b Convert value for date filter; only add condition if valid 2022-08-27 22:45:52 -05:00
Lance Edgar 36ba6f1463 Update changelog 2022-08-25 22:18:33 -05:00
Lance Edgar f005ef4d52 Add max lengths when editing person name via profile view 2022-08-25 22:15:56 -05:00
Lance Edgar 6a0a4627b4 Avoid error when no datasync profiles configured
at least, according to the web app none are configured..but they may
be in another config file
2022-08-24 20:06:38 -05:00
Lance Edgar 2dbba970b9 Only run tests if requested, for release task 2022-08-24 18:29:46 -05:00
Lance Edgar bcedc58d9f Update changelog 2022-08-24 18:24:42 -05:00
Lance Edgar 78500770d9 Add basic support for backfill Luigi tasks
idea being, sometimes you must import many days worth of data into
Trainwreck or what-not, and it must be split up b/c e.g. it would take
too long to import all at once (i.e. might interfere with overnight
tasks)
2022-08-23 23:27:47 -05:00
Lance Edgar 488696cb39 Fix index title for datasync configure page 2022-08-22 01:07:58 -05:00
Lance Edgar 6dfda20116 Update changelog 2022-08-21 20:41:55 -05:00
Lance Edgar e50356d276 Expose, honor "admin-ish" flag for roles
prevent user (un)assignment etc. unless admin is doing it
2022-08-21 19:36:48 -05:00
Lance Edgar 7b2fef5f09 Allow configuring datasync watcher kwargs 2022-08-21 15:22:29 -05:00
Lance Edgar 87cced1637 Fix perm check 2022-08-21 11:32:39 -05:00
Lance Edgar 2ce242ba42 Make textout scrolling "smooth" for upgrade progress 2022-08-20 23:33:46 -05:00
Lance Edgar bdbbe990dd Add global context from handler, for email previews 2022-08-20 23:07:19 -05:00
Lance Edgar 2ca93a07e9 Make separate tasks for collect vs. transmit of upgrade progress data 2022-08-20 22:40:16 -05:00
Lance Edgar 0a113611e8 Let just one "task" handle collect/transmit of progress for websocket
first client to connect, will cause task to start; subsequent clients
are just added to running set, for broadcast messaging
2022-08-20 21:19:20 -05:00
Lance Edgar e93063a344 Refactor upgrade websocket progress, so "anyone" can join in to see
now while an upgrade is executing, anyone with permission can "view"
the upgrade and see the same progress the executor is seeing
2022-08-20 18:56:35 -05:00
Lance Edgar 18cec49a86 Add websockets progress, "multi-system" support for upgrades
and related things to better support that
2022-08-20 17:39:33 -05:00
Lance Edgar db3f215ebe Add way to declare failure for an upgrade
doesn't really cancel it, since Tailbone isn't actually tracking the
subprocess etc.  but saves a step when something goes off the rails
2022-08-19 17:20:01 -05:00
Lance Edgar 8470126918 Add render_person_profile() method to MasterView 2022-08-18 19:22:04 -05:00
Lance Edgar 9566a882b5 Install dependencies when running tests etc. via tox 2022-08-18 18:23:30 -05:00
Lance Edgar 7d72a43ecd Use pytest instead of nosetests, for tox runs 2022-08-18 18:19:54 -05:00
Lance Edgar 8afc376636 Update changelog 2022-08-18 17:29:13 -05:00
Lance Edgar 89da6ae501 Expose setting for auto-correct when receiving from invoice 2022-08-18 17:27:30 -05:00
Lance Edgar d23e5d169a Add basic views for Luigi / overnight tasks 2022-08-18 15:11:09 -05:00
Lance Edgar 9de35a6e8b Add brief delay before declaring websocket broken 2022-08-17 22:59:50 -05:00
Lance Edgar d8de36b5ac Update changelog 2022-08-17 21:30:39 -05:00
Lance Edgar 2fde1db83c Allow user feedback to request email reply back 2022-08-17 21:08:54 -05:00
Lance Edgar 5fb99c54c9 Fix initial datasync status display when supervisor error occurs 2022-08-17 19:06:02 -05:00
Lance Edgar ed55fbca9e Log a warning if can't get supervisor process info 2022-08-17 18:44:10 -05:00
Lance Edgar 2375733d0f Add first experiment with websockets, for datasync status page 2022-08-17 18:24:55 -05:00
Lance Edgar 065f845707 Add proper status page for datasync
or rather, it's a good start..  plenty more could be added
2022-08-15 21:06:19 -05:00
Lance Edgar 839c4e0c28 Add get_next_url_after_submit_new_order() for customer orders
after new custorder batch is executed, where do we send user?
2022-08-14 17:33:12 -05:00
Lance Edgar a20eb468df Redirect to custom index URL when user cancels new custorder entry 2022-08-14 15:53:43 -05:00
Lance Edgar 303eba6bca Update changelog 2022-08-14 10:17:52 -05:00